JP2021152722A - Privilege management device and control program therefor, privilege management method - Google Patents

Privilege management device and control program therefor, privilege management method Download PDF

Info

Publication number
JP2021152722A
JP2021152722A JP2020052618A JP2020052618A JP2021152722A JP 2021152722 A JP2021152722 A JP 2021152722A JP 2020052618 A JP2020052618 A JP 2020052618A JP 2020052618 A JP2020052618 A JP 2020052618A JP 2021152722 A JP2021152722 A JP 2021152722A
Authority
JP
Japan
Prior art keywords
stages
privilege
stage
stamps
stamp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2020052618A
Other languages
Japanese (ja)
Other versions
JP7458846B2 (en
Inventor
良彰 水岡
Yoshiaki Mizuoka
良彰 水岡
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 JP2020052618A priority Critical patent/JP7458846B2/en
Publication of JP2021152722A publication Critical patent/JP2021152722A/en
Application granted granted Critical
Publication of JP7458846B2 publication Critical patent/JP7458846B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

To easily achieve a service in which a privilege provided by accumulating stamps changes stepwise.SOLUTION: A privilege management device acquires a number of stages of privilege. The privilege management device acquires the number of stamps up to the provision of the privilege and the conditions for imparting the stamp for each stage of the number of stages. The privilege management device registers, in association with the acquired number of stages of the privilege, the number of stamps until privilege provision acquired for each stage of the number of stages and stamp provision conditions acquired for each stage of the number of stages by a condition acquisition means in a storage part.SELECTED DRAWING: Figure 11

Description

本発明の実施形態は、特典管理装置及びその制御プログラム並びに特典管理方法に関する。 An embodiment of the present invention relates to a privilege management device, a control program thereof, and a privilege management method.

商取引の決済時にスタンプを付与し、所定数のスタンプが貯まると特典を供与するようにした顧客向けサービスがある。近年、この種のサービスを容易化するために、スタンプの付与と特典の供与とを一元的に管理するようにした特典管理装置が実用に供されている。 There is a service for customers that gives a stamp at the time of settlement of a commercial transaction and provides a privilege when a predetermined number of stamps are accumulated. In recent years, in order to facilitate this kind of service, a privilege management device that centrally manages stamping and privilege provision has been put into practical use.

ところで、この種のサービスは、所定数のスタンプが貯まった後は、再度最初からスタンプを貯めるという運用が一般的である。このため、スタンプを貯めても供与される特典が同じであることから顧客に飽きられ易く、魅力のないサービスとなってしまう懸念がある。 By the way, in this kind of service, after a predetermined number of stamps have been accumulated, the stamps are generally accumulated from the beginning again. For this reason, even if the stamps are accumulated, the benefits provided are the same, so that the customer is likely to get bored and there is a concern that the service will be unattractive.

特開2018−077922号公報Japanese Unexamined Patent Publication No. 2018-07922

本発明の実施形態が解決しようとする課題は、スタンプを貯めることで供与される特典が段階的に変化するサービスを容易に実現できる特典管理装置及びその制御プログラム並びに特典管理方法に関する。 The problem to be solved by the embodiment of the present invention relates to a privilege management device capable of easily realizing a service in which the privilege provided by accumulating stamps changes stepwise, a control program thereof, and a privilege management method.

一実施形態において、段階的に供与される特典を管理する特典管理装置の制御プログラムは、そのコンピュータを、段数取得手段、スタンプ数取得手段、条件取得手段及び登録手段として機能させる。段数取得手段は、特典の段数を取得する機能である。スタンプ数取得手段は、段数の段毎に、特典供与までのスタンプ数を取得する機能である。条件取得手段は、段数の段毎に、スタンプ付与条件を取得する機能である。登録手段は、段数取得手段により取得した特典の段数と関連付けて、スタンプ数取得手段により当該段数の段毎に取得した特典供与までのスタンプ数及び条件取得手段により当該段数の段毎に取得したスタンプ付与条件とを記憶部に登録する機能である。 In one embodiment, the control program of the privilege management device that manages the privilege to be provided in stages causes the computer to function as a stage number acquisition means, a stamp number acquisition means, a condition acquisition means, and a registration means. The step number acquisition means is a function of acquiring the number of steps of the privilege. The stamp number acquisition means is a function of acquiring the number of stamps up to the provision of benefits for each stage of the number of stages. The condition acquisition means is a function of acquiring stamping conditions for each stage of the number of stages. The registration means associates with the number of stages of the privilege acquired by the number of stages acquisition means, the number of stamps up to the privilege provision acquired for each stage of the number of stages by the number of stamps acquisition means, and the stamp acquired for each stage of the number of stages by the condition acquisition means. It is a function to register the grant condition in the storage unit.

一実施形態に係る特典管理システムの概略構成図。Schematic configuration diagram of the privilege management system according to one embodiment. 企画レコードの主要なデータ構造を示す模式図。The schematic diagram which shows the main data structure of a plan record. 画像レコードの主要なデータ構造を示す模式図。The schematic diagram which shows the main data structure of an image record. スタンプシートの一例を示す模式図。The schematic diagram which shows an example of a stamp sheet. クーポンの一例を示す模式図。The schematic diagram which shows an example of a coupon. 特典管理サーバの要部回路構成を示すブロック図。A block diagram showing the main circuit configuration of the privilege management server. 管理テーブルのデータ構造を示す模式図。The schematic diagram which shows the data structure of a management table. 特典管理サーバのプロセッサが実行する情報処理の要部手順を示す流れ図。A flow chart showing the main procedure of information processing executed by the processor of the privilege management server. 特典管理サーバのプロセッサが実行する情報処理の要部手順を示す流れ図。A flow chart showing the main procedure of information processing executed by the processor of the privilege management server. 特典管理サーバのプロセッサが実行する情報処理の要部手順を示す流れ図。A flow chart showing the main procedure of information processing executed by the processor of the privilege management server. 企画設定画面の一例を示す模式図。The schematic diagram which shows an example of a plan setting screen.

以下、特典管理装置及びその制御プログラム並びに特典管理方法の実施形態について、図面を用いて説明する。
なお、この実施形態は、図1に示す特典管理システム100の特典管理サーバ10を特典管理装置とした場合である。
Hereinafter, an embodiment of the privilege management device, its control program, and the privilege management method will be described with reference to the drawings.
In this embodiment, the privilege management server 10 of the privilege management system 100 shown in FIG. 1 is used as the privilege management device.

図1に示すように特典管理システム100は、特典管理サーバ10と、複数台のPOS端末20と、通信ネットワーク30と、を含む。通信ネットワーク30は、例えばインターネット、イントラネット、WAN(Wide Area Network)あるいはLAN(Local Area Network)である。通信ネットワーク30は、電話通信網又は移動体通信網を含んでもよい。あるいは通信ネットワーク30は、これらの組み合わせであってもよい。特典管理システム100では、通信ネットワーク30に、各POS端末20と特典管理サーバ10とが接続されている。 As shown in FIG. 1, the privilege management system 100 includes a privilege management server 10, a plurality of POS terminals 20, and a communication network 30. The communication network 30 is, for example, the Internet, an intranet, a WAN (Wide Area Network) or a LAN (Local Area Network). The communication network 30 may include a telephone communication network or a mobile communication network. Alternatively, the communication network 30 may be a combination of these. In the privilege management system 100, each POS terminal 20 and the privilege management server 10 are connected to the communication network 30.

POS端末20は、店舗の会計場所等に設置される会計機である。すなわちPOS端末20は、客が購入する商品の販売データを登録処理する。またPOS端末20は、登録処理した商品の販売データを基に客との商取引を決済する。そしてPOS端末20は、商取引の明細を表すレシートを発行する。またPOS端末20は、商取引の決済時にスタンプシート又はクーポンを選択的に発行する。レシート、スタンプシート及びクーポンは、紙媒体に印刷されて発行されてもよいし、電子データとして例えば客が所有するスマートフォンにダウンロードされることで発行されてもよい。このようなPOS端末20は、周知である。よって、ここでの詳細な説明は省略する。 The POS terminal 20 is an accounting machine installed at an accounting place of a store or the like. That is, the POS terminal 20 registers and processes the sales data of the product purchased by the customer. Further, the POS terminal 20 setstles a commercial transaction with a customer based on the sales data of the registered product. Then, the POS terminal 20 issues a receipt showing the details of the commercial transaction. Further, the POS terminal 20 selectively issues a stamp sheet or a coupon at the time of settlement of a commercial transaction. The receipt, stamp sheet and coupon may be printed on a paper medium and issued, or may be issued as electronic data, for example, by being downloaded to a smartphone owned by the customer. Such a POS terminal 20 is well known. Therefore, detailed description here will be omitted.

POS端末20は、単独で通信ネットワーク30に接続されてもよいし、店舗のサーバを介して通信ネットワーク30に接続されてもよい。特典管理システム100では、複数の店舗にそれぞれ設置されている複数台のPOS端末が直接または店舗のサーバを介して通信ネットワーク30に接続されている。 The POS terminal 20 may be independently connected to the communication network 30 or may be connected to the communication network 30 via the server of the store. In the privilege management system 100, a plurality of POS terminals installed in each of the plurality of stores are connected to the communication network 30 directly or via the server of the store.

特典管理サーバ10は、商取引の決済時にスタンプを付与し、所定数のスタンプが貯まると特典を供与するようにした顧客向けサービスを一元的に管理する機能を有する。以下では、このサービスをスタンプサービスと称する。特典管理サーバ10は、スタンプサービスの機能を実現するために、企画データベース40と画像データベース50とを備えている。また特典管理サーバ10は、通信回線60を介して企画設定装置70を接続している。通信回線60は、例えばLANである。LANは、有線LANであってもよいし、無線LANであってもよい。 The privilege management server 10 has a function of centrally managing a service for customers that gives a stamp at the time of settlement of a commercial transaction and provides a privilege when a predetermined number of stamps are accumulated. Hereinafter, this service is referred to as a stamp service. The privilege management server 10 includes a planning database 40 and an image database 50 in order to realize the function of the stamp service. Further, the privilege management server 10 connects the planning setting device 70 via the communication line 60. The communication line 60 is, for example, a LAN. The LAN may be a wired LAN or a wireless LAN.

企画設定装置70は、スタンプサービスの企画を特典管理サーバ10に設定する業務に供せられるコンピュータ機器である。この業務は、以下では企画設定業務と称する。企画設定装置70は、企画設定業務を実施するために、少なくとも入力デバイスと表示デバイスとを備える。入力デバイスは、例えばキーボード、ポインティングデバイス、タッチパネル等である。表示デバイスは、例えば液晶ディスプレイ、タッチパネル等である。市販のパーソナルコンピュータ、タブレットコンピュータ等が企画設定装置70として使用される。企画設定装置70は、特典管理サーバ10を管理する企業体が備える。企画設定装置70は、スタンプサービスを企画する企業体が備えてもよい。 The planning setting device 70 is a computer device used for the business of setting the planning of the stamp service on the privilege management server 10. This work will be referred to as planning and setting work below. The planning setting device 70 includes at least an input device and a display device in order to carry out the planning setting work. The input device is, for example, a keyboard, a pointing device, a touch panel, or the like. The display device is, for example, a liquid crystal display, a touch panel, or the like. A commercially available personal computer, tablet computer, or the like is used as the planning and setting device 70. The planning setting device 70 is provided by a business entity that manages the privilege management server 10. The planning setting device 70 may be provided by a business entity that plans a stamp service.

企画データベース40は、スタンプサービスの企画毎に作成される企画レコード41(図2を参照)の集合体である。画像データベース50は、スタンプサービスで用いられる画像レコード51(図3を参照)の集合体である。 The planning database 40 is a collection of planning records 41 (see FIG. 2) created for each planning of the stamp service. The image database 50 is a collection of image records 51 (see FIG. 3) used in the stamp service.

図2は、企画レコード41の主要なデータ構造を示す模式図である。図示するように企画レコード41は、企画ID、実施期間、状態フラグFa、段数N及びその段数毎の特典構造データと、繰返し制限回数Rとを含む。 FIG. 2 is a schematic diagram showing the main data structure of the planning record 41. As shown in the figure, the planning record 41 includes a planning ID, an implementation period, a state flag Fa, a number of stages N, privilege structure data for each stage, and a repetition limit number R.

企画IDは、スタンプサービスの企画毎に設定された一意のコードである。実施期間は、企画IDで特定されるスタンプサービスを実施する期間の開始日と終了日である。実施期間は、開始日と期間の日数であってもよい。状態フラグFaは、当該企画レコード41で特定されるスタンプサービスが有効であるか否かを識別する1ビットデータである。例えばスタンプサービスは、実施期間内の場合に有効であり、実施期間外である場合に無効である。本実施形態では、スタンプサービスが有効であるときの状態フラグFaを“1”とし、無効であるときの状態フラグFaを“0”とする。 The project ID is a unique code set for each project of the stamp service. The implementation period is the start date and end date of the period for implementing the stamp service specified by the project ID. The implementation period may be the start date and the number of days of the period. The state flag Fa is 1-bit data that identifies whether or not the stamp service specified in the project record 41 is valid. For example, the stamp service is valid when it is within the implementation period and invalid when it is outside the implementation period. In the present embodiment, the state flag Fa when the stamp service is valid is set to "1", and the state flag Fa when the stamp service is disabled is set to "0".

段数Nは、スタンプを貯めることで供与される特典の段数である。なお、スタンプを貯めても供与される特典が段階的に変化しない場合には、段数Nは“1”となる。 The number of steps N is the number of steps of the privilege provided by accumulating stamps. If the benefits to be provided do not change step by step even if the stamps are accumulated, the number of stages N is "1".

特典構造データは、段番号、スタンプ数P、スタンプ付与条件、スタンプ数P分のスタンプ画像ID及びクーポン画像IDを含む。 The privilege structure data includes a column number, a number of stamps P, a stamp granting condition, a stamp image ID for the number of stamps P, and a coupon image ID.

段番号は、“1”から段数Nまでの一連番号である。スタンプ数Pは、段番号に相当する段のときに満了となるスタンプの数である。スタンプ付与条件は、スタンプを付与する条件を示すデータである。スタンプ付与条件は、商取引のデータに基づく。つまり、商取引のデータがこのデータによって示される条件を満足する場合に、その商取引の客にスタンプが付与される。なお、本実施形態では、スタンプ付与条件が満足する場合に付与されるスタンプの数を1個とする。 The stage number is a serial number from "1" to the number of stages N. The number of stamps P is the number of stamps that expire when the column corresponds to the column number. The stamping condition is data indicating the condition for giving a stamp. The stamping conditions are based on commercial transaction data. That is, if the data of a commercial transaction satisfies the conditions indicated by this data, the customer of the commercial transaction is stamped. In the present embodiment, the number of stamps given when the stamp giving conditions are satisfied is one.

画像IDは、画像レコード51を識別するために画像レコード毎に設定された一意のコードである。 The image ID is a unique code set for each image record in order to identify the image record 51.

繰返し制限回数Rは、段数Nまでのスタンプが全て満了した場合に初段からスタンプ付与を繰り返すことを許容する回数である。したがって、繰り返しを禁止する企画の場合には、繰返し制限回数Rは“0”となる。また、繰り返し回数を制限しない場合には、繰返し制限回数Rは無限大となる。 The repetition limit number R is the number of times that the stamping is allowed to be repeated from the first stage when all the stamps up to the number of stages N have expired. Therefore, in the case of a project in which repetition is prohibited, the repetition limit number R is "0". If the number of repetitions is not limited, the number of repetitions R will be infinite.

図3は、画像レコード51の主要なデータ構造を示す模式図である。図示するように画像レコード51は、画像IDと、種別コードと、画像データとを含む。
種別コードは、画像データがスタンプシートの画像データなのかクーポンの画像データなのかを識別するためのコードを含む。本実施形態では、スタンプシートの画像データを示すコードは“88”とする。クーポンの画像データを示すコードは“99”とする。以下では、スタンプシートの画像データを含む画像レコード51をスタンプ画像レコード511と称する。クーポンの画像データを含む画像レコード51をクーポン画像レコード512と称する。
FIG. 3 is a schematic diagram showing the main data structure of the image record 51. As shown in the figure, the image record 51 includes an image ID, a type code, and image data.
The type code includes a code for identifying whether the image data is the image data of the stamp sheet or the image data of the coupon. In the present embodiment, the code indicating the image data of the stamp sheet is "88". The code indicating the image data of the coupon is "99". Hereinafter, the image record 51 including the image data of the stamp sheet is referred to as a stamp image record 511. The image record 51 including the image data of the coupon is referred to as a coupon image record 512.

スタンプ画像レコード511の種別コードは、特典の段数Nと、段毎のスタンプ数Pと、段毎に付与されたスタンプの数、いわゆるスタンプ付与数とを含む。本実施形態では、段数Nは1桁の数値で表す。スタンプ数Pは2桁の数値で表す。したがって、例えば、段数Nが“3”で、各段のスタンプ数Pがそれぞれ“3”、“4”、“5”のスタンプサービスに対応したスタンプ画像データの場合、その種別コードは“3”と“03”、“04”、“05”とを含む。そして、例えば1段目のスタンプ付与数が“1”、2段目と3段目のスタンプ付与数が“0”のスタンプ画像データの種別コードは、“100”を含む。例えば1段目のスタンプ付与数が“3”、2段目のスタンプ付与数が“2”、3段目のスタンプ付与数が“0”のスタンプ画像データの種別コードは、“320”を含む。 The type code of the stamp image record 511 includes the number of steps N of the privilege, the number of stamps P for each step, and the number of stamps given for each step, that is, the number of so-called stamps given. In the present embodiment, the number of stages N is represented by a one-digit numerical value. The number of stamps P is represented by a two-digit numerical value. Therefore, for example, in the case of stamp image data corresponding to the stamp service in which the number of stages N is "3" and the number of stamps P of each stage is "3", "4", and "5", respectively, the type code is "3". And "03", "04", "05" are included. Then, for example, the type code of the stamp image data in which the number of stamps given in the first stage is "1" and the number of stamps given in the second and third stages is "0" includes "100". For example, the type code of the stamp image data in which the number of stamps given in the first row is "3", the number of stamps given in the second row is "2", and the number of stamps given in the third row is "0" includes "320". ..

図4は、スタンプ画像81の一例である。スタンプ画像81は、段数Nが“3”である。そして、各段のスタンプ数Pは、それぞれ“3”、“4”、“5”である。また、1段目にスタンプが1個付与されている。このようなスタンプ画像81のスタンプ画像レコード511に対して設定される種別コードは“883030405100”となる。 FIG. 4 is an example of the stamp image 81. In the stamp image 81, the number of stages N is “3”. The number of stamps P in each stage is "3", "4", and "5", respectively. In addition, one stamp is attached to the first row. The type code set for the stamp image record 511 of the stamp image 81 is "883030405100".

一方、クーポン画像レコード512は、クーポンの種別情報とその種別に関連した数値とを含む。クーポンの種別には、値引クーポン、割引クーポン、金額クーポンがある。本実施形態では、値引クーポンの種別情報を“11”とし、割引クーポンの種別情報を“22”とし、金額クーポンの種別情報を“33”とする。値引クーポンに関連した数値は、値引額である。割引クーポンに関連した数値は、割引率である。金額クーポンに関連した数値は、額面金額である。すなわち値引クーポンは、クーポン対象金額から値引額を値引するクーポンである。割引クーポンは、クーポン対象金額を割引率で割引するクーポンである。金額クーポンは、額面金額を金券として代用できるクーポンである。因みに、値引クーポン又は割引クーポンのクーポン対象金額は、小計金額であってもよいし、所定の商品の価格であってもよい。 On the other hand, the coupon image record 512 includes the coupon type information and the numerical value related to the type. The types of coupons include discount coupons, discount coupons, and amount coupons. In the present embodiment, the discount coupon type information is set to "11", the discount coupon type information is set to "22", and the amount coupon type information is set to "33". The number associated with the discount coupon is the discount amount. The number associated with the discount coupon is the discount rate. The number associated with the monetary coupon is the par value. That is, the discount coupon is a coupon that discounts the discount amount from the coupon target amount. A discount coupon is a coupon that discounts the coupon target amount at a discount rate. A monetary coupon is a coupon that can substitute the par value as a gold voucher. Incidentally, the coupon target amount of the discount coupon or the discount coupon may be a subtotal amount or the price of a predetermined product.

図5は、クーポン画像82の一例である。クーポン画像82は、額面金額が100円の金額クーポンである。このようなクーポン画像82のクーポン画像レコード512に設定される種別コードは、”9933100”となる。 FIG. 5 is an example of the coupon image 82. The coupon image 82 is an amount coupon having a face value of 100 yen. The type code set in the coupon image record 512 of the coupon image 82 is "9933100".

図6は、特典管理サーバ10の要部回路構成を示すブロック図である。特典管理サーバ10は、プロセッサ11、メインメモリ12、補助記憶デバイス13、時計14、第1通信インターフェース15、第2通信インターフェース16及びシステム伝送路17を備えている。プロセッサ11、メインメモリ12、補助記憶デバイス13、時計14、第1通信インターフェース15及び第2通信インターフェース16は、それぞれシステム伝送路17と接続している。システム伝送路17は、アドレスバス、データバス、制御信号線等を含む。特典管理サーバ10では、プロセッサ11、メインメモリ12及び補助記憶デバイス13がシステム伝送路17で接続されて、特典管理サーバ10を制御するための情報処理を行うコンピュータが構成されている。 FIG. 6 is a block diagram showing a main circuit configuration of the privilege management server 10. The privilege management server 10 includes a processor 11, a main memory 12, an auxiliary storage device 13, a clock 14, a first communication interface 15, a second communication interface 16, and a system transmission line 17. The processor 11, the main memory 12, the auxiliary storage device 13, the clock 14, the first communication interface 15, and the second communication interface 16 are each connected to the system transmission line 17. The system transmission line 17 includes an address bus, a data bus, a control signal line, and the like. In the privilege management server 10, a processor 11, a main memory 12, and an auxiliary storage device 13 are connected by a system transmission line 17, and a computer that performs information processing for controlling the privilege management server 10 is configured.

プロセッサ11は、上記コンピュータの中枢部分に相当する。プロセッサ11は、オペレーティングシステム又はアプリケーションプログラムに従って、特典管理サーバ10としての各種の機能を実現するべく各部を制御する。プロセッサ11は、例えばCPU(Central Processing Unit)である。 The processor 11 corresponds to the central part of the computer. The processor 11 controls each part in order to realize various functions as the privilege management server 10 according to the operating system or the application program. The processor 11 is, for example, a CPU (Central Processing Unit).

メインメモリ12は、上記コンピュータの主記憶部分に相当する。メインメモリ12は、不揮発性のメモリ領域及び揮発性のメモリ領域を含む。メインメモリ12は、不揮発性のメモリ領域ではオペレーティングシステム又はアプリケーションプログラムを記憶する。メインメモリ12は、プロセッサ11が各部を制御するための処理を実行する上で必要なデータを揮発性のメモリ領域で記憶する。またメインメモリ12は、揮発性のメモリ領域を、プロセッサ11によってデータが適宜書き換えられるワークエリアとして使用する。不揮発性のメモリ領域は、例えばROM(Read Only Memory)である。揮発性のメモリ領域は、例えばRAM(Random Access Memory)である。 The main memory 12 corresponds to the main memory portion of the computer. The main memory 12 includes a non-volatile memory area and a volatile memory area. The main memory 12 stores an operating system or an application program in a non-volatile memory area. The main memory 12 stores data necessary for the processor 11 to execute a process for controlling each part in a volatile memory area. Further, the main memory 12 uses a volatile memory area as a work area where data is appropriately rewritten by the processor 11. The non-volatile memory area is, for example, a ROM (Read Only Memory). The volatile memory area is, for example, RAM (Random Access Memory).

補助記憶デバイス13は、上記コンピュータの補助記憶部分に相当する。補助記憶デバイス13としては、例えばEEPROM(Electric Erasable Programmable Read-Only Memory)、HDD(Hard Disc Drive)又はSSD(Solid State Drive)等の周知の記憶デバイスを単独で、あるいは複数組み合わせて用いられる。補助記憶デバイス13は、プロセッサ11が各種の処理を行う上で使用するデータ、プロセッサ11での処理によって生成されたデータ等を保存する。補助記憶デバイス13は、アプリケーションプログラムを記憶する場合もある。 The auxiliary storage device 13 corresponds to the auxiliary storage portion of the computer. As the auxiliary storage device 13, for example, a well-known storage device such as an EEPROM (Electric Erasable Programmable Read-Only Memory), an HDD (Hard Disc Drive) or an SSD (Solid State Drive) is used alone or in combination of two or more. The auxiliary storage device 13 stores data used by the processor 11 for performing various processes, data generated by the processes of the processor 11, and the like. The auxiliary storage device 13 may store the application program.

メインメモリ12又は補助記憶デバイス13が記憶するアプリケーションプログラムは、後述する制御プログラムを含む。制御プログラムをメインメモリ12又は補助記憶デバイス13にインストールする方法は特に限定されるものではない。リムーバブルな記録媒体に制御プログラムを記録して、あるいはネットワークを介した通信により制御プログラムを配信して、メインメモリ12又は補助記憶デバイス13にインストールすることができる。記録媒体は、CD−ROM,メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。 The application program stored in the main memory 12 or the auxiliary storage device 13 includes a control program described later. The method of installing the control program in the main memory 12 or the auxiliary storage device 13 is not particularly limited. The control program can be recorded on a removable recording medium, or the control program can be distributed by communication via a network and installed in the main memory 12 or the auxiliary storage device 13. 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 the device can read it.

時計14は、特典管理サーバ10の時刻情報源として機能する。プロセッサ11は、時計14によって計時される時刻情報を基に、現在の日付及び時刻を計時する。 The clock 14 functions as a time information source for the privilege management server 10. The processor 11 clocks the current date and time based on the time information measured by the clock 14.

第1通信インターフェース15は、通信ネットワーク30を介して接続された機器、例えばPOS端末20とデータ通信を行うための回路である。 The first communication interface 15 is a circuit for performing data communication with a device connected via a communication network 30, for example, a POS terminal 20.

第2通信インターフェース16は、通信回線60を介して接続された機器、例えば企画設定装置70とデータ通信を行うための回路である。 The second communication interface 16 is a circuit for performing data communication with a device connected via a communication line 60, for example, a planning / setting device 70.

かかる構成の特典管理サーバ10は、補助記憶デバイス13の記憶領域の一部を前述した企画データベース40及び画像データベース50の領域とする。なお、企画データベース40及び画像データベース50の領域は、補助記憶デバイス13の記憶領域の一部に限定されない。例えば、通信ネットワーク30に接続された他のサーバが有する補助記憶デバイス13の記憶領域の一部を企画データベース40及び画像データベース50の領域としてもよい。この場合、プロセッサ11は、第1通信インターフェース15を介して上記サーバと通信を行うことにより、企画データベース40及び画像データベース50にアクセスすることとなる。 The privilege management server 10 having such a configuration uses a part of the storage area of the auxiliary storage device 13 as the area of the planning database 40 and the image database 50 described above. The areas of the planning database 40 and the image database 50 are not limited to a part of the storage area of the auxiliary storage device 13. For example, a part of the storage area of the auxiliary storage device 13 of another server connected to the communication network 30 may be used as the area of the planning database 40 and the image database 50. In this case, the processor 11 accesses the planning database 40 and the image database 50 by communicating with the server via the first communication interface 15.

また、特典管理サーバ10は、補助記憶デバイス13の記憶領域の一部に管理テーブル131を形成している。管理テーブル131は、メインメモリ12の揮発性メモリ領域に形成されていてもよい。 Further, the privilege management server 10 forms the management table 131 in a part of the storage area of the auxiliary storage device 13. The management table 131 may be formed in the volatile memory area of the main memory 12.

図7は、管理テーブル131のデータ構造を示す模式図である。図示するように管理テーブル131は、会員IDのフィールドと、企画IDのフィールドと、現段数Saのフィールドと、スタンプ付与数Sbのフィールドと、繰返し回数rのフィールドとを有する。 FIG. 7 is a schematic diagram showing the data structure of the management table 131. As shown in the figure, the management table 131 has a member ID field, a planning ID field, a field of the current stage number Sa, a field of the stamping number Sb, and a field of the repetition number r.

会員IDは、スタンプサービスを受けるために会員登録をした客、いわゆる会員に対して設定された一意のコードである。会員は、会員IDが記録された会員カードを所持している。会員は、会員IDをバーコード又は二次元データコードで表示するためのアプリケーションプログラムをインストールした携帯型端末を所持していてもよい。スマートフォン又はタブレット端末等が、携帯型端末として使用される。 The member ID is a unique code set for a customer who has registered as a member to receive the stamp service, that is, a so-called member. The member has a membership card on which the member ID is recorded. The member may have a portable terminal on which an application program for displaying the member ID as a barcode or a two-dimensional data code is installed. A smartphone, tablet terminal, or the like is used as a portable terminal.

現段数Sa、スタンプ付与数Sb及び繰返し回数rは、対応する会員IDで特定される会員が、対応する企画IDで特定される企画のスタンプサービスを受けているときの現時点の段数Sa、スタンプ付与数Sb及び繰返し回数rである。 The current number of stages Sa, the number of stamps given Sb, and the number of repetitions r are the current number of stages Sa and stamping when the member specified by the corresponding member ID receives the stamp service of the project specified by the corresponding project ID. The number Sb and the number of repetitions r.

このような特典管理サーバ10は、クラウドコンピューティングとして各POS端末20にサービスを提供するように構成されている。 Such a privilege management server 10 is configured to provide a service to each POS terminal 20 as cloud computing.

図8乃至図10は、特典管理サーバ10のプロセッサ11が、制御プログラムに従って実行する情報処理の要部手順を示す流れ図である。また、図11は、企画設定装置70が備える表示デバイスに表示される企画設定画面SCaの一例を示す模式図である。以下、各図を用いて、特典管理サーバ10を含む特典管理システム100の主要な動作について説明する。なお、以下に説明する動作説明は一例である。同様な結果が得られるのであれば、その手順等は特に限定されるものではない。 8 to 10 are flow charts showing a main procedure of information processing executed by the processor 11 of the privilege management server 10 according to a control program. Further, FIG. 11 is a schematic diagram showing an example of the planning setting screen SCa displayed on the display device included in the planning setting device 70. Hereinafter, the main operations of the privilege management system 100 including the privilege management server 10 will be described with reference to each figure. The operation description described below is an example. As long as similar results can be obtained, the procedure and the like are not particularly limited.

始めに、企画設定装置70で企画設定業務が実施される際の特典管理システム100の動作について、図8の流れ図及び図11の模式図を用いて説明する。
企画設定業務は、新たなクーポンサービスの企画レコード41を企画データベース40に登録する業務である。企画設定業務を担当するオペレータは、企画設定装置70を起動する。そしてオペレータは、企画設定業務の開始を指示する。そうすると、企画設定装置70から特典管理サーバ10へと業務開始コマンドが送信される。第2通信インターフェース16を介して業務開始コマンドを受信した特典管理サーバ10のプロセッサ11は、図8の流れ図に示す手順の情報処理を開始する。
First, the operation of the privilege management system 100 when the planning setting work is executed by the planning setting device 70 will be described with reference to the flow chart of FIG. 8 and the schematic diagram of FIG.
The planning setting business is a business of registering a planning record 41 of a new coupon service in the planning database 40. The operator in charge of the planning and setting work activates the planning and setting device 70. Then, the operator instructs the start of the planning and setting work. Then, the business start command is transmitted from the planning setting device 70 to the privilege management server 10. The processor 11 of the privilege management server 10 that has received the business start command via the second communication interface 16 starts information processing of the procedure shown in the flow chart of FIG.

先ず、プロセッサ11は、ACT1として新規の企画IDを生成する。すなわちプロセッサ11は、企画データベース40に登録されている他の企画レコード41の企画IDと重複しない企画IDを生成する。そしてプロセッサ11は、ACT2としてこの新規の企画IDを含む企画設定画面SCaの画像データを企画設定装置70へと送信する。これにより、企画設定装置70の表示デバイスに企画設定画面SCaが表示される。 First, the processor 11 generates a new project ID as ACT1. That is, the processor 11 generates a plan ID that does not overlap with the plan ID of another plan record 41 registered in the plan database 40. Then, the processor 11 transmits the image data of the plan setting screen SCa including the new plan ID as ACT2 to the plan setting device 70. As a result, the planning setting screen SCa is displayed on the display device of the planning setting device 70.

図11は、企画設定画面SCaの一例を示す模式図である。図示するように企画設定画面SCaには、企画IDボックスARaと、実施期間の開始日ボックスARb及び終了日ボックスARcとがある。そして企画IDボックスARaには、新規の企画IDが表示されている。開始日ボックスARb及び終了日ボックスARcは、企画するクーポンサービスの開始日と終了日とを入力するための領域である。 FIG. 11 is a schematic view showing an example of the planning setting screen SCa. As shown in the figure, the plan setting screen SCa has a plan ID box ARa, a start date box ARb of the implementation period, and an end date box ARc. Then, a new project ID is displayed in the project ID box ARa. The start date box ARb and the end date box ARc are areas for inputting the start date and end date of the coupon service to be planned.

企画設定画面SCaには、プルダウンメニューボタンPDaがある。プルダウンメニューボタンPDaは、段数Nをプルダウンメニューとして表示する。プルダウンメニューボタンPDaにより段数Nが選択されると、企画設定画面SCaの一部に、その段数N分の第1設定領域101と第2設定領域102とが表示される。 The plan setting screen SCa has a pull-down menu button PDa. The pull-down menu button PDa displays the number of stages N as a pull-down menu. When the number of stages N is selected by the pull-down menu button PDa, the first setting area 101 and the second setting area 102 for the number of stages N are displayed on a part of the planning setting screen SCa.

第1設定領域101は、1段からN段までの段毎にスタンプ数及びクーポン情報を設定するための領域である。第1設定領域101は、プルダウンメニューボタンPDbと、プルダウンメニューボタンPDcと、値ボックスARdとを含む。プルダウンメニューボタンPDbは、スタンプ数Pをプルダウンメニューとして表示する。プルダウンメニューボタンPDcは、クーポンの種類をプルダウンメニューとして表示する。クーポンの種類には、「値引」、「割引」又は「金額」がある。クーポンの種類として他の項目が含まれていてもよい。値ボックスARdは、クーポンの種類が「値引」の場合には値引額を、「割引」の場合には割引率を、「金額」の場合には額面金額を入力するための領域である。 The first setting area 101 is an area for setting the number of stamps and coupon information for each stage from the first stage to the N stage. The first setting area 101 includes a pull-down menu button PDb, a pull-down menu button PDc, and a value box ARd. The pull-down menu button PDb displays the number of stamps P as a pull-down menu. The pull-down menu button PDc displays the coupon type as a pull-down menu. The types of coupons include "discount", "discount" or "amount". Other items may be included as the type of coupon. The value box ARd is an area for inputting a discount amount when the coupon type is "discount", a discount rate when the coupon type is "discount", and a par value amount when the coupon type is "amount".

第2設定領域102は、1段からN段までの段毎にスタンプの付与条件を設定するための領域である。第2設定領域102は、小計金額ボックスAReと、プルダウンメニューボタンPDd及びプルダウンメニューボタンPDeと、ラジオボタンRBaとを含む。小計金額ボックスAReは、付与条件の閾値となる小計金額を入力するための領域である。プルダウンメニューボタンPDdは、その閾値に対する付与条件の範囲項目をプルダウンメニューとして表示させるボタンである。範囲項目には、「以上」、「以下」、「未満」又は「超える」がある。プルダウンメニューボタンPDeは、「一致時に発行」又は「不一致時に発行」のオプション項目をプルダウンメニューとして表示させるボタンである。ラジオボタンRBaは、項目「消費税含む」に対応している。 The second setting area 102 is an area for setting stamping conditions for each of the 1st to Nth stages. The second setting area 102 includes a subtotal amount box ARE, a pull-down menu button PDd, a pull-down menu button PDe, and a radio button RBa. The subtotal amount box ARE is an area for inputting the subtotal amount that is the threshold value of the grant condition. The pull-down menu button PDd is a button for displaying the range items of the granting conditions for the threshold value as a pull-down menu. Range items include "greater than or equal to", "less than or equal to", "less than" or "exceeded". The pull-down menu button PDe is a button for displaying the option items of "issue when matching" or "issue when not matching" as a pull-down menu. The radio button RBa corresponds to the item "including consumption tax".

企画設定画面SCaには、プルダウンメニューボタンPDfがある。プルダウンメニューボタンPDfは、“0”から無限大までの繰返し制限回数Rをプルダウンメニューとして表示する。 The plan setting screen SCa has a pull-down menu button PDFf. The pull-down menu button PDFf displays the repetition limit number R from “0” to infinity as a pull-down menu.

企画設定画面SCaには、実行ボタンTBaがある。実行ボタンTBaは、企画設定画面SCaに入力された情報に基づく企画レコード41の登録実行を指令するためのタッチボタンである。 The plan setting screen SCa has an execution button TBa. The execution button TBa is a touch button for instructing the registration execution of the planning record 41 based on the information input to the planning setting screen SCa.

企画設定画面SCaを確認したオペレータは、開始日ボックスARb及び終了日ボックスARcに、新規企画の実施期間開始日及び終了日を入力する。またオペレータは、プルダウンメニューボタンPDaを操作して特典の段数Nを選択する。 The operator who confirms the plan setting screen SCa inputs the start date and end date of the implementation period of the new plan in the start date box ARb and the end date box ARc. In addition, the operator operates the pull-down menu button PDa to select the number of privilege stages N.

例えば、段数Nが“3”で、各段のスタンプ数Pがそれぞれ“3”、“4”、“5”のスタンプサービスが企画されたとする。この場合、オペレータは、プルダウンメニューボタンPDaを操作して、段数“3”を選択する。そうすると、企画設定画面SCaに、1段目から3段目までの第1設定領域101と第2設定領域102とが表示される。オペレータは、第1設定領域101に対し、段毎に、スタンプ数P及び種別を選択し、値ボックスARdに値を入力する。またオペレータは、第2設定領域102に対し、段毎にスタンプ付与条件を入力する。 For example, suppose that a stamp service is planned in which the number of stages N is "3" and the number of stamps P of each stage is "3", "4", and "5", respectively. In this case, the operator operates the pull-down menu button PDa to select the number of stages "3". Then, the first setting area 101 and the second setting area 102 from the first stage to the third stage are displayed on the planning setting screen SCa. The operator selects the number of stamps P and the type for each stage in the first setting area 101, and inputs a value in the value box ARd. Further, the operator inputs the stamping condition for each stage in the second setting area 102.

ここで、1段目のスタンプ付与条件が、消費税を含む小計金額が1000円以上の場合にスタンプを付与するという条件であり、この条件下で3個のスタンプを貯めた客には額面金額100円の金額クーポンを供与する場合を考える。この場合、オペレータは、第1設定領域101の1段目に対して以下の操作を行う。すなわちオペレータは、プルダウンメニューボタンPDbで“3”を選択する。オペレータは、プルダウンメニューボタンPDcで項目「金額」を選択する。オペレータは、値ボックスARdに“100”を入力する。 Here, the first-stage stamping condition is that a stamp is given when the subtotal amount including consumption tax is 1000 yen or more, and the face value is given to customers who have accumulated three stamps under this condition. Consider the case of providing a 100 yen amount coupon. In this case, the operator performs the following operations on the first stage of the first setting area 101. That is, the operator selects "3" with the pull-down menu button PDb. The operator selects the item "amount" with the pull-down menu button PDc. The operator enters "100" in the value box ARd.

またオペレータは、第2設定領域102の1段目に対して以下の操作を行う。すなわちオペレータは、小計金額ボックスAReに“1000”を入力する。オペレータは、プルダウンメニューボタンPDdで項目「以上」を選択し、プルダウンメニューボタンPDeで項目「一致時に発行」を選択する。またオペレータは、ラジオボタンRBaを入力する。なお、オペレータは、プルダウンメニューボタンPDdで項目「未満」を選択し、プルダウンメニューボタンPDeで項目「不一致時に発行」を選択してもよい。 Further, the operator performs the following operations on the first stage of the second setting area 102. That is, the operator inputs "1000" in the subtotal amount box ARE. The operator selects the item "greater than or equal to" with the pull-down menu button PDd, and selects the item "issue when matching" with the pull-down menu button PDe. The operator also inputs the radio button RBa. The operator may select the item "less than" with the pull-down menu button PDd and select the item "issue when there is a mismatch" with the pull-down menu button PDe.

次いで、2段目のスタンプ付与条件が、消費税を含む小計金額が2000円以上の場合にスタンプを付与するという条件であり、この条件下で4個のスタンプを貯めた客には値引額500円の値引クーポンを供与する場合を考える。この場合、オペレータは、第1設定領域101の2段目に対して以下の操作を行う。すなわちオペレータは、プルダウンメニューボタンPDbで“4”を選択する。オペレータは、プルダウンメニューボタンPDcで項目「値引」を選択する。オペレータは、値ボックスARdに“500”を入力する。 Next, the second-stage stamping condition is that a stamp is given when the subtotal amount including consumption tax is 2000 yen or more, and a discount amount of 500 is given to customers who have accumulated 4 stamps under this condition. Consider the case of providing a yen discount coupon. In this case, the operator performs the following operations on the second stage of the first setting area 101. That is, the operator selects "4" with the pull-down menu button PDb. The operator selects the item "discount" with the pull-down menu button PDc. The operator enters "500" in the value box ARd.

またオペレータは、第2設定領域102の2段目に対して以下の操作を行う。すなわちオペレータは、小計金額ボックスAReに“2000”を入力する。オペレータは、プルダウンメニューボタンPDdで項目「以上」を選択し、プルダウンメニューボタンPDeで項目「一致時に発行」を選択する。またオペレータは、ラジオボタンRBaを入力する。なお、オペレータは、プルダウンメニューボタンPDdで項目「未満」を選択し、プルダウンメニューボタンPDeで項目「不一致時に発行」を選択してもよい。 Further, the operator performs the following operations on the second stage of the second setting area 102. That is, the operator inputs "2000" in the subtotal amount box ARE. The operator selects the item "greater than or equal to" with the pull-down menu button PDd, and selects the item "issue when matching" with the pull-down menu button PDe. The operator also inputs the radio button RBa. The operator may select the item "less than" with the pull-down menu button PDd and select the item "issue when there is a mismatch" with the pull-down menu button PDe.

次いで、3段目のスタンプ付与条件が、消費税を含まない小計金額が2000円を超える場合にスタンプを付与するという条件であり、この条件下で5個のスタンプを貯めた客には割引率20%の割引クーポンを供与する場合を考える。この場合、オペレータは、第1設定領域101の3段目に対して以下の操作を行う。すなわちオペレータは、プルダウンメニューボタンPDbで“5”を選択する。オペレータは、プルダウンメニューボタンPDcで項目「割引」を選択する。オペレータは、値ボックスARdに“20”を入力する。 Next, the third stage stamping condition is that a stamp is given when the subtotal amount excluding consumption tax exceeds 2000 yen, and the discount rate is given to customers who have accumulated 5 stamps under this condition. Consider the case of providing a 20% discount coupon. In this case, the operator performs the following operations on the third stage of the first setting area 101. That is, the operator selects "5" with the pull-down menu button PDb. The operator selects the item "discount" with the pull-down menu button PDc. The operator enters "20" in the value box ARd.

またオペレータは、第2設定領域102の3段目に対して以下の操作を行う。すなわちオペレータは、小計金額ボックスAReに“2000”を入力する。オペレータは、プルダウンメニューボタンPDdで項目「超える」を選択し、プルダウンメニューボタンPDeで項目「一致時に発行」を選択する。オペレータは、ラジオボタンRBaを入力しない。なお、オペレータは、プルダウンメニューボタンPDdで項目「以下」を選択し、プルダウンメニューボタンPDeで項目「不一致時に発行」を選択してもよい。 Further, the operator performs the following operations on the third stage of the second setting area 102. That is, the operator inputs "2000" in the subtotal amount box ARE. The operator selects the item "exceed" with the pull-down menu button PDd, and selects the item "issue when matching" with the pull-down menu button PDe. The operator does not press the radio button RBa. The operator may select the item "below" with the pull-down menu button PDd and select the item "issue when there is a mismatch" with the pull-down menu button PDe.

以上の操作を終えると、オペレータは、実行ボタンTBaをタッチする。そうすると、企画設定装置70から特典管理サーバ10に企画設定コマンドが送信される。企画設定コマンドには、企画設定画面SCaに表示されている情報が含まれる。以下では、この情報を企画情報と称する。 After completing the above operations, the operator touches the execution button TBa. Then, the planning setting command is transmitted from the planning setting device 70 to the privilege management server 10. The plan setting command includes the information displayed on the plan setting screen SCa. Hereinafter, this information will be referred to as planning information.

図8の説明に戻る。
企画設定画面SCaの送信を制御したプロセッサ11は、ACT3として企画設定コマンドを待ち受ける。そして、第2通信インターフェース16を介して企画設定コマンドを受信すると、プロセッサ11は、ACT3においてYESと判定し、ACT4へと進む。プロセッサ11は、ACT4としてその企画設定コマンドに含まれている企画情報をメインメモリ12の揮発性メモリ領域に記憶する。
Returning to the description of FIG.
The processor 11 that controls the transmission of the plan setting screen SCa waits for the plan setting command as ACT3. Then, when the plan setting command is received via the second communication interface 16, the processor 11 determines YES in ACT3 and proceeds to ACT4. The processor 11 stores the planning information included in the planning setting command as the ACT 4 in the volatile memory area of the main memory 12.

プロセッサ11は、ACT5として段数カウンタnを“0”にリセットする。段数カウンタnは、メインメモリ12の揮発性メモリ領域に形成されている。プロセッサ11は、ACT6として段数カウンタnを“1”だけカウントアップする。そしてプロセッサ11は、ACT7として段数カウンタnが特典の段数Nを超えたか否かを確認する。 The processor 11 resets the stage number counter n to “0” as ACT5. The stage number counter n is formed in the volatile memory area of the main memory 12. The processor 11 counts up the number of stages counter n by "1" as ACT6. Then, the processor 11 confirms whether or not the number of stages counter n exceeds the number of privilege stages N as ACT7.

段数カウンタnが段数Nを超えていない場合、プロセッサ11は、ACT7においてNOと判定し、ACT8へと進む。プロセッサ11は、ACT8として企画情報から段数nの情報を取得する。この情報には、段数nのスタンプ数P、クーポンの種類、クーポンの値、スタンプ付与条件が含まれる。 If the number of stages counter n does not exceed the number of stages N, the processor 11 determines NO in ACT7 and proceeds to ACT8. The processor 11 acquires information of the number of stages n from the planning information as ACT8. This information includes the number of stamps P in the number of stages n, the type of coupon, the value of the coupon, and the stamping condition.

プロセッサ11は、ACT9としてスタンプ数カウンタpを“0”にリセットする。スタンプ数カウンタpは、メインメモリ12の揮発性メモリ領域に形成されている。プロセッサ11は、ACT10としてスタンプ数カウンタpを“1”だけカウントアップする。そしてプロセッサ11は、ACT11としてスタンプ数カウンタpが段数nのスタンプ数Pを超えたか否かを確認する。 The processor 11 resets the stamp number counter p to “0” as ACT9. The stamp number counter p is formed in the volatile memory area of the main memory 12. The processor 11 counts up the stamp number counter p by "1" as the ACT 10. Then, the processor 11 confirms whether or not the stamp number counter p exceeds the stamp number P of the number of stages n as the ACT 11.

スタンプ数カウンタpがスタンプ数Pを超えていない場合、プロセッサ11は、ACT11においてNOと判定し、ACT12へと進む。プロセッサ11は、ACT12として段数nの情報から、前述した手法により、スタンプ画像レコード511の種別コードを認識する。プロセッサ11は、ACT13として画像データベース50を検索して、当該種別コードが記憶されているスタンプ画像レコード511の画像IDを取得する。すなわち、n段目のスタンプ付与数がpのスタンプシートの画像データを含むスタンプ画像レコード511の画像IDを取得する。 If the stamp number counter p does not exceed the stamp number P, the processor 11 determines NO in the ACT 11 and proceeds to the ACT 12. The processor 11 recognizes the type code of the stamp image record 511 from the information of the number of stages n as the ACT 12 by the method described above. The processor 11 searches the image database 50 as the ACT 13 and acquires the image ID of the stamp image record 511 in which the type code is stored. That is, the image ID of the stamp image record 511 including the image data of the stamp sheet in which the number of stamps given in the nth stage is p is acquired.

プロセッサ11は、ACT12及びACT13の処理を終えると、ACT10へと戻る。そしてプロセッサ11は、スタンプ数カウンタpが段数nのスタンプ数Pを超えるまで、ACT10以降の処理を繰返し実行する。すなわちプロセッサ11は、n段目のスタンプ付与数が1個ずつ増加するスタンプシートの画像データを含むスタンプ画像レコード511の画像IDを順次取得する。 When the processor 11 finishes the processing of the ACT 12 and the ACT 13, the processor 11 returns to the ACT 10. Then, the processor 11 repeatedly executes the processing after ACT10 until the number of stamps counter p exceeds the number of stamps P of the number of stages n. That is, the processor 11 sequentially acquires the image ID of the stamp image record 511 including the image data of the stamp sheet in which the number of stamps given in the nth stage is increased by one.

プロセッサ11は、スタンプ数カウンタpが段数nのスタンプ数Pを超えると、ACT11においてYESと判定し、ACT14へと進む。プロセッサ11は、ACT14として段数nの情報から、前述した手法により、クーポン画像レコード512の種別コードを認識する。プロセッサ11は、ACT15として画像データベース50を検索して、当該種別コードが記憶されているクーポン画像レコード512の画像IDを取得する。すなわち、n段目のスタンプ付与数がスタンプ数Pに達した場合に供与されるクーポンの画像データを含むクーポン画像レコード512の画像IDを取得する。 When the number of stamps counter p exceeds the number of stamps P of the number of stages n, the processor 11 determines YES in ACT 11 and proceeds to ACT 14. The processor 11 recognizes the type code of the coupon image record 512 by the method described above from the information of the number of stages n as the ACT 14. The processor 11 searches the image database 50 as the ACT 15 and acquires the image ID of the coupon image record 512 in which the type code is stored. That is, the image ID of the coupon image record 512 including the image data of the coupon provided when the number of stamps given in the nth stage reaches the number of stamps P is acquired.

プロセッサ11は、ACT16として特典構造データを生成する。この場合、特典構造データの段数は、段数カウンタnのカウント値である。スタンプ数Pは、企画情報におけるn段目のスタンプ数である。スタンプ付与条件は、企画情報におけるn段目のスタンプ付与条件である。スタンプ画像IDは、ACT13の処理で取得した画像IDである。クーポン画像IDは、ACT15の処理で取得した画像IDである。 The processor 11 generates privilege structure data as ACT 16. In this case, the number of stages of the privilege structure data is the count value of the stage number counter n. The number of stamps P is the number of stamps in the nth stage in the planning information. The stamping condition is the nth stage stamping condition in the planning information. The stamp image ID is an image ID acquired by the processing of ACT 13. The coupon image ID is an image ID acquired in the process of ACT15.

プロセッサ11は、ACT16の処理を終えると、ACT5へと戻る。そしてプロセッサ11は、段数カウンタnが段数Nを超えるまで、ACT5以降の処理を繰返し実行する。その結果、特典管理サーバ10においては、1段目からN段目までの段毎に特典構造データが生成される。 When the processor 11 finishes the processing of the ACT 16, the processor 11 returns to the ACT 5. Then, the processor 11 repeatedly executes the processing after ACT5 until the number of stages counter n exceeds the number of stages N. As a result, in the privilege management server 10, privilege structure data is generated for each stage from the first stage to the Nth stage.

プロセッサ11は、段数カウンタnが段数Nを超えると、ACT7においてYESと判定し、ACT17へと進む。プロセッサ11は、ACT17として企画情報から実施期間を取得する。またプロセッサ11は、ACT18として企画情報から繰返し制限回数Rを取得する。そしてプロセッサ11は、ACT19として企画レコード41を生成する。この場合、企画IDは、ACT1の処理で生成された企画IDである。実施期間は、ACT17の処理で取得した実施期間である。状態フラグFaは、無効を表す値“0”とする。段数Nは、企画情報から取得した特典の段数Nである。段毎の特典構造データは、ACT16の処理で生成された特典構造データである。繰返し制限回数Rは、ACT18の処理で取得した繰返し制限回数Rである。 When the number of stages counter n exceeds the number of stages N, the processor 11 determines YES in ACT7 and proceeds to ACT17. The processor 11 acquires the implementation period from the planning information as ACT17. Further, the processor 11 acquires the repetition limit number R from the planning information as the ACT 18. Then, the processor 11 generates the planning record 41 as the ACT 19. In this case, the planning ID is the planning ID generated by the processing of ACT1. The implementation period is the implementation period acquired by the processing of ACT17. The state flag Fa is set to a value “0” indicating invalidity. The number of stages N is the number of stages N of the privilege obtained from the planning information. The privilege structure data for each stage is the privilege structure data generated by the processing of ACT16. The repetition limit number R is the repetition limit number R acquired in the process of ACT18.

企画レコード41を生成したプロセッサ11は、ACT20へと進む。プロセッサ11は、ACT20としてその企画レコード41を企画データベース40に登録する。以上で、プロセッサ11は、図8の流れ図に示す手順の情報処理を終了する。 The processor 11 that generated the planning record 41 proceeds to the ACT 20. The processor 11 registers the planning record 41 in the planning database 40 as the ACT 20. With the above, the processor 11 ends the information processing of the procedure shown in the flow chart of FIG.

制御プログラムに従い上述した情報処理を実行するプロセッサ11は、段数取得手段、スタンプ数取得手段、条件取得手段、特典情報取得手段、繰返し判定取得手段及び登録手段として機能する。すなわちプロセッサ11は、企画設定画面SCaに入力されたデータから、クーポンが供与される特典の段数Nを取得する(段数取得手段)。プロセッサ11は、同データから、段数Nの段毎に、特典供与までのスタンプ数Pを取得する(スタンプ数取得手段)。プロセッサ11は、同データから、段数Nの段毎に、スタンプ付与条件を取得する(条件取得手段)。プロセッサ11は、同データから、特典供与までのスタンプ数のスタンプを付与した場合に供与する特典情報を取得する(特典情報取得手段)。特典情報は、クーポン画像レコード512の画像IDである。プロセッサ11は、同データから、段数Nの最終段において特典供与までのスタンプ数Pのスタンプを付与した場合に、初段からスタンプ付与を繰り返すか否かを判定する情報を取得する(繰返し判定取得手段)。情報は、繰返し制限回数Rである。 The processor 11 that executes the above-mentioned information processing according to the control program functions as a stage number acquisition means, a stamp number acquisition means, a condition acquisition means, a privilege information acquisition means, a repetition determination acquisition means, and a registration means. That is, the processor 11 acquires the number of stages N of the privilege to which the coupon is provided from the data input to the planning setting screen SCa (stage number acquisition means). From the same data, the processor 11 acquires the number of stamps P up to the provision of the privilege for each stage of the number of stages N (stamp number acquisition means). The processor 11 acquires a stamping condition from the same data for each stage having the number of stages N (condition acquisition means). The processor 11 acquires the privilege information to be provided when the stamps of the number of stamps up to the privilege provision are given from the same data (privilege information acquisition means). The privilege information is the image ID of the coupon image record 512. From the same data, the processor 11 acquires information for determining whether or not to repeat the stamping from the first stage when the stamp of the number of stamps P up to the privilege is provided is given in the final stage of the number of stages N (repetition determination acquisition means). ). The information is the repeat limit number R.

