JP3526363B2 - Product sales registration data processing device - Google Patents

Product sales registration data processing device

Info

Publication number
JP3526363B2
JP3526363B2 JP03171796A JP3171796A JP3526363B2 JP 3526363 B2 JP3526363 B2 JP 3526363B2 JP 03171796 A JP03171796 A JP 03171796A JP 3171796 A JP3171796 A JP 3171796A JP 3526363 B2 JP3526363 B2 JP 3526363B2
Authority
JP
Japan
Prior art keywords
privilege
data
product
code
target
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
JP03171796A
Other languages
Japanese (ja)
Other versions
JPH09223274A (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 JP03171796A priority Critical patent/JP3526363B2/en
Publication of JPH09223274A publication Critical patent/JPH09223274A/en
Application granted granted Critical
Publication of JP3526363B2 publication Critical patent/JP3526363B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、POS(販売時点
情報管理)システムにおける商品販売データ登録用の端
末機、いわゆるPOSターミナル等の商品販売登録デー
タ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a product sales registration data processing device such as a terminal for registering product sales data in a POS (point of sale information management) system, a so-called POS terminal.

【0002】[0002]

【従来の技術】スーパーマーケット等の量販店のなかに
は、各商品の中で予め特典対象商品を選定し、1回の取
引でこの特典対象商品を所定のセット点数以上買上げた
顧客に対しては、その商品を値引して販売するようにし
たところがある。
2. Description of the Related Art Among mass retailers such as supermarkets, a privilege target product is selected in advance from each product, and a customer who purchases the privilege target product in a single transaction over a predetermined set number of points is There is a place where the product is discounted before being sold.

【0003】従来、このようなサービスに対応できる商
品販売登録データ処理装置としては、例えば特開昭59
−184965号公報に見られるように、1取引中に登
録される商品の点数を商品の種類別に計数する計数手段
を設け、この計数手段の計数結果がセット点数に達した
ことを判別すると該当する商品の種類に対応した値引の
ための情報を読出し値引処理するようにしたものが知ら
れていた。
Conventionally, as a commodity sales registration data processing device capable of supporting such a service, for example, Japanese Patent Laid-Open No. 59-59
As disclosed in Japanese Patent Publication No. 184965, a counting means for counting the number of products registered in one transaction for each type of product is provided, and it is applicable when it is determined that the counting result of the counting device reaches the set score. It is known that information for discount corresponding to the type of product is read out and discounted.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
この種の顧客サービスは1取引に限定されており、複数
回の取引で買上げた特典対象商品の合計点数がセット点
数に達しても特典を付与することができなかった。
However, the conventional customer service of this kind is limited to one transaction, and even if the total points of the privilege target products purchased in a plurality of transactions reach the set point, the privilege is given. I couldn't.

【0005】そこで本発明は、複数回の取引で買上げた
特典対象商品の合計が予め設定した条件を満足したなら
ば特典を付与するサービスに対応できる商品販売登録デ
ータ処理装置を提供しようとするものである。
Therefore, the present invention is intended to provide a product sales registration data processing device capable of supporting a service of granting a privilege if the total of the privileged products purchased in a plurality of transactions satisfy a preset condition. Is.

【0006】[0006]

【課題を解決するための手段】本願請求項1記載の発明
は、各商品の中で予め選定した特典対象商品の商品コー
ドに対応して設定される特典コード別に、特典が受けら
れる条件データと特典として発券されるサービス券の種
類を識別する特典形態コードとを記憶する特典条件デー
タ記憶部を設ける。また、特典対象商品の販売データに
基づく特典対象データを特典コードとともに客別に蓄積
保持する特典対象データ保持手段を設ける。そして、商
品登録手段により販売登録された商品が特典対象商品か
否かをその商品の商品コードに対応する特典コードで
断し、特典対象商品であると判断すると、この特典対象
商品の販売データに基づいて得られる特典対象データを
その特典対象商品の特典コードとともに特典対象データ
保持手段により保持したデータに追加する。その後、登
録締め手段により1客が買上げた全商品の販売登録終了
が宣言されると、特典対象データ追加手段により特典対
象データ保持手段に追加したデータによって特典対象デ
ータの累積値が特典条件データ記憶部に記憶した条件デ
ータを満足するか否かを特典コード毎に判定し、条件デ
ータを満足する特典コードがあることを確認すると、レ
シートを印字するプリンタを駆動してその特典コードに
対応して設定されている特典形態コードで識別されるサ
ービス券を印字発行するとともに、条件データに相当す
る分の特典対象データを特典対象データ保持手段により
保持した当該客に対するデータから削除するようにした
ものである。
The invention according to claim 1 of the present application is a product code of a privilege target product selected in advance from each product.
Benefits are received according to the privilege code set for each
Condition data and type of service ticket issued as a privilege
A privilege condition data storage unit for storing a privilege form code for identifying a class is provided. Further, a privilege target data holding means for accumulating and holding privilege target data based on sales data of the privilege target product for each customer together with the privilege code is provided. Then, it is judged whether or not the product registered for sale by the product registration means is a privilege target product by the privilege code corresponding to the product code of the product, and if it is determined that the product is the privilege target product, the privilege target product is determined. Data that can be obtained based on product sales data
It is added to the data held by the privilege target data holding means together with the privilege code of the privilege target product . After that,
End of sales registration for all products purchased by one customer by recording means
Is declared, the privilege pair will be
For each privilege code, it is determined whether or not the cumulative value of the privilege target data satisfies the condition data stored in the privilege condition data storage unit by the data added to the condition data holding means, and the condition data is stored.
If you confirm that you have a privilege code that satisfies your
Drive the printer that prints the sheet and use that privilege code
The service identified by the privilege type code set correspondingly
The service ticket is printed and issued , and the privilege target data corresponding to the condition data is deleted from the data for the customer held by the privilege target data holding means.

【0007】本願請求項2記載の発明は、各商品の中で
予め選定した特典対象商品の商品コードに対応して設定
される特典コード別に、特典が受けられる条件データと
特典が有効な期間とを記憶する特典条件データ記憶部を
設ける。また、特典対象商品の販売データに基づく特典
対象データを特典コード及びこの特典対象データの有効
期限に関するデータとともに客別に蓄積保持する特典対
象データ保持手段を設ける。そして、商品登録手段によ
り販売登録された商品が特典対象商品か否かをその商品
の商品コードに対応する特典コードで判断し、特典対象
商品であると判断するとこの特典対象商品の販売データ
に基づいて得られる特典対象データをその特典対象商品
の特典コード及びこの特典コードの特典が有効な期間か
ら算出される有効期限に関するデータとともに特典対象
データ保持手段により保持したデータに追加する。その
後、登録締め手段により1客が買上げた全商品の販売登
録終了が宣言されると、特典対象データ追加手段により
特典対象データ保持手段に追加したデータによって有効
期限切れでない特典対象データの累積値が特典条件デー
タ記憶部に記憶した条件データを満足するか否かを特典
コード毎に判定し、条件データを満足する特典コードが
あることを確認すると予め設定した特典情報を出力する
とともに、条件データに相当する分の特典対象データを
特典対象データ保持手段により保持した当該客に対する
データから削除する。また、特典対象データ保持手段に
よって保持した特典対象データのうち有効期限切れのデ
ータを自動的に削除するようにしたものである。
[0007] the invention of claim 2, wherein, among the items
Set according to the product code of the product selected in advance
For each privilege code, the condition data for receiving the privilege and
A privilege condition data storage section that stores the period during which the privilege is valid
Set up. In addition, benefits based on the sales data of the eligible products
The target data is the privilege code and the validity of this privilege target data
Benefits to be accumulated and retained for each customer along with data regarding deadlines
Elephant data holding means is provided. Then, by the product registration means
Whether the product registered for sale is a privileged product or not
Judging by the privilege code corresponding to the product code of
If it is judged as a product, sales data for this privilege target product
The privilege target data obtained based on
The privilege code and the period during which this privilege code is valid
Benefits along with data on expiration date calculated from
It is added to the data held by the data holding means. That
After that, when the registration closing means declares the end of sales registration of all products purchased by one customer, the data added to the benefit target data holding means by the benefit target data adding means is effective.
Is award code cumulative value in the offer data not expired it is determined whether or not to satisfy the condition data stored in the privilege condition data storage unit for each award code satisfies the condition data
If it is confirmed that the privilege information set in advance is output
At the same time, the privilege target data corresponding to the condition data
For the customer held by the privilege target data holding means
Delete from data. In addition, as a means for holding privilege target data
Therefore, the expired data of the retained privilege data
The data is automatically deleted.

【0008】本願請求項3記載の発明は、本願請求項2
記載の発明において、特典条件データ記憶部が、さらに
特典として発券されるサービス券の種類を識別する特典
形態コードを記憶する。そして、登録締め手段により1
客が買上げた全商品の販売登録終了が宣言され、特典対
象データの累積値が特典条件データ記憶部に記憶した条
件データを満足するとき、レシートプリンタを駆動して
その特典コードに対応して設定されている特典形態コー
ドで識別されるサービス券を印字発行するようにしたも
のである。
The invention according to claim 3 of the present application is the same as claim 2 of the present application.
In the invention described above, the privilege condition data storage unit may further include
Benefits that identify the type of service ticket issued as a benefit
Store the form code. And 1 by the registration closing means
When it is declared that the sales registration of all the products purchased by the customer has been completed and the cumulative value of the privilege target data satisfies the condition data stored in the privilege condition data storage unit, the receipt printer is driven.
The privilege type code set corresponding to the privilege code
The service ticket identified by the code is printed and issued.

【0009】本願請求項4記載の発明は、本願請求項
1,2または3記載の発明において、メモリカードに対
してデータの書込み及び読出しを行うカードリーダライ
タを設け、特典対象データ保持手段により特典対象デー
タを客別に蓄積保持する記憶媒体として各客がそれぞれ
所持するメモリカードを使用するようにしたものであ
る。
In the invention according to claim 4 of the present application, in the invention according to claim 1, 2 or 3, a card reader / writer for writing and reading data to and from a memory card is provided, and a privilege target data holding means is provided. A memory card possessed by each customer is used as a storage medium for accumulating and holding the target data for each customer.

【0010】[0010]

【0011】[0011]

【発明の実施の形態】以下、本発明の一実施の形態を図
面を用いて説明する。なお、この実施の形態では、同一
チェーンの販売店であれば複数回の取引であっても特典
対象に選定した商品を所定のセット点数以上買上げると
割引券や景品引換券等のサービス券を発券して特典を付
与する運用のチェーンストアに構築されるPOSシステ
ムのPOSターミナルに本発明を適用した場合について
述べる。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. In addition, in this embodiment, even if it is a transaction of a plurality of times at a store of the same chain, if a product selected as a privilege target is purchased for a predetermined number of set points or more, a service ticket such as a discount ticket or a gift voucher is given. A case will be described in which the present invention is applied to a POS terminal of a POS system constructed in an operation chain store that issues tickets and grants benefits.

【0012】図1はかかるPOSシステムの全体図であ
って、チェーンストア本部に設置した本部コンピュータ
1と、各チェーン販売店A,Bにそれぞれ設置したファ
イルプロセッサ2A,2Bとを、専用回線または公衆回
線の伝送路3で接続している。ファイルプロセッサ2A
には、チェーン販売店Aに設置した複数台のPOSター
ミナル4A-1,…4A-nを、HDLC(ハイレベル・デ
ータ・リンク・コントロール)回線等の伝送路5Aでル
ープ状に接続している。同様に、ファイルプロセッサ2
Bには、チェーン販売店Bに設置した複数台のPOSタ
ーミナル4B-1,…4B-nを、HDLC回線等の伝送路
5Bでループ状に接続している。
FIG. 1 is an overall view of such a POS system in which a headquarters computer 1 installed in a chain store headquarters and file processors 2A and 2B respectively installed in chain stores A and B are connected to a private line or a public line. It is connected by the transmission line 3 of the line. File processor 2A
, POS terminals 4A-1, ... 4A-n installed in chain store A are connected in a loop by a transmission line 5A such as an HDLC (high level data link control) line. . Similarly, the file processor 2
A plurality of POS terminals 4B-1, ..., 4B-n installed in the chain store B are connected to B in a loop by a transmission line 5B such as an HDLC line.

【0013】本部コンピュータ1は、各ファイルプロセ
ッサ2A,2Bや各POSターミナル4A-1,…4A-n
及び4B-1,…4B-nに対して各種データを設定すると
ともに、各POSターミナル4A-1,…4A-n及び4B
-1,…4B-nにて販売登録された各商品販売データを集
計,加工することによりチェーンストア全体の売上管理
を行うものである。
The head office computer 1 includes file processors 2A, 2B and POS terminals 4A-1, ... 4A-n.
And 4B-1, ... 4B-n, various data are set, and each POS terminal 4A-1, ... 4A-n and 4B
-1, ... 4B-n manages sales of the entire chain store by totaling and processing the sales data of each product registered for sale.

【0014】各ファイルプロセッサ2A,2Bは同一構
成であり、それぞれ伝送路5A,5Bで接続されたPO
Sターミナル4A-1,…4A-n及び4B-1,…4B-nに
て販売登録された各商品販売データを集計,加工するこ
とにより販売店A,B毎の売上管理を行うものである。
The file processors 2A and 2B have the same structure, and POs connected by transmission lines 5A and 5B, respectively.
4A-1, ... 4A-n and 4B-1, ... 4B-n are used to manage the sales of each store A and B by collecting and processing the sales data of each product. .

【0015】各POSターミナル4A-1,…4A-n及び
4B-1,…4B-nは同一構成であり、それぞれメモリカ
ードとしてのICカードに対してデータの書込み及び読
出しが可能なICカードリーダライタ18(図3参照)
を備えている。そして、チェーンストア本部と特典会員
契約をした客6に対してはICカードからなる会員カー
ド7を発行し、客6はチェーン販売店A,Bにて買物を
する際に会員カード7を提示する。会員カード7には、
会員番号等のカード所有者を特定するデータを固定的に
記憶したメモリの他に、図2に示すように、特典コー
ド,特典対象データとしての点数及び有効期限日の各項
目からなる特典対象レコードを一連の番地順に格納する
メモリ8を設けている。ここに、会員カード7は特典対
象データ保持手段を構成する。
Each of the POS terminals 4A-1, ... 4A-n and 4B-1, ... 4B-n has the same structure, and an IC card reader capable of writing and reading data to and from an IC card as a memory card, respectively. Writer 18 (see FIG. 3)
Is equipped with. Then, a member card 7 consisting of an IC card is issued to the customer 6 who has a privileged member contract with the chain store headquarters, and the customer 6 presents the member card 7 when shopping at the chain stores A and B. . The membership card 7 includes
As shown in FIG. 2, in addition to a memory in which data for identifying a cardholder such as a membership number is fixedly stored, a privilege target record including a privilege code, points as privilege target data, and each item of an expiration date Is provided with a memory 8 for storing a sequence of addresses. Here, the membership card 7 constitutes a privilege target data holding means.

【0016】図3は各POSターミナル4A-1,…4A
-n及び4B-1,…4B-nの要部構成を示すブロック図で
あって、制御部本体としてCPU(中央処理装置)11
を搭載している。また、プログラムデータ等の固定的デ
ータを予め格納したROM(リード・オンリ・メモリ)
12、各商品の販売データを登録処理する売上記憶部等
の各種メモリエリアを形成するRAM(ランダム・アク
セス・メモリ)13、現在の日付及び時刻を計時する時
計部14、前記伝送路5A,5Bを介して接続されたフ
ァイルプロセッサ2A,2Bとの間で行われるデータ通
信を司る通信インタフェース15、現金等を収容するド
ロワ16を自動開放させるための駆動信号を送出するI
/Oポート17を搭載している。
FIG. 3 shows each POS terminal 4A-1, ... 4A.
-n and 4B-1, ..., 4B-n are block diagrams showing a main part configuration, in which a CPU (central processing unit) 11 is provided as a control unit main body.
It is equipped with. In addition, ROM (Read Only Memory) that stores fixed data such as program data in advance
12, a RAM (random access memory) 13 forming various memory areas such as a sales storage unit for registering sales data of each product, a clock unit 14 for measuring the current date and time, the transmission lines 5A, 5B A communication interface 15 that controls data communication performed with the file processors 2A and 2B connected via the I / F, and a drive signal for automatically opening a drawer 16 that stores cash and the like I
It is equipped with an / O port 17.

【0017】さらに、ICカードのメモリに対してデー
タの書込み及び読出しを行うICカードリーダライタ1
8との間でデータを送受信するカードリーダライタイン
タフェース19、置数キー,点数キー,小計キー,クリ
アキー,値引キー,責任者キー等の他、1客が買上げた
全商品の販売登録終了を宣言する登録締め手段としての
締めキー20aを配設したキーボード20からキー操作
入力により発生する各種キー信号を取込むキーボードイ
ンタフェース21、商品に付されたバーコード等を光学
的に読取るスキャナ22から該スキャナ22が読取った
データを取込むスキャナインタフェース23、販売登録
された商品の品名,販売点数及び販売金額や1客が買上
げた全商品の合計金額,釣銭額等を表示する表示器24
に対して表示データを送出する表示器インタフェース2
5、レシート用紙やジャーナル用紙等にデータを印字す
るプリンタ26に対して印字データを送出するプリンタ
インタフェース27等を搭載している。
Furthermore, an IC card reader / writer 1 for writing and reading data to and from the IC card memory
In addition to the card reader / writer interface 19 for sending and receiving data to and from 8, the number key, point key, subtotal key, clear key, discount key, person in charge key, etc., sales registration of all products purchased by one customer is completed From a keyboard interface 21 for taking in various key signals generated by key operation input from a keyboard 20 provided with a tightening key 20a as a registration tightening means for declaring, and a scanner 22 for optically reading a bar code or the like attached to a product. A scanner interface 23 for taking in the data read by the scanner 22, a display 24 for displaying the product name of the product registered for sale, the number of items sold and the amount of sales, the total amount of all the products purchased by one customer, and the amount of change.
Display interface 2 for sending display data to
5. A printer interface 27 for sending print data to a printer 26 for printing data on receipt paper, journal paper, etc. is mounted.

【0018】前記CPU11と、ROM12,RAM1
3,時計部14,通信インタフェース15,I/Oポー
ト17及び各種入出力機器のインタフェース19,2
1,23,25,27とは、アドレスバス,データバス
等のバスライン28で接続している。ここで、キーボー
ド20及びスキャナ22は、販売商品の商品コード,販
売点数,販売金額等の商品販売データを登録する商品登
録手段を構成する。表示器24及びプリンタ26は、上
記商品登録手段により登録された商品の明細データや合
計データ等を出力する出力手段を構成する。
The CPU 11, ROM 12, RAM 1
3, clock unit 14, communication interface 15, I / O port 17, and interfaces 19 and 2 for various input / output devices
1, 23, 25 and 27 are connected by a bus line 28 such as an address bus and a data bus. Here, the keyboard 20 and the scanner 22 constitute a product registration means for registering product sales data such as a product code of a sold product, a number of sales, and a sales amount. The display 24 and the printer 26 constitute an output unit that outputs detailed data, total data, and the like of the products registered by the product registration unit.

【0019】前記RAM13には、前記本部コンピュー
タ1からのダウンラインローディング処理により設定さ
れる各種情報ファイルとして、特に図4に示すエリア構
成の商品情報ファイル31,特典情報ファイル32,特
典形態ファイル33及び券フォーマットファイル34を
形成している。なお、各ファイル31〜34をRAM1
3でなくファルプロセッサ2A,2Bの記憶装置に設
け、各POSターミナル4A-1,…4A-n及び4B-1,
…4B-nが伝送路5A,5Bを介して必要なファイルを
問い合わせるようにしてもよい。
In the RAM 13, as a variety of information files set by the downline loading process from the headquarter computer 1, a product information file 31, a privilege information file 32, a privilege form file 33, and an area structure shown in FIG. A ticket format file 34 is formed. In addition, the files 31 to 34 are stored in the RAM 1
The POS terminals 4A-1, ... 4A-n and 4B-1,
4B-n may make an inquiry about a required file via the transmission lines 5A and 5B.

【0020】商品情報ファイル31は、各商品にそれぞ
れ付される固有の商品コードに対応して、その商品の品
名,単価及びその商品が属する特典コードを予め設定記
憶するとともに売上点数及び売上金額を商品別に累計記
憶するファイルであって、この商品情報ファイル31の
売上点数,売上金額の累計エリアが前記売上記憶部とし
て機能する。特典コードは特典対象に選定した商品とそ
れ以外の商品とを識別するコードであって、特典対象外
の商品には[00]を付し、特典対象の商品には[0
1][02][03]…を付す。なお、同一の特典コー
ドを付した商品であれば別商品であっても買上点数が予
め設定したセット点数に達したとき特典を付与するよう
になっている。
The merchandise information file 31 stores the merchandise name, unit price and privilege code to which the merchandise belongs in advance in correspondence with the peculiar merchandise code assigned to each merchandise. This is a file for cumulatively storing each product, and the cumulative area of the number of sales and the amount of sales of the product information file 31 functions as the sales storage unit. The privilege code is a code for identifying a product selected as a privilege target and a product other than the privilege target, and a product that is not a privilege is marked with [00] and a product that is a privilege is marked with [0].
1] [02] [03]. It should be noted that, as long as the products with the same privilege code are different products, the privilege is given when the purchase score reaches a preset set score.

