JP5559721B2 - Product sales data processing device - Google Patents

Product sales data processing device Download PDF

Info

Publication number
JP5559721B2
JP5559721B2 JP2011033318A JP2011033318A JP5559721B2 JP 5559721 B2 JP5559721 B2 JP 5559721B2 JP 2011033318 A JP2011033318 A JP 2011033318A JP 2011033318 A JP2011033318 A JP 2011033318A JP 5559721 B2 JP5559721 B2 JP 5559721B2
Authority
JP
Japan
Prior art keywords
data
value card
sales
request
validation
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.)
Active
Application number
JP2011033318A
Other languages
Japanese (ja)
Other versions
JP2012173852A (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 JP2011033318A priority Critical patent/JP5559721B2/en
Publication of JP2012173852A publication Critical patent/JP2012173852A/en
Application granted granted Critical
Publication of JP5559721B2 publication Critical patent/JP5559721B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

本発明の実施形態は、その商品の販売に際し正規に販売されたことの証明データをサーバに送信することが求められる商品、例えば価値カードを販売する店舗向けの商品販売データ処理装置に関する。 Embodiments of the present invention relates proof data that has been sold to authorized upon sale of the product item sought to be sent to the server, the merchandise sales data processing equipment, for example for a store that sells the value card.

インターネットを利用して、音楽、電子書籍等のコンテンツや商品またはサービスを購入する際の代金支払い方法の一つに、プリペイド式の価値カードがある。価値カードは、家電量販店やコンビニエンスストア等で販売されている。店舗では、客が、購入前に自分自身で個々のカードを手に取り、購入するカードを自由に選ぶことができる。そのため、価値カードは、個別商品として個々に陳列展示されている。このとき、各価値カードの価値情報は、未だ有効な状態とはなっていない。販売店の店員は、客が選んだ価値カードに印刷されているバーコードを、POS(Point Of Sales)端末のスキャナで読み取る。バーコードは、その価値カードに対して一意に設定されたカードIDをバーコードシンボル化したものである。バーコードが読み取られると、そのバーコードデータがPOS端末からストアサーバを経由して、外部の価値カード管理サーバに送信される。   There is a prepaid value card as one of the payment methods for purchasing contents, products, or services such as music and electronic books using the Internet. Value cards are sold at home appliance mass retailers and convenience stores. At the store, customers can pick up their own cards before purchase and freely select the cards they want to purchase. Therefore, the value cards are individually displayed and displayed as individual products. At this time, the value information of each value card is not yet valid. The store clerk reads the barcode printed on the value card selected by the customer with a scanner of a POS (Point Of Sales) terminal. The bar code is a bar code symbol formed from a card ID uniquely set for the value card. When the barcode is read, the barcode data is transmitted from the POS terminal to the external value card management server via the store server.

価値カード管理サーバは、管理対象の全ての価値カードのカードID(バーコードデータ)と対応させて、価値情報とステータス情報とを記憶したデータベースを備えている。POS端末で読み取られたバーコードデータを受信すると、価値カード管理サーバはデータベースを検索し、そのバーコードデータに対応するステータス情報を、無効の状態から有効の状態に切り替える。ステータス情報が有効の状態になると、バーコードデータのカードIDで特定される価値カードが有効となる。有効化された価値カードの価値情報は、ネットで購入されたコンテンツの代金支払いに供せられる。   The value card management server includes a database that stores value information and status information in association with card IDs (barcode data) of all value cards to be managed. When the barcode data read by the POS terminal is received, the value card management server searches the database and switches the status information corresponding to the barcode data from the invalid state to the valid state. When the status information becomes valid, the value card specified by the card ID of the barcode data becomes valid. The value information of the activated value card is used to pay for the content purchased online.

特開2008−204448号公報JP 2008-204448 A

POS端末のスキャナで価値カードのバーコードが読み取られた際、POS端末と価値カード管理サーバとを接続するネットワークの異常等に起因してバーコードデータが正しく価値カード管理サーバに伝送されないと、当該価値カードは有効化されない。このような場合、従来は、有効化に失敗した価値カードのバーコードデータをストアサーバが一時的に保持し、価値カード管理サーバに周期的に送信する。したがって、購買時点でなくても比較的早い時期に、価値カードは有効化される。このため、客には、後ほど有効となることを告知して価値カードを販売している。   When the barcode of the value card is read by the scanner of the POS terminal, the barcode data is not correctly transmitted to the value card management server due to an abnormality in the network connecting the POS terminal and the value card management server. Value cards are not activated. In such a case, conventionally, the store server temporarily holds the barcode data of the value card that has failed to be activated, and periodically transmits it to the value card management server. Therefore, the value card is activated at a relatively early time even if it is not at the time of purchase. For this reason, customers are informed that the card will be valid later and sell value cards.

しかしながら、購買時点で有効化されないと価値カードの購入を取り止める客も居る。このような場合でも、従来は、有効化に失敗した価値カードのバーコードデータがストアサーバから価値カード管理サーバに送信される。このため、返品扱いとなった価値カードは、後に有効となるため、例えば店員による不正使用を誘引してしまう恐れがある。   However, some customers cease purchasing value cards if they are not activated at the time of purchase. Even in such a case, conventionally, the barcode data of the value card whose activation has failed is transmitted from the store server to the value card management server. For this reason, since the value card treated as returned goods becomes effective later, there is a possibility of inducing unauthorized use by a store clerk, for example.

本発明が解決しようとする課題は、返品扱いとなった有効化待ち商品の有効化を防止することができる商品販売データ処理装置を提供しようとするものである。 An object of the present invention is to provide, it is intended to provide a commodity sales data processing equipment that it is possible to prevent the activation of the activation waiting products that become a return treatment.

かかる課題を解決するために、一実施形態の商品販売データ処理装置は、売上処理手段と、返品処理手段と、有効化要求手段と、制御手段と、有効化再要求手段と、再要求停止手段とを備える。売上処理手段は、入力された買上商品のデータに基づいて商品販売データを売上処理する。返品処理手段は、入力された返品商品のデータに基づいて商品販売データを返品処理する。有効化要求手段は、売上処理手段により処理した商品販売データのなかに、価値カードの販売データが含まれるとき、その価値カード販売に際し正規に販売されたことの証明データを管理サーバに送信して該価値カードの有効化を要求する。制御手段は、有効化要求手段による証明データの送信に対して管理サーバにて有効化要求が承認されたときに価値カードに対する売上処理手段の売上処理で得られた販売金額を含む小計金額を算出してディスプレイに表示させ、管理サーバにて有効化要求が承認されなかったときには有効化エラーメッセージをディスプレイに表示させる。有効化再要求手段は、有効化要求手段による証明データの送信に対して管理サーバにて有効化要求が承認されなかったとき、有効化要求が承認されるまで証明データの再送信を繰り返す。再要求停止手段は、返品処理手段により処理した商品販売データのなかに、有効化再要求手段により証明データの再送信が繰り返される価値カードのデータが含まれるとき、当該証明データの再送信を終了させる。 In order to solve such a problem, a merchandise sales data processing apparatus according to an embodiment includes a sales processing unit, a return processing unit, an activation request unit, a control unit, an activation re-request unit, and a re-request stop unit. With. The sales processing means performs sales processing on the product sales data based on the data of the purchased purchased product. The return processing means returns the product sales data based on the data of the input return product. Enable request means, some merchandise sales data processed by the sales processing unit, when included sales data value card, and transmits the certificate data of that sold regular upon sale of the value card management server Requesting the activation of the value card . The control means calculates the subtotal amount including the sales amount obtained by the sales processing of the sales processing means for the value card when the validation request is approved by the management server for the transmission of the certification data by the validation request means. And when the activation request is not approved by the management server, an activation error message is displayed on the display. When the validation request is not approved by the management server for the transmission of the certification data by the validation requesting means, the validation re-requesting means repeats the retransmission of the certification data until the validation request is approved. The re-request stop means terminates the re-transmission of the proof data when the merchandise sales data processed by the return processing means includes value card data that is repeatedly re-transmitted of the proof data by the validation re-request means. Let

商品販売データ処理装置の一実施形態を示すシステム構成図。The system block diagram which shows one Embodiment of a merchandise sales data processing apparatus. 同実施形態で用いる価値カードを示す平面図。The top view which shows the value card used in the embodiment. 同実施形態において、価値カードデータベースに記憶されるデータの一例を示す図。The figure which shows an example of the data memorize | stored in a value card database in the same embodiment. 同実施形態におけるPOS端末のハードウェア構成を示すブロック図。The block diagram which shows the hardware constitutions of the POS terminal in the same embodiment. 同実施形態におけるPOS端末のRAMに形成されるトランザクションバッファの構成図。The block diagram of the transaction buffer formed in RAM of the POS terminal in the embodiment. 同実施形態におけるストアサーバのハードウェア構成を示すブロック図。The block diagram which shows the hardware constitutions of the store server in the embodiment. 同実施形態におけるストアサーバのRAMに形成される再要求バッファの構成図。The block diagram of the re-request buffer formed in RAM of the store server in the embodiment. 同実施形態において、POS端末のCPUが実行する小計キー処理の要部手順を示す流れ図。4 is a flowchart showing a main procedure of subtotal key processing executed by the CPU of the POS terminal in the embodiment. 同実施形態において、POS端末のCPUが実行する締めキー処理の要部手順を示す流れ図。4 is a flowchart showing the main procedure of a closing key process executed by the CPU of the POS terminal in the embodiment. 同実施形態において、POS端末から発行される取引レシートの一例を示す図。The figure which shows an example of the transaction receipt issued from the POS terminal in the same embodiment. 同実施形態において、POS端末から発行される価値カード販売レシートの一例を示す図。The figure which shows an example of the value card sales receipt issued from the POS terminal in the same embodiment. 同実施形態において、POS端末のCPUが実行する返品キー処理の要部手順を示す流れ図。5 is a flowchart showing the main procedure of a return key process executed by the CPU of the POS terminal in the embodiment. 同実施形態において、POS端末から発行される価値カード返品レシートの一例を示す図。The figure which shows an example of the value card return receipt issued from the POS terminal in the same embodiment. 同実施形態において、ストアサーバのCPUが実行するトランザクション受信処理の要部手順を示す流れ図。4 is a flowchart showing a main procedure of transaction reception processing executed by the CPU of the store server in the embodiment. 同実施形態において、ストアサーバのCPUが実行するタイマ割込処理の要部手順を示す流れ図。5 is a flowchart showing the main procedure of timer interrupt processing executed by the CPU of the store server in the embodiment. 第2の実施形態において、POS端末のCPUが実行する小計キー処理の要部手順を示す流れ図。The flowchart which shows the principal part procedure of the subtotal key process which CPU of a POS terminal performs in 2nd Embodiment. 第2の実施形態において、POS端末のオペレータ用ディスプレイに表示される有効化エラーメッセージ画面の一例を示す図。The figure which shows an example of the validation error message screen displayed on the display for operators of a POS terminal in 2nd Embodiment. 第2の実施形態において、POS端末の客用ディスプレイに表示される有効化エラーメッセージ画面の一例を示す図。The figure which shows an example of the validation error message screen displayed on the display for customers of a POS terminal in 2nd Embodiment.

以下、商品販売データ処理装置の実施形態を、図面を用いて説明する。なお、この実施形態は、その商品の販売に際し正規に販売されたことの証明データをサーバに送信することが求められる商品として、プリペイド式の価値カードを例示する。はじめに、第1の実施形態について、図1〜図15を用いて説明する。   Hereinafter, an embodiment of a merchandise sales data processing apparatus will be described with reference to the drawings. This embodiment exemplifies a prepaid value card as a product that is required to transmit proof data that it has been properly sold to the server when the product is sold. First, the first embodiment will be described with reference to FIGS.

[第1の実施形態]
図1は、第1の実施形態のシステム構成図である。本システムは、各店舗にそれぞれ構築されるPOSシステム1と、価値カードデータベース2を管理する価値カード管理サーバ3とからなる。POSシステム1は、複数台のPOS端末4と、各POS端末を一元的に管理するストアサーバ5とからなり、各POS端末4とストアサーバ5とは、LAN(Local Area Network)6によって接続されている。各店舗のPOSシステム1のストアサーバ5と前記価値カード管理サーバ3とは、インターネット等のネットワーク回線7によって接続されている。
[First Embodiment]
FIG. 1 is a system configuration diagram of the first embodiment. This system includes a POS system 1 constructed at each store and a value card management server 3 that manages a value card database 2. The POS system 1 includes a plurality of POS terminals 4 and a store server 5 that centrally manages each POS terminal. The POS terminals 4 and the store server 5 are connected by a LAN (Local Area Network) 6. ing. The store server 5 of the POS system 1 of each store and the value card management server 3 are connected by a network line 7 such as the Internet.

図2に示すように、本実施形態で使用される価値カード8には、バーコード9が印刷されている。バーコード9は、当該価値カード8を一意に識別するためのカードIDをバーコードシンボル化したものである。   As shown in FIG. 2, a barcode 9 is printed on the value card 8 used in the present embodiment. The barcode 9 is obtained by converting a card ID for uniquely identifying the value card 8 into a barcode symbol.

価値カードデータベース2は、図3に示すように、各価値カード8のカードIDに対応させて、価値情報とステータスフラグとを記憶する。価値情報は、対応するカードIDによって特定される価値カード8で支払いが可能な金額である。ステータスフラグは、例えば“0”は無効状態を示し、“1”は有効状態を示す。なお、価値情報は、金額に限定されない。1ポイントあたりの金額を可変設定可能なポイントであってもよい。   As shown in FIG. 3, the value card database 2 stores value information and a status flag in association with the card ID of each value card 8. The value information is an amount that can be paid with the value card 8 specified by the corresponding card ID. In the status flag, for example, “0” indicates an invalid state, and “1” indicates a valid state. The value information is not limited to the amount. It may be a point where the amount of money per point can be variably set.

図4は、POS端末4の要部構成を示すブロック図である。POS端末4は、制御部本体としてCPU(Central Processing Unit)11を搭載している。そしてこのCPU11に、アドレスバス,データバス等のバスライン12を介して、ROM(Read Only Memory)13、RAM(Random Access Memory)14、時計部15、LANコントローラ16、キーボードコントローラ17、表示コントローラ18、表示コントローラ19、プリンタコントローラ20、スキャナコントローラ21等を接続して、POS端末4の制御回路を構成している。   FIG. 4 is a block diagram showing a main configuration of the POS terminal 4. The POS terminal 4 includes a CPU (Central Processing Unit) 11 as a control unit main body. The CPU 11 is connected to a ROM (Read Only Memory) 13, a RAM (Random Access Memory) 14, a clock unit 15, a LAN controller 16, a keyboard controller 17, and a display controller 18 via a bus line 12 such as an address bus and a data bus. A display controller 19, a printer controller 20, a scanner controller 21 and the like are connected to constitute a control circuit of the POS terminal 4.

ROM13は、CPU11にPOS端末4としての機能を実現させるためのプログラムを記憶する。また、ROM13は、POS端末4としての機能を実現するために必要な種々の設定データを記憶する。   The ROM 13 stores a program for causing the CPU 11 to realize the function as the POS terminal 4. Further, the ROM 13 stores various setting data necessary for realizing the function as the POS terminal 4.

RAM14は、可変的なデータを一時的に記憶するためのメモリエリアを形成している。特に、図5に示すように、1取引として売り上げる各商品の商品コード、販売点数、販売金額及び取消フラグの各情報を記憶するためのトランザクションバッファ30を形成している。商品コードは、商品の識別データである。販売点数及び販売金額は、対応する商品コードで特定される商品の当該1取引で販売される点数及び金額である。取消フラグは、対応する商品コードで特定される商品の購入が取り消されたとき“1”にセットされる。   The RAM 14 forms a memory area for temporarily storing variable data. In particular, as shown in FIG. 5, a transaction buffer 30 is formed for storing information on a product code, a sales point, a sales amount, and a cancellation flag of each product sold as one transaction. The product code is product identification data. The number of sales points and the sales amount are the points and the amount sold in the one transaction of the product specified by the corresponding product code. The cancel flag is set to “1” when the purchase of the product specified by the corresponding product code is canceled.

時計部15は、現在の日付及び時刻を計時する。LANコントローラ16は、LAN6で接続されたストアサーバ5との間のデータ送受信を制御する。   The clock unit 15 measures the current date and time. The LAN controller 16 controls data transmission / reception with the store server 5 connected via the LAN 6.

キーボードコントローラ17は、キーボード22を制御し、操作キーに対応したキー信号を取り込む。キーボード22は、置数キー、小計キー、締めキー、取消キー、返品キー等のPOS端末4としての機能に必要な種々のキーを配設したものである。   The keyboard controller 17 controls the keyboard 22 and captures key signals corresponding to the operation keys. The keyboard 22 is provided with various keys necessary for the function as the POS terminal 4 such as a numeric key, a subtotal key, a closing key, a cancel key, and a return key.

表示コントローラ18は、オペレータ用ディスプレイ23の画面表示を制御する。表示コントローラ19は、客用ディスプレイ24の画面表示を制御する。オペレータ用ディスプレイ23は、キャッシャと呼ばれるPOS端末4のオペレータに対して提供する情報の画面を表示する。客用ディスプレイ24は、決済対象の商品を購入する客に対して提供する情報の画面を表示する。   The display controller 18 controls the screen display of the operator display 23. The display controller 19 controls the screen display of the customer display 24. The operator display 23 displays a screen of information to be provided to the operator of the POS terminal 4 called a cashier. The customer display 24 displays a screen of information to be provided to a customer who purchases a product for settlement.

プリンタコントローラ20は、レシート用紙にデータを印字するためのプリンタ25を制御し、領収書(レシート)等を発行させる。スキャナコントローラ21は、商品に付されるバーコードを光学的に読み取るためのスキャナ26を制御し、読み取られたバーコードデータを取り込む。   The printer controller 20 controls the printer 25 for printing data on the receipt paper, and issues a receipt (receipt) or the like. The scanner controller 21 controls a scanner 26 for optically reading a barcode attached to a product and takes in the read barcode data.

図6は、ストアサーバ5の要部構成を示すブロック図である。ストアサーバ5は、制御部本体としてCPU41を搭載している。そしてこのCPU41に、アドレスバス,データバス等のバスライン42を介して、ROM43、RAM44、時計部45、LANコントローラ46、HDDコントローラ47、通信インターフェース48等を接続して、ストアサーバ5の制御回路を構成している。   FIG. 6 is a block diagram showing a main configuration of the store server 5. The store server 5 is equipped with a CPU 41 as a control unit main body. A ROM 43, RAM 44, clock unit 45, LAN controller 46, HDD controller 47, communication interface 48, etc. are connected to the CPU 41 via a bus line 42 such as an address bus, a data bus, etc. Is configured.

ROM43は、CPU41にストアサーバ5としての機能を実現させるためのプログラムを記憶する。また、ROM43は、ストアサーバ5としての機能を実現するために必要な種々の設定データを記憶する。   The ROM 43 stores a program for causing the CPU 41 to realize the function as the store server 5. The ROM 43 stores various setting data necessary for realizing the function as the store server 5.

RAM44は、種々の可変的なデータを一時的に記憶するためのメモリエリアを形成している。特にRAM44は、図7に示すように、カードID、取引日時、POSID、取引番号及び削除フラグの各情報を記憶するための再要求バッファ50を形成している。   The RAM 44 forms a memory area for temporarily storing various variable data. In particular, as shown in FIG. 7, the RAM 44 forms a re-request buffer 50 for storing each information of card ID, transaction date / time, POSID, transaction number, and deletion flag.

再要求バッファ50は、購買時点の有効化要求に失敗した価値カード8の情報を記憶する。取引日時は、カードIDによって特定される価値カード8の購買を含む取引が行われた日時データである。POSIDは、価値カード8の購買を含む取引を処理したPOS端末4の識別コードである。取引番号は、価値カード8の購買を含む取引を一意に識別するためのデータである。削除フラグは、対応するカードID,取引日時,POSID及び取引番号のレコードを削除するとき“1”にセットされる。   The re-request buffer 50 stores information on the value card 8 that has failed the activation request at the time of purchase. The transaction date / time is date / time data when a transaction including the purchase of the value card 8 specified by the card ID is performed. The POSID is an identification code of the POS terminal 4 that has processed a transaction including purchase of the value card 8. The transaction number is data for uniquely identifying a transaction including purchase of the value card 8. The deletion flag is set to “1” when deleting the record of the corresponding card ID, transaction date / time, POSID, and transaction number.

時計部45は、現在の日付及び時刻を計時する。LANコントローラ46は、LAN6で接続された各POS端末4との間のデータ送受信を制御する。HDDコントローラ47は、HDD(Hard Disk Drive)49に保存される商品データファイル、売上データファイル等の種々のデータファイルに対するデータの書込及び読出を制御する。通信インターフェース48は、ネットワーク回線7を介して接続される価値カード管理サーバ3等の外部サーバとの間のデータ通信を制御する。   The clock unit 45 measures the current date and time. The LAN controller 46 controls data transmission / reception with each POS terminal 4 connected via the LAN 6. The HDD controller 47 controls writing and reading of data with respect to various data files such as a product data file and a sales data file stored in an HDD (Hard Disk Drive) 49. The communication interface 48 controls data communication with an external server such as the value card management server 3 connected via the network line 7.

かかる構成のPOS端末4とストアサーバ5とからなるPOSシステム1は、商品販売データ処理装置として機能する。すなわち、客が買上商品の会計を申し出ると、POS端末4を操作するキャッシャは、その買上商品に付されているバーコードを1品ずつスキャナ26で読み取り操作する。スキャナ26で買上商品のバーコードが読み取られると、CPU11は、そのバーコードを解析して得られる商品コードで商品データファイルを検索して、販売商品の品名,単価等の商品データを読み出す。そしてCPU11は、この商品データを基に、商品コード.販売点数,販売金額等の販売商品に係わるトランザクションデータをトランザクションバッファ40に記憶する。また、商品コード,商品名,単価,販売点数,販売金額等の明細データをオペレータ用ディスプレイ23及び客用ディスプレイ24に表示する。CPU11は、バーコードが読み取られる毎に、上記の売上処理を実行する(売上処理手段)。   The POS system 1 including the POS terminal 4 and the store server 5 having such a configuration functions as a merchandise sales data processing apparatus. That is, when a customer offers to pay for the purchased product, the cashier operating the POS terminal 4 reads and operates the barcode attached to the purchased product one by one with the scanner 26. When the barcode of the purchased product is read by the scanner 26, the CPU 11 searches the product data file with the product code obtained by analyzing the barcode, and reads the product data such as the product name and unit price of the sold product. The CPU 11 then selects a product code. Transaction data relating to the sales product such as the number of sales points and the sales price is stored in the transaction buffer 40. Further, detailed data such as a product code, a product name, a unit price, a sales point, and a sales price are displayed on the operator display 23 and the customer display 24. The CPU 11 executes the above sales process every time the barcode is read (sales processing means).

こうして、全ての買上商品のバーコード読取操作を終了すると、キャッシャは、キーボード22の小計キーを押下する。小計キーが押下されると、CPU11は、図8の流れ図に示す小計キー処理を実行する。   Thus, when the barcode reading operation for all purchased products is completed, the cashier presses the subtotal key on the keyboard 22. When the subtotal key is pressed, the CPU 11 executes the subtotal key process shown in the flowchart of FIG.

先ず、CPU11は、トランザクションバッファ30を検索する(ST1)。そしてCPU11は、トランザクションバッファ30に価値カード8のトランザクションデータが含まれているか否かを判別する(ST2)。例えば、価値カード8に設定される商品コード(カードID)は、全て先頭の2桁の数値が等しい。そこでCPU11は、先頭の2桁が価値カード8特有の数値と一致する商品コードの有無を判別する。そのような商品コードがあるとき、CPU11は、トランザクションバッファ30に価値カード8のトランザクションデータが含まれていると認定する。そのような商品コードがないとき、CPU11は、トランザクションバッファ30に価値カード8のトランザクションデータが含まれていないと認定する。   First, the CPU 11 searches the transaction buffer 30 (ST1). Then, the CPU 11 determines whether or not the transaction data of the value card 8 is included in the transaction buffer 30 (ST2). For example, the product code (card ID) set for the value card 8 has the same first two-digit numerical value. Therefore, the CPU 11 determines whether or not there is a product code in which the first two digits match the value unique to the value card 8. When there is such a product code, the CPU 11 determines that the transaction data of the value card 8 is included in the transaction buffer 30. When there is no such product code, the CPU 11 determines that the transaction data of the value card 8 is not included in the transaction buffer 30.

トランザクションバッファ30に価値カード8のトランザクションデータが記憶されていない場合(ST2のNO)、CPU11は、通常の小計処理に移行する(ST6)。すなわち、トランザクションバッファ30に記憶された全てのトランザクションデータの販売金額を合算して小計金額を算出し、オペレータ用ディスプレイ23と客用ディスプレイ24とに表示させる。   When the transaction data of the value card 8 is not stored in the transaction buffer 30 (NO in ST2), the CPU 11 shifts to normal subtotal processing (ST6). That is, the sales amount of all the transaction data stored in the transaction buffer 30 is added up to calculate the subtotal amount and displayed on the operator display 23 and the customer display 24.

トランザクションバッファ30に価値カード8のトランザクションデータが記憶されている場合(ST2のYES)、CPU11は、価値カードの有効化を要求する(ST3)。すなわち、価値カード8の証明データである商品コード(カードID)を含む有効化要求問合せコマンドを生成し、ストアサーバ5経由で、価値カード管理サーバ3に送信する(有効化要求手段)。   When transaction data of the value card 8 is stored in the transaction buffer 30 (YES in ST2), the CPU 11 requests activation of the value card (ST3). That is, an activation request inquiry command including a product code (card ID) which is proof data of the value card 8 is generated and transmitted to the value card management server 3 via the store server 5 (validation request means).

有効化要求コマンドが正常に価値カード管理サーバ3まで送信されると、価値カード管理サーバ3は、価値カードデータベース2を検索する。そして、有効化要求コマンドに含まれるカードIDに対応するステータスフラグを、無効を示す“0”から有効を示す“1”に変更する。また、価値カード管理サーバ3は、コマンド送信元のPOS端末4宛てに正常応答を返す。したがって、例えば通信異常により有効化要求コマンドが価値カード管理サーバ3に送信されなかった場合には、そのコマンドに含まれるカードIDに対応するステータスフラグは“0”のままであり、正常応答も返らない。   When the validation request command is normally transmitted to the value card management server 3, the value card management server 3 searches the value card database 2. Then, the status flag corresponding to the card ID included in the validation request command is changed from “0” indicating invalidity to “1” indicating validity. Further, the value card management server 3 returns a normal response to the POS terminal 4 that is the command transmission source. Therefore, for example, when the validation request command is not transmitted to the value card management server 3 due to communication abnormality, the status flag corresponding to the card ID included in the command remains “0”, and a normal response is also returned. Absent.

ステップST3の処理にて有効化要求問合せコマンドを送信したPOS端末4のCPU11は、正常応答を待機する(ST4)。所定時間内に正常応答を受信すると(ST4のYES)、CPU11は、小計処理に移行する(ST6)。   The CPU 11 of the POS terminal 4 that has transmitted the validation request inquiry command in the process of step ST3 waits for a normal response (ST4). If a normal response is received within a predetermined time (YES in ST4), the CPU 11 proceeds to subtotal processing (ST6).

所定時間が経過しても正常応答を受信できない場合(ST4のNO)、CPU11は、RAM44のフラグエリアで記憶する有効化エラーフラグを“1”にセットする(ST5)。しかる後、CPU11は、小計処理に移行する(ST6)。
小計処理が終了すると、小計キー処理は終了する。
If the normal response cannot be received even after the predetermined time has elapsed (NO in ST4), the CPU 11 sets the validation error flag stored in the flag area of the RAM 44 to “1” (ST5). Thereafter, the CPU 11 shifts to a subtotal process (ST6).
When the subtotal processing ends, the subtotal key processing ends.

小計金額を確認したキャッシャは、客に代金の支払いを求める。そして代金の支払いを受けると、キャッシャは、締めキーを操作する。締めキーの操作を検知すると、CPU11は、図9の流れ図に示す処理を実行する。   After confirming the subtotal amount, the cashier asks the customer to pay the price. When the payment is received, the cashier operates the lock key. When detecting the operation of the closing key, the CPU 11 executes the process shown in the flowchart of FIG.

先ず、CPU11は、取引締め処理を実行する(ST11)。この処理は、釣銭演算及び釣銭表示と、合計金額,預かり金額,釣銭額、取引日時、取引番号、POSID等の決済に係わるトランザクションデータの保存とを含む。取引締め処理が終了すると、CPU11は、プリンタ25を駆動して取引レシート60を発行する(ST12)。   First, the CPU 11 executes a transaction closing process (ST11). This processing includes change calculation and change display, and storage of transaction data related to settlement such as total amount, deposit amount, change amount, transaction date, transaction number, and POSID. When the transaction closing process is completed, the CPU 11 drives the printer 25 to issue a transaction receipt 60 (ST12).

次いで、CPU11は、今回の取引に価値カードの有効化エラーが発生しているか否かを判定する(ST13)。RAM14のフラグエリアに有効化エラーフラグがセットされていたならば有効化エラー有りと判定し、有効化エラーフラグがセットされていなければ有効化エラー無しと判定する。   Next, the CPU 11 determines whether or not a value card activation error has occurred in the current transaction (ST13). If the validation error flag is set in the flag area of the RAM 14, it is judged that there is an validation error, and if the validation error flag is not set, it is judged that there is no validation error.

有効化エラー無しの場合(ST13のNO)、CPU11は、トランザクションバッファ30に記憶したトランザクションデータをストアサーバ5に送信する(ST14)。しかる後、トランザクションバッファ30をクリアして(ST18)、この締めキー処理を終了する。   If there is no validation error (NO in ST13), the CPU 11 transmits the transaction data stored in the transaction buffer 30 to the store server 5 (ST14). Thereafter, the transaction buffer 30 is cleared (ST18), and the closing key process is terminated.

有効化エラー有りの場合(ST13のYES)、CPU11は、価値カード販売レシート70を発行する(ST15)。また、CPU11は、トランザクションバッファ30に記憶したトランザクションデータをストアサーバ5に送信する。このときCPU11は、トランザクションデータに有効化エラーを示す情報を付加する(ST16)。しかる後、CPU11は、有効化エラーフラグを“0”にリセットするとともに(ST17)、トランザクションバッファ30をクリアして(ST18)、この締めキー処理を終了する。   If there is an validation error (YES in ST13), the CPU 11 issues a value card sales receipt 70 (ST15). Further, the CPU 11 transmits the transaction data stored in the transaction buffer 30 to the store server 5. At this time, the CPU 11 adds information indicating an validation error to the transaction data (ST16). After that, the CPU 11 resets the validation error flag to “0” (ST17), clears the transaction buffer 30 (ST18), and ends the closing key process.

ステップST12の処理で発行される取引レシート60の一例を図10に示す。また、ステップST15の処理で発行される価値カード販売レシート70の一例を図11に示す。図10は、価値カードである2枚のギフトカード(ギフトカード1000、ギフトカード500)と、商品AAAの3点を購入する客に対して発行された取引レシート60を例示する。そして、小計キーの入力処理の際に2枚のギフトカードの有効化要求がエラーとなったため発行された価値カード販売レシート70を、図11に例示する。   An example of the transaction receipt 60 issued in step ST12 is shown in FIG. An example of the value card sales receipt 70 issued in the process of step ST15 is shown in FIG. FIG. 10 illustrates a transaction receipt 60 issued to a customer who purchases two gift cards (gift card 1000, gift card 500), which are value cards, and three items of product AAA. FIG. 11 shows an example of a value card sales receipt 70 issued because the request for the activation of two gift cards resulted in an error during the subtotal key input process.

取引レシート60には、販売商品の名称、販売金額、合計金額、取引日時61、POSID62、取引番号63等が印刷される。価値カード販売レシート70には、各ギフトカードのカードID71a,71b、取引日時72、POSID73に加えて、各ギフトカードが24時間以内に有効になることを示すメッセージ74が印刷される。   The transaction receipt 60 is printed with the name of the sales product, the sales amount, the total amount, the transaction date and time 61, the POSID 62, the transaction number 63, and the like. On the value card sales receipt 70, in addition to the card IDs 71a and 71b, transaction date and time 72 and POSID 73 of each gift card, a message 74 indicating that each gift card is valid within 24 hours is printed.

価値カード販売レシート70が発行されると、キャッシャは、価値カード(ギフトカード1000、ギフトカード500)がまだ有効化されておらず直ぐには使用できないこと、しかし24時間以内ならば確実に有効化されるのでそれ以降は使用できること、を客に通知する。   When the value card sales receipt 70 is issued, the cashier is reliably activated if the value card (gift card 1000, gift card 500) is not yet activated and cannot be used immediately, but within 24 hours. Therefore, the customer is notified that it can be used after that.

ここで、客が価値カードをそのまま持ち帰った場合には、この客との商取引が終了する。しかし、客が価値カードの返品を申し出た場合には、キャッシャは返品キーを押下する。返品キーが押下されると、CPU11は、図12の流れ図に示す処理を実行する。   Here, when the customer takes the value card as it is, the commercial transaction with the customer is terminated. However, if the customer offers to return the value card, the cashier presses the return key. When the return key is pressed, the CPU 11 executes the process shown in the flowchart of FIG.

先ず、CPU11は、取引番号の入力を待機する(ST21)。置数キーによる置数入力により取引レシート60の取引番号62が入力されると(ST21のYES)、CPU11は、ストアサーバ5で保存されている同一取引番号のトランザクションデータを取得する(ST22)。   First, the CPU 11 waits for input of a transaction number (ST21). When the transaction number 62 of the transaction receipt 60 is input by inputting a numerical value using the numerical key (YES in ST21), the CPU 11 obtains transaction data of the same transaction number stored in the store server 5 (ST22).

トランザクションデータを取得し、トランザクションバッファ30に展開したならば、CPU11は、商品コードが入力されるのを待機する(ST23)。バーコードのスキャニングにより商品コードが入力されると(ST23のYES)、CPU11は、返品処理を実行する(ST24)。すなわち、同一商品コードのトランザクションデータの取消フラグを“1”にセットする。また、このトランザクションデータの商品コードで特定される商品名と単価を、オペレータ用ディスプレイ23と客用ディスプレイ24に表示させる(返品処理手段)。   If the transaction data is acquired and expanded in the transaction buffer 30, the CPU 11 waits for a product code to be input (ST23). When the product code is input by scanning the barcode (YES in ST23), the CPU 11 executes a return process (ST24). That is, the cancellation flag of transaction data of the same product code is set to “1”. Further, the product name and unit price specified by the product code of the transaction data are displayed on the operator display 23 and the customer display 24 (return processing means).

CPU11は、返品商品が価値カードであるか否かを判断する(ST25)。スキャニングされた商品コードの先頭の2桁が価値カード8特有の数値と一致するとき、CPU11は、返品商品が価値カードであると認定する。それ以外のときには、CPU11は、返品商品が価値カード以外であると認定する。返品商品が価値カード以外であるとき(ST25のNO)、CPU11は、返品締めの操作がなされるのを待機する(ST27)。   The CPU 11 determines whether the returned product is a value card (ST25). When the first two digits of the scanned product code coincide with a value specific to the value card 8, the CPU 11 determines that the returned product is a value card. In other cases, the CPU 11 determines that the returned merchandise is other than the value card. When the returned merchandise is other than the value card (NO in ST25), the CPU 11 waits for the return tightening operation (ST27).

これに対し、返品商品が価値カードであった場合には(ST25のYES)、CPU11は、カード返品レシート80を発行する(ST26)。カード返品レシート80の発行例を図13に示す。図示するように、カード返品レシート80には、返品された価値カードのカードID81及びカード名称82と、返品されたことを示すメッセージ83とが印刷される。   On the other hand, if the returned merchandise is a value card (YES in ST25), the CPU 11 issues a card return receipt 80 (ST26). An example of issuing the card return receipt 80 is shown in FIG. As shown in the figure, the card return receipt 80 is printed with a card ID 81 and a card name 82 of the returned value card, and a message 83 indicating that the card has been returned.

カード返品レシート80を発行した後、CPU11は、返品締めの操作がなされるのを待機する(ST27)。   After issuing the card return receipt 80, the CPU 11 waits for an operation for closing the return (ST27).

返品締めの操作がなされず(ST27のNO)、次の返品商品の商品コードが入力された場合には(ST23のYES)、CPU11は、上記のステップST24,25,26の処理を繰り返す。したがって、返品商品が価値カードであった場合には、そのカードに対する返品レシート80が発行される。   If the return goods closing operation is not performed (NO in ST27), and the product code of the next returned goods is input (YES in ST23), the CPU 11 repeats the processes in steps ST24, 25, and 26 described above. Therefore, if the returned merchandise is a value card, a return receipt 80 for that card is issued.

締めキーの操作により返品締めが宣言されると(ST27のYES)、CPU11は、トランザクションバッファ30のデータに返品トランザクションデータであることを示す情報を付して送信する(ST28)。以上で、返品キー処理は終了する。   When the return key is declared by operating the closing key (YES in ST27), the CPU 11 transmits the data in the transaction buffer 30 with information indicating the return transaction data (ST28). This is the end of the return key process.

ストアサーバ5のCPU41は、LAN6を介して接続されるPOS端末4からトランザクションデータを受信すると、図14の流れ図に示す処理を実行する。   When the CPU 41 of the store server 5 receives the transaction data from the POS terminal 4 connected via the LAN 6, the CPU 41 executes the processing shown in the flowchart of FIG.

先ず、CPU41は、受信したトランザクションデータが返品トランザクションデータであるか否かを判断する(ST31)。受信したトランザクションデータに、返品トランザクションデータであることを示す情報が付加されている場合には返品トランザクションデータと認識し、付加されていない場合には通常の売上トランザクションデータと認識する。   First, the CPU 41 determines whether or not the received transaction data is returned transaction data (ST31). When the received transaction data is added with information indicating return transaction data, it is recognized as return transaction data, and when it is not added, it is recognized as normal sales transaction data.

受信したトランザクションデータが売上トランザクションデータの場合(ST31のNO)、CPU41は、受信したトランザクションデータを解析する(ST32)。そして、トランザクションデータに有効化エラーを示す情報が付加されているか否かを判断する(ST33)。トランザクションデータに有効化エラーを示す情報が付加されていない場合(ST33のNO)、CPU41は、受信したトランザクションデータを、HDD上のトランザクションファイルに追加する(ST40)。   When the received transaction data is sales transaction data (NO in ST31), the CPU 41 analyzes the received transaction data (ST32). Then, it is determined whether or not information indicating an validation error is added to the transaction data (ST33). When the information indicating the validation error is not added to the transaction data (NO in ST33), the CPU 41 adds the received transaction data to the transaction file on the HDD (ST40).

これに対し、トランザクションデータに有効化エラーを示す情報が付加されている場合には(ST33のYES)、CPU41は、そのトランザクションデータから価値カードの販売データ、つまりは先頭の2桁が価値カード8特有の数値と一致する商品コードのデータを取得する(ST34)。そして、この価値カード販売データを再要求バッファ50に記憶する(ST35)。しかる後、CPU41は、受信したトランザクションデータを、HDD上のトランザクションファイルに追加する(ST40)。   On the other hand, when the information indicating the validation error is added to the transaction data (YES in ST33), the CPU 41 determines the sales data of the value card from the transaction data, that is, the first two digits are the value card 8 Data on the product code that matches the specific numerical value is acquired (ST34). Then, the value card sales data is stored in the re-request buffer 50 (ST35). Thereafter, the CPU 41 adds the received transaction data to the transaction file on the HDD (ST40).

受信したトランザクションデータが返品トランザクションデータであった場合(ST31のYES)、CPU41は、受信したトランザクションデータを解析する(ST36)。そして、トランザクションデータに有効化エラーを示す情報が付加されているか否かを判断する(ST37)。トランザクションデータに有効化エラーを示す情報が付加されていない場合(ST37のNO)、CPU41は、受信したトランザクションデータを、HDD上のトランザクションファイルに追加する(ST40)。   When the received transaction data is returned transaction data (YES in ST31), the CPU 41 analyzes the received transaction data (ST36). Then, it is determined whether or not information indicating an validation error is added to the transaction data (ST37). When the information indicating the validation error is not added to the transaction data (NO in ST37), the CPU 41 adds the received transaction data to the transaction file on the HDD (ST40).

トランザクションデータに有効化エラーを示す情報が付加されている場合(ST37のYES)、CPU41は、そのトランザクションデータから価値カードの販売データを取得する(ST38)。そして、この価値カード販売データと同一のデータを再要求バッファ50から削除する。具体的には、同一データの削除フラグを“1”にセットする(ST39:再要求停止手段)。しかる後、CPU41は、受信したトランザクションデータを、HDD上のトランザクションファイルに追加する(ST40)。   When information indicating an activation error is added to the transaction data (YES in ST37), the CPU 41 acquires value card sales data from the transaction data (ST38). Then, the same data as the value card sales data is deleted from the re-request buffer 50. Specifically, the deletion flag of the same data is set to “1” (ST39: re-request stop unit). Thereafter, the CPU 41 adds the received transaction data to the transaction file on the HDD (ST40).

また、ストアサーバ5のCPU41は、時計部45で例えば1時間が計時される毎に発生するタイマ割込信号に応答して、図15の流れ図に示す処理を実行する。   Further, the CPU 41 of the store server 5 executes the process shown in the flowchart of FIG. 15 in response to a timer interrupt signal generated every time one hour is counted by the clock unit 45, for example.

先ず、CPU41は、再要求バッファ50を検索する(ST51)。そしてCPU41は、再要求バッファ50に価値カード販売データが記憶されているか否かを判断する(ST52)。記憶されていない場合、あるいは記憶されているものの削除フラグがセットされている場合(ST52のNO)、CPU41は、今回の割込処理を終了する。   First, the CPU 41 searches the re-request buffer 50 (ST51). Then, CPU 41 determines whether or not value card sales data is stored in re-request buffer 50 (ST52). If it is not stored, or if a deletion flag is set for what is stored (NO in ST52), the CPU 41 ends the current interrupt process.

削除フラグがセットされていない価値カード販売データが再要求バッファ50に記憶されている場合(ST52のYES)、CPU41は、その再要求バッファ50の価値カード販売データで有効化要求問合せコマンドを生成し、価値カード管理サーバ3に送信する(ST53:有効化再要求手段)。そして、CPU41は、正常応答を待機する(ST54)。   When the value card sales data for which the deletion flag is not set is stored in the rerequest buffer 50 (YES in ST52), the CPU 41 generates an validation request inquiry command with the value card sales data in the rerequest buffer 50. And sent to the value card management server 3 (ST53: validation re-request means). Then, the CPU 41 waits for a normal response (ST54).

所定時間内に価値カード管理サーバ3から正常応答を受信したならば(ST54のYES)、CPU41は、再要求バッファ50をクリアする(ST55)。これに対し、所定時間を経過しても正常応答を受信できなかった場合には(ST54のNO)、再要求バッファ50をクリアしない。以上で、CPU41は、今回の割込処理を終了する。   If a normal response is received from the value card management server 3 within a predetermined time (YES in ST54), the CPU 41 clears the re-request buffer 50 (ST55). On the other hand, if a normal response cannot be received after a predetermined time has elapsed (NO in ST54), the re-request buffer 50 is not cleared. Thus, the CPU 41 ends the current interrupt process.

このように、本実施形態の商品販売データ処理装置、すなわちPOS端末4とストアサーバ5とからなるPOSシステム1においては、価値カード8の購買を含む商取引が発生すると、その価値カード8の有効化要求が価値カード管理サーバ3に対して実行される。そして、価値カード管理サーバ3において当該価値カード8が有効化されたならば、その価値カード8は直ぐに使用が可能となる。   As described above, in the POS system 1 including the merchandise sales data processing apparatus according to the present embodiment, that is, the POS terminal 4 and the store server 5, when a commercial transaction including the purchase of the value card 8 occurs, the value card 8 is validated. The request is executed to the value card management server 3. If the value card 8 is validated in the value card management server 3, the value card 8 can be used immediately.

ところが、例えばネットワーク回線7の一時的な障害により当該価値カード8の有効化に失敗した場合には、その価値カード8は、直ぐには使用できない。この場合、POS端末4からは、価値カード販売レシート70が発行される。また、ストアサーバ5においては、当該価値カード8のカードIDを含む情報が再要求バッファ50に記憶される。   However, when the value card 8 fails due to a temporary failure of the network line 7, for example, the value card 8 cannot be used immediately. In this case, a value card sales receipt 70 is issued from the POS terminal 4. In the store server 5, information including the card ID of the value card 8 is stored in the re-request buffer 50.

有効化に失敗した価値カード8のカードIDを含む情報が再要求バッファ50に記憶されると、ストアサーバ5は、例えば1時間間隔で価値カード管理サーバ3に対してその価値カード8の有効化要求を実行する。したがって、価値カード販売レシート70には、その価値カード8が24時間以内に有効になることを示すメッセージ74が印刷される。   When information including the card ID of the value card 8 that has failed to be activated is stored in the re-request buffer 50, the store server 5 validates the value card 8 with respect to the value card management server 3, for example, at one hour intervals. Execute the request. Therefore, a message 74 indicating that the value card 8 becomes valid within 24 hours is printed on the value card sales receipt 70.

ここで、客が価値カードの返品を申し出た場合、キャッシャは返品キーを押下して、POS端末4にて返品処理を実行させる。そうすると、ストアサーバ5の再要求バッファ50に記憶された当該価値カード8の情報が削除される。このため、ストアサーバ5による当該価値カード8の有効化要求は実施されない。したがって、返品された価値カード8が有効化されることはない。よって、返品扱いとなった価値カードが有効となって、例えば店員による不正使用が行われるのを未然に防ぐことができる。   Here, when the customer offers to return the value card, the cashier presses the return key and causes the POS terminal 4 to execute the return process. Then, the information on the value card 8 stored in the rerequest buffer 50 of the store server 5 is deleted. For this reason, the activation request for the value card 8 by the store server 5 is not executed. Therefore, the returned value card 8 is not activated. Therefore, it is possible to prevent the value card that has been treated as returned goods from becoming valid and preventing unauthorized use by a store clerk, for example.

[第2の実施形態]
次に、第2の実施形態について、図16〜図18を用いて説明する。
第1の実施形態では、価値カード8の有効化に失敗した場合、1商取引の締めを宣言する締めキーの操作により価値カード販売レシート70が発行されて、価値カード8の有効化に失敗したことがユーザ(キャッシャと客)に報知される。このため、客が価値カード8の購入を取り止めた場合、返品取引で対処する。
[Second Embodiment]
Next, a second embodiment will be described with reference to FIGS.
In the first embodiment, when the activation of the value card 8 fails, the value card sales receipt 70 is issued by the operation of the closing key for declaring the closing of one commercial transaction, and the activation of the value card 8 has failed. Is notified to the user (the cashier and the customer). For this reason, when the customer cancels the purchase of the value card 8, it is dealt with by a return transaction.

第2の実施形態は、価値カード8の有効化に失敗した場合、1商取引の締めが宣言される前にユーザに報知する。こうすることにより、客が価値カード8の購入を取り止めた場合には、単品取消処理によって同一取引内で対処できるようになる。   In the second embodiment, when the activation of the value card 8 fails, the user is notified before the closing of one commercial transaction is declared. In this way, when the customer cancels the purchase of the value card 8, it can be dealt with in the same transaction by the single item cancellation processing.

このような第2の実施形態は、POS端末4のCPU11が実行する小計キー処理の一部を第1の実施形態から変更することによって実現可能である。その他は、第1の実施形態と同一である。このため、第1の実施形態と共通する部分には同一符号を付して、第2の実施形態を説明する。   Such a 2nd embodiment is realizable by changing a part of subtotal key process which CPU11 of POS terminal 4 performs from a 1st embodiment. Others are the same as the first embodiment. For this reason, the second embodiment will be described by assigning the same reference numerals to the parts common to the first embodiment.

図16は、第2の実施形態における小計キー処理の手順を示す流れ図である。図16において、第1の実施形態と共通する処理ブロックには、同一のステップ符号(STx)を付している。   FIG. 16 is a flowchart showing a subtotal key process procedure according to the second embodiment. In FIG. 16, the same step code (STx) is attached to the processing block common to the first embodiment.

すなわち、第2の実施形態が第1の実施形態と異なる点は、価値カードの有効化要求に対して所定時間内に正常応答を受信できないときの処理である。所定時間内に正常応答を受信できなかった場合(ST4のNO)、CPU11は、オペレータ用ディスプレイ23及び客用ディスプレイ24に有効化エラーメッセージ画面を表示させる(ST61:表示制御手段)。   That is, the second embodiment is different from the first embodiment in processing when a normal response cannot be received within a predetermined time in response to a value card activation request. If the normal response cannot be received within the predetermined time (NO in ST4), the CPU 11 displays an validation error message screen on the operator display 23 and the customer display 24 (ST61: display control means).

オペレータ用ディスプレイ23に表示される有効化エラーメッセージ画面91の一例を図17に示す。また、客用ディスプレイ24に表示される有効化エラーメッセージ画面92の一例を図18に示す。図示するように、有効化エラーメッセージ画面91,92には、有効化に失敗した価値カード(ギフトカード1000、ギフトカード500)の名称と、その価値カードがまだ有効化されておらず直ぐには使用できないこと、しかし24時間以内ならば確実に有効化されるのでそれ以降は使用できることが表示される。また、オペレータ用ディスプレイ23に表示される有効化エラーメッセージ画面91には、客が価値カード8の購買を取り止めないときの操作キーを示すガイダンス(継続宣言→Xキー)と、購買を取り止めるときの操作キーを示すガイダンス(取消宣言→取消キー)とが表示される。   An example of the validation error message screen 91 displayed on the operator display 23 is shown in FIG. An example of the validation error message screen 92 displayed on the customer display 24 is shown in FIG. As shown in the figure, on the activation error message screens 91 and 92, the name of the value card (gift card 1000, gift card 500) that has failed to be activated, and the value card is not yet activated but is used immediately. It is displayed that it cannot be used, but if it is within 24 hours, it will be validated without fail. In addition, the validation error message screen 91 displayed on the operator display 23 includes a guidance (continuation declaration → X key) indicating an operation key when the customer does not cancel the purchase of the value card 8, and a notification when the purchase is canceled. A guidance (cancellation declaration → cancel key) indicating the operation key is displayed.

CPU11は、上記継続宣言の操作キー(Xキー)が操作されるか、取消宣言の操作キー(取消キー)が操作されるのを待機する(ST62:選択受付手段)。ここで、継続宣言の操作キーが入力された場合には、CPU41は、小計処理に移行する(ST6)。   The CPU 11 waits for the operation key (X key) for the continuation declaration or the operation key (cancel key) for the cancellation declaration to be operated (ST62: selection accepting means). If the continuation declaration operation key is input, the CPU 41 proceeds to subtotal processing (ST6).

これに対し、取消宣言の操作キーが入力された場合には、CPU41は、トランザクションバッファ30から価値カード8のトランザクションデータを削除する。具体的には、該当データの削除フラグを“1”にセットする(ST63:販売取消処理手段)。しかる後、CPU11は、小計処理に移行する(ST6)。   On the other hand, when a cancel declaration operation key is input, the CPU 41 deletes the transaction data of the value card 8 from the transaction buffer 30. Specifically, the deletion flag of the corresponding data is set to “1” (ST63: sales cancellation processing means). Thereafter, the CPU 11 shifts to a subtotal process (ST6).

このように、第2の実施形態の商品販売データ処理装置においては、価値カード8の有効化に失敗した場合に、有効化エラーメッセージ画面91,92によって、キャッシャと客に報知される。   As described above, in the merchandise sales data processing apparatus according to the second embodiment, when activation of the value card 8 fails, the activation error message screens 91 and 92 notify the cashier and the customer.

ここで、有効化に失敗した価値カード8を客がそのまま購入する場合には、小計処理に続いて、締めキー処理が実行される。したがって、価値カード販売レシート70が発行されるとともに、この価値カード8のカードIDを含む情報が、ストアサーバ5の再要求バッファ50に記憶される。その結果、例えば1時間間隔でストアサーバ5から価値カード管理サーバ3に対してその価値カード8の有効化要求が実行される。   Here, when the customer purchases the value card 8 that has failed to be validated as it is, the closing key process is executed following the subtotal process. Accordingly, the value card sales receipt 70 is issued, and information including the card ID of the value card 8 is stored in the re-request buffer 50 of the store server 5. As a result, for example, an activation request for the value card 8 is executed from the store server 5 to the value card management server 3 at one hour intervals.

これに対し、有効化に失敗した価値カード8の購入を客が取り止めた場合には、トランザクションバッファ30から当該価値カード8のトランザクションデータが削除される。このため、小計処理に続いて締めキー処理が実行されても、この価値カード8のカードIDを含む情報が再要求バッファ50に記憶されることはない。したがって、購入取り止めとなった価値カード8が有効化されることはない。よって、返品扱いとなった価値カードが有効となって、例えば店員による不正使用が行われるのを未然に防ぐことができる。   On the other hand, when the customer cancels the purchase of the value card 8 that has failed to be activated, the transaction data of the value card 8 is deleted from the transaction buffer 30. For this reason, even if the closing key process is executed subsequent to the subtotal process, information including the card ID of the value card 8 is not stored in the re-request buffer 50. Therefore, the value card 8 whose purchase has been canceled is not activated. Therefore, it is possible to prevent the value card that has been treated as returned goods from becoming valid and preventing unauthorized use by a store clerk, for example.

以下、前記実施形態の変形例について説明する。
例えば、図9の締めキー処理において、ST11の取引締め処理の後に、ST13の有効化エラー判定処理を実行し、有効化エラー無しの場合は(ST13のNO)、取引レシートを発行した後に、トランザクションデータの送信(ST14)と、トランザクションバッファのクリアを行い(ST18)、有効化エラー有りの場合には(ST13のYES)、価値カード販売レシートを発行した後(ST15)、取引レシートを発行し、その後、ステップST16,17,18の処理を実行するようにしてもよい。こうすることにより、価値カード8の有効化に失敗した場合には、先に価値カード販売レシートが発行され、続いて取引レシートが発行されるので、キャッシャは価値カード販売レシートが発行されたこと、つまりは価値カード8の有効化に失敗したことを確実に認識することができる。
Hereinafter, modifications of the embodiment will be described.
For example, in the closing key process of FIG. 9, after the transaction closing process of ST11, the validation error determination process of ST13 is executed. When there is no validation error (NO in ST13), Send data (ST14), clear transaction buffer (ST18), and if there is an validation error (YES in ST13), issue a value card sales receipt (ST15), issue a transaction receipt, Thereafter, the processes of steps ST16, 17, and 18 may be executed. In this way, if the activation of the value card 8 fails, the value card sales receipt is issued first, and then the transaction receipt is issued, so that the cashier has issued the value card sales receipt, In other words, it is possible to reliably recognize that the activation of the value card 8 has failed.

また、第2の実施形態では、有効化エラーメッセージを表示形式で報知したが、報知方法は表示形式に限定されるものではない。例えば有効化エラーメッセージの内容を音声によって報知してもよい。また、客用ディスプレイ24をタッチパネルとし、客用ディスプレイ24に表示される有効化エラーメッセージ画面92に、継続宣言の操作キーと取消宣言の操作キーの各操作ボタンイメージを表示させる。こうすることにより、有効化に失敗した価値カードを購入するか否かを客自身によって選択させることができる。   Further, in the second embodiment, the validation error message is notified in the display format, but the notification method is not limited to the display format. For example, the content of the validation error message may be notified by voice. Further, the customer display 24 is used as a touch panel, and the operation button images of the operation key for continuation declaration and the operation key for cancellation declaration are displayed on the validation error message screen 92 displayed on the customer display 24. By doing so, the customer can select whether or not to purchase a value card that has failed to be activated.

また、第1,第2の実施形態は、POS端末4とストアサーバ5とからなるPOSシステム1を商品販売データ処理装置としたが、例えばストアサーバ5が具備していた再要求バッファ50を含む必須の構成をPOS端末4側に設けることで、POS端末4を商品販売データ処理装置としてもよい。   In the first and second embodiments, the POS system 1 including the POS terminal 4 and the store server 5 is the merchandise sales data processing apparatus, but includes the re-request buffer 50 provided in the store server 5, for example. By providing an essential configuration on the POS terminal 4 side, the POS terminal 4 may be a merchandise sales data processing apparatus.

また、第1,第2の実施形態は、ストアサーバ5及びPOS端末の装置内部のプログラム記憶部(ROM13,43)に発明の機能を実現させる制御プログラムが予め記録されているものとした。しかしこれに限らず、同様のプログラムがネットワークから装置にダウンロードされてもよい。あるいは、記録媒体に記録された同様のプログラムが、装置にインストールされてもよい。記録媒体は、CD−ROM,メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。また、プログラムのインストールやダウンロードにより得る機能は、装置内部のOS(オペレーティング・システム)等と協働してその機能を実現させるものであってもよい。   In the first and second embodiments, it is assumed that control programs for realizing the functions of the invention are recorded in advance in the program storage units (ROMs 13 and 43) inside the devices of the store server 5 and the POS terminal. However, the present invention is not limited to this, and a similar program may be downloaded from the network to the apparatus. Alternatively, a similar program recorded on the recording medium may be installed in the apparatus. The recording medium may be in any form as long as it can store a program such as a CD-ROM or a memory card and can be read by the apparatus. Further, the function obtained by installing or downloading the program may be realized in cooperation with an OS (operating system) in the apparatus.

この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   In addition, although several embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1…POSシステム、2…価値カードデータベース、3…価値カード管理サーバ、4…POS端末、5…ストアサーバ、8…価値カード、30…トランザクションバッファ、50…再要求バッファ。   DESCRIPTION OF SYMBOLS 1 ... POS system, 2 ... Value card database, 3 ... Value card management server, 4 ... POS terminal, 5 ... Store server, 8 ... Value card, 30 ... Transaction buffer, 50 ... Re-request buffer.

Claims (4)

有効化することで使えるようになる価値カードを含む商品を販売処理する商品販売データ処理装置において、
入力された買上商品のデータに基づいて商品販売データを売上処理する売上処理手段と、
入力された返品商品のデータに基づいて商品販売データを返品処理する返品処理手段と、
前記売上処理手段により処理した商品販売データのなかに、前記価値カードの販売データが含まれるとき、その価値カードの販売に際し正規に販売されたことの証明データを管理サーバに送信して該価値カードの有効化を要求する有効化要求手段と、
前記有効化要求手段による証明データの送信に対して前記管理サーバにて有効化要求が承認されたときに前記価値カードに対する前記売上処理手段の売上処理で得られた販売金額を含む小計金額を算出してディスプレイに表示させ、前記管理サーバにて有効化要求が承認されなかったときには有効化エラーメッセージをディスプレイに表示させる制御手段と、
前記有効化要求手段による証明データの送信に対して前記管理サーバにて有効化要求が承認されなかったとき、有効化要求が承認されるまで前記証明データの再送信を繰り返す有効化再要求手段と、
前記返品処理手段により処理した商品販売データのなかに、前記有効化再要求手段により証明データの再送信が繰り返される価値カードのデータが含まれるとき、当該証明データの再送信を終了させる再要求停止手段と、
を具備したことを特徴とする商品販売データ処理装置。
In the product sales data processing device that sells and processes products including value cards that can be used when activated,
A sales processing means for processing product sales data based on the data of the input purchased product;
Returns processing means for processing product sales data based on the returned product data entered,
Some merchandise sales data processed by the sales processing unit, when included sales data of the value card,該価value card by sending proof data that has been sold to authorized upon the sale of its value card management server An activation request means for requesting the activation of
Calculate a subtotal amount including the sales amount obtained by the sales processing of the sales processing means for the value card when the management server approves the validation request for the transmission of the certification data by the validation request means. and control means for displaying the enabled error message on the display when the is displayed, enabling the request is not approved by the management server and,
An validation re-requesting unit that repeats retransmission of the certification data until the validation request is approved when the validation request is not approved by the management server for sending the certification data by the validation request unit; ,
When the merchandise sales data processed by the return processing means includes value card data for which the re-sending of the certification data is repeated by the validation re-requesting means, the re-request stop for terminating the re-sending of the certification data Means,
A product sales data processing apparatus characterized by comprising:
前記有効化再要求手段は、価値カード買い上げ時に前記管理サーバにて価値カードの有効化要求が承認されなかったときに、該価値カードの有効化処理を行うための証明データを再送信し、
前記再要求停止手段は、前記価値カードの返品処理されたときに、前記有効化再要求手段による証明データの再送信を停止することを特徴とする請求項1記載の商品販売データ処理装置。
The validation re-request means resends proof data for performing the validation process of the value card when the validation request for the value card is not approved by the management server when the value card is purchased.
2. The merchandise sales data processing apparatus according to claim 1, wherein the re-request stop unit stops the re-transmission of the certification data by the validation re-request unit when the value card is returned.
前記売上処理手段により売上処理された商品販売データの明細を示すレシートを印字するプリンタ、をさらに具備し、
前記返品処理手段は、返品商品が前記証明データを管理サーバに送信することが求められる価値カードのとき、前記プリンタを動作させて該価値カードが返品されたものであることを特定する情報をレシート用紙に印字する処理を含むことを特徴とする請求項1記載の商品販売データ処理装置。
A printer that prints a receipt showing details of the merchandise sales data processed by the sales processing means;
The return processing means, when the returned product is a value card that is required to transmit the certification data to the management server, receives information specifying that the value card has been returned by operating the printer 2. The merchandise sales data processing apparatus according to claim 1, further comprising a process of printing on paper.
有効化することで使えるようになる価値カードを含む商品を販売処理する商品販売データ処理装置において、
入力された買上商品のデータに基づいて商品販売データを売上処理する売上処理手段と、
前記売上処理手段により処理した商品販売データのなかに、前記価値カードの販売データが含まれるとき、その価値カードの販売に際し正規に販売されたことの証明データを管理サーバに送信して該価値カードの有効化を要求する有効化要求手段と、
前記有効化要求手段による証明データの送信に対して前記管理サーバにて有効化要求が承認されたときに前記価値カードに対する前記売上処理手段の売上処理で得られた販売金額を含む小計金額を算出してディスプレイに表示させ、前記管理サーバにて有効化要求が承認されなかったときには有効化エラーメッセージをディスプレイに表示させる制御手段と、
前記有効化要求手段による証明データの送信に対して前記管理サーバにて有効化要求が承認されなかったとき、前記価値カードの購入を取り消すか否かの選択入力を受付ける選択受付手段と、
前記選択受付手段が前記価値カードの購入非取消の選択入力を受付けると、有効化要求が承認されるまで前記証明データの再送信を繰り返す有効化再要求手段と、
前記選択受付手段が前記価値カードの購入取消の選択入力を受付けると、前記売上処理手段により処理した商品販売データのなかから前記価値カードのデータを削除する販売取消処理手段と、
を具備したことを特徴とする商品販売データ処理装置。
In the product sales data processing device that sells and processes products including value cards that can be used when activated,
A sales processing means for processing product sales data based on the data of the input purchased product;
Some merchandise sales data processed by the sales processing unit, when included sales data of the value card,該価value card by sending proof data that has been sold to authorized upon the sale of its value card management server An activation request means for requesting the activation of
Calculate a subtotal amount including the sales amount obtained by the sales processing of the sales processing means for the value card when the management server approves the validation request for the transmission of the certification data by the validation request means. and control means for displaying the enabled error message on the display when the is displayed, enabling the request is not approved by the management server and,
Selection accepting means for accepting a selection input as to whether or not to cancel the purchase of the value card when the validation request is not approved by the management server for the transmission of the certification data by the validation request means;
When the selection accepting unit accepts a selection input for non-cancellation of purchase of the value card , an activation re-request unit that repeats retransmission of the certification data until the activation request is approved;
When the selection receiving means receives a selection input of purchase cancellation of the value card, and the sale cancellation processing means for deleting the data of the value card from among the merchandise sales data was processed by the sales processing means,
A product sales data processing apparatus characterized by comprising:
JP2011033318A 2011-02-18 2011-02-18 Product sales data processing device Active JP5559721B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011033318A JP5559721B2 (en) 2011-02-18 2011-02-18 Product sales data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011033318A JP5559721B2 (en) 2011-02-18 2011-02-18 Product sales data processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2014118047A Division JP5740513B2 (en) 2014-06-06 2014-06-06 Product sales data processing device

Publications (2)

Publication Number Publication Date
JP2012173852A JP2012173852A (en) 2012-09-10
JP5559721B2 true JP5559721B2 (en) 2014-07-23

Family

ID=46976729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011033318A Active JP5559721B2 (en) 2011-02-18 2011-02-18 Product sales data processing device

Country Status (1)

Country Link
JP (1) JP5559721B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6821333B2 (en) * 2016-05-31 2021-01-27 東芝テック株式会社 Information processing equipment and programs
JP2021061046A (en) * 2021-01-05 2021-04-15 東芝テック株式会社 Information processing device and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3106510B2 (en) * 1991-01-11 2000-11-06 オムロン株式会社 Data collection system
JPH05108670A (en) * 1991-10-17 1993-04-30 Omron Corp Card processing terminal equipment
US8706630B2 (en) * 1999-08-19 2014-04-22 E2Interactive, Inc. System and method for securely authorizing and distributing stored-value card data
JP2001216569A (en) * 2000-02-03 2001-08-10 Toshiba Tec Corp Merchandise sales data processing system
JP2002083237A (en) * 2000-06-21 2002-03-22 Bis:Kk Settlement management method for electronic commerce by prepaid system
JP2004220499A (en) * 2003-01-17 2004-08-05 Teraoka Seiko Co Ltd Article sale data processor and system

Also Published As

Publication number Publication date
JP2012173852A (en) 2012-09-10

Similar Documents

Publication Publication Date Title
JP6263482B2 (en) Product sales input support device, program thereof, and product sales processing system
JP6557127B2 (en) Product sales processing system and product sales processing device
JP6230550B2 (en) Electronic receipt server, its control program, and electronic receipt system
JP2017117299A (en) Commodity sales processing device and checkout system
JP5264807B2 (en) Merchandise sales data processing system, merchandise sales data processing apparatus and control program therefor
JP5559721B2 (en) Product sales data processing device
JP2012141757A (en) Commodity sales data processor, commodity sales data processing system and program
JP6998792B2 (en) Registration device and information processing program
JP5740513B2 (en) Product sales data processing device
JP6423063B2 (en) Product sales input support device, program thereof, and product sales processing system
JP5428819B2 (en) Sales data processing system and program
JP2001067551A (en) Electronic pop device
JP7394182B2 (en) Information terminal, its program, and display control method
JP6530537B2 (en) Electronic receipt system, server device and program thereof
JP6719617B2 (en) Electronic receipt system, server device and its program, and coupon distribution method
JP2020035328A (en) Product sales data processing device, product sales data processing system, product sales data processing method and program
JP6667707B2 (en) Information terminal and its program, display control method, and server and its program, electronic receipt information transmitting method, electronic coupon information transmitting method
JP7299062B2 (en) Transaction processing device and its control program
WO2022064852A1 (en) Receipt server, information processing method, program recording medium, and server system
JP3694295B2 (en) Product sales registration data processing device
JP4486983B2 (en) Information processing apparatus, service providing system, and information processing program
JP6410864B2 (en) Electronic receipt issuing method, POS terminal and program
JP2010198551A (en) Merchandise sales system
JP2017010499A (en) Network system, control method for the same, and control device
JP2022053850A (en) Information processing device and control program thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130510

A131 Notification of reasons for refusal

Effective date: 20130521

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Effective date: 20130722

Free format text: JAPANESE INTERMEDIATE CODE: A523

RD04 Notification of resignation of power of attorney

Effective date: 20131205

Free format text: JAPANESE INTERMEDIATE CODE: A7424

RD04 Notification of resignation of power of attorney

Effective date: 20131212

Free format text: JAPANESE INTERMEDIATE CODE: A7424

RD04 Notification of resignation of power of attorney

Effective date: 20131219

Free format text: JAPANESE INTERMEDIATE CODE: A7424

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131226

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140121

A521 Written amendment

Effective date: 20140320

Free format text: JAPANESE INTERMEDIATE CODE: A523

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

Effective date: 20140507

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Effective date: 20140606

Free format text: JAPANESE INTERMEDIATE CODE: A61

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5559721

Country of ref document: JP