しかしてプロセッサ11は、特典の段数Nと関連付けて、当該段数Nの段毎に取得した特典供与までのスタンプ数P及びスタンプ付与条件とを記憶部に登録する。記憶部は、企画データベース40である。またプロセッサ11は、特典の段数Nと関連付けて、さらに当該段数Nの段毎に取得した特典情報を登録する。またプロセッサ11は、特典の段数Nと関連付けて、さらに初段からスタンプ付与を繰り返すか否かを判定する情報を登録する(登録手段)。 Then, the processor 11 registers in the storage unit the number of stamps P up to the privilege provision acquired for each stage of the privilege number N and the stamp giving condition in association with the number of stages N of the privilege. The storage unit is the planning database 40. Further, the processor 11 further registers the privilege information acquired for each stage of the number N in association with the number of stages N of the privilege. Further, the processor 11 registers information for determining whether or not to repeat stamping from the first stage in association with the number of stages N of the privilege (registration means).

またプロセッサ11は、表示制御手段としての機能も有する。すなわちプロセッサ11は、特典の段数Nを入力するための領域と、段数Nの段毎に特典供与までのスタンプ数Pを入力するための領域と、段数Nの段毎にスタンプ付与条件を入力するための領域と、を有する企画設定画面SCaを企画設定装置70の表示デバイスに表示させる。またプロセッサ11は、段数Nの段毎に特典情報を入力するための領域と、初段からスタンプ付与を繰り返すか否かを判定する情報を入力するための領域とをさらに有する企画設定画面SCaを企画設定装置70の表示デバイスに表示させる。 The processor 11 also has a function as a display control means. That is, the processor 11 inputs an area for inputting the number of stages N of the privilege, an area for inputting the number of stamps P up to the privilege provision for each stage of the number of stages N, and a stamping condition for each stage of the number of stages N. The planning setting screen SCa having the area for the purpose is displayed on the display device of the planning setting device 70. Further, the processor 11 plans a plan setting screen SCa further having an area for inputting privilege information for each stage having the number of stages N and an area for inputting information for determining whether or not to repeat stamping from the first stage. It is displayed on the display device of the setting device 70.

