JP7447413B2 - Benefit management device, computer program and benefit management method - Google Patents

Benefit management device, computer program and benefit management method Download PDF

Info

Publication number
JP7447413B2
JP7447413B2 JP2019174564A JP2019174564A JP7447413B2 JP 7447413 B2 JP7447413 B2 JP 7447413B2 JP 2019174564 A JP2019174564 A JP 2019174564A JP 2019174564 A JP2019174564 A JP 2019174564A JP 7447413 B2 JP7447413 B2 JP 7447413B2
Authority
JP
Japan
Prior art keywords
benefit
user
identification information
information
unit
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
JP2019174564A
Other languages
Japanese (ja)
Other versions
JP2021051594A (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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2019174564A priority Critical patent/JP7447413B2/en
Publication of JP2021051594A publication Critical patent/JP2021051594A/en
Application granted granted Critical
Publication of JP7447413B2 publication Critical patent/JP7447413B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、特定のグループに所属するユーザの特典を管理するための特典管理装置、コンピュータプログラム及び特典管理方法に関する。 The present invention relates to a privilege management device , a computer program, and a privilege management method for managing privileges of users belonging to a specific group.

従来、顧客の来店及び購買等の促進を目的として、割引券等の特典を顧客に付与することが行われている。近年ではスマートフォン等の通信端末装置の普及に伴い、顧客に対して特典を電子的な手法で付与することが盛んに行われている。 BACKGROUND OF THE INVENTION Conventionally, in order to encourage customers to visit stores and make purchases, benefits such as discount coupons have been given to customers. 2. Description of the Related Art In recent years, with the spread of communication terminal devices such as smartphones, it has become common to provide benefits to customers by electronic means.

特許文献1においては、一の会員が含まれる会員グループに属する他の会員を特定し、他の会員の中から所定期間内に使用期限を迎える期限切迫ポイントを保有する会員を検出し、一の会員が閲覧するウェブページに期限切迫ポイント及びこれを保有する他の会員の情報を提示し、期限切迫ポイントの全部又は一部を一の会員による商品購入の際に利用可能とするポイント管理装置が提案されている。 In Patent Document 1, other members belonging to a member group in which one member is included are identified, members who have expiration points that are due to expire within a predetermined period are detected from among the other members, and one's There is a point management device that presents information on expiring points and other members who hold them on a web page viewed by a member, and allows one member to use all or part of the expiring points when purchasing a product. Proposed.

国際公開第2016/157373号International Publication No. 2016/157373

ユーザに付与される特典には、特定の会社の社員に対して購入価格からの割引を受ける権利を持続的又は永続的に与えるもの、いわゆる社員割引がある。従来、社員割引を受けるために、例えば社員が商品を購入する際に社員証を販売員に提示する等の手続きが行われていたが、商品購入の都度に社員証を提示することはユーザにとって手間がかかるという問題がある。また例えば複数の会社に対して異なる内容の特典が付与されている場合、販売員は提示された社員証から特典内容を判断する必要があり、販売員の作業に対する負担が大きいという問題がある。 Benefits granted to users include so-called employee discounts, which permanently or permanently entitle employees of a particular company to receive a discount on the purchase price. Previously, in order to receive employee discounts, employees had to go through procedures such as presenting their employee ID card to a salesperson when purchasing a product, but it is not convenient for users to present their employee ID card each time they purchase a product. The problem is that it takes time. Further, for example, if different benefits are granted to multiple companies, the salesperson must judge the benefits based on the employee ID card presented, which poses a problem of placing a heavy burden on the salesperson's work.

本発明は、斯かる事情に鑑みてなされたものであって、その目的とするところは、ユーザ及び販売員等の負担が少ない特典の管理を実現し得る特典管理装置、コンピュータプログラム及び特典管理方法を提供することにある。 The present invention has been made in view of the above circumstances, and its purpose is to provide a privilege management device , a computer program, and a privilege management system that can realize privilege management with less burden on users, sales staff, etc. The purpose is to provide a method.

本発明に係る特典管理装置は、特定のグループに所属するユーザの特典を管理する特典管理装置であって、前記特典を識別する情報である特典識別情報を生成する生成部と、前記特典の利用に先立って、前記ユーザから前記ユーザを識別する情報であるユーザ識別情報及び前記特典識別情報を取得する識別情報取得部と、前記識別情報取得部が取得した前記ユーザ識別情報と前記特典識別情報とを対応付けて記憶する記憶部と、前記特典をユーザが利用する際に、前記ユーザから、前記ユーザ識別情報を取得する利用情報取得部と、前記記憶部を参照し、前記利用情報取得部が取得したユーザ識別情報と対応付けて記憶されている特典識別情報関連する特典を抽出する抽出部とを備える。 A privilege management device according to the present invention is a privilege management device that manages privileges of users belonging to a specific group, and includes a generation unit that generates privilege identification information that is information for identifying the privilege, and a generation unit that generates privilege identification information that is information for identifying the privilege, and a generation unit that generates privilege identification information that is information for identifying the privilege. an identification information acquisition unit that acquires user identification information that is information that identifies the user and the benefit identification information from the user; and the user identification information and the benefit identification information that the identification information acquisition unit has acquired. a storage unit that stores the information in association with each other, a usage information acquisition unit that acquires the user identification information from the user when the user uses the benefit, and a usage information acquisition unit that refers to the storage unit. and an extraction unit that extracts a benefit related to the benefit identification information stored in association with the acquired user identification information.

また、本発明に係る特典管理装置は、前記抽出部が抽出した前記特典の内容を店舗の店舗端末装置へ出力する出力部を備える。 Further, the benefit management device according to the present invention includes an output unit that outputs the content of the benefit extracted by the extraction unit to a store terminal device of a store.

また、本発明に係る特典管理装置は、前記記憶部が、前記特典識別情報と有効期限とを対応付けて記憶し、前記抽出部が抽出した前記特典の内容に対応付けられた前記有効期限に基づき、前記特典が有効期限内であるか否かを判定する判定部を備える。 Further, in the privilege management device according to the present invention, the storage section stores the privilege identification information and the expiration date in association with each other, and the expiration date associated with the content of the privilege extracted by the extraction section. The present invention includes a determination unit that determines whether or not the benefit is within its expiration date based on the validity period.

また、本発明に係る特典管理装置は、前記記憶部が、前記特典識別情報と位置情報とを対応付けて記憶し、前記識別情報取得部が前記ユーザ識別情報及び前記特典識別情報を取得する際に、前記ユーザ識別情報及び前記特典識別情報を対応付けることを指示したユーザの位置情報を取得する位置情報取得部と、前記記憶部に記憶した位置情報と、前記位置情報取得部が取得した前記位置情報とに基づいて、前記識別情報取得部が取得した前記ユーザ識別情報及び前記特典識別情報を前記記憶部に記憶するか否かを判定する判定部とを備える。 Further, in the privilege management device according to the present invention, the storage unit stores the privilege identification information and location information in association with each other, and when the identification information acquisition unit acquires the user identification information and the privilege identification information, a location information acquisition unit that acquires location information of a user who has instructed to associate the user identification information and the benefit identification information; the location information stored in the storage unit; and the location acquired by the location information acquisition unit. and a determination unit that determines whether or not the user identification information and the benefit identification information acquired by the identification information acquisition unit are to be stored in the storage unit, based on the information.

また、本発明に係る特典管理装置は、前記記憶部が、前記特典識別情報と店舗に係る情報とを対応付けて記憶し、前記抽出部が抽出した前記特典の内容に対応付けられた前記店舗に係る情報に基づき、前記特典の利用の可否を判定する判定部を備える。 Further, in the benefit management device according to the present invention, the storage unit stores the benefit identification information in association with information about a store, and the store is associated with the content of the benefit extracted by the extraction unit. The present invention includes a determination unit that determines whether or not the benefit can be used based on information related to the benefit.

また、本発明に係る特典管理装置は、前記記憶部が、前記特典識別情報と前記特典の対象商品に係る情報とを対応付けて記憶し、前記抽出部が抽出した前記特典の内容に対応付けられた前記対象商品に係る情報に基づき、前記特典の利用の可否を判定する判定部を備える。 Further, in the benefit management device according to the present invention, the storage unit stores the benefit identification information in association with information related to the target product of the benefit, and stores the benefit identification information in association with the content of the benefit extracted by the extraction unit. The apparatus further includes a determination unit that determines whether or not the benefit can be used based on the information regarding the target product that has been received.

また、本発明に係るコンピュータプログラムは、コンピュータに、特定のグループに所属するユーザの特典を識別する情報である特典識別情報を生成し、前記特典の利用に先立って、前記ユーザから前記ユーザを識別する情報であるユーザ識別情報及び前記特典識別情報を取得し、取得した前記ユーザ識別情報と前記特典識別情報とを対応付けて記憶部に記憶し、前記特典をユーザが利用する際に、前記ユーザから、前記ユーザ識別情報を取得し、前記記憶部を参照し、取得したユーザ識別情報と対応付けて記憶されている特典識別情報関連する特典を抽出する処理を実行させる。 Further, the computer program according to the present invention generates benefit identification information, which is information for identifying benefits of users belonging to a specific group, in a computer, and identifies the user from the user before using the benefit. The acquired user identification information and the benefit identification information are stored in a storage unit in association with each other, and when the user uses the benefit, the user From there, the user identification information is acquired, the storage section is referred to, and a process of extracting a benefit related to the benefit identification information stored in association with the acquired user identification information is executed.

また、本発明に係る端末装置は、ユーザを識別する情報であるユーザ識別情報を記憶する記憶部と、特定のグループに所属するユーザの特典を識別する情報である特典識別情報の入力を受け付ける受付部と、前記記憶部に記憶した前記ユーザ識別情報及び前記受付部が受け付けた前記特典識別情報を特典管理装置へ送信する送信部と、前記特典の利用の際に、前記記憶部に記憶した前記ユーザ識別情報を出力する出力部とを備える。 Further, the terminal device according to the present invention includes a storage unit that stores user identification information that is information that identifies a user, and a reception desk that receives input of benefit identification information that is information that identifies benefits of users belonging to a specific group. a transmission unit that transmits the user identification information stored in the storage unit and the benefit identification information received by the reception unit to the benefit management device; and an output unit that outputs user identification information.

また、本発明に係るコンピュータプログラムは、コンピュータに、特定のグループに所属するユーザの特典を識別する情報である特典識別情報の入力を受け付け、ユーザを識別する情報であるユーザ識別情報及び受け付けた前記特典識別情報を特典管理装置へ送信し、前記特典の利用の際に、記憶部に記憶した前記ユーザ識別情報を出力する処理を実行させる。 Further, the computer program according to the present invention receives input of benefit identification information, which is information that identifies benefits of users belonging to a specific group, into the computer, and inputs the user identification information, which is information that identifies the user, and the received The privilege identification information is transmitted to the privilege management device, and when the privilege is used, a process of outputting the user identification information stored in the storage unit is executed.

また、本発明に係る特典管理方法は、特定のグループに所属するユーザの特典を識別する情報である特典識別情報を生成し、前記特典の利用に先立って、前記ユーザから前記ユーザを識別する情報であるユーザ識別情報及び前記特典識別情報を取得し、取得した前記ユーザ識別情報と前記特典識別情報とを対応付けて記憶部に記憶し、前記特典をユーザが利用する際に、前記ユーザから、前記ユーザ識別情報を取得し、前記記憶部を参照し、取得したユーザ識別情報と対応付けて記憶されている特典識別情報関連する特典を抽出する。 In addition, the benefit management method according to the present invention generates benefit identification information that is information that identifies benefits of users belonging to a specific group, and generates information identifying the user from the user before using the benefit. The user identification information and the benefit identification information are acquired, the acquired user identification information and the benefit identification information are stored in a storage unit in association with each other, and when the user uses the benefit, from the user, The user identification information is acquired, the storage unit is referred to, and a benefit related to the benefit identification information stored in association with the acquired user identification information is extracted.

本発明においては、特定のグループに所属する一又は複数のユーザに対して共通の特典を与える。特典管理装置は、この特典を識別する特典識別情報を生成する。まずユーザによる特典の利用に先立って、ユーザに特典を付与する際には、このユーザのユーザ識別情報と、特典識別情報とを特典管理装置がユーザから取得し、取得したユーザ識別情報及び特典識別情報を対応付けて記憶部に記憶する。その後、ユーザが特典を利用する際には、このユーザからユーザ識別情報を特典管理装置が取得して記憶部を参照し、ユーザ識別情報に対応する特典識別情報に関連する特典を抽出する。これにより、ユーザはユーザ識別情報を提示することで特典を利用することができる。また販売者等は、ユーザ識別情報を取得することで、このユーザに付与された特典を提供することができる。 In the present invention, a common benefit is given to one or more users belonging to a specific group. The benefit management device generates benefit identification information that identifies this benefit. First, before the user uses the benefit, when granting the benefit to the user, the benefit management device acquires the user's user identification information and benefit identification information from the user, and the acquired user identification information and benefit identification The information is associated and stored in the storage unit. Thereafter, when a user uses a benefit, the benefit management device acquires user identification information from the user, refers to the storage section, and extracts benefits related to the benefit identification information corresponding to the user identification information. This allows the user to use benefits by presenting user identification information. Further, by acquiring user identification information, a seller or the like can provide benefits granted to this user.

また本発明においては、特典管理装置が抽出した特典の内容を店舗の店舗端末装置へ出力する。これにより店舗端末装置を操作する店員は、ユーザに付与された特典の内容を判断することができる。 Further, in the present invention, the content of the benefits extracted by the benefit management device is output to the store terminal device of the store. This allows the store clerk operating the store terminal device to determine the content of the benefit given to the user.

また本発明においては、特典の特典識別情報とこの特典の有効期限とが記憶部に対応付けて記憶される。特典管理装置は、抽出した特典が有効期限内であるか否かの判定を行う。
これにより、例えば特定の会社に与えた社員割引等の特典が、この会社を退社した社員等に対して持続的に適用されることを防止することができる。
Further, in the present invention, the benefit identification information of a benefit and the expiration date of this benefit are stored in association with each other in the storage unit. The benefit management device determines whether the extracted benefit is within its expiration date.
This can prevent, for example, benefits such as employee discounts given to a specific company from being continuously applied to employees who have left the company.

また本発明においては、特典の特典識別情報と位置情報とが記憶部に応付けて記憶される。この位置情報は、例えば特定のグループに対応する位置情報とすることができる。特典の付与を行う際に特典管理装置は、ユーザの位置情報を取得し、ユーザの位置情報とグループの位置情報とに基づいて、特典付与の可否を判定する。これにより特典管理装置は、特典の付与を要求するユーザが特定のグループに属するか否かを判定して特典を付与することができる。ユーザが特定のグループに属すると判定した場合には、ユーザ識別情報及び特典識別情報を対応付けて記憶部に記憶し、ユーザに特典を付与する。
例えば特定の会社の社員に特典を与える場合、この会社の所在地等を位置情報として記憶しておくことができる。この会社の社員は、会社の所在地及びその周辺等の限定された場所でのみ、特典の付与に関する処理が行われることが認められ、これ以外の場所では特典の付与が行われない。
これにより、グループのユーザに共通の特典識別情報を用いた特典の付与が、グループ以外のユーザに対して行われることを抑制できる。
Further, in the present invention, the privilege identification information and position information of the privilege are stored in association with each other in the storage section. This location information can be, for example, location information corresponding to a specific group. When granting a benefit, the benefit management device acquires the user's location information and determines whether the benefit can be granted based on the user's location information and the group's location information. Thereby, the privilege management device can determine whether the user who requests the granting of a privilege belongs to a specific group, and can grant the privilege. When it is determined that the user belongs to a specific group, the user identification information and the benefit identification information are stored in the storage unit in association with each other, and the benefit is granted to the user.
For example, when giving benefits to employees of a specific company, the location of this company can be stored as location information. Employees of this company are permitted to receive benefits only in limited locations such as the company's location and its surroundings, and benefits are not granted in other locations.
Thereby, it is possible to suppress granting of benefits using benefit identification information common to users of the group to users other than the group.

また本発明においては、特典の特典識別情報とこの特典を利用することができる店舗に関する情報とが記憶部に対応付けて記憶される。ユーザが特典を利用する際に特典管理装置は、特典を利用することができる店舗であるか否かを判定する。これにより、例えば複数の店舗を有するチェーン店において、特典を与えた会社の近くの店舗でのみ特典を許可するなど、特典の利用に制限を加えることができる。 Further, in the present invention, the benefit identification information of the benefit and the information regarding the store where the benefit can be used are stored in association with each other in the storage unit. When a user uses a benefit, the benefit management device determines whether the store is a store where the benefit can be used. As a result, for example, in a chain store having multiple stores, it is possible to impose restrictions on the use of benefits, such as allowing benefits only at stores near the company that gave the benefits.

また本発明においては、特典の識別情報とこの特典の対象商品に関する情報とが記憶部に対応付けて記憶される。ユーザが特典を利用する際に特典管理装置は、特典の対象商品であるか否かを判定する。これにより、例えば書店において書籍を割引価格で購入することができる特典に対し、対象商品を学術書又は専門書等の特定の書籍に限定することができる。これは例えば特定の学校に属する学生に対する学割等に好適である。 Further, in the present invention, the identification information of the benefit and the information regarding the target product of this benefit are stored in association with each other in the storage unit. When a user uses a benefit, the benefit management device determines whether the product is eligible for the benefit. As a result, for example, for a privilege that allows books to be purchased at a discounted price at a bookstore, the eligible products can be limited to specific books such as academic books or specialized books. This is suitable, for example, for student discounts for students belonging to a specific school.

また本発明においては、ユーザが使用する端末装置は、このユーザのユーザ識別情報を記憶し、特典識別情報の入力を受け付ける。端末装置は、記憶したユーザ識別情報と取得した特典識別情報とを特典管理装置へ送信し、このユーザに対する特典の付与を要求する。これに応じて特典管理装置は、端末装置から受信したユーザ識別情報及び特典識別情報を対応付けて記憶部に記憶し、ユーザに対する特典の付与を行うことができる。また端末装置は、ユーザが特典を利用する際に、記憶したユーザ識別情報を出力し、特典識別情報を出力する必要はない。販売店等では、端末装置が出力するユーザ識別情報を取得し、取得したユーザ識別情報に対応付けられた特典識別情報の有無を特典管理装置が判定することで、特典に係るサービスをユーザに提供することができる。 Further, in the present invention, the terminal device used by the user stores user identification information of this user and receives input of benefit identification information. The terminal device transmits the stored user identification information and the acquired privilege identification information to the privilege management device, and requests that the privilege be granted to this user. In response to this, the privilege management device can store the user identification information and privilege identification information received from the terminal device in association with each other in the storage unit, and provide the privilege to the user. Further, when the user uses the benefit, the terminal device outputs the stored user identification information and does not need to output the benefit identification information. At retail stores, etc., services related to benefits are provided to users by acquiring user identification information output from a terminal device, and having a benefit management device determine the presence or absence of benefit identification information associated with the acquired user identification information. can do.

本発明による場合は、ユーザ及び販売員等の負担が少ない特典の管理を実現することが期待できる。 According to the present invention, it is expected that privilege management can be realized with less burden on users, sales staff, etc.

本実施の形態に係る特典の概要を説明するための模式図である。It is a schematic diagram for explaining the outline of the privilege concerning this embodiment. 本実施の形態に係る特典管理システムの概要を説明するための模式図である。It is a schematic diagram for explaining an outline of a privilege management system concerning this embodiment. 本実施の形態に係るサーバ装置の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of a server device according to the present embodiment. 特典DBの一構成例を示す模式図である。It is a schematic diagram showing an example of a structure of a privilege DB. ユーザDBの一構成例を示す模式図である。FIG. 2 is a schematic diagram showing an example of a configuration of a user DB. 本実施の形態に係るスマホの構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a smartphone according to the present embodiment. 本実施の形態に係る店舗端末装置の構成を示すブロック図である。It is a block diagram showing the composition of the store terminal device concerning this embodiment. 本実施の形態に係るサーバ装置が行う特典コード生成処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the privilege code generation process performed by the server apparatus based on this Embodiment. 本実施の形態に係るスマホが行う特典付与要求処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the privilege provision request process performed by the smart phone based on this Embodiment. 本実施の形態に係るサーバ装置が行う特典付与処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the privilege granting process performed by the server apparatus based on this Embodiment. 本実施の形態に係る店舗端末装置が行う特典判定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the privilege determination process performed by the store terminal device based on this Embodiment. 本実施の形態に係るサーバ装置が行う特典判定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of privilege judgment processing performed by the server device concerning this embodiment. 実施の形態2に係るスマホが行う特典付与要求処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the privilege provision request process performed by the smart phone based on Embodiment 2. 実施の形態2に係るサーバ装置が行う特典付与処理の手順を示すフローチャートである。12 is a flowchart showing the procedure of privilege granting processing performed by the server device according to Embodiment 2. FIG.

本発明の実施形態に係る特典管理システムの具体例を、以下に図面を参照しつつ説明する。なお、本発明はこれらの例示に限定されるものではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 A specific example of a privilege management system according to an embodiment of the present invention will be described below with reference to the drawings. Note that the present invention is not limited to these examples, but is indicated by the scope of the claims, and is intended to include all changes within the meaning and scope equivalent to the scope of the claims.

<システム概要>
図1は、本実施の形態に係る特典の概要を説明するための模式図である。本実施の形態に係る特典管理システムは、例えば書店等の店舗において書籍等の商品をユーザが購入する際に、支払価格の割引又は支払に対するポイント還元率の割り増し等の特定のサービスを受ける権利を特典としてユーザに付与するシステムである。本実施の形態に係る特典は、例えば1ヶ月間又は1年間等の有効期限が定められているが、この有効期限内であれば何度でも持続的(永続的)に特定のサービスをユーザが受けることができるものである。
<System overview>
FIG. 1 is a schematic diagram for explaining an overview of benefits according to the present embodiment. The privilege management system according to the present embodiment provides, when a user purchases a product such as a book at a store such as a bookstore, the user has the right to receive a specific service such as a discount on the payment price or an increase in the point return rate for the payment. This is a system that provides benefits to users. The benefits according to this embodiment have a fixed expiration date, such as one month or one year, but the user can continue to use a specific service any number of times within this expiration date. It is something that can be received.

また、本実施の形態に係る特典管理システムでは、例えば書店の近隣に存在する会社A、会社B又は学校C等のグループに対して、このグループに属する社員又は学生等のユーザが特典を得るための特典コード(特典識別情報)を配布する。特典の内容はグループ毎に異なっていてよく、本例の場合には会社Aに対して10%割引の特典を得るための特典コードを配布し、会社Bに対してポイント還元率+10%の特典を得るための特典コードを配布し、学校Cに対して20%割引の特典を得るための特典コードを配布している。本実施の形態において特典コードは、特典を利用することができる店舗から各グループへ配布される。特典コードは、例えば文字又は数字等を組み合わせたものであり、これを二次元コード等に変換したものであってもよい。特典コードは各グループの各特典に対して1つのコードが割り当てられ、各グループに所属する複数のユーザは共通の特典コードを利用する。 Further, in the benefit management system according to the present embodiment, for example, for a group such as company A, company B, or school C that exists in the vicinity of a bookstore, users such as employees or students belonging to this group can obtain benefits. Distribute benefit codes (benefits identification information). The content of the benefits may be different for each group, and in this example, we will distribute a benefit code to company A to get a 10% discount, and give a benefit to company B with a point return rate + 10%. They are distributing a benefit code to get a 20% discount to School C. In this embodiment, the benefit code is distributed to each group from the store where the benefit can be used. The benefit code is, for example, a combination of letters or numbers, and may be converted into a two-dimensional code or the like. One benefit code is assigned to each benefit in each group, and multiple users belonging to each group use a common benefit code.

図2は、本実施の形態に係る特典管理システムの概要を説明するための模式図である。本図においては、特典の付与に関する情報の授受を実線の矢印で示し、特定の利用に関する情報の授受を一点鎖線の矢印で示している。本実施の形態に係る特典管理システムは、特典を管理するサーバ装置1と、ユーザが使用するスマートフォン3と、書店等の店舗に設けられる店舗端末装置5とを備えて構成されている。サーバ装置1は、会社等へ配布される特典コードを生成する機能、ユーザからの要求に応じて特典コードに係る特典を付与する機能、及び、店舗からの要求に応じてユーザに特典が付与されているか否かを判定する機能等を備えている。サーバ装置1は、書店等の店舗が管理運営するものであってよく、店舗以外の組織が管理運営するものであってよい。スマートフォン3は、特典コードを利用して特典の付与をサーバ装置1に要求する機能、及び、店舗での商品購入等の際にユーザのユーザID等のユーザ識別情報を出力する機能等を備えている。店舗端末装置5は、ユーザのスマートフォン3が出力するユーザID等の情報を読み取る機能、ユーザに付与された特典の有無をサーバ装置1へ問い合わせる機能、及び、ユーザに付与された特典の内容に応じたサービスを提供する機能等を備えている。 FIG. 2 is a schematic diagram for explaining an overview of the privilege management system according to the present embodiment. In this figure, the exchange of information regarding the provision of benefits is shown by solid line arrows, and the exchange of information about specific usage is shown by dashed-dotted arrows. The privilege management system according to the present embodiment includes a server device 1 that manages privileges, a smartphone 3 used by a user, and a store terminal device 5 provided in a store such as a bookstore. The server device 1 has a function of generating a benefit code to be distributed to a company, etc., a function of granting a benefit related to the benefit code in response to a request from a user, and a function of granting a benefit to a user in response to a request from a store. It is equipped with functions such as determining whether or not the The server device 1 may be managed and operated by a store such as a bookstore, or may be managed and operated by an organization other than the store. The smartphone 3 has a function of requesting the server device 1 to grant a benefit using a benefit code, and a function of outputting user identification information such as the user's user ID when purchasing a product at a store, etc. There is. The store terminal device 5 has a function of reading information such as a user ID outputted by the user's smartphone 3, a function of inquiring the server device 1 about the presence or absence of a benefit given to the user, and a function of inquiring the server device 1 about the presence or absence of a benefit given to the user, and a function of reading information such as a user ID outputted by the user's smartphone 3. It is equipped with functions to provide services such as:

まず、ユーザに対する特典の付与の手順を簡単に説明する。本実施の形態に係る特典管理システムにおいては、例えば書店から会社Aに対して1つの特典コードが配布される。会社Aでは、例えば社内の公報又はメーリングリスト等に特典コードを記載して社員のユーザへ特典コードを配布することができる。会社Aの社員であるユーザaは、特典の利用に先立って、例えば自身のスマートフォン3を用いて、会社から配布された特典コードの登録を行うことで、この特典コードに係る特典の利用が可能となる。ユーザaのスマートフォン3は、特典の管理を行うサーバ装置1との通信を行い、予め登録されたユーザaのユーザIDと、入力された特典コードとをサーバ装置1へ送信し、ユーザaに対する特典の付与を要求する。なおユーザIDは、社員番号等のような会社Aが管理するIDではなく、書店の会員番号等のような書店が管理するIDである。ユーザIDは、例えば書店にてユーザにポイントカードを発行する際、又は、ユーザがスマートフォンに書店のアプリ(アプリケーションプログラム)をダウンロードした際等に決定してもよく、これらの際にユーザのメールアドレス等をユーザIDとして登録してもよい。サーバ装置1は、ユーザaのスマートフォンからの要求に応じて、ユーザID及び特典コードを紐付けて(対応付けて)DB(データベース)に記憶することによって、ユーザaに対する特典の付与を行う。 First, the procedure for granting benefits to users will be briefly explained. In the benefit management system according to this embodiment, one benefit code is distributed to company A from a bookstore, for example. Company A can, for example, write a benefit code in an internal bulletin or mailing list, and distribute the benefit code to employee users. User a, who is an employee of company A, can use the benefits associated with the benefit code by registering the benefit code distributed by the company using his/her smartphone 3, for example, before using the benefit. becomes. The smartphone 3 of the user a communicates with the server device 1 that manages benefits, transmits the pre-registered user ID of the user a and the entered benefit code to the server device 1, and sends the benefits to the user a. Request for grant of. Note that the user ID is not an ID managed by company A, such as an employee number, but an ID managed by the bookstore, such as a bookstore membership number. The user ID may be determined, for example, when a point card is issued to the user at a bookstore, or when the user downloads a bookstore app (application program) to a smartphone, and the user's email address is determined at these times. etc. may be registered as a user ID. The server device 1 provides a privilege to the user a by linking (corresponding to) a user ID and a privilege code and storing them in a DB (database) in response to a request from the user a's smartphone.

次に、ユーザによる特典の利用の手順を簡単に説明する。特典コードの登録を終えたユーザaは、書店にてユーザIDを提示することにより、特典を利用することができる。ユーザIDの提示は、例えばユーザIDが印刷されたポイントカード等の提示により行われてもよいが、本実施の形態においてはユーザのスマートフォンにユーザIDを二次元コード等で表示し、これを書店の店舗端末装置5が読み取るものとする。店舗端末装置5は、ユーザaから取得したユーザIDをサーバ装置1へ送信し、特典の有無を問い合わせる。サーバ装置1は、店舗端末装置5からの問い合わせに応じて、ユーザIDに紐付けられた特典コードの有無を判定する。ユーザIDに紐付けられた特典コードが存在する場合、サーバ装置1は、更に特典コードに対応する特典の内容をDBから取得する。サーバ装置1は取得した特典の内容を問い合わせ元の店舗端末装置5へ出力(通知)し、これにより店舗端末装置5では特典の内容が適用され、ユーザaに対して特典に係る割引等のサービスが提供される。ユーザIDに紐付けられた特典コードが存在しない場合には、その旨がサーバ装置1から店舗端末装置5へ通知され、ユーザaに対して特典に係るサービスの提供はなされない。 Next, the procedure for the user to use the benefits will be briefly explained. User a, who has completed the registration of the benefit code, can use the benefit by presenting the user ID at the bookstore. The user ID may be presented, for example, by presenting a point card or the like on which the user ID is printed, but in this embodiment, the user ID is displayed on the user's smartphone as a two-dimensional code, and this is sent to the bookstore. It is assumed that the store terminal device 5 reads the information. The store terminal device 5 transmits the user ID acquired from the user a to the server device 1, and inquires whether there is a benefit. In response to an inquiry from the store terminal device 5, the server device 1 determines whether there is a benefit code linked to the user ID. If there is a benefit code linked to the user ID, the server device 1 further acquires the content of the benefit corresponding to the benefit code from the DB. The server device 1 outputs (notifies) the contents of the obtained benefit to the store terminal device 5 that made the inquiry, and the store terminal device 5 applies the contents of the benefit and provides services such as discounts related to the benefit to the user a. is provided. If there is no benefit code linked to the user ID, the server device 1 notifies the store terminal device 5 of this fact, and the service related to the benefit is not provided to the user a.

本実施の形態において特典には有効期限が定められており、有効期限が経過した場合、サーバ装置1は、ユーザIDと有効期限切れの特典コードとの紐付けを解消する。これにより、有効期限が経過した特典がユーザaに対して適用されることはなくなる。特典を利用することを望むユーザaは、例えば会社Aから配布される新たな特典コードを登録し、新たな特典の付与を受ける必要がある。特典に有効期限を定めることによって、例えば会社Aの社員が退職した後、有効期限内であれば特典の適用が継続されるが、有効期限が経過した後には退職した社員は特典を利用することができなくなる。このため、サーバ装置1、書店及び会社A等は、特典を付与した後のユーザの退職等を管理する必要がない。 In this embodiment, an expiration date is set for a benefit, and when the expiration date has passed, the server device 1 cancels the association between the user ID and the expired benefit code. As a result, a benefit whose expiration date has passed will no longer be applied to user a. User a who wishes to use the benefit needs to register a new benefit code distributed by company A, for example, and receive the new benefit. By setting an expiration date for benefits, for example, after an employee of company A resigns, the benefits will continue to be applied as long as the expiration date is still within the expiration date, but the retired employee will not be able to use the benefits after the expiration date has passed. become unable to do so. Therefore, the server device 1, the bookstore, the company A, etc. do not need to manage the resignation of the user after giving the benefit.

<装置構成>
図3は、本実施の形態に係るサーバ装置1の構成を示すブロック図である。本実施の形態に係るサーバ装置1は、処理部(プロセッサ)11、記憶部(ストレージ)12及び通信部(トランシーバ)13等を備えて構成されている。処理部11は、CPU(Central Processing Unit)又はMPU(Micro-Processing Unit)等の演算処理装置を用いて構成されている。処理部11は、記憶部12に記憶されたサーバプログラム12aを読み出して実行することにより、特典の付与及び管理に関する種々の処理を行う。
<Device configuration>
FIG. 3 is a block diagram showing the configuration of the server device 1 according to this embodiment. The server device 1 according to the present embodiment includes a processing section (processor) 11, a storage section (storage) 12, a communication section (transceiver) 13, and the like. The processing unit 11 is configured using an arithmetic processing device such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit). The processing unit 11 reads and executes the server program 12a stored in the storage unit 12, thereby performing various processes related to granting and managing benefits.