【0021】特典情報ファイル32は、特典コード別
に、その特典コードを付した特典対象商品を買上げてか
ら特典が有効な期間と、その特典コードを付した特典対
象商品の特典が受けられる条件データであるセット点数
と、特典として発券するサービス券の種類を識別する特
典形態コードとを予め設定記憶したファイルであって、
特典条件データ記憶部を構成する。
The privilege information file 32 includes, for each privilege code, a period during which the privilege is valid after the purchase of the privilege target product with the privilege code and condition data for receiving the privilege of the privilege target product with the privilege code. A file in which a certain set score and a privilege form code for identifying the type of service ticket issued as a privilege are preset and stored,
A privilege condition data storage unit is configured.

【0022】特典形態ファイル33は、特典形態コード
別に、その特典形態コードを割り当てたサービス券の固
定フォーマットデータを識別する種別コードと、割引金
額や引換景品名等の可変的な券印字データを予め設定記
憶したファイルである。券フォーマットファイル34
は、前記種別コードに対応してサービス券の固定フォー
マットデータを予め設定記憶したファイルである。
The privilege form file 33 previously stores, for each privilege form code, a type code for identifying fixed format data of a service ticket to which the privilege form code is assigned and variable ticket print data such as discount amount and redemption gift name. It is a file that has been set and stored. Ticket format file 34
Is a file in which fixed format data of a service ticket is preset and stored corresponding to the type code.