次に、POS端末20から商取引データを受信した際のプロセッサ11の動作について、図9及び図10の流れ図を用いて説明する。なお、商取引データには、少なくともその商取引で登録処理された商品の商品ID、販売点数及び販売金額と、商取引の小計金額とが含まれている。また、商取引対象である客の会員IDも商取引データに含まれている。 Next, the operation of the processor 11 when the commercial transaction data is received from the POS terminal 20 will be described with reference to the flow charts of FIGS. 9 and 10. The commercial transaction data includes at least the product ID, the number of points sold, and the sales amount of the product registered and processed in the commercial transaction, and the subtotal amount of the commercial transaction. In addition, the member ID of the customer who is the target of the commercial transaction is also included in the commercial transaction data.

プロセッサ11は、商取引データを受信すると、図9のACT21として企画データベース40から企画レコード41を取得する。プロセッサ11は、ACT22としてその企画レコード41の状態フラグFaを調べる。現在日付が実施期間中である企画レコード41の状態フラグFaは、有効を表す値“1”となっている。現在日付が実施期間外である企画レコード41の状態フラグFaは、無効を表す値“0”となっている。 Upon receiving the commercial transaction data, the processor 11 acquires the planning record 41 from the planning database 40 as the ACT 21 of FIG. The processor 11 examines the state flag Fa of the planning record 41 as the ACT 22. The status flag Fa of the planning record 41 whose current date is in the implementation period is a value “1” indicating validity. The status flag Fa of the planning record 41 whose current date is outside the implementation period is a value “0” indicating invalidity.