記憶部12は、例えばハードディスク等の大容量の記憶装置を用いて構成されている。記憶部12は、処理部11が実行する各種のプログラム、及び、処理部11の処理に必要な各種のデータを記憶する。本実施の形態において記憶部12は、処理部11が実行するサーバプログラム12aを記憶している。また記憶部12には、特典に関する情報を記憶する特典DB12bと、書店の会員のユーザに関する情報を記憶するユーザDB12cとが設けられている。 The storage unit 12 is configured using a large-capacity storage device such as a hard disk, for example. The storage unit 12 stores various programs executed by the processing unit 11 and various data necessary for processing by the processing unit 11. In this embodiment, the storage unit 12 stores a server program 12a executed by the processing unit 11. The storage unit 12 is also provided with a benefit DB 12b that stores information regarding benefits, and a user DB 12c that stores information regarding users who are members of the bookstore.

本実施の形態においてサーバプログラム12aは、メモリカード又は光ディスク等の記録媒体99に記録された態様で提供され、サーバ装置1は記録媒体99からサーバプログラム12aを読み出して記憶部12に記憶する。ただし、サーバプログラム12aは、例えばサーバ装置1の製造段階において記憶部12に書き込まれてもよい。また例えばサーバプログラム12aは、遠隔の他のサーバ装置等が配信するものをサーバ装置1が通信にて取得してもよい。例えばサーバプログラム12aは、記録媒体99に記録されたものを書込装置が読み出してサーバ装置1の記憶部12に書き込んでもよい。サーバプログラム12aは、ネットワークを介した配信の態様で提供されてもよく、記録媒体99に記録された態様で提供されてもよい。 In this embodiment, the server program 12a is provided in a form recorded on a recording medium 99 such as a memory card or an optical disk, and the server device 1 reads the server program 12a from the recording medium 99 and stores it in the storage unit 12. However, the server program 12a may be written into the storage unit 12, for example, during the manufacturing stage of the server device 1. Further, for example, the server program 12a may be distributed by another remote server device, and the server device 1 may obtain it through communication. For example, the server program 12 a may be recorded on the recording medium 99 by a writing device and written into the storage unit 12 of the server device 1 . The server program 12a may be provided in the form of distribution via a network, or may be provided in the form of being recorded on the recording medium 99.