【0023】因みに、この実施の形態では、商品[BB
B],[CCC]の2つを共通の第1の特典対象商品と
して特典コード[01]を割り付け、商品[FFF]を
第2の特典対象商品として特典コード[02]を割り付
け、商品[DDD]を第3の特典対象商品として特典コ
ード[03]を割り付ける。また、第1の特典対象商品
は買上日から30日間有効で、買上点数が10点に達し
たとき200円の割引券を発券するものとする。第2の
特典対象商品は買上日から20日間有効で、買上点数が
8点に達したとき景品Aの引換券を発券するものとす
る。第3の特典対象商品は買上日から20日間有効で、
買上点数が10点に達したとき500円の割引券を発券
するものとする。
By the way, in this embodiment, the product [BB
B] and [CCC] are assigned as a common first privilege target product, a privilege code [01], and product [FFF] is allocated as a second privilege target product, a privilege code [02], and the product [DDD] is assigned. ] Is assigned as a third privilege target product, and a privilege code [03] is assigned. Further, the first privilege target product is valid for 30 days from the date of purchase, and when the number of purchase points reaches 10, a discount ticket of 200 yen is issued. The second privilege target product is valid for 20 days from the date of purchase, and a voucher for the prize A is issued when the number of purchase points reaches 8. The third target item is valid for 20 days from the date of purchase,
A discount coupon of 500 yen shall be issued when the number of points purchased reaches 10.

【0024】この他、前記RAM13には、1客の登録
業務にて各種データを可変的に記憶するメモリエリアと
して、特に図5に示すように、特典コード,特典対象デ
ータである点数,有効期限日の各項目からなる特典対象
レコードを削除対象のとき“1”,非削除のとき“0”
となる削除フラグCFとともに一連の番地順に記憶する
特典商品情報メモリ41、1客が買上げる商品の合計金
額AMを記憶する客合計メモリ42、前記特典商品情報
メモリ41の書込み番地mを計数するレコードカウンタ
43、前記特典商品情報メモリ41の初期番地Mを記憶
する初期番地メモリ44、1客の買上商品の登録中に
“1”にセットする登録中フラグRFのフラグメモリ4
5、会員カード7を提示した会員客の取引であるとき
“1”にセットする会員取引フラグMFのフラグメモリ
46、後述する特典判定処理において用いる点数合計器
47及び読出しカウンタ48等を形成している。
In addition to the above, the RAM 13 is a memory area for variably storing various data in the registration work of one customer, and as shown in FIG. 5, in particular, a privilege code, points as privilege data, and an expiration date. "1" when the privilege target record consisting of each item of the day is to be deleted, "0" when it is not deleted
A record of a privilege product information memory 41 that stores a deletion flag CF in the order of addresses, a customer total memory 42 that stores the total amount AM of products purchased by a customer, and a record address m of the privilege product information memory 41. A counter 43, an initial address memory 44 that stores the initial address M of the privilege product information memory 41, and a flag memory 4 of a registration flag RF that is set to "1" during the registration of the purchased product of the customer.
5. Forming a flag memory 46 of the member transaction flag MF set to “1” when the transaction is for a member customer presenting the member card 7, a point totalizer 47, a read counter 48, etc. used in a privilege determination process described later. There is.

【0025】しかして、前記CPU11は、特に図6〜
図11の流れ図に示す処理を実行するようにプログラム
を構成している。図6はICカードリーダライタ18に
ICカードを装着したとき、カードリーダライタインタ
フェース19を通じてCPU11に入力される割込み信
号に応動して、該CPU11が実行するカード入力割込
処理の流れ図である。すなわち、CPU11は上記カー
ド入力割込処理を開始すると、先ず、ST(ステップ)
1としてICカードリーダライタ18に装着されたIC
カードが会員カード7か否かをそのカードのメモリに格
納されたデータ等から判断する。そして、会員カード以
外のICカードであれば、そのカードに応じた処理を実
行する。
The CPU 11, in particular, is shown in FIG.
The program is configured to execute the processing shown in the flowchart of FIG. FIG. 6 is a flow chart of a card input interrupt process executed by the CPU 11 in response to an interrupt signal input to the CPU 11 through the card reader / writer interface 19 when an IC card is attached to the IC card reader / writer 18. That is, when the CPU 11 starts the card input interrupt process, first, ST (step)
IC attached to the IC card reader / writer 18 as No. 1
Whether or not the card is the membership card 7 is determined from the data stored in the memory of the card. Then, if it is an IC card other than the membership card, the processing corresponding to the card is executed.

【0026】会員カード7の場合には、ST2として前
記フラグメモリ45の登録中フラグRFが“0”にリセ
ットされていることを確認後、ST3としてレコードカ
ウンタ43のカウント値mを「0」にクリアする。ま
た、ST4として特典商品情報メモリ41の各番地に対
応する削除フラグCFを全て“0”にリセットする。
In the case of the membership card 7, after confirming that the registering flag RF of the flag memory 45 is reset to "0" in ST2, the count value m of the record counter 43 is set to "0" in ST3. clear. Further, as ST4, all the deletion flags CF corresponding to the respective addresses in the privilege product information memory 41 are reset to "0".

【0027】しかる後、ST5として上記レコードカウ
ンタ43のカウント値mを「1」だけカウントアップし
たならば、ST6としてICカードリーダライタ18に
装着されている会員カード7のカードメモリ8から上記
レコードカウンタ43のカウント値mに対応する番地の
レコード、つまりはm番地の特典コード,点数及び有効
期限日からなる特典対象レコードを読込む。そして、S
T8としてこのカードメモリ8から読込んだ特典対象レ
コードを前記特典商品情報メモリ31のm番地エリアに
書込む。
Thereafter, if the count value m of the record counter 43 is incremented by "1" at ST5, the record counter is read from the card memory 8 of the member card 7 mounted on the IC card reader / writer 18 at ST6. The record of the address corresponding to the count value m of 43, that is, the privilege target record including the privilege code, the score, and the expiration date of the m address is read. And S
The privilege target record read from the card memory 8 as T8 is written in the m address area of the privilege product information memory 31.

【0028】次に、ST9として上記前記特典商品情報
メモリ31のm番地エリアに書込んだ特典対象レコード
の有効期限日と時計部14にて計時している現在の日付
とを比較し、有効期限日が経過しているか否かを判断す
る。そして、有効期限日が経過している場合には、ST
10としてその特典対象レコードの削除フラグCF、つ
まりはm番地の削除フラグCFを“1”にセットする
(期限切れデータ削除手段)。有効期限日が経過してい
ない場合には、m番地の削除フラグCFは“0”のまま
である。
Next, at ST9, the expiration date of the privilege target record written in the m address area of the privilege product information memory 31 is compared with the current date measured by the clock unit 14, and the expiration date is compared. Determine if the days have passed. If the expiration date has passed, ST
As 10, the deletion flag CF of the privilege target record, that is, the deletion flag CF of the address m is set to "1" (expired data deletion means). When the expiration date has not passed, the deletion flag CF at the address m remains "0".

【0029】その後、ST5に戻り、カードメモリ8に
おけるm+1番地の特典対象レコードについて上記と同
様の処理を繰り返す。こうして、カードメモリ8に格納
されている全ての特典対象レコードについて上記と同様
の処理を行い、ST7としてカードメモリ8のm番地エ
リアに読出すべき特典対象レコードが存在しなくなる
と、ST11として初期番地メモリ44の初期番地Mを
レコードカウンタ43のカウント値mに設定する。ま
た、ST12としてフラグメモリ46の会員取引フラグ
MFを“1”にセットしたならば、このカード入力割込
処理を終了する。
Then, returning to ST5, the same processing as above is repeated for the privilege target record at the address m + 1 in the card memory 8. In this way, the same processing as above is performed for all privilege target records stored in the card memory 8. When there is no privilege target record to be read in the m address area of the card memory 8 in ST7, the initial address is designated in ST11. The initial address M of the memory 44 is set to the count value m of the record counter 43. Further, if the member transaction flag MF of the flag memory 46 is set to "1" at ST12, this card input interrupt processing is ended.

【0030】図7は前記商品登録手段(キーボード2
0,スキャナ22)により販売商品の商品コード及び販
売点数を登録したことに応じてCPU11が実行する商
品登録処理の流れ図である。すなわち、CPU11はこ
の商品登録処理を開始すると、ST21として登録され
た商品コードを検索キーとして商品情報ファイル31を
検索する。そして、ST22として該商品情報ファイル
31から検索キーに一致する商品コードを検出すると、
ST23としてその商品コードに対応する商品データ
(品名,単価,特典コード)を読取り、単価に販売点数
を乗じて販売金額を算出したならば、この販売点数及び
販売金額を商品情報ファイル31の該当商品コードに対
応する売上点数及び売上金額に加算登録する。また、S
T24として品名,単価,販売点数,販売金額等の登録
商品明細データを表示器24に表示させるとともに、プ
リンタ26によりレシート用紙及びジャーナル用紙に印
字出力する。
FIG. 7 shows the product registration means (keyboard 2
0, the scanner 22) is a flow chart of a product registration process executed by the CPU 11 in response to registration of a product code and a sales point of a sales product. That is, when starting the product registration process, the CPU 11 searches the product information file 31 using the product code registered in ST21 as a search key. Then, when a product code matching the search key is detected from the product information file 31 in ST22,
At ST23, the product data (product name, unit price, privilege code) corresponding to the product code is read, and if the unit price is multiplied by the sales point to calculate the sales amount, the sales point and the sales amount are the corresponding items in the product information file 31. Register to add to the sales points and sales amount corresponding to the code. Also, S
As T24, the registered product detail data such as the product name, unit price, number of sales, and sales amount are displayed on the display 24, and the printer 26 prints out on receipt paper and journal paper.

【0031】次に、ST25としてフラグメモリ45の
登録中フラグRFを調べる。ここで、登録中フラグRF
が“0”にリセットされていた場合には、1客が買上げ
る最初の商品の登録なので、ST26として客合計メモ
リ42のデータAMを“0”にクリアする。また、ST
27として上記登録中フラグRFを“1”にセットす
る。ST25にてすでに登録中フラグRFが“1”にセ
ットされていた場合には、1客が買上げる2点目以降の
商品の登録なので、上記ST26,ST27の処理は行
わない。
Next, at ST25, the flag RF being registered in the flag memory 45 is checked. Here, the registration flag RF
Is reset to "0", it means that the first product purchased by one customer is registered, so that the data AM in the customer total memory 42 is cleared to "0" in ST26. Also, ST
The registration flag RF is set to "1" as 27. When the registration flag RF is already set to "1" in ST25, the second and subsequent products purchased by one customer are registered, and therefore the processes of ST26 and ST27 are not performed.