状態フラグFaが“0”の場合、すなわち無効な企画レコード41を取得した場合には、プロセッサ11は、ACT22においてNOと判定し、図10のACT53へと進む。ACT53以降の処理については、後述する。 When the state flag Fa is "0", that is, when an invalid planning record 41 is acquired, the processor 11 determines NO in the ACT 22 and proceeds to the ACT 53 in FIG. The processing after ACT53 will be described later.

状態フラグFaが“1”の場合、すなわち有効な企画レコードを取得した場合には、プロセッサ11は、ACT22においてYESと判定し、ACT23へと進む。プロセッサ11は、ACT23として企画レコードから企画IDを取得する。またプロセッサ11は、ACT24として商取引データから会員IDを取得する。そしてプロセッサ11は、ACT25として管理テーブル131を検索して、当該会員IDと企画IDとを対にした管理データが存在するか否かを確認する。 When the state flag Fa is "1", that is, when a valid planning record is acquired, the processor 11 determines YES in the ACT 22 and proceeds to the ACT 23. The processor 11 acquires the project ID from the project record as the ACT 23. Further, the processor 11 acquires the member ID from the commercial transaction data as the ACT 24. Then, the processor 11 searches the management table 131 as the ACT 25, and confirms whether or not there is management data in which the member ID and the planning ID are paired.