特典DB12bは、ユーザに対して付与される特典に関する情報である。図4は、特典DB12bの一構成例を示す模式図である。特典DB12bは、例えば特典コードに対応付けられた、特典名称、有効期間及び特典内容等の情報を含んで構成されている。特典コードは、会社又は学校等のグループに対して与えられる特典を一意的に識別する識別情報である。特典名称は、例えば「A社社員割引」又は「C大学学生割引」等の特典に対して付された名称であり、サーバ装置1の管理者等が識別し得る文字列等の情報である。有効期間は、この特典を利用することができる期間であり、例えば2018年10月から2019年3月まで、2019年4月から2019年9月まで、又は、2019年4月から2020年3月まで等のように、年及び月を組み合わせた期間として設定される。特典内容は、この特典を付与されたユーザが受けることができるサービスの具体的な内容であり、例えば「10%割引」又は「20%割引」等の情報である。 The benefit DB 12b is information regarding benefits given to users. FIG. 4 is a schematic diagram showing an example of the configuration of the benefit DB 12b. The benefit DB 12b is configured to include information such as a benefit name, validity period, and benefit content, which are associated with benefit codes, for example. The benefit code is identification information that uniquely identifies a benefit given to a group such as a company or school. The benefit name is a name given to a benefit such as "company A employee discount" or "university C student discount", and is information such as a character string that can be identified by the administrator of the server device 1 or the like. The validity period is the period during which this benefit can be used, for example from October 2018 to March 2019, from April 2019 to September 2019, or from April 2019 to March 2020. The period is set as a combination of years and months, such as until. The benefit content is the specific content of the service that the user to whom the benefit is granted can receive, and is, for example, information such as "10% discount" or "20% discount".

ユーザDB12cは、書店に会員として登録されているユーザに関する情報である。図5は、ユーザDB12cの一構成例を示す模式図である。ユーザDB12cは、例えばユーザID及び特典コード等の情報を含んで構成され、ユーザID及び特典コードが紐付けされた情報である。本例では、ユーザID「U0001」と特典コード「A000001」とが紐付けられ、ユーザID「U0001」のユーザに特典コード「A000001」の特典が付与されていることが示されている。またユーザID「U0003」と特典コード「A000001」とが紐付けられ、ユーザID「U0003」に特典コード「A000001」の特典が付与されている事が示されている。ただし、特典を付与されていないユーザについては、ユーザIDに対応する特典コードは記憶されず、本例ではユーザID「U0002」のユーザには、特典が付与されていない。本実施の形態においては、ユーザDB12cにおいてユーザIDと特典コードとが紐付けられた状態を、ユーザに対して特典が付与された状態という。 The user DB 12c is information regarding users registered as members at the bookstore. FIG. 5 is a schematic diagram showing an example of the configuration of the user DB 12c. The user DB 12c is configured to include information such as a user ID and a benefit code, and is information in which the user ID and the benefit code are linked. In this example, the user ID "U0001" and the benefit code "A000001" are linked, and it is shown that the benefit of the benefit code "A000001" is granted to the user with the user ID "U0001." It is also shown that the user ID "U0003" and the privilege code "A000001" are linked, and the privilege of the privilege code "A000001" is given to the user ID "U0003". However, for users who have not been granted a benefit, the benefit code corresponding to their user ID is not stored, and in this example, the user with the user ID "U0002" is not granted a benefit. In this embodiment, a state in which a user ID and a benefit code are linked in the user DB 12c is referred to as a state in which a benefit is granted to the user.

通信部13は、インターネット、無線LAN及び携帯電話通信網等を含むネットワークNを介して、種々の装置との間で通信を行う。本実施の形態においては、通信部13は、ネットワークNを介して、ユーザのスマートフォン3、並びに、書店等の店舗に設けられる店舗端末装置5等との間で通信を行う。通信部13は、処理部11から与えられたデータを他の装置へ送信すると共に、他の装置から受信したデータを処理部11へ与える。 The communication unit 13 communicates with various devices via a network N including the Internet, wireless LAN, mobile phone communication network, and the like. In this embodiment, the communication unit 13 communicates via the network N with the user's smartphone 3 and a store terminal device 5 provided in a store such as a bookstore. The communication unit 13 transmits data provided from the processing unit 11 to other devices, and also provides data received from other devices to the processing unit 11.

なお記憶部12は、サーバ装置1に接続された外部記憶装置であってよい。またサーバ装置1は、複数のコンピュータを含んで構成されるマルチコンピュータであってよく、ソフトウェアによって仮想的に構築された仮想マシンであってもよい。またサーバ装置1は、上記の構成に限定されず、例えば可搬型の記憶媒体に記憶された情報を読み取る読取部、操作入力を受け付ける入力部、又は、画像を表示する表示部等を含んでもよい。 Note that the storage unit 12 may be an external storage device connected to the server device 1. Further, the server device 1 may be a multicomputer including a plurality of computers, or may be a virtual machine virtually constructed by software. Further, the server device 1 is not limited to the above configuration, and may include, for example, a reading unit that reads information stored in a portable storage medium, an input unit that accepts operation input, a display unit that displays an image, etc. .

また本実施の形態に係るサーバ装置1の処理部11には、記憶部12に記憶されたサーバプログラム12aを処理部11が読み出して実行することにより、特典コード生成部11a、識別情報取得部11b、特典コード紐付け部11c、利用情報取得部11d、特典抽出部11e、特典判定部11f及び特典情報出力部11g等がソフトウェア的な機能部として実現される。なおこれらの機能部は、ユーザへの特典を管理する処理に関する機能部であり、これ以外の機能部については図示及び説明を省略する。 In addition, the processing unit 11 of the server device 1 according to the present embodiment includes a privilege code generation unit 11a, an identification information acquisition unit 11b, and a privilege code generation unit 11a and an identification information acquisition unit 11b. , a benefit code linking unit 11c, a usage information acquisition unit 11d, a benefit extraction unit 11e, a benefit determination unit 11f, a benefit information output unit 11g, etc. are realized as software-like functional units. Note that these functional units are functional units related to processing for managing benefits for users, and illustrations and descriptions of other functional units will be omitted.

特典コード生成部11aは、会員のユーザに対して書店が提供する特典についての特典コードを生成する処理を行う。例えば書店及び会社の間で特典の内容及び有効期間等の条件が決定された後、書店のシステム管理者等がサーバ装置1を利用して特典コードの生成処理を実行することにより、特典コード生成部11aによる特典コードの生成が行われる。このとき管理者は、特典の名称、特典の内容及び有効期間等の条件をサーバ装置1に対して入力し、必要な情報の入力を受け付けた特典コード生成部11aは、特典を一意に識別し得る特典コードを生成する。特典コード生成部11aは、生成した特典コードと、管理者から入力を受け付けた特典に関する情報とを記憶部12の特典DB12bに記憶する。特典コード生成部11aは、生成した特典コードを、例えばサーバ装置1のディスプレイ装置に表示することで出力する。書店の管理者は、出力された特典コードを例えば印刷物又は電子メール等により会社の担当者へ送付することで、この会社への特典コードの配布を行うことができる。又は、サーバ装置1が特典コードを会社の担当者が使用する端末装置へ送信する処理を行ってもよい。 The benefit code generation unit 11a performs processing to generate a benefit code for a benefit provided by a bookstore to a member user. For example, after the content of the benefit and the conditions such as the validity period are determined between the bookstore and the company, the system administrator of the bookstore uses the server device 1 to generate the benefit code. A benefit code is generated by the unit 11a. At this time, the administrator inputs conditions such as the name of the benefit, the content of the benefit, and the validity period to the server device 1, and the benefit code generation unit 11a that receives the input of the necessary information uniquely identifies the benefit. Generate a benefit code to get. The benefit code generation unit 11a stores the generated benefit code and information regarding the benefit input from the administrator in the benefit DB 12b of the storage unit 12. The benefit code generation unit 11a outputs the generated benefit code by displaying it on the display device of the server device 1, for example. The manager of the bookstore can distribute the benefit code to the company by sending the outputted benefit code to the person in charge at the company, for example, in printed matter or by e-mail. Alternatively, the server device 1 may perform a process of transmitting the benefit code to a terminal device used by a person in charge of the company.

識別情報取得部11bは、ユーザに対して特典を付与する際に、このユーザのユーザ識別情報と、特典の特典コードとを取得する処理を行う。識別情報取得部11bは、ユーザが所持するスマートフォン3から送信される特典の付与要求を受信する。本実施の形態においてスマートフォン3が送信する付与要求は、特典の付与を要求する命令コードと、ユーザID及び特典コードの情報とを含む、データ又はメッセージ等である。識別情報取得部11bは、受信した付与要求に含まれるユーザID及び特典コードを取得する。 When granting a benefit to a user, the identification information acquisition unit 11b performs processing to acquire the user identification information of this user and the benefit code of the benefit. The identification information acquisition unit 11b receives a privilege grant request transmitted from the smartphone 3 owned by the user. In the present embodiment, the grant request transmitted by the smartphone 3 is data, a message, or the like that includes an instruction code requesting grant of a benefit, and information on a user ID and a benefit code. The identification information acquisition unit 11b acquires the user ID and benefit code included in the received grant request.

特典コード紐付け部11cは、ユーザIDと特典コードとを紐付けることにより、このユーザに対して特典を付与する処理を行う。特典コード紐付け部11cは、識別情報取得部11bが取得したユーザIDをユーザDB12cにて検索し、識別情報取得部11bが取得した特典コードとユーザIDとを対応付けてユーザDB12cに登録することで、ユーザID及び特典コードの紐付けを行う。この紐付けによって、ユーザに対する特典の付与が行われる。 The privilege code linking unit 11c performs a process of providing a privilege to this user by linking the user ID and the privilege code. The benefit code linking unit 11c searches the user DB 12c for the user ID acquired by the identification information acquisition unit 11b, associates the benefit code acquired by the identification information acquisition unit 11b with the user ID, and registers the association in the user DB 12c. Then, link the user ID and benefit code. Through this linkage, benefits are granted to the user.