【0032】しかる後、ST28として客合計メモリ4
2のデータAMに今回の登録商品の販売金額を加算し、
その結果を上記客合計メモリ42に上書きする。次に、
ST29としてフラグメモリ46の会員取引フラグMF
を調べる。ここで、会員取引フラグMFが“0”にリセ
ットされている場合には非会員との取引なので、この商
品登録処理を終了する。これに対し、会員取引フラグM
Fが“1”にセットされている場合には会員との取引な
ので、ST30として今回登録した商品の特典コードを
調べる(特典商品判断手段)。ここで、特典コードが
[00]の場合には特典対象外の商品の登録なので、こ
の商品登録処理を終了する。これに対し、特典コードが
[00]以外の場合には特典対象商品の登録なので、図
8に具体的に示す特典商品登録処理を実行した後、この
商品登録処理を終了する。図8はCPU11が実行する
特典商品登録処理を具体的に示す流れ図である。すなわ
ち、CPU11は上記特典商品登録処理を開始すると、
先ず、ST32として今回登録した特典対象商品の特典
コードと同一の特典コードが特典商品情報メモリ41の
初期番地メモリ44に記憶した初期番地M以降のエリア
に既に格納されているか調べる。
Then, at ST28, the total customer memory 4
Add the sales amount of this registration product to the data AM of 2.
The result is overwritten in the customer total memory 42. next,
Member transaction flag MF of flag memory 46 as ST29
Find out. Here, if the member transaction flag MF is reset to "0", it means that the transaction is with a non-member, so the product registration process is terminated. In contrast, the member transaction flag M
If F is set to "1", the transaction is with a member, so the privilege code of the product registered this time is checked in ST30 (privilege product determination means). Here, if the privilege code is [00], it means that the product is not a privilege target, so the product registration process is terminated. On the other hand, when the privilege code is other than [00], the privilege target product is registered, and therefore, the privilege product registration process specifically shown in FIG. 8 is executed, and then the product registration process is ended. FIG. 8 is a flowchart specifically showing the privilege product registration processing executed by the CPU 11. That is, when the CPU 11 starts the privilege product registration process,
First, in ST32, it is checked whether the same privilege code as the privilege code of the privilege object product registered this time is already stored in the area after the initial address M stored in the initial address memory 44 of the privilege product information memory 41.

【0033】そして、ST33として同一の特典コード
が格納されていない場合には、ST34として特典情報
ファイル32からこの特典対象商品の特典コードに対応
する有効期間データを読出し、時計部14にて計時して
いる現日付にこの有効期間データを加算した日付を有効
期限日として算出する。次に、ST35としてこの特典
対象商品の特典コードと販売点数と有効期限日の各デー
タを、前記特典商品情報メモリ41におけるレコードカ
ウンタ43のカウント値mに対応する番地のエリアに書
込む(特典対象データ追加手段)。しかる後、ST36
として上記レコードカウンタ43のカウント値mを
「1」だけカウントアップしたならば、この特典商品登
録処理を終了する。
If the same privilege code is not stored in ST33, the valid period data corresponding to the privilege code of this privilege object product is read from the privilege information file 32 in ST34, and the clock unit 14 measures the time. The effective date is calculated by adding the effective period data to the current date. Next, in ST35, each data of the privilege code, the number of sales points, and the expiration date of the privilege target product is written in the area of the address corresponding to the count value m of the record counter 43 in the privilege product information memory 41 (the privilege target). Data addition means). After that, ST36
When the count value m of the record counter 43 is incremented by "1", the privilege product registration processing is ended.

【0034】一方、ST33にて今回登録した特典対象
商品の特典コードと同一の特典コードが格納されていた
場合には、ST37として特典商品情報メモリ41の同
一特典コードに対応する点数データに今回登録した特典
対象商品の販売点数を加算して(特典対象データ追加手
段)、この特典商品登録処理を終了する。
On the other hand, if the same privilege code as the privilege code of the privilege object product registered this time in ST33 is stored, the score data corresponding to the same privilege code in the privilege product information memory 41 is registered this time in ST37. The number of sales of the privilege target product is added (privilege target data adding means), and the privilege product registration process is ended.

【0035】ここに、特典商品情報メモリ41は、特典
対象データ保持手段である会員カード7のカードメモリ
8に格納されていた前回取引までの特典対象データに、
今回の取引によって発生した特典対象データを合わせて
一時的に保持するメモリエリアとして機能する。
Here, the privilege product information memory 41 stores the privilege target data up to the previous transaction stored in the card memory 8 of the member card 7 which is the privilege target data holding means,
It functions as a memory area that temporarily holds the privilege target data generated by this transaction.

【0036】図9は前記登録締め手段としての締めキー
20aを操作入力したことに応じてCPU11が実行す
る締めキー入力処理の流れ図である。すなわち、CPU
11はこの締めキー入力処理を開始すると、先ず、ST
41としてフラグメモリ45の登録中フラグRFが
“1”にセットされていることを確認する。なお、登録
中フラグRFが“0”にリセットされていた場合には、
1客が買上げる商品の登録前に締めキー20aを入力し
た操作エラーなので、この処理を終了する。
FIG. 9 is a flow chart of the closing key input processing executed by the CPU 11 in response to the operation input of the closing key 20a as the registration closing means. That is, the CPU
When 11 starts this closing key input processing, first, ST
As 41, it is confirmed that the flag RF being registered in the flag memory 45 is set to "1". When the registration flag RF is reset to “0”,
Since this is an operation error in which one customer inputs the closing key 20a before registering the product to be purchased, this processing ends.

【0037】ST41にて登録中フラグRFが“1”に
セットされていることを確認したならば、ST42とし
て預り金額から客合計メモリ42内のデータAMいわゆ
る合計金額AMを減じて釣銭額を算出し、この釣銭額を
表示器24に表示させる。また、ST43として上記合
計金額,預り金額,釣銭額等の登録締めデータをプリン
タ26によりレシート用紙及びジャーナル用紙に印字出
力する。なお、預り金額は締めキー20aの入力前に数
値データが置数されていたならばその数値データ,置数
されていない場合には客合計メモリ42内のデータAM
とする。
If it is confirmed in ST41 that the registration flag RF is set to "1", in ST42 the change amount is calculated by subtracting the data AM in the customer total memory 42 from the so-called total amount AM, the so-called total amount AM. Then, the change amount is displayed on the display 24. Further, in ST43, the registration closing data such as the total amount, the deposit amount, and the change amount are printed out on the receipt paper and the journal paper by the printer 26. The deposit amount is the numerical data if the numerical data has been entered before the closing key 20a is input, and if not, the data AM in the customer total memory 42.
And

【0038】次に、ST44として前記フラグメモリ4
6の会員取引フラグMFを調べる。ここで、会員取引フ
ラグMFが“0”にリセットされていた場合には非会員
との取引なので、ST46として前記プリンタ26によ
るレシート用紙のロングフィードを行ってレシートを発
行しドロワ16を開放する。また、ST47として登録
中フラグRFを“0”にリセットして、この登録締め処
理を終了する。
Next, at ST44, the flag memory 4 is
Check the member transaction flag MF of 6. Here, if the member transaction flag MF is reset to "0", the transaction is with a non-member, so in ST46, the printer 26 performs a long feed of the receipt paper to issue a receipt and open the drawer 16. Further, in ST47, the registration flag RF is reset to "0", and the registration closing process is ended.

【0039】これに対し、ST44にて会員取引フラグ
MFが“1”にセットされていた場合には会員との取引
なので、ST45として後述する特典判定処理を行う。
その後、非会員の場合と同様に、ST46にてレシート
を発行するとともにドロワ16を開放し、ST47にて
登録中フラグRFを“0”にリセットしたならば、この
登録締め処理を終了する。
On the other hand, if the member transaction flag MF is set to "1" in ST44, the transaction is with a member, so the privilege determination process described below is performed in ST45.
After that, as in the case of the non-member, if the receipt is issued and the drawer 16 is opened in ST46 and the registration flag RF is reset to "0" in ST47, the registration closing process ends.

【0040】図10及び図11は上記特典判定処理を具
体的に示す流れ図である。すなわち、CPU11はこの
特典判定処理を開始すると、先ず、ST51としてレコ
ードカウンタ43のカウント値mを「1」だけカウント
ダウンする。次に、ST52としてカウントダウン後の
カウント値mが初期番地メモリ44内の初期番地Mより
小さいか否かを判断する。
FIG. 10 and FIG. 11 are flow charts specifically showing the privilege determination processing. That is, when the privilege determination process is started, the CPU 11 first counts down the count value m of the record counter 43 by "1" in ST51. Next, at ST52, it is determined whether or not the count value m after the countdown is smaller than the initial address M in the initial address memory 44.

【0041】ここで、カウント値mが初期番地M以上の
場合には、特典商品情報メモリ41のm番地には今回買
上げた特典対象商品の特典対象データが格納されている
ので、ST53としてこの特典商品情報メモリ41のm
番地の特典対象レコードを読込み、このデータ中の特典
コードXを取出す。次に、ST54として特典情報ファ
イル32から上記特典コードXに対応するセット点数S
及び特典形態コードYを読込む。なお、上記特典コード
X,セット点数S及び特典形態コードYはRAM13の
一時バッファに一時的に格納する。
Here, when the count value m is equal to or larger than the initial address M, the privilege target data of the privilege target product purchased this time is stored in the address m of the privilege product information memory 41, so this privilege is designated as ST53. M of the product information memory 41
The privilege target record at the address is read, and the privilege code X in this data is taken out. Next, at ST54, the set point number S corresponding to the above-mentioned privilege code X from the privilege information file 32 is set.
And read the privilege form code Y. The privilege code X, the set score S, and the privilege form code Y are temporarily stored in the temporary buffer of the RAM 13.

【0042】次に、ST55としてRAM13上の点数
合計器47のデータGと、読出カウンタ48のカウント
値nとを「0」にクリアする。しかる後、ST56とし
て上記読出カウンタ48のカウント値nを「1」だけカ
ウントアップしたならば、ST57としてカウントアッ
プ後のカウント値nが初期番地メモリ44の初期番地M
に達したか否かを判断する。
Next, at ST55, the data G of the point totalizer 47 on the RAM 13 and the count value n of the read counter 48 are cleared to "0". Thereafter, if the count value n of the read counter 48 is incremented by "1" at ST56, the count value n after the count up at ST57 is the initial address M of the initial address memory 44.
To determine whether or not.

【0043】ここで、カウント値nが初期番地Mより小
さい場合には、ST58として特典商品情報メモリ41
における読出カウンタ48のカウント値nに対応する番
地のレコード、いわゆるn番地の特典対象レコード(特
典コード,点数,有効期限日,削除フラグCF)を読込
む。すなわち、前回までの取引で発生し会員カード7の
カードメモリ8で保持されていた特典対象レコードを読
込む。そして、ST59としてこのn番地の特典対象レ
コードの削除フラグCFが“1”にセットされているか
調べる。ここで、上記削除フラグCFが“1”にセット
されていた場合には、このn番地の特典対象レコードは
有効期限切れ等による削除対象のデータなので、ST5
6の読出カウンタ加算処理に戻る。
If the count value n is smaller than the initial address M, the privilege product information memory 41 is set as ST58.
The record of the address corresponding to the count value n of the read counter 48 at, that is, the so-called privilege target record of the address n (privilege code, score, expiration date, deletion flag CF) is read. That is, the privilege target record generated in the transaction up to the previous time and held in the card memory 8 of the member card 7 is read. Then, in ST59, it is checked whether or not the deletion flag CF of the privilege target record at the address n is set to "1". Here, when the deletion flag CF is set to "1", the privilege target record at the address n is data to be deleted due to expiration of the expiration date or the like, and therefore ST5
The process returns to the reading counter addition process of No. 6.