管理テーブル131に該当する管理データが存在しない場合、プロセッサ11は、ACT25においてNOと判定し、ACT26へと進む。プロセッサ11は、ACT26として管理テーブル131に当該会員IDと企画IDとを対にした管理データを追加する。このときプロセッサ11は、その管理データの現段数Saを“1”、スタンプ付与数Sbを“0”、繰返し回数rを“0”とする。管理データを追加し終えると、プロセッサ11は、ACT27として第1レジスタSxに“1”をセットし、第2レジスタSyに“0”をセットする。第1レジスタSx及び第2レジスタSyは、メインメモリ12の揮発性メモリ領域に備えられている。 If the management data corresponding to the management table 131 does not exist, the processor 11 determines NO in the ACT 25 and proceeds to the ACT 26. The processor 11 adds the management data of the member ID and the planning ID as a pair to the management table 131 as the ACT 26. At this time, the processor 11 sets the current stage number Sa of the management data to "1", the stamping number Sb to "0", and the repetition number r to "0". When the management data has been added, the processor 11 sets "1" in the first register Sx and "0" in the second register Sy as the ACT 27. The first register Sx and the second register Sy are provided in the volatile memory area of the main memory 12.

管理テーブル131に該当する管理データが存在する場合には、プロセッサ11は、ACT25においてYESと判定し、ACT28へと進む。プロセッサ11は、ACT28として当該管理データから現段数Sa、スタンプ付与数Sb及び繰返し回数rを取得する。プロセッサ11は、ACT29として繰返し回数rが企画レコード41の繰返し制限回数R以下であるか否かを確認する。繰返し回数rが繰返し制限回数Rを超えている場合、プロセッサ11は、ACT29においてNOと判定し、図10のACT53へと進む。 When the management data corresponding to the management table 131 exists, the processor 11 determines YES in the ACT 25 and proceeds to the ACT 28. As the ACT 28, the processor 11 acquires the current stage number Sa, the stamping number Sb, and the repetition number r from the management data. The processor 11 confirms whether or not the number of repetitions r is equal to or less than the number of repetitions R of the planning record 41 as the ACT 29. When the number of repetitions r exceeds the number of repetitions R, the processor 11 determines NO in the ACT 29 and proceeds to the ACT 53 of FIG.