利用情報取得部11dは、特典を利用するユーザのユーザIDを取得する処理を行う。本実施の形態においては、書店等にて商品を購入する際にユーザは自身のスマートフォン3にユーザIDを表示して店員に提示し、定員が店舗端末装置5にてスマートフォン3に表示されたユーザIDを読み込む作業を行う。店舗端末装置5は、スマートフォン3から取得したユーザIDをサーバ装置1へ送信することで、特典の有無の問い合わせを行う。店舗端末装置5が送信する問い合わせは、特典の有無を問い合わせる命令コードと、ユーザから取得したユーザIDとを含む。利用情報取得部11dは、店舗端末装置5から受信した問い合わせに含まれるユーザIDを取得する。 The usage information acquisition unit 11d performs processing to acquire the user ID of the user who uses the benefit. In this embodiment, when purchasing a product at a bookstore or the like, the user displays the user ID on his or her smartphone 3 and presents it to the store staff, and the user who Perform the task of reading the ID. The store terminal device 5 sends the user ID acquired from the smartphone 3 to the server device 1 to inquire about the presence or absence of benefits. The inquiry sent by the store terminal device 5 includes an instruction code for inquiring about the availability of benefits, and a user ID obtained from the user. The usage information acquisition unit 11d acquires the user ID included in the inquiry received from the store terminal device 5.

特典抽出部11eは、特典を利用しようとするユーザに対して付与されている特典の内容等を抽出する処理を行う。特典抽出部11eは、利用情報取得部11dが取得したユーザIDに対応付けられた特典コードをユーザDB12cから抽出する。更に特典抽出部11eは、この特典コードに対応する特典の内容等の情報を特典DB12bから抽出する。 The benefit extracting unit 11e performs a process of extracting the details of a benefit granted to a user who intends to use the benefit. The benefit extraction unit 11e extracts the benefit code associated with the user ID acquired by the usage information acquisition unit 11d from the user DB 12c. Further, the benefit extraction unit 11e extracts information such as the content of the benefit corresponding to this benefit code from the benefit DB 12b.

特典判定部11fは、特典の対して定められた有効期限等の条件を判定する処理を行う。特典判定部11fは、特典抽出部11eが抽出した特典について、例えば有効期限が定められている場合に、特典を使用しようとする時点が有効期限内であるか否かを判定する。また特典判定部11fは、特典を利用しようとするユーザの位置情報、特典を利用しようとする店舗、又は、特典を利用しようとする商品等に関する条件を判定してもよい。 The benefit determination unit 11f performs processing to determine conditions such as the expiration date set for the benefit. The benefit determining unit 11f determines whether or not the time point at which the benefit is to be used is within the expiration date, for example, when an expiration date is set for the benefit extracted by the benefit extraction unit 11e. Additionally, the benefit determination unit 11f may determine conditions related to the location information of the user who intends to use the benefit, the store where the user attempts to use the benefit, the product where the user attempts to use the benefit, and the like.

特典情報出力部11gは、特典抽出部11eが特典DB12bから抽出した特典内容等の情報を、問い合わせ元の店舗端末装置5へ送信(出力)する。なお、ユーザIDに紐付けられた特典コードが存在しない場合、特典情報出力部11gは、このユーザに特典が付与されていない旨の通知を店舗端末装置5へ送信する。店舗端末装置5は、問い合わせに対するサーバ装置1からの応答に基づいて、特典内容に応じた割引等のサービスをユーザに提供する。 The benefit information output unit 11g transmits (outputs) information such as the benefit details extracted from the benefit DB 12b by the benefit extraction unit 11e to the store terminal device 5 that is the source of the inquiry. Note that if there is no privilege code linked to the user ID, the privilege information output unit 11g transmits a notification to the store terminal device 5 that the privilege has not been granted to this user. Based on the response from the server device 1 to the inquiry, the store terminal device 5 provides the user with services such as discounts according to the content of benefits.

本実施の形態においては、特典コードにそれぞれ有効期間が定められている。本実施の形態においてサーバ装置1は、有効期限が切れた特典に関しては、ユーザDB12cにおけるユーザID及び特典コードの紐付けを解消する。本実施の形態においてサーバ装置1は、例えば1日に1回の頻度で特典の有効期限を調べて、有効期限が切れた特典についての紐付け解消を行う。またサーバ装置1は、店舗端末装置5からの問い合わせに応じてユーザIDに紐付けられた特典の有無を調べ、この際に特典の有効期限が切れている場合には、ユーザID及び特典コードの紐付けを解消する。ただし、有効期限が切れた特典に関しても、ユーザID及び特典コードの紐付けを維持してもよく、この場合には特典判定部11fが店舗端末装置5からの問い合わせに応じて特典の有無を判定する際に、紐付けられた特典が有効期限内であるか否かをその都度判定すればよい。 In this embodiment, each benefit code has a defined validity period. In this embodiment, the server device 1 cancels the association between the user ID and the benefit code in the user DB 12c regarding the benefit whose expiration date has expired. In the present embodiment, the server device 1 checks the expiration date of a benefit once a day, for example, and cancels the association of the expired benefit. In addition, the server device 1 checks whether there is a benefit linked to the user ID in response to an inquiry from the store terminal device 5, and if the benefit has expired at this time, the user ID and benefit code are checked. Remove the link. However, even for benefits that have expired, the association between the user ID and the benefit code may be maintained, and in this case, the benefit determination unit 11f determines the presence or absence of the benefit in response to an inquiry from the store terminal device 5. When doing so, it is sufficient to determine each time whether or not the linked benefit is within its expiration date.

図6は、本実施の形態に係るスマートフォン3の構成を示すブロック図である。本実施の形態に係るスマートフォン3は、処理部(プロセッサ)31、記憶部(ストレージ)32、通信部(トランシーバ)33、表示部(ディスプレイ)34及び操作部35等を備えて構成されている。処理部31は、CPU又はMPU等の演算処理装置を用いて構成されている。処理部31は、記憶部32に記憶されたプログラム32aを読み出して実行することにより、特典コードの受け付け及び特典付与の要求等に係る種々の処理を行う。 FIG. 6 is a block diagram showing the configuration of the smartphone 3 according to this embodiment. The smartphone 3 according to the present embodiment includes a processing section (processor) 31, a storage section (storage) 32, a communication section (transceiver) 33, a display section (display) 34, an operation section 35, and the like. The processing unit 31 is configured using an arithmetic processing device such as a CPU or an MPU. The processing unit 31 reads and executes a program 32a stored in the storage unit 32, thereby performing various processes related to receiving a benefit code, requesting a benefit, and the like.

記憶部32は、例えばフラッシュメモリなどの不揮発性のメモリ素子を用いて構成されている。記憶部32は、処理部31が実行する各種のプログラム、及び、処理部31の処理に必要な各種のデータを記憶する。本実施の形態において記憶部32は、処理部31が実行するプログラム32aと、スマートフォン3のユーザに対して付されたユーザID32bとを記憶している。本実施の形態においてプログラム32aは遠隔のサーバ装置等により配信され、これをスマートフォン3が通信にて取得し、記憶部32に記憶する。ただしプログラム32aは、例えばスマートフォン3の製造段階において記憶部32に書き込まれてもよい。例えばプログラム32aは、メモリカード又は光ディスク等の記録媒体に記録されたプログラム32aをスマートフォン3が読み出して記憶部32に記憶してもよい。例えばプログラム32aは、記録媒体に記録されたものを書込装置が読み出してスマートフォン3の記憶部32に書き込んでもよい。プログラム32aは、ネットワークを介した配信の態様で提供されてもよく、記録媒体に記録された態様で提供されてもよい。 The storage unit 32 is configured using, for example, a nonvolatile memory element such as a flash memory. The storage unit 32 stores various programs executed by the processing unit 31 and various data necessary for processing by the processing unit 31. In this embodiment, the storage unit 32 stores a program 32a executed by the processing unit 31 and a user ID 32b assigned to the user of the smartphone 3. In the present embodiment, the program 32a is distributed by a remote server device or the like, and the smartphone 3 acquires it through communication and stores it in the storage unit 32. However, the program 32a may be written into the storage unit 32 during the manufacturing stage of the smartphone 3, for example. For example, the program 32a may be stored in the storage unit 32 by reading the program 32a recorded on a recording medium such as a memory card or an optical disk. For example, the program 32a may be recorded on a recording medium, read by a writing device, and written into the storage unit 32 of the smartphone 3. The program 32a may be provided in the form of distribution via a network, or may be provided in the form of being recorded on a recording medium.

ユーザID32bは、本実施の形態に係る特典を提供する書店等の会員のユーザに対して付されるIDである。ユーザID32bは、例えばスマートフォン3に対して書店等が提供するアプリ(プログラム32a)がインストールされた際等に、スマートフォン3のユーザに対して付される。ユーザIDは、例えばサーバ装置1又はスマートフォン3等が生成したものであってよく、ユーザが入力したものであってよい。例えばユーザID32bは、ユーザのメールアドレス又はSNS(Social Networking Service)のアカウント等と共用であってもよい。 The user ID 32b is an ID assigned to a user who is a member of a bookstore or the like that provides benefits according to this embodiment. The user ID 32b is assigned to the user of the smartphone 3, for example, when an application (program 32a) provided by a bookstore or the like is installed on the smartphone 3. The user ID may be generated by, for example, the server device 1 or the smartphone 3, or may be input by the user. For example, the user ID 32b may be shared with the user's email address, SNS (Social Networking Service) account, or the like.

通信部33は、公衆の携帯電話通信網及びインターネット等を含むネットワークNを介して、種々の装置との間で通信を行う。本実施の形態において通信部33は、ネットワークNを介してサーバ装置1との通信を行う。通信部33は、処理部31から与えられたデータをサーバ装置1へ送信すると共に、サーバ装置1から受信したデータを処理部31へ与える。 The communication unit 33 communicates with various devices via a network N including a public mobile phone communication network, the Internet, and the like. In this embodiment, the communication unit 33 communicates with the server device 1 via the network N. The communication unit 33 transmits data provided from the processing unit 31 to the server device 1 and also provides data received from the server device 1 to the processing unit 31.

表示部34は、液晶ディスプレイ等を用いて構成されており、処理部31の処理に基づいて種々の画像及び文字等を表示する。操作部35は、例えば機械式のボタン又は表示部34の表面に設けられたタッチパネル等の入力デバイスによりユーザの操作を受け付け、受け付けた操作を処理部31へ通知する。 The display section 34 is configured using a liquid crystal display or the like, and displays various images, characters, etc. based on the processing of the processing section 31. The operation unit 35 receives a user's operation using an input device such as a mechanical button or a touch panel provided on the surface of the display unit 34, and notifies the processing unit 31 of the accepted operation.

また本実施の形態に係るスマートフォン3は、記憶部32に記憶されたプログラム32aを処理部31が読み出して実行することにより、特典コード受付部31a、識別情報送信部31b及びユーザID出力部31c等がソフトウェア的な機能部として実現される。特典コード受付部31aは、ユーザによる特典コードの入力を受け付ける処理を行う。特典コード受付部31aは、例えば表示部34に特典コードの入力画面を表示し、操作部35にて特典コードを構成する文字又は数字等の入力を受け付けることで、特典コードの入力を受け付ける。ただし特典コードが例えば二次元コード等でユーザに提供されている場合、特典コード受付部31aは、スマートフォン3のカメラ(図示は省略する)にて二次元コードの撮影を行い、撮影した二次元コードを特典コードに変換することで、特典コードの入力を受け付けてもよい。 In addition, the smartphone 3 according to the present embodiment has a privilege code receiving section 31a, an identification information transmitting section 31b, a user ID outputting section 31c, etc., by having the processing section 31 read out and execute the program 32a stored in the storage section 32. is realized as a software-like functional part. The benefit code reception unit 31a performs a process of accepting input of a benefit code by the user. The benefit code reception unit 31a receives the input of the benefit code by, for example, displaying a benefit code input screen on the display unit 34 and accepting input of characters, numbers, etc. constituting the benefit code using the operation unit 35. However, if the privilege code is provided to the user in the form of a two-dimensional code, for example, the privilege code reception unit 31a photographs the two-dimensional code with the camera of the smartphone 3 (not shown), and stores the photographed two-dimensional code. The input of a benefit code may be accepted by converting the following into a benefit code.

識別情報送信部31bは、特典コード受付部31aが入力を受け付けた特典コード、及び、記憶部32に記憶されたユーザのユーザID32bの情報を含む特典の付与要求をサーバ装置1に対して送信する。これによりサーバ装置1にて特典の付与処理が実施され、付与処理の処理結果がサーバ装置1からスマートフォン3へ応答として与えられる。識別情報送信部31bは、サーバ装置1からの応答に基づいて、特典の付与の可否を表示部34に表示する。 The identification information transmitting unit 31b transmits to the server device 1 a request for granting a benefit that includes the privilege code input by the privilege code receiving unit 31a and information on the user ID 32b of the user stored in the storage unit 32. . As a result, the server device 1 executes the privilege granting process, and the processing result of the granting process is provided from the server device 1 to the smartphone 3 as a response. Based on the response from the server device 1, the identification information transmitting unit 31b displays on the display unit 34 whether or not the privilege can be granted.

ユーザID出力部31cは、ユーザが書店等で商品を購入する際に店員へ提示するために、ユーザIDを表示部34に表示(出力)する処理を行う。ユーザID出力部31cは、例えば書店が提供するアプリのメニュー画面においてユーザID表示の項目が選択された場合に、記憶部32に記憶されたユーザID32bを表示部34に表示する。このときにユーザID出力部31cは、例えばユーザID32bを文字及び数字等の列として表示してもよく、また例えばユーザID32bを二次元コードに変換して表示しもよい。 The user ID output unit 31c performs a process of displaying (outputting) the user ID on the display unit 34 in order to present it to a store clerk when the user purchases a product at a bookstore or the like. The user ID output unit 31c displays the user ID 32b stored in the storage unit 32 on the display unit 34, for example, when an item for displaying a user ID is selected on a menu screen of an application provided by a bookstore. At this time, the user ID output unit 31c may display the user ID 32b as a string of letters and numbers, for example, or may convert the user ID 32b into a two-dimensional code and display it.

図7は、本実施の形態に係る店舗端末装置5の構成を示すブロック図である。本実施の形態に係る店舗端末装置5は、処理部(プロセッサ)51、記憶部(ストレージ)52、通信部(トランシーバ)53、読取部54及び操作部55等を備えて構成されている。処理部51は、CPU又はMPU等の演算処理装置を用いて構成されている。処理部51は、記憶部52に記憶されたプログラム52aを読み出して実行することにより、商品の決済及び特典の提供等に係る種々の処理を行う。 FIG. 7 is a block diagram showing the configuration of the store terminal device 5 according to this embodiment. The store terminal device 5 according to the present embodiment includes a processing section (processor) 51, a storage section (storage) 52, a communication section (transceiver) 53, a reading section 54, an operation section 55, and the like. The processing unit 51 is configured using an arithmetic processing device such as a CPU or an MPU. The processing unit 51 reads and executes the program 52a stored in the storage unit 52 to perform various processes related to payment of products, provision of benefits, etc.