【0044】ST59にて削除フラグCFが“0”にリ
セットされていた場合には、ST60としてこのn番地
の特典対象レコードの特典コードがRAM13の一時バ
ッファに格納した特典コードXに一致するか判断する。
そして一致しない場合には、このn番地の特典対象レコ
ードはm番地に格納した特典対象レコードと特典コード
Xが異なるので、ST56の読出カウンタ加算処理に戻
る。
When the deletion flag CF is reset to "0" in ST59, it is determined in ST60 whether the privilege code of the privilege target record at the address n matches the privilege code X stored in the temporary buffer of the RAM 13. To do.
If they do not match, the privilege target record at the nth address has a different privilege code X from the privilege target record stored at the mth address, and therefore the process returns to the reading counter addition processing at ST56.

【0045】ST60にてn番地の特典対象レコードの
特典コードが特典コードXに一致する場合には、ST6
1としてこのn番地の特典対象レコードの点数を点数合
計器47のデータに加算しその結果を点数合計器47に
上書きする。しかる後、ST62として上記点数合計器
47のデータG、つまりは特典コードXの特典対象商品
の販売点数累積値がRAM13の一時バッファに格納し
たセット点数Sに達したか否かを判定する(特典有無判
定手段)。そして達していない場合には、特典コードX
の特典条件を満足していないので、ST56の読出カウ
ンタ加算処理に戻る。
If the privilege code of the privilege target record at the address n at ST60 matches the privilege code X, ST6
As 1, the score of the privilege target record at the address n is added to the data of the score totalizer 47, and the result is overwritten on the score totalizer 47. Thereafter, in ST62, it is determined whether or not the data G of the point totalizer 47, that is, the cumulative sales point value of the privilege target products of the privilege code X has reached the set point S stored in the temporary buffer of the RAM 13 (privilege). Presence determination means). And if not reached, privilege code X
Since the privilege condition of No. is not satisfied, the process returns to the reading counter addition process of ST56.

【0046】ST62にて点数合計器47のデータGが
セット点数S以上の場合には、特典商品情報メモリ41
のn番地までの特典対象レコードのうち特典コードXの
特典対象レコードの販売点数の累積値が特典コードXの
セット点数Sに達し、特典コードXの特典条件を満足し
たので、ST63としてRAM13の一時バッファに格
納した特典形態コードYに対応するサービス券をプリン
タ26によりレシート用紙に印字する。すなわち、特典
形態ファイル33から特典形態コードYに対応する種別
コード及び印刷データを読出す。また券フォーマットフ
ァイル34から上記種別コードに対応する券フォーマッ
トデータを読出す。そして、この券フォーマットデータ
に上記印刷データを合成することにより、サービス券の
印字データを作成し、この印字データをプリンタ26に
送出して、該当するサービス券を印字する(特典情報出
力手段)。
In ST62, when the data G of the point totalizer 47 is equal to or more than the set point S, the privilege product information memory 41
Since the cumulative value of the sales points of the privilege target records of the privilege code X among the privilege target records up to the address n has reached the set point S of the privilege code X and the privilege condition of the privilege code X is satisfied, the RAM 13 is temporarily stored as ST63. The service ticket corresponding to the privilege form code Y stored in the buffer is printed on the receipt paper by the printer 26. That is, the type code and print data corresponding to the privilege type code Y are read from the privilege type file 33. Further, the ticket format data corresponding to the type code is read from the ticket format file 34. Then, the print data of the service ticket is created by combining the print data with the ticket format data, and the print data is sent to the printer 26 to print the corresponding service ticket (privilege information output means).

【0047】次に、ST64として上記点数合計器47
のデータGがセット点数Sに一致しているか否かを判断
する。そして一致している場合には、特典商品情報メモ
リ41のn番地までの特典対象レコードのうち特典コー
ドXの特典対象レコードを抽出して、この特典対象レコ
ードの削除フラグCFを“1”にセットする。これに対
し、点数合計器47のデータGがセット点数Sより大き
い場合には、先ず、ST66として特典商品情報メモリ
41の(n−1)番地までの特典対象レコードで特典コ
ードXの特典対象レコードを抽出して、このレコードの
削除フラグCFを“1”にセットする。次いで、ST6
7として特典商品情報メモリ41のn番地の特典対象レ
コードの点数を(G−S)値に書換える。すなわち、S
T63にて印字したサービス券の特典に寄与した特典対
象レコードを削除対象とする(特典対象データ削除手
段)。
Next, as ST64, the above point totalizer 47
It is determined whether or not the data G in (1) matches the set score S. If they match, the privilege target record with privilege code X is extracted from the privilege target records up to the address n in the privilege product information memory 41, and the deletion flag CF of this privilege target record is set to "1". To do. On the other hand, when the data G of the point totalizer 47 is larger than the set point S, first, at ST66, the privilege target records up to the address (n-1) of the privilege product information memory 41 are privilege target records of the privilege code X. Is extracted and the deletion flag CF of this record is set to "1". Then ST6
As 7, the score of the privilege target record at the address n in the privilege product information memory 41 is rewritten to the (GS) value. That is, S
The privilege target record that contributed to the benefit of the service ticket printed at T63 is targeted for deletion (privilege target data deleting means).

【0048】その後、ST68として点数合計器47の
データGから上記セット点数Sを減算しその結果を点数
合計器47に上書きしたならば、ST56の読出カウン
タ加算処理に戻る。
Thereafter, at ST68, if the set score S is subtracted from the data G of the score totalizer 47 and the result is overwritten on the score totalizer 47, the process returns to the read counter addition process of ST56.

【0049】こうして、読出カウンタ48のカウント値
nが初期番地メモリ44の初期番地Mに達するまで、上
記ST58〜ST68の処理を繰り返す。そして、ST
57にてカウント値nが初期番地Mに達したことを確認
したならば、ST51のレコードカウンタ減算処理に戻
る。こうして、レコードカウンタ43のカウント値mが
初期番地メモリ44の初期番地Mより小さくなるまで、
上記ST53〜ST68の処理を繰り返す。
In this way, the processes of ST58 to ST68 are repeated until the count value n of the read counter 48 reaches the initial address M of the initial address memory 44. And ST
If it is confirmed in 57 that the count value n has reached the initial address M, the process returns to the record counter subtraction processing in ST51. Thus, until the count value m of the record counter 43 becomes smaller than the initial address M of the initial address memory 44,
The processes of ST53 to ST68 are repeated.

【0050】すなわち、特典商品情報メモリ41のM番
地からm−1番地まで格納されている今回登録された特
典対象商品の特典対象レコードのうち、先ずm−1番地
に格納されている特典対象レコードから順に抽出する。
そして、この抽出した特典対象レコードの特典コードX
と同一の特典コードを有する特典対象レコードを特典商
品情報メモリ41の1番地からM−1番地までのデータ
なかから古い順に検出し、検出した順に特典対象レコー
ドの販売点数を累積する。そして、この累積点数が特典
コードXのセット点数Sに達したならば、特典コードX
の特典形態コードYに対応した形態のサービス券を印字
するとともに、累積点数分の特典対象レコードを削除対
象とする。以上の処理をM番地からm−2番地までに格
納された今回登録された他の特典対象商品の特典対象レ
コードについても繰り返す。
That is, of the privilege target records of the privilege target products registered this time stored in the privilege product information memory 41 from address M to address m-1, the privilege target record first stored in address m-1. Extract in order.
Then, the privilege code X of the extracted target record for privilege
The privilege target record having the same privilege code as is detected from the data from address 1 to address M-1 of the privilege product information memory 41 in the oldest order, and the sales points of the privilege target record are accumulated in the detected order. If the accumulated points reach the set point S of the privilege code X, the privilege code X
The service ticket in the form corresponding to the privilege form code Y is printed, and the target records for the accumulated points are deleted. The above processing is repeated for the privilege target records of the other privilege target products registered this time, which are stored in the addresses M to m-2.

【0051】そして、ST52にてカウント値mが初期
番地Mより小さいことを確認したならば、m番地の特典
対象レコードは前回までの取引で発生したデータなの
で、ST69として特典商品情報メモリ69から削除フ
ラグCFが“0”にリセットされた特典対象レコードを
探し、この削除フラグCFが“0”の特典対象レコード
を全てクリアする。次に、ST70としてICカードリ
ーダライタ18に装着されている会員カード7のカード
メモリ8を一旦クリアした後、特典商品情報メモリ69
に残った特典対象レコードを番地の小さい順に読出して
上記カードメモリ8に1番地から順に書込む。こうし
て、特典商品情報メモリ69に残った特典対象レコード
を全てカードメモリ8に移したならば、ST71として
フラグメモリ46の会員取引フラグMFを“0”にリセ
ットして、この特典判定処理を終了する。
If it is confirmed in ST52 that the count value m is smaller than the initial address M, the privilege target record at the address m is the data generated in the transaction up to the previous time, so the privilege item information memory 69 is deleted in ST69. The privilege target record whose flag CF is reset to “0” is searched for, and all the privilege target records whose deletion flag CF is “0” are cleared. Next, in ST70, the card memory 8 of the member card 7 mounted on the IC card reader / writer 18 is once cleared, and then the privilege product information memory 69
The remaining privilege target records are read out in ascending order of address and written in the card memory 8 in order from the first address. In this way, if all of the privilege target records remaining in the privilege product information memory 69 are moved to the card memory 8, the member transaction flag MF of the flag memory 46 is reset to "0" in ST71, and this privilege determination process is ended. .

【0052】このように構成された本実施の形態におい
ては、例えば新規に会員契約をした買物客6が、199
6年1月20日にチェーン販売店Aで商品[BBB]を
1点と商品[DDD]を3点買上げたとする。すると、
商品[BBB]は特典コード[01]の第1の特典対象
商品であり、この第1の特典対象商品の有効期間は30
日なので、この買物客6が所有する会員カード7のカー
ドメモリ8には、001番地に特典コード[01],点
数[1],有効期限日[960219(1996年2月
19日)]が書き込まれる。また、商品[DDD]は特
典コード[03]の第3の特典対象商品であり、この第
3の特典対象商品の有効期間は20日なので、同カード
メモリ8には、002番地に特典コード[03],点数
[3],有効期限日[960209(1996年2月9
日)]が書き込まれる。
In the present embodiment configured as described above, for example, when the shopper 6 who newly makes a membership contract is 199
It is assumed that the chain store A purchases one item [BBB] and three items [DDD] on January 20, 2006. Then,
The product [BBB] is the first privilege target product of the privilege code [01], and the valid period of the first privilege target product is 30.
Since this is a day, the privilege code [01], the score [1], and the expiration date [960219 (February 19, 1996)] are written at address 001 in the card memory 8 of the member card 7 owned by the shopper 6. Be done. Further, the product [DDD] is the third privilege target product of the privilege code [03], and the validity period of the third privilege target product is 20 days. Therefore, the privilege code [002] is stored in the card memory 8 at the address 002. 03], points [3], expiration date [960209 (February 9, 1996)
Date)] is written.