繰返し回数rが繰返し制限回数R以下である場合には、プロセッサ11は、ACT29においてYESと判定し、ACT30へと進む。プロセッサ11は、ACT30として、第1レジスタSxに現段数Saをセットし、第2レジスタSyにスタンプ付与数Sbをセットする。 When the number of repetitions r is equal to or less than the number of repetitions R, the processor 11 determines YES in the ACT 29 and proceeds to the ACT 30. As the ACT 30, the processor 11 sets the current stage number Sa in the first register Sx and sets the stamping number Sb in the second register Sy.

プロセッサ11は、ACT27又はACT30の処理を終えると、ACT31へと進む。なお、以下では、企画IDと会員IDとが一致した管理データ又はACT26において追加された管理データを対象管理データと称する。プロセッサ11は、ACT31として企画レコード41から、第1レジスタSxの値を段数とする特典構造データのスタンプ付与条件を取得する。そしてプロセッサ11は、ACT32として商取引データがスタンプ付与条件を満足するか否かを確認する。 When the processor 11 finishes the processing of the ACT 27 or the ACT 30, the processor 11 proceeds to the ACT 31. In the following, the management data in which the planning ID and the member ID match or the management data added in the ACT 26 will be referred to as the target management data. As the ACT 31, the processor 11 acquires the stamping condition of the privilege structure data having the value of the first register Sx as the number of stages from the planning record 41. Then, the processor 11 confirms whether or not the commercial transaction data satisfies the stamping condition as ACT32.

商取引データがスタンプ付与条件を満足しない場合、プロセッサ11は、ACT32においてNOと判定し、図10のACT53へと進む。
商取引データがスタンプ付与条件を満足する場合には、プロセッサ11は、ACT32においてYESと判定し、図10のACT41へと進む。プロセッサ11は、ACT41として第2レジスタSyの値を“1”だけ増加する。そしてプロセッサ11は、ACT42として対象管理データのスタンプ付与数Sbを第2レジスタSyの値に更新する。またプロセッサ11は、ACT43として第1レジスタSxの値を段数とする特典構造データから、スタンプ付与数Sbのスタンプ画像IDを取得する。そしてプロセッサ11は、そのスタンプ画像IDと関連付けられたスタンプ画像レコード511を画像データベース50から取得し、そのレコード511の画像データを画像メモリに記憶する。画像メモリは、メインメモリ12の揮発性メモリ領域に形成されている。画像データは、スタンプシートの画像データである。
If the commercial transaction data does not satisfy the stamping condition, the processor 11 determines NO in the ACT 32 and proceeds to the ACT 53 in FIG.
When the commercial transaction data satisfies the stamping condition, the processor 11 determines YES in the ACT 32 and proceeds to the ACT 41 in FIG. The processor 11 increases the value of the second register Sy by "1" as the ACT 41. Then, the processor 11 updates the stamped number Sb of the target management data to the value of the second register Sy as the ACT 42. Further, the processor 11 acquires the stamp image ID of the number of stamps given Sb from the privilege structure data in which the value of the first register Sx is the number of stages as the ACT 43. Then, the processor 11 acquires the stamp image record 511 associated with the stamp image ID from the image database 50, and stores the image data of the record 511 in the image memory. The image memory is formed in the volatile memory area of the main memory 12. The image data is the image data of the stamp sheet.

プロセッサ11は、ACT45として第2レジスタSyの値が企画レコード41のスタンプ数Pに達したか否かを確認する。第2レジスタSyの値がスタンプ数Pに達していない場合、プロセッサ11は、ACT45においてNOと判定し、ACT53へと進む。 The processor 11 confirms whether or not the value of the second register Sy reaches the number of stamps P of the planning record 41 as the ACT 45. If the value of the second register Sy has not reached the number of stamps P, the processor 11 determines NO in the ACT 45 and proceeds to the ACT 53.

第2レジスタSyの値がスタンプ数Pに達した場合には、プロセッサ11は、ACT45においてYESと判定し、ACT46へと進む。プロセッサ11は、ACT46として第1レジスタSxの値を段数とする特典構造データからクーポン画像IDを取得する。そしてプロセッサ11は、そのクーポン画像と関連付けられたクーポン画像レコード512を画像データベース50から取得し、そのレコード512画像メモリに記憶する。画像データは、クーポンの画像データである。 When the value of the second register Sy reaches the number of stamps P, the processor 11 determines YES in the ACT 45 and proceeds to the ACT 46. The processor 11 acquires the coupon image ID from the privilege structure data having the value of the first register Sx as the number of stages as the ACT 46. Then, the processor 11 acquires the coupon image record 512 associated with the coupon image from the image database 50 and stores it in the record 512 image memory. The image data is the image data of the coupon.

プロセッサ11は、ACT48として第1レジスタSxの値を“1”だけ増加する。そしてプロセッサ11は、ACT49として対象管理データの現段数Saを第1レジスタSxの値に変更し、スタンプ付与数Sbを“0”にする。 The processor 11 increases the value of the first register Sx by "1" as the ACT 48. Then, the processor 11 changes the current stage number Sa of the target management data to the value of the first register Sx as the ACT 49, and sets the stamping number Sb to “0”.

プロセッサ11は、ACT50として第1レジスタSxの値が段数Nを超えたか否かを確認する。第1レジスタSxの値が段数Nを超えていない場合、プロセッサ11は、ACT50においてNOと判定し、ACT53へと進む。 The processor 11 confirms whether or not the value of the first register Sx exceeds the number of stages N as the ACT 50. If the value of the first register Sx does not exceed the number of stages N, the processor 11 determines NO in the ACT 50 and proceeds to the ACT 53.