記憶部52は、例えばフラッシュメモリなどの不揮発性のメモリ素子を用いて構成されている。記憶部52は、処理部51が実行する各種のプログラム、及び、処理部51の処理に必要な各種のデータを記憶する。本実施の形態において記憶部52は、処理部51が実行するプログラム52aを記憶している。本実施の形態においてプログラム52aは、店舗端末装置5の製造段階において記憶部52に書き込まれる。ただし、例えばプログラム52aは遠隔のサーバ装置等により配信されてもよく、店舗端末装置5が通信にてこれを取得して記憶部52に記憶してもよい。例えばプログラム52aは、メモリカード又は光ディスク等の記録媒体に記録されてもよく、店舗端末装置5が記録媒体からプログラム52aを読み出して記憶部52に記憶してもよい。例えば記録媒体に記録されたプログラム52aを書込装置が読み出して店舗端末装置5の記憶部52に書き込んでもよい。プログラム52aは、ネットワークを介した配信の態様で提供されてもよく、記録媒体に記録された態様で提供されてもよい。 The storage unit 52 is configured using, for example, a nonvolatile memory element such as a flash memory. The storage unit 52 stores various programs executed by the processing unit 51 and various data necessary for processing by the processing unit 51. In this embodiment, the storage unit 52 stores a program 52a executed by the processing unit 51. In this embodiment, the program 52a is written into the storage unit 52 during the manufacturing stage of the store terminal device 5. However, for example, the program 52a may be distributed by a remote server device or the like, or the store terminal device 5 may acquire it via communication and store it in the storage unit 52. For example, the program 52a may be recorded on a recording medium such as a memory card or an optical disc, or the store terminal device 5 may read the program 52a from the recording medium and store it in the storage unit 52. For example, a writing device may read the program 52a recorded on a recording medium and write it into the storage unit 52 of the store terminal device 5. The program 52a may be provided in the form of distribution via a network, or may be provided in the form of being recorded on a recording medium.

通信部53は、インターネット及び公衆の携帯電話通信網等を含むネットワークNを介して、種々の装置との間で通信を行う。本実施の形態において通信部53は、ネットワークNを介してサーバ装置1との通信を行う。通信部53は、処理部51から与えられたデータをサーバ装置1へ送信すると共に、サーバ装置1から受信したデータを処理部51へ与える。 The communication unit 53 communicates with various devices via a network N including the Internet, a public mobile phone communication network, and the like. In this embodiment, the communication unit 53 communicates with the server device 1 via the network N. The communication unit 53 transmits data provided from the processing unit 51 to the server device 1 and also provides data received from the server device 1 to the processing unit 51.

読取部54は、例えば光学センサ等を用いて構成されており、ユーザのスマートフォン3に表示されたユーザIDを読み取る。読取部54は、読み取ったユーザIDを処理部51へ通知する。操作部55は、例えば機械式のボタン又は表示部34の表面に設けられたタッチパネル等の入力デバイスによりユーザの操作を受け付け、受け付けた操作を処理部51へ通知する。 The reading unit 54 is configured using, for example, an optical sensor or the like, and reads the user ID displayed on the user's smartphone 3. The reading unit 54 notifies the processing unit 51 of the read user ID. The operation unit 55 receives a user's operation using an input device such as a mechanical button or a touch panel provided on the surface of the display unit 34, and notifies the processing unit 51 of the accepted operation.

また本実施の形態に係る店舗端末装置5は、記憶部52に記憶されたプログラム52aを処理部51が読み出して実行することにより、ユーザID取得部51a、特典問合部51b及び特典適用部51c等がソフトウェア的な機能部として実現される。ユーザID取得部51aは、読取部54にてユーザのスマートフォン3に表示されたユーザIDを読み取ることにより、このユーザのユーザIDを取得する処理を行う。 In addition, the store terminal device 5 according to the present embodiment has a user ID acquisition section 51a, a privilege inquiry section 51b, and a privilege application section 51c, when the processing section 51 reads out and executes the program 52a stored in the storage section 52. etc. are realized as software-like functional parts. The user ID acquisition unit 51a performs a process of acquiring the user ID of the user by reading the user ID displayed on the user's smartphone 3 using the reading unit 54.

特典問合部51bは、ユーザID取得部51aが取得したユーザIDに係るユーザについて、特典の付与の有無をサーバ装置1へ問い合わせる処理を行う。特典問合部51bは、ユーザIDの情報を含む問い合わせを通信部53にてサーバ装置1へ送信し、問い合わせの結果を含む応答をサーバ装置1から受信する。本実施の形態において特典問合部51bがサーバ装置1へ送信する問い合わせは、特典の有無を応答として送信させる命令コードと、ユーザID取得部51aが取得したユーザIDとの情報を含むデータ又はメッセージ等である。 The benefit inquiry unit 51b performs a process of inquiring the server device 1 about whether or not a benefit is granted for the user associated with the user ID acquired by the user ID acquisition unit 51a. The benefit inquiry unit 51b transmits an inquiry including user ID information to the server device 1 through the communication unit 53, and receives a response including the result of the inquiry from the server device 1. In this embodiment, the inquiry that the benefit inquiry unit 51b sends to the server device 1 is data or a message that includes information about an instruction code to transmit the presence or absence of a benefit as a response and the user ID acquired by the user ID acquisition unit 51a. etc.

特典適用部51cは、特典が付与されているユーザに対して、この特典に係るサービスを適用する処理を行う。特典適用部51cは、特典問合部51bの問い合わせに基づいて、取得したユーザIDに係るユーザに特典が付与されていると判断された場合、サーバ装置1からの応答に含まれる特典内容の情報を取得する。特典適用部51cは、取得した特典内容に応じたサービスを自動的に提供する。例えば特典内容が割引である場合、特典適用部51cは、ユーザの購入金額に対して特典に係る割引率を自動的に適用する。また例えば特典内容がポイント還元率の割り増しである場合、特典適用部51cは、ユーザへ提供するポイントの算出の際に、特典に係る割増率を自動的に適用する。また例えば特典内容が粗品の進呈等のように、定員の作業を必要とするものである場合、特典適用部51cは、特典内容を店舗端末装置5の表示部等に表示して、特典に係る作業を行うよう店員を促す。 The benefit application unit 51c performs a process of applying a service related to the benefit to a user to whom the benefit is granted. If it is determined based on the inquiry from the benefit inquiry unit 51b that a benefit has been granted to the user associated with the acquired user ID, the benefit application unit 51c applies information on the benefit content included in the response from the server device 1. get. The benefit application unit 51c automatically provides a service according to the acquired benefit content. For example, when the benefit content is a discount, the benefit application unit 51c automatically applies the discount rate related to the benefit to the user's purchase amount. Further, for example, if the benefit content is a premium on the point return rate, the benefit application unit 51c automatically applies the premium rate related to the benefit when calculating the points to be provided to the user. For example, if the benefit content requires the work of a limited number of staff, such as the presentation of a free gift, the benefit application unit 51c displays the benefit content on the display unit of the store terminal device 5, etc. Encourage the clerk to perform the task.

<特典付与処理>
図8は、本実施の形態に係るサーバ装置1が行う特典コード生成処理の手順を示すフローチャートである。本実施の形態に係るサーバ装置1の処理部11の特典コード生成部11aは、管理者等による新たな特典に係る特典名称、有効期限及び特典内容等の情報の入力を受け付ける(ステップS1)。特典コード生成部11aは、入力を受け付けた特典に対する特典コードを、予め定められた所定の生成規則に従って生成する(ステップS2)。特典コードは、例えば通し番号として生成されてもよく、また例えば生成時点の日時情報等に基づいて生成されてもよく、乱数に基づいて生成されてもよい。特典コードは、特典DB12bにおいて重複することない情報であればよい。特典コード生成部11aは、生成した特典コードと、入力を受け付けた情報とを対応付けて、記憶部12の特典DB12bに登録(記憶)する(ステップS3)。また特典コード生成部11aは、生成した特典コードを、サーバ装置1の表示部等に表示することによって、管理者に対して出力し(ステップS4)、処理を終了する。
<Benefit granting process>
FIG. 8 is a flowchart showing the procedure of the privilege code generation process performed by the server device 1 according to the present embodiment. The benefit code generation unit 11a of the processing unit 11 of the server device 1 according to the present embodiment receives input of information such as a benefit name, expiration date, and benefit content regarding a new benefit from an administrator or the like (step S1). The benefit code generation unit 11a generates a benefit code for the received benefit according to a predetermined generation rule (step S2). The benefit code may be generated as a serial number, for example, based on date and time information at the time of generation, or may be generated based on a random number. The benefit code may be information that does not overlap in the benefit DB 12b. The benefit code generation unit 11a associates the generated benefit code with the input information and registers (stores) it in the benefit DB 12b of the storage unit 12 (step S3). Further, the benefit code generation unit 11a outputs the generated benefit code to the administrator by displaying it on the display unit of the server device 1 (step S4), and ends the process.

図9は、本実施の形態に係るスマートフォン3が行う特典付与要求処理の手順を示すフローチャートである。本実施の形態に係るスマートフォン3の処理部31の特典コード受付部31aは、表示部34に特典コードを入力するための入力画面を表示する(ステップS11)。特典コード受付部31aは、入力画面におけるユーザによる特典コードの入力を操作部35により受け付ける(ステップS12)。 FIG. 9 is a flowchart illustrating the procedure of the privilege grant request process performed by the smartphone 3 according to the present embodiment. The privilege code reception unit 31a of the processing unit 31 of the smartphone 3 according to the present embodiment displays an input screen for inputting a privilege code on the display unit 34 (step S11). The privilege code reception unit 31a receives the input of a privilege code by the user on the input screen using the operation unit 35 (step S12).

次いで処理部31の識別情報送信部31bは、記憶部32に記憶したユーザID32bを読み出す(ステップS13)。識別情報送信部31bは、ステップS12にて読み出したユーザIDと、ステップS12にて受け付けた特典コードとを含む特典の付与要求をサーバ装置1へ送信する(ステップS14)。その後、識別情報送信部31bは、要求に対するサーバ装置1からの応答を受信したか否かを判定する(ステップS15)。応答を受信していない場合(S15:NO)、識別情報送信部31bは、サーバ装置1からの応答を受信するまで待機する。 Next, the identification information transmitting section 31b of the processing section 31 reads out the user ID 32b stored in the storage section 32 (step S13). The identification information transmitting unit 31b transmits a privilege grant request including the user ID read in step S12 and the privilege code received in step S12 to the server device 1 (step S14). After that, the identification information transmitter 31b determines whether or not a response from the server device 1 to the request has been received (step S15). If a response has not been received (S15: NO), the identification information transmitter 31b waits until it receives a response from the server device 1.

サーバ装置1からの応答を受信した場合(S15:YES)、識別情報送信部31bは、受信した応答に含まれる情報を調べることにより、特典付与の正否を判定する(ステップS16)。サーバ装置1が特典の付与に成功した場合(S16:YES)、識別情報送信部31bは、表示部34にメッセージ等を表示することにより、特典の付与がなされた旨をユーザに通知して(ステップS17)、処理を終了する。サーバ装置1が特典の付与に失敗した場合(S16:NO)、識別情報送信部31bは、表示部34にメッセージ等を表示することにより、特典の付与に関するエラーをユーザに通知し(ステップS18)、処理を終了する。 When receiving a response from the server device 1 (S15: YES), the identification information transmitting unit 31b determines whether the award is correct or not by checking the information included in the received response (Step S16). If the server device 1 succeeds in granting the benefit (S16: YES), the identification information transmitting unit 31b notifies the user that the benefit has been granted by displaying a message or the like on the display unit 34 ( Step S17), the process ends. If the server device 1 fails to grant the benefit (S16: NO), the identification information transmitting unit 31b notifies the user of the error regarding the granting of the benefit by displaying a message or the like on the display unit 34 (Step S18). , ends the process.

図10は、本実施の形態に係るサーバ装置1が行う特典付与処理の手順を示すフローチャートである。本実施の形態に係るサーバ装置1の処理部11の識別情報取得部11bは、スマートフォン3から送信される特典付与の要求を受信したか否かを判定する(ステップS31)。特典付与の要求を受信していない場合(S31:NO)、識別情報取得部11bは、特典付与の要求を受信するまで待機する。スマートフォン3から特典付与の要求を受信した場合(S31:YES)、識別情報取得部11bは、受信した要求に含まれるユーザID及び特典コードを取得する(ステップS32)。識別情報取得部11bは、取得した特典コードが、記憶部12の特典DB12bに登録された特典コードであるか否かを判定することにより、受信したものが正しい特典コードであるか否かを判定する(ステップS33)。 FIG. 10 is a flowchart showing the procedure of the privilege granting process performed by the server device 1 according to the present embodiment. The identification information acquisition unit 11b of the processing unit 11 of the server device 1 according to the present embodiment determines whether or not a request for granting a benefit transmitted from the smartphone 3 has been received (step S31). If a request for awarding a privilege has not been received (S31: NO), the identification information acquisition unit 11b waits until receiving a request for awarding a privilege. When receiving a request for granting a benefit from the smartphone 3 (S31: YES), the identification information acquisition unit 11b acquires the user ID and benefit code included in the received request (Step S32). The identification information acquisition unit 11b determines whether the received benefit code is the correct benefit code by determining whether the acquired benefit code is a benefit code registered in the benefit DB 12b of the storage unit 12. (Step S33).

正しい特典コードであると判定した場合(S33:YES)、即ち受信した特典コードが特典DB12bに登録されているものである場合、特典コード紐付け部11cは、ステップS32にて取得したユーザID及び特典コードの紐付けを行う(ステップS34)。即ち、特典コード紐付け部11cは、特典付与の要求に含まれるユーザIDをユーザDB12cにて検索し、検索したユーザIDに対応付けて特典付与の要求に含まれる特典コードを記憶することで、ユーザID及び特典コードを紐付けする。特典コード紐付け部11cは、ユーザID及び特典コードを紐付けた旨、即ちユーザに対する特典付与を行った旨を要求元のスマートフォン3へ通知し(ステップS35)、処理を終了する。また、正しいコードでないと判定した場合(S33:NO)、即ち受信した特典コードが特典DB12bに登録されていない場合、特典コード紐付け部11cは、特典付与に関してエラーが生じた旨を要求元のスマートフォン3へ通知し(ステップS36)、処理を終了する。 If it is determined that the benefit code is correct (S33: YES), that is, if the received benefit code is registered in the benefit DB 12b, the benefit code linking unit 11c uses the user ID and the information obtained in step S32. The privilege code is linked (step S34). That is, the privilege code linking unit 11c searches the user DB 12c for the user ID included in the request for award granting, and stores the privilege code included in the request for award granting in association with the searched user ID. Link the user ID and benefit code. The privilege code linking unit 11c notifies the requesting smartphone 3 that the user ID and the privilege code have been linked, that is, that the privilege has been granted to the user (step S35), and ends the process. Further, if it is determined that the code is not correct (S33: NO), that is, if the received benefit code is not registered in the benefit DB 12b, the benefit code linking unit 11c informs the requesting party that an error has occurred regarding granting the benefit. The smartphone 3 is notified (step S36), and the process ends.