【0053】次に、この買物客6が1996年1月22
日にチェーン販売店Bで商品[CCC]を1点と商品
[FFF]を5点買上げたとする。すると、商品[CC
C]は特典コード[01]の第1の特典対象商品であ
り、この第1の特典対象商品の有効期間は30日なの
で、この買物客6が所有する会員カード7のカードメモ
リ8には、003番地に特典コード[01],点数
[1],有効期限日[960221(1996年2月2
1日)]が書き込まれる。また、商品[FFF]は特典
コード[02]の第2の特典対象商品であり、この第2
の特典対象商品の有効期間は20日なので、同カードメ
モリ8には、004番地に特典コード[02],点数
[5],有効期限日[960211(1996年2月1
1日)]が書き込まれる。
Next, this shopper 6 is January 22, 1996.
It is assumed that the chain store B purchases one item [CCC] and five items [FFF] each day. Then, the product [CC
C] is the first privilege target product of the privilege code [01], and the validity period of this first privilege target product is 30 days. Therefore, in the card memory 8 of the member card 7 owned by the shopper 6, Privilege code [01], point [1], expiration date [960221 (February 2, 1996)
1 day)] is written. The product [FFF] is the second privilege target product of the privilege code [02].
Since the validity period of the privilege target product is 20 days, the privilege code [02], the score [5], and the expiration date [960211 (February 1, 1996) are stored in the card memory 8 at address 004.
1 day)] is written.

【0054】さて次に、この買物客6が1996年2月
8日にチェーン販売店Bで商品[DDD]を8点買上
げ、POSターミナル4B-1のレジにて精算を行うもの
とする。この場合、POSターミナル4B-1のレジ担当
者は、先ず、買物客6から受取った会員カード7をIC
カードリーダライタ18に装着する。すると、会員カー
ド7のカードメモリ8に記憶保持されている特典対象レ
コード(図2参照)が、特典商品情報メモリ41の1番
地から4番地までに移される。このとき、特典対象レコ
ードは有効期限が切れていないので、特典商品情報メモ
リ41の削除フラグCFは全てリセットされている。
Next, it is assumed that the shopper 6 purchases 8 items of goods [DDD] at the chain store B on February 8, 1996, and makes a payment at the cashier of the POS terminal 4B-1. In this case, the cashier in charge of the POS terminal 4B-1 first ICs the membership card 7 received from the shopper 6.
It is attached to the card reader / writer 18. Then, the privilege target record (see FIG. 2) stored and held in the card memory 8 of the member card 7 is moved to addresses 1 to 4 of the privilege product information memory 41. At this time, since the valid period of the privilege target record has not expired, all the deletion flags CF of the privilege product information memory 41 are reset.

【0055】次に、レジ担当者は商品[DDD]の商品
コード[49……2」と販売点数[8]をキーボード2
0及びスキャナ22を用いて登録する。すると、この商
品[DDD]の明細データが表示されるとともにレシー
ト用紙及びジャーナル用紙に印字される。また、この商
品[DDD]は特典コード[03]が割当てられた第3
の特典対象商品なので、特典情報メモリ41の5番地に
特典コード[03],点数[8],有効期限日[960
228(1996年2月28日)]が格納される。
Next, the cashier in charge enters the product code [49 ... 2] of the product [DDD] and the sales point [8] on the keyboard 2
0 and the scanner 22 are used for registration. Then, the detailed data of the product [DDD] is displayed and printed on the receipt paper and the journal paper. In addition, this product [DDD] is the third product to which the privilege code [03] is assigned.
Since it is a target product of the privilege, the privilege code [03], the score [8], the expiration date [960
228 (February 28, 1996)] is stored.

【0056】次に、レジ担当者は買物客6からの預り金
額例えば5000円を置数した後、締めキー20aを入
力する。すると、釣銭額1800円が表示させるととも
に、レシート用紙及びジャーナル用紙に合計金額320
0円,預り金額5000円,釣銭額1800円が印字さ
れる。
Next, the cashier in charge enters the closing key 20a after entering the deposit amount from the shopper 6, for example, 5,000 yen. Then, the change amount of 1800 yen is displayed, and the total amount of money 320 is displayed on the receipt paper and the journal paper.
0 yen, deposit amount 5000 yen, change amount 1800 yen are printed.

【0057】また、特典判定処理が行われる。その結
果、特典コード[03]の特典対象商品の買上点数が、
今回チェーン販売店Bで行った取引での8点と、199
6年1月20日にチェーン販売店Aで行った取引での3
点を加算した11点となり、特典コード[03]の条件
データであるセット点数10を満足するので、特典コー
ド[03]の特典形態コード01に対応したサービス
券、つまりは額面500円の割引券がレシート用紙に印
字される。このとき、特典商品情報メモリ41の2番地
の削除フラグCFが“1”にセットされる。また、5番
地の特典対象レコードの点数が「8」から「1(=11
−10)」に書換えられる。その後、この買物客6の会
員カード7には、特典商品情報メモリ41の1,3,
4,5番地の各特典対象レコードが、カードメモリ8の
1,2,3,4番地にそれぞれ書込まれる。その後、レ
シートが割引券とともに一体となって発行される。
Further, a privilege determination process is performed. As a result, the number of items purchased with the privilege code [03] is
8 points and 199 from the transaction conducted at chain store B this time
3 in a transaction conducted at chain store A on January 20, 2006
The points are added up to 11 points, which satisfies the set number of points 10 which is the condition data of the privilege code [03]. Therefore, the service ticket corresponding to the privilege form code 01 of the privilege code [03], that is, the discount coupon of 500 yen face value Is printed on the receipt paper. At this time, the deletion flag CF at the address 2 of the privilege product information memory 41 is set to "1". In addition, the score of the privilege target record at the address 5 is from “8” to “1 (= 11
-10) ". After that, in the member card 7 of the shopper 6, 1, 3 of the privilege product information memory 41 are stored.
The privilege target records at addresses 4 and 5 are written at addresses 1, 2, 3, and 4 of the card memory 8, respectively. After that, the receipt is issued together with the discount ticket.

【0058】なお、上述した例において、仮に商品[D
DD]を8点買上げた日付が2月10日以降の場合に
は、カードメモリ8における2番地の特典対象レコード
の有効期限が切れてしまうので、特典コード[03]の
特典対象商品の買上累計点数は今回の8点だけであり、
サービス券は発行されない。また、特典コード[03]
に対応する特典形態コードが「02]であった場合に
は、サービス券は景品Aの引換券となる。
In the above example, the product [D
If the date of purchasing 8 points of DD] is February 10th or later, the privilege target record at address 2 in the card memory 8 will expire, so the cumulative total of the privilege target products with privilege code [03] will be purchased. The score is only 8 points this time,
No service ticket will be issued. Also, privilege code [03]
If the privilege form code corresponding to is 02, the service ticket is a voucher for the prize A.

【0059】このように本実施の形態においては、各商
品の中で予め選定した特典対象商品の特典を付与する条
件データを記憶する特典情報ファイル32をPOSター
ミナル4A-1〜4A-n及び4B-1〜4B-nに設けてい
る。また、会員契約をした買物客6に対してそれぞれI
Cカードからなる会員カード7を配布し、この会員カー
ド7のカードメモリ8に、その買物客6がチェーン販売
店A,Bで買上げた特典対象商品の販売点数(特典対象
データ)を含む特典対象レコードを蓄積保持するように
している。そして、各POSターミナル4A-1〜4A-n
及び4B-1〜4B-nは、商品登録手段により販売登録さ
れた商品が特典対象商品か否かを判断し、特典対象商品
であると判断すると、この特典対象商品の販売点数を含
む特典対象レコードを前記会員カード7のカードメモリ
8に追加し、これによって、特典対象データの累積値が
特典条件データ記憶部に記憶した条件データを満足した
ならば、予め設定した特典情報を出力するようにしてい
る。
As described above, in this embodiment, the privilege information file 32 storing the condition data for granting the privilege of the privilege target product selected in advance from each product is stored in the POS terminals 4A-1 to 4A-n and 4B. -1 to 4B-n. In addition, I
Distributing a membership card 7 consisting of a C card, and a privilege target including the number of sales points (privilege target data) of the privilege target product purchased by the shopper 6 at the chain stores A and B in the card memory 8 of the member card 7 Records are stored and retained. And each POS terminal 4A-1 to 4A-n
And 4B-1 to 4B-n determine whether or not the product registered for sale by the product registration means is a privilege target product, and when determining that the product is a privilege target product, the privilege target including the sales points of the privilege target product A record is added to the card memory 8 of the member card 7 so that if the cumulative value of the privilege target data satisfies the condition data stored in the privilege condition data storage unit, preset privilege information is output. ing.

【0060】したがって、会員となった買物客6は、チ
ェーン販売店A,Bの一方または両方で特典対象商品を
買上げ、その合計点数が予め設定したセット点数に達し
たならば、特典を受けられるようになる。換言すれば、
各POSターミナル4A-1〜4A-n及び4B-1〜4B-n
は、チェーン販売店A,Bでの複数回の取引で買上げた
特典対象商品の販売点数合計値が予め設定したセット点
数に達したならば特典を付与するサービスに対応でき、
客の定着化等を図り得る。
Therefore, the shopper 6 who has become a member can receive the privilege if he / she purchases the privilege target product at one or both of the chain stores A and B and the total score reaches a preset set score. Like In other words,
Each POS terminal 4A-1 to 4A-n and 4B-1 to 4B-n
Is a service that grants a privilege if the total number of sales points of the privilege target products purchased through multiple transactions at the chain stores A and B reaches a preset set point,
Customers can be established.

【0061】また、本実施の形態においては、締めキー
20aにより1客が買上げた全商品の販売登録終了を宣
言すると、これまでの取引の履歴により特典の条件が成
立しているか否かが自動的に判定され、成立している場
合には、割引券,景品引換券等のサービス券がレシート
用紙に自動的に印字されて発行されるようになってい
る。したがって、店員は特典の条件が成立しているか否
かを意識せず、レシートともにサービス券が発行された
ならばそれを客に渡せばよいので、この種のサービスの
導入によって店員の負担が増加することはない。
Further, in the present embodiment, when the end of sales registration of all the products purchased by one customer is declared by the closing key 20a, it is automatically determined whether the privilege condition is satisfied or not based on the history of transactions so far. If it is determined that the service ticket is valid, the service ticket such as a discount ticket or a gift voucher is automatically printed on the receipt paper and issued. Therefore, the clerk does not need to be aware of whether or not the condition of the privilege is satisfied, and if the service ticket is issued together with the receipt, it is sufficient to give it to the customer, so the introduction of this type of service increases the burden on the clerk. There is nothing to do.