第1レジスタSxの値が段数Nを超えた場合には、プロセッサ11は、ACT50においてYESと判定し、ACT51へと進む。プロセッサ11は、ACT51として対象管理データの繰返し数rを“1”だけ増加する。また、プロセッサ11は、ACT52として対象管理データの現段数Saを“1”とする。 When the value of the first register Sx exceeds the number of stages N, the processor 11 determines YES in the ACT 50 and proceeds to the ACT 51. The processor 11 increases the number of repetitions r of the target management data by "1" as the ACT 51. Further, the processor 11 sets the current stage number Sa of the target management data as “1” as the ACT 52.

プロセッサ11は、ACT51及びACT52の処理を終えると、ACT53へと進む。また、前述したようにプロセッサ11は、ACT22、ACT29、ACT32、ACT45及びACT50の処理においてNOと判定した場合も、ACT53へと進む。プロセッサ11は、ACT53として企画データベース40に次の企画レコード41が存在するか否かを確認する。次の企画レコード41が存在する場合、プロセッサ11は、ACT53においてYESと判定し、図9のACT21へと戻る。そしてプロセッサ11は、ACT21以降の処理を前述したのと同様に実行する。 When the processor 11 finishes the processing of the ACT 51 and the ACT 52, the processor 11 proceeds to the ACT 53. Further, as described above, when the processor 11 determines NO in the processing of ACT22, ACT29, ACT32, ACT45 and ACT50, the processor 11 proceeds to ACT53. The processor 11 confirms whether or not the next planning record 41 exists in the planning database 40 as the ACT 53. When the next planning record 41 exists, the processor 11 determines YES in the ACT 53 and returns to the ACT 21 of FIG. Then, the processor 11 executes the processing after ACT 21 in the same manner as described above.

こうして、プロセッサ11は、企画データベース40に登録されている全ての企画レコード41についてACT21以降の処理を実行する。そしてプロセッサ11は、企画データベース40に次の企画レコード41が存在しないことを確認すると、ACT53においてNOと判定し、ACT54へと進む。プロセッサ11は、ACT54として画像メモリに記憶した画像データを、商取引データ送信元のPOS端末20へと送信する。以上で、プロセッサ11は、図9及び図10の流れ図に示す手順の情報処理を終了する。 In this way, the processor 11 executes the processing after ACT21 for all the planning records 41 registered in the planning database 40. Then, when the processor 11 confirms that the next planning record 41 does not exist in the planning database 40, the processor 11 determines NO in the ACT 53 and proceeds to the ACT 54. The processor 11 transmits the image data stored in the image memory as the ACT 54 to the POS terminal 20 of the commercial transaction data transmission source. With the above, the processor 11 ends the information processing of the procedure shown in the flow charts of FIGS. 9 and 10.

因みに、商取引データを送信したPOS端末20は、特典管理サーバ10から画像データを受信すると、その画像データを基に、スタンプシート又はクーポンを選択的に発行する。スタンプシート及びクーポンは、レシートとともに紙媒体に印刷されて発行される。スタンプシート及びクーポンは、レシートとは別体として発行されてもよいし、レシートと一体となって発行されてもよい。スタンプシート及びクーポンは、その画像データが例えば客が所有するスマートフォンにダウンロードされて、電子媒体として発行されてもよい。 Incidentally, when the POS terminal 20 that has transmitted the commercial transaction data receives the image data from the privilege management server 10, it selectively issues a stamp sheet or a coupon based on the image data. Stamp sheets and coupons are printed and issued on paper together with receipts. The stamp sheet and the coupon may be issued separately from the receipt, or may be issued together with the receipt. The image data of the stamp sheet and the coupon may be downloaded to, for example, a smartphone owned by the customer and issued as an electronic medium.

制御プログラムに従い上述した情報処理を実行するプロセッサ11は、処理手段として機能する。すなわちプロセッサ11は、記憶部(画像メモリ)に記憶された情報を基に、スタンプ付与条件を満足する毎にスタンプを付与したスタンプシートの画像データをPOS端末20へと送信する。そして、その付与したスタンプ数が当該段階の特典供与までのスタンプ数に達したならば当該段階の特典であるクーポンを供与するために、クーポンの画像データをPOS端末20へと送信する。 The processor 11 that executes the above-mentioned information processing according to the control program functions as a processing means. That is, based on the information stored in the storage unit (image memory), the processor 11 transmits the image data of the stamp sheet to which the stamp is added every time the stamping condition is satisfied to the POS terminal 20. Then, when the number of stamps given reaches the number of stamps up to the privilege provision at the stage, the image data of the coupon is transmitted to the POS terminal 20 in order to provide the coupon which is the privilege at the stage.

以上の如く動作する特典管理サーバ10を備えた特典管理システム100であれば、スタンプを貯めることで供与される特典が段階的に変化するスタンプサービスを容易に実現することができる。 If the privilege management system 100 is provided with the privilege management server 10 that operates as described above, it is possible to easily realize a stamp service in which the privilege provided by accumulating stamps changes stepwise.

詳細には、段毎に特典供与までのスタンプ数が異なり、スタンプ付与条件も異なるスタンプサービスを容易に実現することができる。また、特典供与までのスタンプ数のスタンプを付与した場合に供与する特典情報も段毎に変更できるスタンプサービスを容易に実現することができる。さらに、段数の最終段において特典供与までのスタンプ数のスタンプを付与した場合に、初段からスタンプ付与を繰り返すか否かについても設定できるスタンプサービスを容易に実現することができる。 In detail, it is possible to easily realize a stamp service in which the number of stamps until the privilege is provided is different for each stage and the stamping conditions are also different. In addition, it is possible to easily realize a stamp service in which the privilege information to be provided when the number of stamps up to the privilege is provided can be changed for each stage. Further, when a stamp of the number of stamps up to the privilege is given in the final stage of the number of stages, it is possible to easily realize a stamp service that can set whether or not to repeat the stamping from the first stage.

また特典管理サーバ10は、POS端末20からの商取引データを受信することにより、スタンプサービスに係る処理を実行する。そして、特典管理サーバ10は、スタンプ付与条件を満足する毎にスタンプを付与したスタンプシートの画像データをPOS端末20へと送信する。そして、その付与したスタンプ数が当該段階の特典供与までのスタンプ数に達したならば当該段階の特典であるクーポンを供与するために、クーポンの画像データをPOS端末20へと送信する。 Further, the privilege management server 10 executes the processing related to the stamp service by receiving the commercial transaction data from the POS terminal 20. Then, the privilege management server 10 transmits the image data of the stamp sheet to which the stamp is given every time the stamp giving condition is satisfied to the POS terminal 20. Then, when the number of stamps given reaches the number of stamps up to the privilege provision at the stage, the image data of the coupon is transmitted to the POS terminal 20 in order to provide the coupon which is the privilege at the stage.

したがって各店舗は、POS端末20を特典管理サーバ10に接続するだけで、スタンプを貯めることで供与される特典が段階的に変化するスタンプサービスを導入することができる。よって、各店舗では、このようなスタンプサービスの導入コストを低く抑えることができる。 Therefore, each store can introduce a stamp service in which the benefits provided by accumulating stamps change step by step simply by connecting the POS terminal 20 to the privilege management server 10. Therefore, at each store, the introduction cost of such a stamp service can be kept low.

ところで、企画設定画面SCaには、特典の段数を入力するための領域と、段数の段毎に特典供与までのスタンプ数を入力するための領域と、段数の段毎にスタンプ付与条件を入力するための領域とが、一画面に配置されている。したがって企画設定業務担当のオペレータは、一画面の操作によって特典の段数と、段毎の特典供与までのスタンプ数及びスタンプ付与条件とを入力することができる。このように、企画設定装置70の操作性も優れているので、企画設定業務の効率化を図ることができる。 By the way, on the planning setting screen SCa, an area for inputting the number of stages of the privilege, an area for inputting the number of stamps up to the privilege provision for each stage of the number of stages, and a stamp giving condition for each stage of the number of stages are input. The area for the purpose is arranged on one screen. Therefore, the operator in charge of planning and setting work can input the number of stages of the privilege, the number of stamps until the privilege is provided for each stage, and the stamp giving condition by operating one screen. As described above, the operability of the planning and setting device 70 is also excellent, so that the efficiency of the planning and setting work can be improved.

以上、一実施形態について説明したが、かかる実施形態はこれに限定されるものではない。 Although one embodiment has been described above, the embodiment is not limited to this.

前記実施形態では、スタンプ付与条件が満足する場合に付与されるスタンプの数を1個に制限した。別の実施形態としては、スタンプ付与条件が満足する場合に付与されるスタンプの数を商取引の内容に応じた数としてもよい。例えばスタンプ付与条件が「小計金額1000円以上」であったと仮定する。この場合、前記実施形態では、小計金額が2000円であっても付与されるスタンプの数は1個である。しかし、別の実施形態では、2個のスタンプが付与されることとなる。 In the above embodiment, the number of stamps given when the stamp giving conditions are satisfied is limited to one. As another embodiment, the number of stamps given when the stamp giving conditions are satisfied may be a number according to the content of the commercial transaction. For example, it is assumed that the stamping condition is "subtotal amount of 1000 yen or more". In this case, in the above embodiment, the number of stamps given is one even if the subtotal amount is 2000 yen. However, in another embodiment, two stamps will be added.

前記実施形態では、特典情報によって供与される特典をクーポンとした。特典の種類は、クーポンに限定されるものではない。例えば特典は、景品であってもよい。この場合、特典情報は景品の目録となる。例えば特典は、取引金額に応じて付与されるサービスポイントの倍率であってもよい。 In the above embodiment, the privilege provided by the privilege information is used as a coupon. The types of benefits are not limited to coupons. For example, the privilege may be a free gift. In this case, the privilege information becomes a list of prizes. For example, the privilege may be a multiple of service points given according to the transaction amount.

前記実施形態では、小計金額の範囲をスタンプ付与条件とした。スタンプ付与条件の範囲はこれに限定されるものではない。例えば、特定の商品を購入した場合にスタンプを付与するという条件であってもよい。あるいは、特定の商品の組み合わせが成立した場合にスタンプを付与するという条件であってもよい。 In the above embodiment, the range of the subtotal amount is used as the stamping condition. The range of stamping conditions is not limited to this. For example, it may be a condition that a stamp is given when a specific product is purchased. Alternatively, it may be a condition that a stamp is given when a specific combination of products is established.

前記実施形態では、スタンプ付与を繰り返すか否かを判定する情報を繰返し制限回数Rとした。この点に関しては、1ビットデータのフラグで、スタンプ付与を繰り返すか否かを判定可能としてもよい。ただし、繰返し制限回数Rを用いることによって、何回まで繰返しを許容するかという企画を容易に設定できるメリットがある。 In the above-described embodiment, the information for determining whether or not to repeat the stamping is set as the repetition limit number R. Regarding this point, it may be possible to determine whether or not to repeat the stamping with the 1-bit data flag. However, by using the repetition limit number R, there is an advantage that the plan of how many times the repetition is allowed can be easily set.

前記実施形態では、特典の段数を入力するための領域と、段数の段毎に特典供与までのスタンプ数を入力するための領域と、段数の段毎にスタンプ付与条件を入力するための領域と、を有する企画設定画面SCaを企画設定装置70の表示デバイスに表示する場合を例示した。この点に関しては、特典の段数を入力するための領域と、段数の段毎に特典供与までのスタンプ数を入力するための領域と、段数の段毎にスタンプ付与条件を入力するための領域とが順番に、企画設定装置70の表示デバイスに表示されるようにしてもよい。 In the above-described embodiment, there are an area for inputting the number of stages of the privilege, an area for inputting the number of stamps up to the privilege provision for each stage of the number of stages, and an area for inputting the stamping condition for each stage of the number of stages. The case where the plan setting screen SCa having the above is displayed on the display device of the plan setting device 70 has been illustrated. Regarding this point, there are an area for inputting the number of stages of the privilege, an area for inputting the number of stamps up to the privilege grant for each stage of the number of stages, and an area for inputting the stamping condition for each stage of the number of stages. May be displayed on the display device of the planning setting device 70 in order.