図11は、本実施の形態に係る店舗端末装置5が行う特典判定処理の手順を示すフローチャートである。本実施の形態に係る店舗端末装置5の処理部51のユーザID取得部51aは、読取部54にてスマートフォン3に表示されたユーザIDを読み取ることにより、ユーザのユーザIDを取得する(ステップS51)。処理部51の特典問合部51bは、ステップS51にて取得したユーザIDを含む問い合わせをサーバ装置1へ送信することにより、このユーザに関する特典の有無を問い合わせる(ステップS52)。特典問合部51bは、この問い合わせに対するサーバ装置1からの応答を受信したか否かを判定する(ステップS53)。応答を受信していない場合(S53:NO)、特典問合部51bは、応答を受信するまで待機する。 FIG. 11 is a flowchart illustrating the procedure of benefit determination processing performed by the store terminal device 5 according to the present embodiment. The user ID acquisition unit 51a of the processing unit 51 of the store terminal device 5 according to the present embodiment acquires the user ID of the user by reading the user ID displayed on the smartphone 3 using the reading unit 54 (step S51 ). The benefit inquiry unit 51b of the processing unit 51 inquires as to whether there are any benefits for this user by transmitting an inquiry including the user ID acquired in step S51 to the server device 1 (step S52). The benefit inquiry unit 51b determines whether or not a response from the server device 1 to this inquiry has been received (step S53). If a response has not been received (S53: NO), the benefit inquiry unit 51b waits until it receives a response.

サーバ装置1からの応答を受信した場合(S53:YES)、特典問合部51bは、受信した応答に含まれる情報に基づいて、問い合わせに係るユーザに対して特典が付与されているか否かを判定する(ステップS54)。特典が付与されていない場合(S54:NO)、処理部51は、特典判定処理を終了し、特典がない場合の決済処理等を行う。特典が付与されている場合S(S54:YES)、処理部51の特典適用部51cは、サーバ装置1からの応答に含まれる特典内容の情報を取得する(ステップS55)。特典適用部51cは、取得した特典内容に従って、ユーザに対する割引等のサービスを提供し(ステップS56)、特典判定処理を終了する。 When receiving a response from the server device 1 (S53: YES), the benefit inquiry unit 51b determines whether or not a benefit has been granted to the user regarding the inquiry, based on the information included in the received response. Determination is made (step S54). If no benefit has been granted (S54: NO), the processing unit 51 ends the benefit determination process and performs payment processing, etc. in the case where there is no benefit. If a benefit is granted S (S54: YES), the benefit application unit 51c of the processing unit 51 acquires information on the benefit content included in the response from the server device 1 (step S55). The benefit application unit 51c provides services such as discounts to the user according to the acquired benefit details (step S56), and ends the benefit determination process.

図12は、本実施の形態に係るサーバ装置1が行う特典判定処理の手順を示すフローチャートである。本実施の形態に係るサーバ装置1の処理部11の利用情報取得部11dは、店舗端末装置5から特典の有無の問い合わせを受信したか否かを判定する(ステップS71)。問い合わせを受信していない場合(S71:NO)、利用情報取得部11dは、問い合わせを受信するまで待機する。店舗端末装置5からの問い合わせを受信した場合(S71:YES)、利用情報取得部11dは、問い合わせに含まれるユーザIDを取得する(ステップS72)。 FIG. 12 is a flowchart showing the procedure of the benefit determination process performed by the server device 1 according to the present embodiment. The usage information acquisition unit 11d of the processing unit 11 of the server device 1 according to the present embodiment determines whether or not it has received an inquiry about the presence or absence of benefits from the store terminal device 5 (step S71). If the inquiry has not been received (S71: NO), the usage information acquisition unit 11d waits until it receives the inquiry. When receiving an inquiry from the store terminal device 5 (S71: YES), the usage information acquisition unit 11d acquires the user ID included in the inquiry (Step S72).

次いで処理部11の特典抽出部11eは、ステップS72にて取得したユーザIDにて記憶部12のユーザDB12cを参照し、ユーザIDに対応する特典コードが記憶されているか否かに基づいて、このユーザに係る特典の有無を判定する(ステップS73)。このユーザについて特典なしと判定した場合(S73:NO)、即ちユーザIDに対する特典コードが特典DB12bに登録されていない場合、特典抽出部11eは、特典がない旨を問い合わせ元の店舗端末装置5へ通知し(ステップS74)、処理を終了する。 Next, the benefit extraction section 11e of the processing section 11 refers to the user DB 12c of the storage section 12 using the user ID acquired in step S72, and extracts the benefit code based on whether or not the benefit code corresponding to the user ID is stored. It is determined whether there is a benefit related to the user (step S73). If it is determined that there is no benefit for this user (S73: NO), that is, if the benefit code for the user ID is not registered in the benefit DB 12b, the benefit extraction unit 11e informs the inquiring store terminal device 5 that there is no benefit. Notification is made (step S74), and the process ends.

このユーザについて特典ありと判定した場合(S73:YES)、即ちユーザIDに対応する特典コードが特典DB12bに登録されている場合、特典抽出部11eは、この特典コードを基に記憶部12の特典DB12bを参照して(ステップS75)、特典に関する情報を抽出する。処理部11の特典判定部11fは、特典DB12bに登録された有効期間の情報に基づいて、この特典コードに係る特典が有効期限内であるか否かを判定する(ステップS76)。有効期限内である場合(S76:YES)、処理部11の特典情報出力部11gは、ステップS75にて特典DB12bから抽出した特典内容等の情報を問い合わせ元の店舗端末装置5へ通知して(ステップS77)、処理を終了する。 If it is determined that there is a benefit for this user (S73: YES), that is, if the benefit code corresponding to the user ID is registered in the benefit DB 12b, the benefit extraction unit 11e extracts the benefit from the storage unit 12 based on this benefit code. Information regarding benefits is extracted with reference to the DB 12b (step S75). The benefit determination unit 11f of the processing unit 11 determines whether or not the benefit associated with this benefit code is within its expiration date, based on the validity period information registered in the benefit DB 12b (step S76). If it is within the expiration date (S76: YES), the benefit information output unit 11g of the processing unit 11 notifies the inquiring store terminal device 5 of the information such as the benefit content extracted from the benefit DB 12b in step S75 ( Step S77), the process ends.

特典が有効期限内でない場合(S76:NO)、特典判定部11fは、この特典コードとユーザIDとの紐付けを解消する(ステップS78)。特典情報出力部11gは、特典がない旨を問い合わせ元の店舗端末装置5へ通知し(ステップS79)、処理を終了する。 If the benefit is not within the expiration date (S76: NO), the benefit determination unit 11f cancels the association between the benefit code and the user ID (step S78). The benefit information output unit 11g notifies the inquiring store terminal device 5 that there is no benefit (step S79), and ends the process.

<まとめ>
以上の構成の本実施の形態に係る特典管理システムは、持続的に特定のサービスを受ける権利を特典としてユーザに付与する。サーバ装置1は、ユーザに特典を付与する際に、特典の付与を要求するユーザのユーザIDと、特典を識別する特典コードとを取得して、取得したユーザID及び特典コードをユーザDB12cに紐付けて記憶する。なお特典コードは、ユーザに対して個別に発行されるものではなく、複数のユーザが共通して利用することができるコードである。その後、ユーザが付与された特典を利用する際には、サーバ装置1は、特典の利用を要求するユーザのユーザIDを取得し、取得したユーザIDに紐付けられた特典コードの有無を判定する。ユーザIDに紐付けられた特典コードが存在する場合、サーバ装置1は、特典コードに係る特典の内容等を特典DB12bから取得し、取得した特典内容等の情報を店舗端末装置5等へ送信することにより、特典内容に応じた特定のサービスをユーザIDに係るユーザに提供する。これにより、ユーザはユーザIDを提示することで特典に係るサービスを受けることができる。また書店の店員等は、店舗端末装置5等にてユーザIDを読み取ることで、このユーザに付与された特典の内容を自身で判断することなく、特典に係るサービスを提供することができる。
<Summary>
The benefit management system according to the present embodiment configured as described above grants the user the right to continuously receive a specific service as a benefit. When granting a benefit to a user, the server device 1 acquires the user ID of the user requesting the grant and a benefit code that identifies the benefit, and links the acquired user ID and benefit code to the user DB 12c. Attach and memorize. Note that the benefit code is not issued to each user individually, but is a code that can be used in common by multiple users. After that, when the user uses the granted benefit, the server device 1 acquires the user ID of the user who requests the use of the benefit, and determines whether there is a benefit code linked to the acquired user ID. . If a benefit code linked to the user ID exists, the server device 1 acquires the contents of the benefit related to the benefit code from the benefit DB 12b, and transmits the information such as the acquired benefit contents to the store terminal device 5, etc. By doing so, a specific service corresponding to the content of the benefit is provided to the user associated with the user ID. Thereby, the user can receive the service related to the benefit by presenting the user ID. Further, by reading the user ID using the store terminal device 5 or the like, a bookstore clerk or the like can provide a service related to the benefit without having to judge the content of the benefit granted to the user himself.

また本実施の形態に係る特典管理システムでは、特典には有効期限が定められており、有効期限内で持続的に特定のサービスを受け得る権利が特典としてユーザに与えられる。サーバ装置1は、ユーザ識別情報に紐付けられた特典コードが存在する場合、この特典コードに係る特典の有効期限内であるか否かを判定し、有効期限内であれば特典に係るサービスを提供する。有効期限を過ぎた場合には、サーバ装置1は、このユーザID及び特典コードの紐付けを解消する。これらにより、例えば特定の会社に与えられた社員割引等の特典が、この会社を退社した社員等に対して持続的に適用されることを防止できる。 Further, in the privilege management system according to the present embodiment, a privilege has a fixed expiration date, and the user is given the right to continuously receive a specific service within the expiration date as a privilege. If there is a benefit code linked to the user identification information, the server device 1 determines whether or not the benefit related to this benefit code is within the expiration date, and if it is within the expiration date, the server device 1 provides the service related to the benefit. provide. If the expiration date has passed, the server device 1 cancels the association between the user ID and the benefit code. These can prevent, for example, benefits such as employee discounts given to a specific company from being continuously applied to employees who have left the company.

また本実施の形態に係る特典管理システムでは、ユーザ毎に個別の特典コードを生成するのではなく、複数のユーザが属する会社又は学校等の特定のグループに対して、グループのユーザに共通の特典コードを生成する。これにより、特典コードの生成及び管理等が容易化される。 In addition, in the benefit management system according to the present embodiment, instead of generating individual benefit codes for each user, for a specific group such as a company or school to which multiple users belong, a benefit code common to the users of the group is generated. Generate code. This facilitates the generation and management of benefit codes.

また本実施の形態に係る特典管理システムでは、ユーザが使用するスマートフォン3が、このユーザのユーザIDを記憶し、特典コードの入力を受け付ける。スマートフォン3は、記憶したユーザIDと入力された特典コードとをサーバ装置1へ送信し、このユーザに対する特典の付与を要求する。これに応じてサーバ装置1は、スマートフォン3から受信したユーザID及び特典コードを紐付けて記憶し、ユーザに対する特典の付与を行う。またスマートフォン3は、ユーザが特典を利用する際に、記憶したユーザIDを出力するが、特典コードを出力する必要はない。書店等ではスマートフォン3が出力するユーザIDを店舗端末装置5にて取得し、取得したユーザIDに紐付けられた特典コードの有無をサーバ装置1が判定することで、特典に係るサービスをユーザに提供することができる。 Further, in the benefit management system according to the present embodiment, the smartphone 3 used by the user stores the user ID of this user and accepts input of a benefit code. The smartphone 3 transmits the stored user ID and the entered benefit code to the server device 1, and requests the provision of a benefit to this user. In response to this, the server device 1 stores the user ID and benefit code received from the smartphone 3 in a linked manner, and provides a benefit to the user. Furthermore, when the user uses a benefit, the smartphone 3 outputs the stored user ID, but there is no need to output the benefit code. At a bookstore, etc., the store terminal device 5 acquires the user ID output by the smartphone 3, and the server device 1 determines whether there is a benefit code linked to the acquired user ID, thereby providing services related to the benefit to the user. can be provided.

なお本実施の形態においては、ユーザに付与する特典として割引又はポイント還元率の増加等を例に説明を行ったが、特典はこれら以外のどのようなものであってもよい。また店舗として書店を例に説明を行ったが、これに限るものではなく、どのような店舗であってもよい。またユーザが属するグループとして会社及び学校を例に説明を行ったが、これに限るものではなく、グループはどのようなものであってもよい。また店舗は実店舗ではなく、オンラインショッピング等の電子的な店舗も含み得る。電子的な店舗の場合、例えばユーザがユーザID及びパスワードを入力してログイン処理を行う際に、サーバ装置1がユーザIDを取得することができる。 Note that in this embodiment, the explanation has been given using discounts, increases in point return rates, etc. as examples of benefits given to users, but the benefits may be any other benefits. Further, although the explanation has been given using a bookstore as an example of a store, the present invention is not limited to this, and any store may be used. Further, although the explanation has been given using companies and schools as examples of groups to which users belong, the present invention is not limited to these, and the groups may be of any type. In addition, the store may include not a physical store but an electronic store such as online shopping. In the case of an electronic store, for example, when a user enters a user ID and password to perform a login process, the server device 1 can acquire the user ID.

また本実施の形態においては、ユーザが利用する装置をスマートフォン3としたが、これに限るものではない。ユーザが利用する装置は、例えば携帯電話機、タブレット型端末装置、ゲーム機又はラップトップ型PC(Personal Computer)等の可搬型の情報処理装置であってよい。またユーザが利用する装置は、ユーザが所有する装置ではなく、店舗等に設置された装置、例えばユーザが商品の在庫検索を行うために店舗に設置された端末装置等であってもよい。また更には、ユーザは、例えばユーザIDが二次元コードとして印刷された会員証等を店員へ提示し、店員は店舗端末装置5にて会員証等に印刷されたユーザIDを読み取ってもよい。 Further, in this embodiment, the device used by the user is the smartphone 3, but the device is not limited to this. The device used by the user may be a portable information processing device such as a mobile phone, a tablet terminal device, a game machine, or a laptop personal computer (PC). Further, the device used by the user may not be a device owned by the user, but may be a device installed in a store or the like, for example, a terminal device installed in the store for the user to search product inventory. Furthermore, the user may present, for example, a membership card or the like on which the user ID is printed as a two-dimensional code to the store clerk, and the store clerk may read the user ID printed on the membership card or the like using the store terminal device 5.