【0062】また、本実施の形態においては、会員カー
ド7のカードメモリ8において特典対象データとともに
この特典対象データの有効期限に関するデータを保持す
るようにし、会員カード7をPOSターミナル4A-1〜
4A-n及び4B-1〜4B-nのICカードリーダライタ8
に装着すると、自動的に有効期限切れのデータを削除す
るようにしている。したがって、カードメモリ8の記憶
容量を節約できる。
Further, in the present embodiment, the card memory 8 of the member card 7 holds the privilege target data and the data regarding the expiration date of the privilege target data, and the member card 7 is stored in the POS terminal 4A-1.
4A-n and 4B-1 to 4B-n IC card reader / writer 8
When attached to, it will automatically delete the expired data. Therefore, the storage capacity of the card memory 8 can be saved.

【0063】なお、本発明は前記一実施の形態に限定さ
れるものではない。例えば、前記実施の形態ではチェー
ンストア向けのPOSシステムのPOSターミナルに本
発明を適用したが、独立した1店舗のPOSターミナル
や電子式キャッシュレジスタにも適用できるのはいうま
でもないことである。また、チェーンストア向けのPO
Sシステムにおいて、本部コンピュータ1と各店舗のス
トアプロセッサ2A,2Bとが回線で接続されていなく
ても、各店舗のPOSターミナルまたはファイルプロセ
ッサに設けられる商品情報ファイル31,特典情報ファ
イル32,特典形態ファイル33及び券フォーマットフ
ァイル34のデータを共通に設定しさえすれば本発明の
効果を奏し得る。
The present invention is not limited to the above-mentioned one embodiment. For example, although the present invention is applied to the POS terminal of the POS system for chain stores in the above-mentioned embodiment, it is needless to say that the present invention can also be applied to the POS terminal of one independent store and the electronic cash register. Also, a PO for chain stores
In the S system, even if the headquarters computer 1 and the store processors 2A and 2B of each store are not connected by a line, the product information file 31, the privilege information file 32, and the privilege form provided in the POS terminal or file processor of each store The effect of the present invention can be achieved as long as the data of the file 33 and the ticket format file 34 are set in common.

【0064】また、前記実施の形態では、会員契約をし
た買物客6が買上げる商品の登録業務において会員カー
ド7の読取り操作を客買上商品の登録前に制限したが、
少なくとも販売登録された商品のうち特典商品のコード
及び販売点数を1客分蓄積するバッファを設け、締めキ
ーの入力に応じて会員取引か否かを会員取引フラグMF
の状態から判断し、会員取引であれば上記蓄積バッファ
のデータに基づいて特典商品登録処理を行うように構成
することによって、会員カード7の読取操作を締めキー
入力前であればいつでも可能にすることができる。
Further, in the above-described embodiment, the reading operation of the member card 7 is restricted before the customer-purchased merchandise is registered in the registration operation of the merchandise purchased by the shopper 6 who has made a membership contract.
A buffer for accumulating at least one of the privileged product codes and sales points of the registered products for sale is provided, and a member transaction flag MF indicating whether or not a member transaction is performed according to the input of the closing key.
Judging from the state, if the member transaction is a member transaction, the privilege product registration process is performed based on the data in the accumulation buffer, so that the reading operation of the member card 7 can be performed at any time before the closing key input. be able to.

【0065】また、前記実施の形態では、特典対象商品
の販売データに基づく特典対象データを客別に蓄積保持
する特典対象データ保持手段としてICカード(会員カ
ード7)を用いたが、本部コンピュータ1の外部記憶装
置に各会員客の特典対象商品の販売データに基づく特典
対象データを客別に蓄積保持するための会員ファイルを
設け、ICカードは会員のIDコード入力手段として用
いてもよい。
In the above embodiment, the IC card (membership card 7) is used as the privilege target data holding means for accumulating and holding the privilege target data based on the sales data of the privilege target product for each customer. The external storage device may be provided with a member file for accumulating and holding the privilege target data based on the sales data of the privilege target product of each member customer for each customer, and the IC card may be used as a member ID code input means.

【0066】また、前記実施の形態では、特典有無の判
定処理を締めキー20aの操作入力に応動して行った
が、必ずしも登録締めの際に行わなくてもよい。例え
ば、1商品を登録する毎にその登録商品が特典対象商品
か否かを判断し、特典対象商品であるとき、この商品の
販売データに基づく特典対象データを加えて特典が成立
するか否かを判断するようにしてもよい。この他、レシ
ートとサービス券を別々に発行させたり、特典の出力手
段として景品名を表示器24に表示させる等、本発明の
要旨を逸脱しない範囲で種々変形実施可能であるのは勿
論である。
Further, in the above-described embodiment, the determination process of presence / absence of a privilege is performed in response to the operation input of the closing key 20a, but it is not always necessary to perform the registration closing. For example, each time one product is registered, it is determined whether or not the registered product is a privilege target product, and when the product is a privilege target product, whether the privilege is realized by adding the privilege target data based on the sales data of this product. May be determined. Besides, it is needless to say that various modifications can be made without departing from the gist of the present invention, such as issuing a receipt and a service ticket separately, displaying a prize name on the display 24 as a privilege output means, and the like. .

【0067】[0067]

【発明の効果】以上詳述したように、本発明によれば、
複数回の取引で買上げた特典対象商品の合計が予め設定
した条件を満足したならば特典を付与するサービスに対
応できる商品販売登録データ処理装置を提供できる。
As described in detail above, according to the present invention,
It is possible to provide a product sales registration data processing device capable of supporting a service for granting a privilege if the total number of privileged products purchased through a plurality of transactions satisfies a preset condition.

【0068】また、この種のサービスの導入によって店
員の負担が増加するのを防止できる効果を奏する。
Further, the introduction of this type of service has an effect of preventing the burden on the store clerk from increasing.

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

【図1】本発明の一実施の形態であるPOSシステムの
概要図。
FIG. 1 is a schematic diagram of a POS system according to an embodiment of the present invention.

【図2】同実施の形態で用いるICカードのカードメモ
リ構成図。
FIG. 2 is a card memory configuration diagram of an IC card used in the embodiment.

【図3】同実施の形態で用いるPOSターミナルの要部
ブロック図。
FIG. 3 is a block diagram of a main part of a POS terminal used in the same embodiment.

【図4】同POSターミナルのRAMに設けられる主要
な情報ファイルの構成図。
FIG. 4 is a configuration diagram of main information files provided in a RAM of the POS terminal.

【図5】同POSターミナルのRAMに設けられる主要
なデータエリアの構成図。
FIG. 5 is a configuration diagram of a main data area provided in a RAM of the POS terminal.

【図6】同POSターミナルのCPUが実行するカード
入力割込処理を示す流れ図。
FIG. 6 is a flowchart showing a card input interrupt process executed by the CPU of the POS terminal.

【図7】同POSターミナルのCPUが実行する商品登
録処理を示す流れ図。
FIG. 7 is a flowchart showing a merchandise item registration process executed by the CPU of the POS terminal.

【図8】図7における特典商品登録処理を具体的に示す
流れ図。
8 is a flowchart specifically showing the privilege product registration processing in FIG.

【図9】同POSターミナルのCPUが実行する締めキ
ー処理を示す流れ図。
FIG. 9 is a flowchart showing a closing key process executed by the CPU of the POS terminal.

【図10】図9における特典判定処理を具体的に示す流
れ図。
10 is a flowchart specifically showing the privilege determination processing in FIG.

【図11】図10における特典判定処理の一部処理を示
す流れ図。
11 is a flowchart showing a part of the privilege determination processing in FIG.

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