この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態及びその変形は、発明の範囲に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 In addition, although some 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 embodiments, and various omissions, replacements, and changes can be made without departing from the gist of the invention. These embodiments and modifications thereof are included in the scope of the invention, and are also included in the scope of the invention described in the claims and the equivalent scope thereof.

10…特典管理サーバ、11…プロセッサ、12…メインメモリ、13…補助記憶デバイス、14…時計、15…第1通信インターフェース、16…第2通信インターフェース、20…POS端末、30…通信ネットワーク、40…企画データベース、50…画像データベース、60…通信回線、70…企画設定装置、100…特典管理システム。 10 ... privilege management server, 11 ... processor, 12 ... main memory, 13 ... auxiliary storage device, 14 ... clock, 15 ... first communication interface, 16 ... second communication interface, 20 ... POS terminal, 30 ... communication network, 40 ... planning database, 50 ... image database, 60 ... communication line, 70 ... planning setting device, 100 ... privilege management system.

Claims (7)

段階的に供与される特典を管理する特典管理装置のコンピュータを、
前記特典の段数を取得する段数取得手段、
前記段数の段毎に、特典供与までのスタンプ数を取得するスタンプ数取得手段、
前記段数の段毎に、スタンプ付与条件を取得する条件取得手段、
前記段数取得手段により取得した特典の段数と関連付けて、前記スタンプ数取得手段により当該段数の段毎に取得した前記特典供与までのスタンプ数及び前記条件取得手段により当該段数の段毎に取得した前記スタンプ付与条件とを記憶部に登録する登録手段、
として機能させるための制御プログラム。
The computer of the privilege management device that manages the privilege to be granted in stages,
A means for acquiring the number of stages of the privilege,
A stamp number acquisition means for acquiring the number of stamps up to the provision of benefits for each stage of the number of stages.
Condition acquisition means for acquiring stamping conditions for each of the number of stages.
The number of stamps up to the privilege provision acquired for each stage of the number of stages and the number of stages acquired for each stage of the number of stages by the condition acquisition means in association with the number of stages of the privilege acquired by the number of stages acquisition means. Registration means for registering stamping conditions and in the storage unit,
A control program to function as.
前記コンピュータを、
前記段数の段毎に、前記特典供与までのスタンプ数のスタンプを付与した場合に供与する特典情報を取得する特典情報取得手段、
としてさらに機能させ、
前記登録手段は、前記段数取得手段により取得した特典の段数と関連付けて、さらに前記特典情報取得手段により当該段数の段毎に取得した前記特典情報を登録する、請求項1記載の制御プログラム。
The computer
A privilege information acquisition means for acquiring privilege information to be provided when stamps of the number of stamps up to the privilege provision are given for each stage of the number of stages.
To function further,
The control program according to claim 1, wherein the registration means associates with the number of stages of the privilege acquired by the number of stages acquisition means, and further registers the privilege information acquired for each stage of the number of stages by the privilege information acquisition means.
前記コンピュータを、
前記段数の最終段において前記特典供与までのスタンプ数のスタンプを付与した場合に、初段からスタンプ付与を繰り返すか否かを判定する情報を取得する繰返し判定取得手段、
としてさらに機能させ、
前記登録手段は、前記段数取得手段により取得した特典の段数と関連付けて、さらに前記繰返し判定取得手段により取得した情報を登録する、請求項1又は2記載の制御プログラム。
The computer
Repeated determination acquisition means for acquiring information for determining whether or not to repeat stamping from the first stage when stamps of the number of stamps up to the privilege provision are given in the final stage of the number of stages.
To function further,
The control program according to claim 1 or 2, wherein the registration means associates with the number of steps of the privilege acquired by the step number acquisition means, and further registers the information acquired by the repetition determination acquisition means.
前記コンピュータを、
前記特典の段数を入力するための領域と、前記段数の段毎に特典供与までのスタンプ数を入力するための領域と、前記段数の段毎にスタンプ付与条件を入力するための領域と、を有する設定画面を表示デバイスに表示させる表示制御手段、
としてさらに機能させるための請求項1記載の制御プログラム。
The computer
An area for inputting the number of stages of the privilege, an area for inputting the number of stamps up to the privilege provision for each stage of the number of stages, and an area for inputting stamping conditions for each stage of the number of stages. Display control means for displaying the setting screen to be displayed on the display device,
The control program according to claim 1 for further functioning as.
前記コンピュータを、
前記記憶部に記憶された情報を基に、前記スタンプ付与条件を満足する毎にスタンプを付与し、前記段数の段毎に、その付与したスタンプ数がその段の特典供与までのスタンプ数に達したならば、その段の特典を供与する処理手段、
としてさらに機能させるための請求項1乃至4のうちいずれか1記載の制御プログラム。
The computer
Based on the information stored in the storage unit, a stamp is added each time the stamping condition is satisfied, and the number of stamps given reaches the number of stamps up to the privilege provision of that stage for each stage of the number of stages. If so, the processing means that provides the benefits of that stage,
The control program according to any one of claims 1 to 4 for further functioning as.
段階的に供与される特典を管理する特典管理装置が、
前記特典の段数を取得し、さらに前記段数の段毎に、特典供与までのスタンプ数とスタンプ付与条件とを取得すると、前記取得した特典の段数と関連付けて、当該段数の段毎に取得した前記特典供与までのスタンプ数及び前記スタンプ付与条件を記憶部に登録し、
前記記憶部に記憶された情報を基に、前記スタンプ付与条件を満足する毎にスタンプを付与し、前記段数の段毎に、その付与したスタンプ数がその段の特典供与までのスタンプ数に達したならば、その段の特典を供与する、特典管理方法。
A privilege management device that manages the benefits provided in stages,
When the number of stages of the privilege is acquired and the number of stamps up to the provision of the privilege and the stamp granting condition are acquired for each stage of the number of stages, the number of stages of the acquired privilege is associated with the acquired number of stages of the privilege. Register the number of stamps up to the privilege grant and the stamp granting conditions in the storage unit,
Based on the information stored in the storage unit, a stamp is added each time the stamping condition is satisfied, and the number of stamps given reaches the number of stamps up to the privilege provision of that stage for each stage of the number of stages. If so, a privilege management method that provides the privilege of that stage.
段階的に供与される特典の段数を取得する段数取得手段と、
前記段数の段毎に、特典供与までのスタンプ数を取得するスタンプ数取得手段と、
前記段数の段毎に、スタンプ付与条件を取得する条件取得手段と、
前記段数取得手段により取得した特典の段数と関連付けて、前記スタンプ数取得手段により当該段数の段毎に取得した前記特典供与までのスタンプ数及び前記条件取得手段により当該段数の段毎に取得した前記スタンプ付与条件とを記憶部に登録する登録手段と、
前記記憶部に記憶された情報を基に、前記スタンプ付与条件を満足する毎にスタンプを付与し、前記段数の段毎に、その付与したスタンプ数がその段の特典供与までのスタンプ数に達したならば、その段の特典を供与する処理手段と、
を具備する特典管理装置。
A means for acquiring the number of stages of benefits provided in stages, and a means for acquiring the number of stages
A stamp number acquisition means for acquiring the number of stamps up to the provision of benefits for each stage of the number of stages.
A condition acquisition means for acquiring a stamping condition for each stage of the number of stages, and a condition acquisition means.
The number of stamps up to the privilege provision acquired for each stage of the number of stages and the number of stages acquired for each stage of the number of stages by the condition acquisition means in association with the number of stages of the privilege acquired by the number of stages acquisition means. A registration method for registering stamping conditions in the storage unit,
Based on the information stored in the storage unit, a stamp is added each time the stamping condition is satisfied, and the number of stamps given reaches the number of stamps up to the privilege provision of that stage for each stage of the number of stages. If so, the processing means that provides the benefits of that stage,
A privilege management device equipped with.
JP2020052618A 2020-03-24 2020-03-24 Privilege management device, its control program, and privilege management method Active JP7458846B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020052618A JP7458846B2 (en) 2020-03-24 2020-03-24 Privilege management device, its control program, and privilege management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020052618A JP7458846B2 (en) 2020-03-24 2020-03-24 Privilege management device, its control program, and privilege management method

Publications (2)

Publication Number Publication Date
JP2021152722A true JP2021152722A (en) 2021-09-30
JP7458846B2 JP7458846B2 (en) 2024-04-01

Family

ID=77886596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020052618A Active JP7458846B2 (en) 2020-03-24 2020-03-24 Privilege management device, its control program, and privilege management method

Country Status (1)

Country Link
JP (1) JP7458846B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023079781A (en) * 2021-11-29 2023-06-08 PayPay株式会社 Provision device, method for provision, and provision program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5564536B2 (en) 2012-07-10 2014-07-30 東芝テック株式会社 Benefit processing device and program thereof
JP2017041065A (en) 2015-08-19 2017-02-23 カシオ計算機株式会社 Information processor, information processing method and program
JP7071076B2 (en) 2017-08-25 2022-05-18 東芝テック株式会社 Server equipment and programs
JP7097858B2 (en) 2019-07-03 2022-07-08 ヤフー株式会社 Information processing equipment, information processing methods and information processing programs

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023079781A (en) * 2021-11-29 2023-06-08 PayPay株式会社 Provision device, method for provision, and provision program
JP7502251B2 (en) 2021-11-29 2024-06-18 PayPay株式会社 Providing device, providing method, and providing program

Also Published As

Publication number Publication date
JP7458846B2 (en) 2024-04-01

Similar Documents

Publication Publication Date Title
US20210390560A1 (en) Information processing apparatus and control program therefor
JP6359494B2 (en) Electronic receipt system, server device and program thereof
JP5114887B2 (en) POS register
JP2021152722A (en) Privilege management device and control program therefor, privilege management method
JP2013167958A (en) Pos system
JP6599585B1 (en) Server apparatus and program thereof, receipt data processing method, and receipt data processing system
JP2015153271A (en) POS system
KR102590290B1 (en) Accounts processing system, coupon management device and control program therefor
JP2017062672A (en) Checkout system
JP2017027253A (en) Electronic receipt system, server device, and program
JP2021152793A (en) Control program of coupon management device, coupon management method, and coupon management device
JP6283295B2 (en) Product information registration terminal, sales processing system, and program.
JP6538939B2 (en) Electronic receipt system, server device and program thereof
JP2020102261A (en) Data processing device, program, and data processing method
JP7483512B2 (en) Payment device and program
JP6646178B2 (en) Server device and its program, receipt data processing method, receipt data processing system
JP6563150B1 (en) Electronic receipt system, server apparatus and program thereof, and electronic receipt information processing method
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
JP6599586B2 (en) Information terminal, program therefor, and display control method
JP6942020B2 (en) Tenant management server and programs
JP2021131747A (en) Information processor and control program for the same
JP2021149499A (en) Coupon management device, control program therefor, and coupon management method
JP2023038518A (en) Payment device, program thereof, and payment method
JP2021149495A (en) Information processing device, information processing method, and program
JP2020053106A (en) Server device and program thereof, and method for processing receipt data

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20230104

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240201

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: 20240220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240319

R150 Certificate of patent or registration of utility model

Ref document number: 7458846

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150