(変形例1)
また、特典に対する制限として、特典を受けることができる店舗の制限を設けてもよい。例えば、書店が複数の店舗を有するチェーン店等である場合に、会社Aの社員に付与する特典をこの会社Aの近隣の店舗のみに制限することができる。この場合、特典DB12bには、特典コードに対応付けて、この特典を利用することができる店舗の識別情報が登録される。店舗端末装置5は、スマートフォン3から取得したユーザIDと、自身が設置されている店舗を識別する識別情報とをサーバ装置1へ送信する。サーバ装置1は、店舗端末装置5から受信したユーザIDに対応付けられた特典コードをユーザDB12cから取得し、この特典コードに対応する店舗の識別情報を特典DB12bから取得する。サーバ装置1は、店舗端末装置5から受信した店舗の識別情報と、特典DB12bから取得した店舗の識別情報とが一致するか否かを判定し、両識別情報が一致する場合には特典の使用を許可し、一致しない場合には特典の使用を許可しない。
(Modification 1)
Further, as a restriction on the benefits, restrictions on stores where the benefits can be received may be set. For example, if the bookstore is a chain store with multiple stores, benefits given to employees of company A can be limited to only stores in the vicinity of company A. In this case, identification information of a store where this benefit can be used is registered in the benefit DB 12b in association with the benefit code. The store terminal device 5 transmits to the server device 1 the user ID acquired from the smartphone 3 and identification information for identifying the store where the store terminal device 5 is installed. The server device 1 acquires the privilege code associated with the user ID received from the store terminal device 5 from the user DB 12c, and acquires the identification information of the store corresponding to this privilege code from the privilege DB 12b. The server device 1 determines whether or not the store identification information received from the store terminal device 5 matches the store identification information acquired from the benefit DB 12b, and if the two pieces of identification information match, the benefit is not used. and disallow use of benefits if they do not match.

(変形例2)
また、特典に対する制限として、特典を利用することができる商品の制限を設けてもよい。例えば、書店にて販売されている全書籍に対して特典を適用するのではなく、学術書、医学書又は参考書等の特定ジャンルの商品に特典の利用を制限することができる。この場合、特典DB12bには、特典コードに対応付けて、この特典を利用することができる商品の情報が登録される。商品の情報は、例えば商品毎の識別情報であってもよく、また例えば商品の種別等を示す情報であってもよい。店舗端末装置5は、スマートフォン3から取得したユーザIDと、ユーザが特典を使用しようとする商品の情報とをサーバ装置1へ送信する。サーバ装置1は、店舗端末装置5から受信したユーザIDに対応付けられた特典コードをユーザDB12cから取得し、この特典コードに対応する商品の情報を特典DB12bから取得する。サーバ装置1は、店舗端末装置5から受信した商品の情報と、特典DB12bから取得した商品の情報とが一致するか否かを判定し、両情報が一致する場合には特典の使用を許可し、一致しない場合には特典の使用を許可しない。
(Modification 2)
Further, as a restriction on the benefit, a restriction on products that can use the benefit may be set. For example, instead of applying a benefit to all books sold at a bookstore, it is possible to limit the benefit to products of a specific genre, such as academic books, medical books, or reference books. In this case, information on products for which this benefit can be used is registered in the benefit DB 12b in association with the benefit code. The product information may be, for example, identification information for each product, or may be information indicating, for example, the type of product. The store terminal device 5 transmits to the server device 1 the user ID acquired from the smartphone 3 and information on the product for which the user wants to use the benefit. The server device 1 acquires a benefit code associated with the user ID received from the store terminal device 5 from the user DB 12c, and acquires information on the product corresponding to this benefit code from the benefit DB 12b. The server device 1 determines whether the product information received from the store terminal device 5 and the product information acquired from the benefit DB 12b match or not, and if both pieces of information match, permit the use of the benefit. , if they do not match, the benefit will not be allowed to be used.

<実施の形態2>
また特典をユーザが使用する際に制限を設けるのではなく、特典をユーザに付与する際に制限を設けてもよい。実施の形態2に係る特典管理システムでは、スマートフォン3の位置情報に基づいて、特典を付与する処理、即ちユーザID及び特典コードを紐付けする処理に対する制限を行う。実施の形態2に係るスマートフォン3は、特典コードの入力を受け付ける際に、GPS(Global Positioning System)に基づく自身の位置情報を取得する。スマートフォン3は、ユーザIDと、特典コードと、位置情報とをサーバ装置1へ送信して特典の付与を要求する。
<Embodiment 2>
Furthermore, instead of setting restrictions on when a user uses a benefit, restrictions may be placed when giving a benefit to a user. In the benefit management system according to the second embodiment, based on the location information of the smartphone 3, restrictions are placed on the process of granting a benefit, that is, the process of linking a user ID and a benefit code. The smartphone 3 according to the second embodiment acquires its own position information based on GPS (Global Positioning System) when receiving the input of the benefit code. The smartphone 3 transmits the user ID, the benefit code, and the location information to the server device 1 to request grant of the benefit.

実施の形態2に係るサーバ装置1の特典DB12bには、特典コードに対応付けて位置情報が記憶されている。位置情報は、例えば特典を提供する会社の所在地等とすることができる。特典DB12bに記憶される位置情報は、1ヶ所の地点を示す情報ではなく、一定の範囲を示す情報であってよい。スマートフォン3から特典付与の要求を受信したサーバ装置1は、この要求に含まれるユーザID、特典コード及び位置情報を取得する。サーバ装置1は、取得した特典コードに基づいて特典DB12bを参照し、この特典コードに対応する位置情報を取得する。サーバ装置1は、特典DB12bから取得した位置情報と、スマートフォン3から取得した位置情報とを比較する。サーバ装置1は、両位置情報に基づいて、スマートフォン3が予め定められた会社の所在地等の所定の位置範囲内に存在するか否かを判定し、所定の位置範囲内に存在する場合にのみ、要求に係るユーザID及び特典コードの紐付けを行う。 In the benefit DB 12b of the server device 1 according to the second embodiment, location information is stored in association with the benefit code. The location information can be, for example, the location of the company providing the benefit. The location information stored in the benefit DB 12b may be information indicating a certain range instead of information indicating one point. The server device 1 that has received the request for granting a benefit from the smartphone 3 acquires the user ID, benefit code, and location information included in this request. The server device 1 refers to the privilege DB 12b based on the obtained privilege code, and acquires the position information corresponding to this privilege code. The server device 1 compares the location information acquired from the benefit DB 12b and the location information acquired from the smartphone 3. Based on both location information, the server device 1 determines whether the smartphone 3 exists within a predetermined location range such as a predetermined location of a company, and only if the smartphone 3 exists within the predetermined location range. , links the user ID and benefit code related to the request.

このような位置情報に基づく特典付与の制限を行うことによって、実施の形態2に係る特典管理システムでは、特典付与を要求するユーザが、特典の対象となる会社又は学校等のグループに属するユーザであるか否かを間接的に判定することができる。 By restricting the granting of benefits based on such location information, the benefit management system according to the second embodiment makes it possible to ensure that the user requesting the granting of benefits belongs to a group such as a company or school that is eligible for the benefit. It is possible to indirectly determine whether or not there is.

図13は、実施の形態2に係るスマートフォン3が行う特典付与要求処理の手順を示すフローチャートである。実施の形態2に係るスマートフォン3の処理部31の特典コード受付部31aは、表示部34に特典コードを入力するための入力画面を表示する(ステップS101)。特典コード受付部31aは、入力画面におけるユーザによる特典コードの入力を操作部35により受け付ける(ステップS102)。 FIG. 13 is a flowchart illustrating the procedure of a benefit grant request process performed by the smartphone 3 according to the second embodiment. The benefit code reception unit 31a of the processing unit 31 of the smartphone 3 according to the second embodiment displays an input screen for inputting a benefit code on the display unit 34 (step S101). The privilege code reception unit 31a receives the input of a privilege code by the user on the input screen using the operation unit 35 (step S102).

次いで処理部31の識別情報送信部31bは、スマートフォン3のGPS機能を利用して、スマートフォン3の位置情報を取得する(ステップS103)。識別情報送信部31bは、記憶部32に記憶したユーザID32bを読み出す(ステップS104)。識別情報送信部31bは、ステップS104にて読み出したユーザIDと、ステップS102にて受け付けた特典コードと、ステップS103にて取得した位置情報とを含む特典の付与要求をサーバ装置1へ送信する(ステップS105)。その後、識別情報送信部31bは、要求に対するサーバ装置1からの応答を受信したか否かを判定する(ステップS106)。応答を受信していない場合(S106:NO)、識別情報送信部31bは、サーバ装置1からの応答を受信するまで待機する。 Next, the identification information transmitting unit 31b of the processing unit 31 uses the GPS function of the smartphone 3 to obtain location information of the smartphone 3 (step S103). The identification information transmitting unit 31b reads the user ID 32b stored in the storage unit 32 (step S104). The identification information transmitting unit 31b transmits to the server device 1 a privilege grant request including the user ID read in step S104, the privilege code received in step S102, and the location information acquired in step S103 ( Step S105). After that, the identification information transmitting unit 31b determines whether or not a response from the server device 1 to the request has been received (step S106). If a response has not been received (S106: NO), the identification information transmitter 31b waits until it receives a response from the server device 1.

サーバ装置1からの応答を受信した場合(S106:YES)、識別情報送信部31bは、受信した応答に含まれる情報を調べることにより、特典付与の正否を判定する(ステップS107)。サーバ装置1が特典の付与に成功した場合(S107:YES)、識別情報送信部31bは、表示部34にメッセージ等を表示することにより、特典の付与がなされた旨をユーザに通知して(ステップS108)、処理を終了する。サーバ装置1が特典の付与に失敗した場合(S107:NO)、識別情報送信部31bは、表示部34にメッセージ等を表示することにより、特典の付与に関するエラーをユーザに通知し(ステップS109)、処理を終了する。 When receiving a response from the server device 1 (S106: YES), the identification information transmitting unit 31b determines whether the award is correct or not by checking the information included in the received response (Step S107). If the server device 1 succeeds in granting the benefit (S107: YES), the identification information transmitting unit 31b notifies the user that the benefit has been granted by displaying a message or the like on the display unit 34 ( Step S108), the process ends. If the server device 1 fails to grant the benefit (S107: NO), the identification information transmitting unit 31b notifies the user of the error regarding the granting of the benefit by displaying a message or the like on the display unit 34 (Step S109). , ends the process.

図14は、実施の形態2に係るサーバ装置1が行う特典付与処理の手順を示すフローチャートである。実施の形態2に係るサーバ装置1の処理部11の識別情報取得部11bは、スマートフォン3から送信される特典付与の要求を受信したか否かを判定する(ステップS121)。特典付与の要求を受信していない場合(S121:NO)、識別情報取得部11bは、特典付与の要求を受信するまで待機する。スマートフォン3から特典付与の要求を受信した場合(S121:YES)、識別情報取得部11bは、受信した要求に含まれるユーザID及び特典コードを取得する(ステップS122)。識別情報取得部11bは、取得した特典コードが、記憶部12の特典DB12bに登録された特典コードであるか否かを判定することにより、受信したものが正しい特典コードであるか否かを判定する(ステップS123)。正しいコードでないと判定した場合(S123:NO)、即ち受信した特典コードが特典DB12bに登録されていない場合、処理部11の特典コード紐付け部11cは、特典付与に関してエラーが生じた旨を要求元のスマートフォン3へ通知し(ステップS127)、処理を終了する。 FIG. 14 is a flowchart illustrating the procedure of the privilege granting process performed by the server device 1 according to the second embodiment. The identification information acquisition unit 11b of the processing unit 11 of the server device 1 according to the second embodiment determines whether or not a request for granting a benefit transmitted from the smartphone 3 has been received (step S121). If a request for awarding a privilege has not been received (S121: NO), the identification information acquisition unit 11b waits until receiving a request for awarding a privilege. If a request for granting a benefit is received from the smartphone 3 (S121: YES), the identification information acquisition unit 11b acquires the user ID and benefit code included in the received request (Step S122). The identification information acquisition unit 11b determines whether the received benefit code is the correct benefit code by determining whether the acquired benefit code is a benefit code registered in the benefit DB 12b of the storage unit 12. (Step S123). If it is determined that the code is not correct (S123: NO), that is, if the received benefit code is not registered in the benefit DB 12b, the benefit code linking unit 11c of the processing unit 11 requests that an error has occurred regarding granting the benefit. The original smartphone 3 is notified (step S127), and the process ends.

正しい特典コードであると判定した場合(S123:YES)、即ち受信した特典コードが特典DB12bに登録されているものである場合、特典コード紐付け部11cは、特典付与の要求に含まれる位置情報を取得して、特典DB12bに登録された位置情報との比較を行うことにより、このスマートフォン3の位置が正しい位置であるか否かを判定する(ステップS124)。正しい位置でない場合(S124:NO)、特典コード紐付け部11cは、特典付与に関してエラーが生じた旨を要求元のスマートフォン3へ通知し(ステップS127)、処理を終了する。 If it is determined that the benefit code is correct (S123: YES), that is, if the received benefit code is registered in the benefit DB 12b, the benefit code linking unit 11c uses the location information included in the request for granting the benefit. By acquiring the information and comparing it with the location information registered in the benefit DB 12b, it is determined whether the location of the smartphone 3 is the correct location (step S124). If it is not the correct position (S124: NO), the benefit code linking unit 11c notifies the requesting smartphone 3 that an error has occurred regarding granting the benefit (step S127), and ends the process.

スマートフォン3の位置が正しい位置である場合(S124:YES)、特典コード紐付け部11cは、特典付与の要求に含まれるユーザID及び特典コードの紐付けを行う(ステップS125)。特典コード紐付け部11cは、ユーザID及び特典コードを紐付けた旨、即ちユーザに対する特典付与を行った旨を要求元のスマートフォン3へ通知し(ステップS126)、処理を終了する。 When the position of the smartphone 3 is the correct position (S124: YES), the benefit code linking unit 11c links the user ID and the benefit code included in the request for granting a benefit (Step S125). The privilege code linking unit 11c notifies the requesting smartphone 3 that the user ID and the privilege code have been linked, that is, that the privilege has been granted to the user (step S126), and ends the process.

以上の構成の実施の形態2に係る特典管理システムでは、例えば会社又は学校等の特定のグループに対応する位置情報を特典コードと対応付けて特典DB12bに記憶しておく。特典の付与を行う際には、サーバ装置1は、ユーザのスマートフォン3の位置情報を取得し、取得した位置情報と記憶した位置情報とに基づいて、特典付与の可否を判定する。これによりサーバ装置1は、特典の付与を要求するユーザが特定の会社又は学校等のグループに属するか否かを判定して特典を付与することができる。ユーザが特定のグループに属する場合には、サーバ装置1は、ユーザID及び特典コードの紐付けを行って、このユーザに特典を付与することができる。これにより、グループに属する複数のユーザが共通して利用できる特典コードを用いた特典の付与が、このグループ以外のユーザに対して行われることを抑制できる。 In the benefit management system according to Embodiment 2 having the above configuration, location information corresponding to a specific group such as a company or school is stored in the benefit DB 12b in association with a benefit code. When granting a benefit, the server device 1 acquires the location information of the user's smartphone 3, and determines whether or not the benefit can be granted based on the acquired location information and the stored location information. Thereby, the server device 1 can determine whether the user who requests the granting of a benefit belongs to a group such as a specific company or school, and can grant the benefit. If the user belongs to a specific group, the server device 1 can link the user ID and the benefit code to provide a benefit to this user. Thereby, it is possible to suppress the granting of a benefit using a benefit code that can be used in common by a plurality of users belonging to a group to users other than the group.

なお実施の形態2においては、特典が付与された会社又は学校等の特定のグループにユーザが属するか否かを、スマートフォン3の位置情報に基づいてサーバ装置1が間接的に判定する構成であるが、ユーザがグループに属するか否かを別の方法で判定してもよい。例えばスマートフォン3にて特典コードを読み取ると共に、ユーザの社員番号等の入力を受け付け、サーバ装置1が社員番号等の正否を判定することができる。この場合にサーバ装置1は、社員番号が登録されたデータベース等を備えるか、又は、会社のサーバ装置等に社員番号の正否を問い合わせることで、スマートフォン3にて入力された社員番号の正否を判定することができる。 In the second embodiment, the server device 1 indirectly determines whether the user belongs to a specific group such as a company or school that has been given a benefit based on the location information of the smartphone 3. However, whether or not a user belongs to a group may be determined using another method. For example, by reading the benefit code with the smartphone 3 and accepting input of the user's employee number, etc., the server device 1 can determine whether the employee number, etc. is correct. In this case, the server device 1 determines whether the employee number input on the smartphone 3 is correct or not by providing a database etc. in which the employee number is registered or by inquiring the company's server device etc. about the correctness of the employee number. can do.

また、実施の形態2に係る特典管理システムのその他の構成は、実施の形態1に係る特典管理システムと同様であるため、同様の箇所には同じ符号を付し、詳細な説明を省略する。 Further, the other configurations of the privilege management system according to the second embodiment are the same as those of the privilege management system according to the first embodiment, so similar parts are denoted by the same reference numerals and detailed explanations are omitted.

今回開示された実施形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed herein are illustrative in all respects and should not be considered restrictive. The scope of the present invention is indicated by the claims rather than the above-mentioned meaning, and is intended to include meanings equivalent to the claims and all changes within the scope.

1 サーバ装置(特典管理装置)
3 スマートフォン(端末装置)
5 店舗端末装置
11 処理部
11a 特典コード生成部
11b 識別情報取得部
11c 特典コード紐付け部
11d 利用情報取得部
11e 特典抽出部
11f 特典判定部
11g 特典情報出力部
12 記憶部
12a サーバプログラム(コンピュータプログラム)
12b 特典DB
12c ユーザDB
13 通信部
31 処理部
31a 特典コード受付部
31b 識別情報送信部
31c ユーザID出力部
32 記憶部
32a プログラム(コンピュータプログラム)
32b ユーザID
33 通信部
34 表示部
35 操作部
51 処理部
51a ユーザID取得部
51b 特典問合部
51c 特典適用部
52 記憶部
52a プログラム
53 通信部
54 読取部
55 操作部
N ネットワーク
1 Server device (benefits management device)
3 Smartphone (terminal device)
5 Store terminal device 11 Processing section 11a Privilege code generation section 11b Identification information acquisition section 11c Privilege code linking section 11d Usage information acquisition section 11e Privilege extraction section 11f Privilege judgment section 11g Privilege information output section 12 Storage section 12a Server program (computer program )
12b Benefits DB
12c User DB
13 communication section 31 processing section 31a benefit code reception section 31b identification information transmission section 31c user ID output section 32 storage section 32a program (computer program)
32b User ID
33 Communication section 34 Display section 35 Operation section 51 Processing section 51a User ID acquisition section 51b Benefit inquiry section 51c Benefit application section 52 Storage section 52a Program 53 Communication section 54 Reading section 55 Operation section N Network

Claims (7)

特定のグループに所属するユーザの特典を管理する特典管理装置であって、
前記特典を識別する情報である特典識別情報を生成する生成部と、
前記特典の利用に先立って、前記ユーザから前記ユーザを識別する情報であるユーザ識別情報及び前記特典識別情報を取得する識別情報取得部と、
前記識別情報取得部が取得した前記ユーザ識別情報と前記特典識別情報とを対応付けて記憶する記憶部と、
前記特典をユーザが利用する際に、前記ユーザから、前記ユーザ識別情報を取得する利用情報取得部と、
前記記憶部を参照し、前記利用情報取得部が取得したユーザ識別情報と対応付けて記憶されている特典識別情報に関連する特典を抽出する抽出部と
を備え
前記記憶部は、前記特典識別情報と前記特定のグループに関する位置情報とを対応付けて記憶しており、
前記識別情報取得部が前記ユーザ識別情報及び前記特典識別情報を取得する際に、前記ユーザ識別情報及び前記特典識別情報を対応付けることを指示したユーザの位置情報を取得する位置情報取得部と、
前記記憶部に記憶した前記特定のグループに関する位置情報と、前記位置情報取得部が取得した前記位置情報とに基づいて、前記識別情報取得部が取得した前記ユーザ識別情報及び前記特典識別情報を前記記憶部に記憶するか否かを判定する判定部と
を更に備える、特典管理装置。
A privilege management device that manages privileges of users belonging to a specific group,
a generation unit that generates benefit identification information that is information for identifying the benefit;
an identification information acquisition unit that acquires user identification information that is information for identifying the user from the user and the benefit identification information before using the benefit;
a storage unit that stores the user identification information and the benefit identification information acquired by the identification information acquisition unit in association with each other;
a usage information acquisition unit that acquires the user identification information from the user when the user uses the benefit;
an extraction unit that refers to the storage unit and extracts a benefit related to the benefit identification information stored in association with the user identification information acquired by the usage information acquisition unit ;
The storage unit stores the benefit identification information and position information regarding the specific group in association with each other,
a location information acquisition unit that acquires location information of a user who has given an instruction to associate the user identification information and the benefit identification information when the identification information acquisition unit acquires the user identification information and the benefit identification information;
Based on the location information regarding the specific group stored in the storage unit and the location information acquired by the location information acquisition unit, the user identification information and the benefit identification information acquired by the identification information acquisition unit are a determination unit that determines whether or not to store the information in the storage unit;
A privilege management device further comprising :
前記抽出部が抽出した前記特典の内容を店舗の店舗端末装置へ出力する出力部を備える、
請求項1に記載の特典管理装置。
comprising an output unit that outputs the content of the benefit extracted by the extraction unit to a store terminal device of a store;
The privilege management device according to claim 1.
前記記憶部は、前記特典識別情報と有効期限とを対応付けて記憶し、
前記抽出部が抽出した前記特典の内容に対応付けられた前記有効期限に基づき、前記特典が有効期限内であるか否かを判定する判定部を備える、
請求項1又は請求項2に記載の特典管理装置。
The storage unit stores the benefit identification information and the expiration date in association with each other,
comprising a determination unit that determines whether the benefit is within the expiration date based on the expiration date associated with the content of the benefit extracted by the extraction unit;
The privilege management device according to claim 1 or claim 2.
前記記憶部は、前記特典識別情報と店舗に係る情報とを対応付けて記憶し、
前記抽出部が抽出した前記特典の内容に対応付けられた前記店舗に係る情報に基づき、前記特典の利用の可否を判定する判定部を備える、
請求項1乃至請求項のいずれか1つに記載の特典管理装置。
The storage unit stores the benefit identification information and store information in association with each other,
comprising a determination unit that determines whether or not the benefit can be used based on information regarding the store associated with the content of the benefit extracted by the extraction unit;
The privilege management device according to any one of claims 1 to 3 .
前記記憶部は、前記特典識別情報と前記特典の対象商品に係る情報とを対応付けて記憶し、
前記抽出部が抽出した前記特典の内容に対応付けられた前記対象商品に係る情報に基づき、前記特典の利用の可否を判定する判定部を備える、
請求項1乃至請求項のいずれか1つに記載の特典管理装置。
The storage unit stores the benefit identification information and information related to the product eligible for the benefit in association with each other,
comprising a determination unit that determines whether or not the benefit can be used based on information related to the target product that is associated with the content of the benefit extracted by the extraction unit;
The privilege management device according to any one of claims 1 to 4 .
コンピュータに、
特定のグループに所属するユーザの特典を識別する情報である特典識別情報を生成し、
前記特典の利用に先立って、前記ユーザから前記ユーザを識別する情報であるユーザ識別情報及び前記特典識別情報を取得し、
取得した前記ユーザ識別情報と前記特典識別情報とを対応付けて記憶部に記憶し、
前記特典をユーザが利用する際に、前記ユーザから、前記ユーザ識別情報を取得し、
前記記憶部を参照し、取得したユーザ識別情報と対応付けて記憶されている特典識別情報に関連する特典を抽出し、
前記特典識別情報と前記特定のグループに関する位置情報とを対応付けて前記記憶部に記憶しておき、
前記ユーザ識別情報及び前記特典識別情報を取得する際に、前記ユーザ識別情報及び前記特典識別情報を対応付けることを指示したユーザの位置情報を取得し、
前記記憶部に記憶した前記特定のグループに関する位置情報と、取得した前記位置情報とに基づいて、取得した前記ユーザ識別情報及び前記特典識別情報を前記記憶部に記憶するか否かを判定する
処理を実行させる、コンピュータプログラム。
to the computer,
Generate benefit identification information that is information that identifies benefits of users belonging to a specific group,
Prior to using the benefit, obtain user identification information that is information that identifies the user from the user and the benefit identification information,
storing the acquired user identification information and the benefit identification information in a storage unit in association with each other;
When the user uses the benefit, acquiring the user identification information from the user,
Referring to the storage unit, extracting benefits related to benefit identification information stored in association with the acquired user identification information ;
The benefit identification information and the location information regarding the specific group are stored in the storage unit in association with each other,
When acquiring the user identification information and the benefit identification information, obtain location information of a user who has instructed that the user identification information and the benefit identification information be associated;
Based on the location information regarding the specific group stored in the storage unit and the acquired location information, it is determined whether the acquired user identification information and the benefit identification information are to be stored in the storage unit.
A computer program that executes a process.
特定のグループに所属するユーザの特典を識別する情報である特典識別情報を生成し、
前記特典の利用に先立って、前記ユーザから前記ユーザを識別する情報であるユーザ識別情報及び前記特典識別情報を取得し、
取得した前記ユーザ識別情報と前記特典識別情報とを対応付けて記憶部に記憶し、
前記特典をユーザが利用する際に、前記ユーザから、前記ユーザ識別情報を取得し、
前記記憶部を参照し、取得したユーザ識別情報と対応付けて記憶されている特典識別情報に関連する特典を抽出し、
前記特典識別情報と前記特定のグループに関する位置情報とを対応付けて前記記憶部に記憶しておき、
前記ユーザ識別情報及び前記特典識別情報を取得する際に、前記ユーザ識別情報及び前記特典識別情報を対応付けることを指示したユーザの位置情報を取得し、
前記記憶部に記憶した前記特定のグループに関する位置情報と、取得した前記位置情報とに基づいて、取得した前記ユーザ識別情報及び前記特典識別情報を前記記憶部に記憶するか否かを判定する、特典管理方法。
Generate benefit identification information that is information that identifies benefits of users belonging to a specific group,
Prior to using the benefit, obtain user identification information that is information that identifies the user from the user and the benefit identification information,
storing the acquired user identification information and the benefit identification information in a storage unit in association with each other;
When the user uses the benefit, acquiring the user identification information from the user,
Referring to the storage unit, extracting benefits related to benefit identification information stored in association with the acquired user identification information ;
The benefit identification information and the location information regarding the specific group are stored in the storage unit in association with each other,
When acquiring the user identification information and the benefit identification information, obtain location information of a user who has instructed that the user identification information and the benefit identification information be associated;
Determining whether or not the acquired user identification information and the benefit identification information are to be stored in the storage unit based on the position information regarding the specific group stored in the storage unit and the acquired position information; How to manage benefits.
JP2019174564A 2019-09-25 2019-09-25 Benefit management device, computer program and benefit management method Active JP7447413B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019174564A JP7447413B2 (en) 2019-09-25 2019-09-25 Benefit management device, computer program and benefit management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019174564A JP7447413B2 (en) 2019-09-25 2019-09-25 Benefit management device, computer program and benefit management method

Publications (2)

Publication Number Publication Date
JP2021051594A JP2021051594A (en) 2021-04-01
JP7447413B2 true JP7447413B2 (en) 2024-03-12

Family

ID=75156117

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019174564A Active JP7447413B2 (en) 2019-09-25 2019-09-25 Benefit management device, computer program and benefit management method

Country Status (1)

Country Link
JP (1) JP7447413B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013235434A (en) 2012-05-09 2013-11-21 System Engineering Service Inc Coupon issuance mediation device, coupon issuance mediation method, and coupon issuance mediation program
JP2016071649A (en) 2014-09-30 2016-05-09 Kddi株式会社 Information provision device, mobile terminal, information provision method, and information provision system
JP2016071648A (en) 2014-09-30 2016-05-09 Kddi株式会社 Privilege management device and privilege management method
JP2018097586A (en) 2016-12-13 2018-06-21 株式会社Nttドコモ Information processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013235434A (en) 2012-05-09 2013-11-21 System Engineering Service Inc Coupon issuance mediation device, coupon issuance mediation method, and coupon issuance mediation program
JP2016071649A (en) 2014-09-30 2016-05-09 Kddi株式会社 Information provision device, mobile terminal, information provision method, and information provision system
JP2016071648A (en) 2014-09-30 2016-05-09 Kddi株式会社 Privilege management device and privilege management method
JP2018097586A (en) 2016-12-13 2018-06-21 株式会社Nttドコモ Information processing device

Also Published As

Publication number Publication date
JP2021051594A (en) 2021-04-01

Similar Documents

Publication Publication Date Title
JP5231676B2 (en) Net mall system with support functions for those who wish to purchase products
JP2006338638A (en) Sales promotion system of store using coupon
US20140344038A1 (en) Sales promotion device, sales promotion system, and sales promotion method
KR102429768B1 (en) Information processing apparatus, information processing method and recording medium
JP2014098982A (en) Information processing system, information processing method, merchandise seller terminal, selling support method, purchase and sale support server, purchase and sale support method, merchandise purchaser terminal, purchase support method and computer program
JP2003016168A (en) System for providing personal information and device for managing personal information
KR101195547B1 (en) Finance transaction system using mobile device
JP5342335B2 (en) Affiliate server
US20140032312A1 (en) Systems, methods, and computer program products for providing offers to mobile wallets
JP2021196844A (en) Settlement processing method and settlement processing apparatus
JP2021196845A (en) Settlement processing method
JP2011141671A (en) Slip reference system and slip reference method
JP2021197051A (en) Settlement processing method and settlement processing apparatus
JP2019016195A (en) Errand vicarious execution system, server device, and errand vicarious execution method
JP7447413B2 (en) Benefit management device, computer program and benefit management method
JP6924914B1 (en) Information processing device and information processing method
JP6963702B1 (en) System and method
JP2017097922A (en) System, server device, method, program, and recording medium enabling simplification of user authentication
JP7350109B2 (en) Information processing device, information processing method, and program
CN106030645A (en) Check-in systems and methods
JP2016173624A (en) Digital book sales mediation system and program
JP7377244B2 (en) Service provision system, service provision method, and program
JP7431786B2 (en) Service provision system, service provision method, and program
JP7023343B1 (en) Creation device, creation method and creation program
JP7419441B2 (en) Payment systems, payment methods, and programs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220726

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230718

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230905

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231030

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240212

R150 Certificate of patent or registration of utility model

Ref document number: 7447413

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150