1…本部コンピュータ 2A,2B…ファイルプロセッサ 4A-1〜4A-n,4B-1〜4B-n…POSターミナル 7…会員カード(ICカード) 8…カードメモリ 11…CPU 18…ICカードリーダライタ 20…キーボード 20a…締めキー 22…スキャナ 24…表示器 26…プリンタ 31…商品情報ファイル 32…特典情報ファイル 33…特典形態ファイル 34…券フォーマットファイル 41…特典商品情報メモリ 1 ... Headquarters computer 2A, 2B ... File processor 4A-1 to 4A-n, 4B-1 to 4B-n ... POS terminal 7. Membership card (IC card) 8 ... Card memory 11 ... CPU 18 ... IC card reader / writer 20 ... Keyboard 20a ... Tightening key 22 ... Scanner 24 ... Display 26 ... Printer 31 ... Product information file 32 ... Bonus information file 33 ... Privilege type file 34 ... Ticket format file 41 ... Special product information memory

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 商品登録手段により販売登録された各商
品の販売データを売上記憶部に登録処理するとともに、
登録締め手段により1客が買上げた全商品の販売登録終
了が宣言されると、この客に対するレシートを発行する
商品販売登録データ処理装置において、 各商品の中で予め選定した特典対象商品の商品コードに
対応して設定される特典コード別に、特典が受けられる
条件データと特典として発券されるサービス券の種類を
識別する特典形態コードとを記憶する特典条件データ記
憶部と、前記特典対象商品の販売データに基づく特典対
象データを特典コードとともに客別に蓄積保持する特典
対象データ保持手段と、前記商品登録手段により販売登
録された商品が前記特典対象商品か否かをその商品の商
品コードに対応する特典コードで判断する特典商品判断
手段と、この判断手段により前記特典対象商品であると
判断するとこの特典対象商品の販売データに基づいて得
られる特典対象データをその特典対象商品の特典コード
とともに前記特典対象データ保持手段により保持したデ
ータに追加する特典対象データ追加手段と、前記登録締
め手段により1客が買上げた全商品の販売登録終了が宣
言されると、前記特典対象データ追加手段により前記特
典対象データ保持手段に追加したデータによって特典対
象データの累積値が前記特典条件データ記憶部に記憶し
た条件データを満足するか否かを特典コード毎に判定す
る特典有無判定手段と、この判定手段により条件データ
を満足する特典コードがあることを確認すると、レシー
トを印字するプリンタを駆動してその特典コードに対応
して設定されている特典形態コードで識別されるサービ
ス券を印字発行する特典情報出力手段と、前記判定手段
により条件データを満足する特典コードがあることを確
認すると前記特典対象データ保持手段により保持した当
該客の特典対象データのうち条件データに相当する分を
削除する特典対象データ削除手段とを具備したことを特
徴とする商品販売データ処理装置。
1. The sales data of each product registered for sale by the product registration means is registered in the sales storage unit, and
End of sales registration of all products purchased by one customer by registration closing means
In the product sales registration data processing device that issues a receipt for this customer when the end is declared, the product code of the privilege target product selected in advance in each product is added.
Benefits can be received for each privilege code set correspondingly
The condition data and the type of service ticket issued as a privilege
A privilege condition data storage unit that stores a privilege form code to be identified, a privilege target data holding unit that stores and holds privilege target data based on sales data of the privilege target product for each customer together with the privilege code, and sells by the product registration unit. the quotient of the product registered products whether or not the benefits Shipping
The privilege product determination unit that determines the privilege code corresponding to the product code, and the privilege target data obtained based on the sales data of the privilege target product when the determination unit determines that the privilege target product is the privilege target product, Award code
And benefits target data adding means for adding the data held by the privilege object data holding means together with the registration fastening
The sales registration of all products purchased by one customer has been declared
In other words, the special target data adding means causes the special feature
A privilege presence / absence determining means for determining, for each privilege code, whether or not the cumulative value of the privilege target data satisfies the condition data stored in the privilege condition data storage unit by the data added to the reference target data holding means; If you confirm that there is a privilege code that satisfies the condition data ,
Drive a printer that prints
Service identified by the privilege type code set by
When the privilege information output means for printing and issuing a ticket and the privilege code satisfying the condition data are confirmed by the judging means, it corresponds to the condition data among the privilege target data of the customer held by the privilege target data holding means. A product sales data processing device, comprising: a privilege target data deleting means for deleting a portion of the product sales data.
【請求項2】 商品登録手段により販売登録された各商
品の販売データを売上記憶部に登録処理するとともに、
登録締め手段により1客が買上げた全商品の販売登録終
了が宣言されると、この客に対するレシートを発行する
商品販売登録データ処理装置において、 各商品の中で予め選定した特典対象商品の商品コードに
対応して設定される特典コード別に、特典が受けられる
条件データと特典が有効な期間とを記憶する特典条件デ
ータ記憶部と、前記特典対象商品の販売データに基づく
特典対象データを特典コード及びこの特典対象データの
有効期限に関するデータとともに客別に蓄積保持する特
典対象データ保持手段と、前記商品登録手段により販売
登録された商品が前記特典対象商品か否かをその商品の
商品コードに対応する特典コードで判断する特典商品判
断手段と、この判断手段により前記特典対象商品である
と判断するとこの特典対象商品の販売データに基づいて
得られる特典対象データをその特典対象商品の特典コー
ド及びこの特典コードの特典が有効な期間から算出され
る有効期限に関するデータとともに前記特典対象データ
保持手段により保持したデータに追加する特典対象デー
タ追加手段と、前記登録締め手段により1客が買上げた
全商品の販売登録終了が宣言されると、前記特典対象デ
ータ追加手段により前記特典対象データ保持手段に追加
したデータによって有効期限切れでない特典対象データ
の累積値が前記特典条件データ記憶部に記憶した条件デ
ータを満足するか否かを特典コード毎に判定する特典有
無判定手段と、この判定手段により条件データを満足す
特典コードがあることを確認すると予め設定した特典
情報を出力する特典情報出力手段と、前記判定手段によ
り条件データを満足する特典コードがあることを確認す
ると前記特典対象データ保持手段により保持した当該客
の特典対象データのうち条件データに相当する分を削除
する特典対象データ削除手段と、前記特典対象データ保
持手段によって保持した特典対象データのうち有効期限
切れのデータを自動的に削除する期限切れデータ削除手
段とを具備したことを特徴とする商品販売データ処理装
置。
2. The sales data of each product registered for sale by the product registration means is registered in the sales storage unit, and
When the registration closing means declares the end of sales registration of all products purchased by one customer, in the product sales registration data processing device that issues a receipt for this customer, the product code of the privilege target product selected in advance from each product. To
Benefits can be received for each privilege code set correspondingly
A privilege condition data storage unit that stores condition data and a period during which the privilege is valid, and a privilege target data based on the sales data of the privilege target product is stored as a privilege code and this privilege target data.
The privilege target data holding means for accumulating and holding for each customer together with the data regarding the expiration date, and whether or not the product registered for sale by the product registration means is the privilege target product.
The privilege product determination unit that determines the privilege code corresponding to the product code, and the privilege target data obtained based on the sales data of the privilege target product when the determination unit determines that the privilege target product is the privilege target product. Privilege code
Calculated from the period during which
One customer purchased by the privilege target data adding means for adding to the data held by the privilege target data holding means together with the data regarding the expiration date and the registration closing means.
When the end of sales registration for all products is declared,
Added to the privilege target data holding means by data addition means
The privilege presence / absence determining means for determining for each privilege code whether or not the cumulative value of the privilege target data that has not expired according to the data that satisfies the condition data stored in the privilege condition data storage unit, and the condition data are determined by this determining means. When it is confirmed that there is a satisfying privilege code, privilege information output means for outputting preset privilege information, and when the judging means confirms that there is a privilege code satisfying the condition data, it is held by the privilege target data holding means. and benefits target data deletion means for deleting the amount corresponding to the condition data of the benefits target data of the customer, the privilege object data retention
Expiration date of privilege target data held by holding means
Delete expired data automatically to delete expired data
A commodity sales data processing device comprising: a step .
【請求項3】 商品登録手段により販売登録された各商
品の販売データを売上記憶部に登録処理するとともに、
登録締め手段により1客が買上げた全商品の販売登録終
了が宣言されると、この客に対するレシートを発行する
商品販売登録データ処理装置において、 各商品の中で予め選定した特典対象商品の商品コードに
対応して設定される特典コード別に、特典が受けられる
条件データと特典として発券されるサービス券の種類を
識別する 特典形態コードと特典が有効な期間とを記憶す
る特典条件データ記憶部と、前記特典対象商品の販売デ
ータに基づく特典対象データを特典コード及びこの特典
対象データの有効期限に関するデータとともに客別に蓄
積保持する特典対象データ保持手段と、前記商品登録手
段により販売登録された商品が前記特典対象商品か否か
をその商品の商品コードに対応する特典コードで判断す
る特典商品判断手段と、この判断手段により前記特典対
象商品であると判断するとこの特典対象商品の販売デー
タに基づいて得られる特典対象データをその特典対象商
品の特典コードとともに前記特典対象データ保持手段に
より保持したデータに追加する特典対象データ追加手段
と、前記登録締め手段により1客が買上げた全商品の販
売登録終了が宣言されると、前記特典対象データ追加手
段により前記特典対象データ保持手段に追加したデータ
によって有効期限切れでない特典対象データの累積値が
前記特典条件データ記憶部に記憶した条件データを満足
するか否かを特典コード毎に判定する特典有無判定手段
と、この判定手段により条件データを満足する特典コー
ドがあることを確認すると、レシートを印字するプリン
タを駆動してその特典コードに対応して設定されている
特典形態コードで識別されるサービス券を印字発行する
特典情報出力手段と、前記判定手段により条件データを
満足する特典コードがあることを確認すると前記特典対
象データ保持手段により保持した当該客の特典対象デー
タのうち条件データに相当する分を削除する特典対象デ
ータ削除手段と、前記特典対象データ保持手段によって
保持した特典対象データのうち有効期限切れのデータを
自動的に削除する期限切れデータ削除手段とを具備した
ことを特徴とする 商品販売データ処理装置。
3. Each quotient registered for sale by the merchandise registration means
While registering the sales data of the product in the sales storage section,
End of sales registration of all products purchased by one customer by registration closing means
Issue a receipt for this customer
In the product sales registration data processing device, the product code of the privilege target product selected in advance in each product
Benefits can be received for each privilege code set correspondingly
The condition data and the type of service ticket issued as a privilege
Memorize the privilege type code to identify and the period during which the privilege is valid
The privilege condition data storage section that sells
Data that is based on the data
Accumulated for each customer together with data regarding the expiration date of the target data
The privilege target data holding means for holding the product and the product registration hand
Whether the product registered for sale by Dan is the above-mentioned privilege target product
Is judged by the privilege code corresponding to the product code of the product
The privilege product determination means for
If it is determined that the product is an elephant product, the sale day for this privilege target product
Data that is obtained based on the
In addition to the privilege code of the product
Data addition means to be added to the more retained data
And sales of all products purchased by one customer by the registration closing means
When the end of sale registration is declared, the additional data for the above benefits
Data added to the privilege target data holding means by dan
The cumulative value of the privilege target data that has not expired due to
Satisfies the condition data stored in the privilege condition data storage section
Privilege presence / absence determining means for determining whether or not to perform each privilege code
And the privilege code that satisfies the condition data by this determination means.
Check that there is a printer to print the receipt.
Is set according to the privilege code
Print and issue service ticket identified by privilege type code
Condition data is obtained by the privilege information output means and the determination means.
If you confirm that you have a reward code that satisfies you,
Privilege data of the customer held by the elephant data holding means
Data that corresponds to the condition data
Data deleting means and the privilege holding data holding means
Data that has expired out of the retained privilege target data
Equipped with means for deleting expired data that is automatically deleted
A product sales data processing device characterized in that
【請求項4】 メモリカードに対してデータの書込み及
び読出しを行うカードリーダライタを設け、前記特典対
象データ保持手段により特典対象データを客別に蓄積保
持する記憶媒体として各客がそれぞれ所持するメモリカ
ードを使用するようにしたことを特徴とする請求項1,
2または3記載の商品販売登録データ処理装置。
4. A memory card provided by a card reader / writer for writing and reading data to and from a memory card, and a memory card possessed by each customer as a storage medium for accumulating and retaining the privilege target data for each customer by the privilege target data holding means. 2. The method according to claim 1, wherein
The product sales registration data processing device described in 2 or 3.
JP03171796A 1996-02-20 1996-02-20 Product sales registration data processing device Expired - Fee Related JP3526363B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03171796A JP3526363B2 (en) 1996-02-20 1996-02-20 Product sales registration data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03171796A JP3526363B2 (en) 1996-02-20 1996-02-20 Product sales registration data processing device

Publications (2)

Publication Number Publication Date
JPH09223274A JPH09223274A (en) 1997-08-26
JP3526363B2 true JP3526363B2 (en) 2004-05-10

Family

ID=12338820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03171796A Expired - Fee Related JP3526363B2 (en) 1996-02-20 1996-02-20 Product sales registration data processing device

Country Status (1)

Country Link
JP (1) JP3526363B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002197259A (en) * 2000-12-27 2002-07-12 Teraoka Seiko Co Ltd Customer management system
US7708360B2 (en) 2005-12-07 2010-05-04 Catalina Marketing Corporation Combination printer and its paper
JP5748332B2 (en) * 2011-05-17 2015-07-15 株式会社ライト Register device
JP5724007B2 (en) * 2014-02-19 2015-05-27 東芝テック株式会社 Product sales data processing apparatus and control program

Also Published As

Publication number Publication date
JPH09223274A (en) 1997-08-26

Similar Documents

Publication Publication Date Title
US5832457A (en) Method and apparatus for selective distribution of discount coupons based on prior customer behavior
US5192854A (en) System for electronically recording and redeeming coupons
KR100217440B1 (en) Discount coupons distributions method and device
US7578435B2 (en) Couponing system
JP2003077063A (en) Pos system with lottery processing function
JP3699313B2 (en) Product sales registration device
JP3343619B2 (en) Point service system by bank POS
JP3771448B2 (en) Coupon issuing device
JP2004139424A (en) Commodity sales registering data processor
JP3745647B2 (en) Coupon issuing system
JP3526363B2 (en) Product sales registration data processing device
GB2306740A (en) Store checkout system and method
JP2001222767A (en) Merchandise sales method and merchandise sakes registering device
JP3406724B2 (en) POS system
JP2001076260A (en) Commodity sales registration data processor
JPH1011508A (en) Merchandise sales registering data processor
JPH0589372A (en) Processor for product sales data
JP3498045B2 (en) Point system
JP2003272053A (en) Commodity selling data processor, service point additionally imparting method of this device and service point additionally imparting program
JPH10124592A (en) Transaction processing system
JP2000251154A (en) Electronic cash transaction processor
JP3806321B2 (en) Product sales registration data processing device
JP2005234951A (en) Commodity sales data processor
JP3482051B2 (en) Product sales registration data processing device
JP3063195B2 (en) Transaction point management system using memory card

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040210

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040213

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080227

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees