JP7093374B2 - Transaction processing equipment, transaction processing method, and transaction processing program - Google Patents
Transaction processing equipment, transaction processing method, and transaction processing program Download PDFInfo
- Publication number
- JP7093374B2 JP7093374B2 JP2020012925A JP2020012925A JP7093374B2 JP 7093374 B2 JP7093374 B2 JP 7093374B2 JP 2020012925 A JP2020012925 A JP 2020012925A JP 2020012925 A JP2020012925 A JP 2020012925A JP 7093374 B2 JP7093374 B2 JP 7093374B2
- Authority
- JP
- Japan
- Prior art keywords
- allocation
- transaction
- privilege
- request
- processing server
- 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
Links
- 238000012545 processing Methods 0.000 title claims description 265
- 238000003672 processing method Methods 0.000 title claims description 5
- 238000000034 method Methods 0.000 claims description 95
- 230000008569 process Effects 0.000 claims description 89
- 238000004891 communication Methods 0.000 claims description 77
- 230000004044 response Effects 0.000 claims description 39
- 230000005540 biological transmission Effects 0.000 claims description 27
- 230000007257 malfunction Effects 0.000 claims description 6
- 230000008901 benefit Effects 0.000 claims description 5
- 238000012937 correction Methods 0.000 description 41
- 230000006870 function Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 14
- 230000005856 abnormality Effects 0.000 description 10
- 238000001514 detection method Methods 0.000 description 8
- 238000004458 analytical method Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000010923 batch production Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明は、ユーザに対応付くポイント等の特典を利用することが可能なシステム等の技術分野に関する。 The present invention relates to a technical field such as a system capable of utilizing benefits such as points associated with a user.
従来より、ユーザ(顧客)が店舗等と取引を行う(例えば、商品を購入またはサービスを利用する)際に決済額に応じたポイントが当該ユーザに付与されるポイントシステムが知られている。ユーザはポイントシステムにより付与されたポイントを店舗(ポイント加盟店)における取引で利用(つまり、取引対象の代金にポイントを充当)することができる。特許文献1には、自動取引装置に付設されたターミナル処理手段と、当該ターミナル処理手段に通信手段を介して接続されるホスト処理手段とを備えるポイントシステムが開示されている。 Conventionally, there has been known a point system in which points according to the payment amount are given to a user (customer) when a user (customer) makes a transaction with a store or the like (for example, purchases a product or uses a service). The user can use the points given by the point system in a transaction at a store (point member store) (that is, apply the points to the price of the transaction target). Patent Document 1 discloses a point system including a terminal processing means attached to an automated teller machine and a host processing means connected to the terminal processing means via a communication means.
特許文献1に開示されたポイントシステムにおいては、通信手段が正常な場合、ホスト処理手段がターミナル処理手段から通信手段を介して受け取ったポイント情報(現在ポイント)及び金額情報に基づいて新たなポイント情報(現在ポイント及び付加すべき今回ポイント)を演算してターミナル処理手段に送信することによりユーザのポイントカードに書き込まれる(つまり、ユーザにポイントが付与される)。一方、通信手段に異常が発生した場合、ターミナル処理手段がポイント情報及び金額情報に基づいて新たなポイント情報を演算してユーザのポイントカードに書き込むようになっている。これにより、自動取引装置側のターミナル処理手段とホスト処理手段との間の通信に異常が発生した場合であっても、自動取引装置でユーザが使用した金額情報に応じたポイントをユーザに付与することができる。 In the point system disclosed in Patent Document 1, when the communication means is normal, new point information is obtained based on the point information (current points) and the amount information received by the host processing means from the terminal processing means via the communication means. It is written to the user's point card by calculating (current points and current points to be added) and transmitting them to the terminal processing means (that is, points are given to the user). On the other hand, when an abnormality occurs in the communication means, the terminal processing means calculates new point information based on the point information and the amount information and writes it in the user's point card. As a result, even if an abnormality occurs in the communication between the terminal processing means and the host processing means on the automated teller machine side, points corresponding to the amount information used by the user in the automated teller machine are given to the user. be able to.
ところで、店舗においてユーザが取引を行う際に、当該店舗の店舗端末が通信手段を介して接続された特典処理サーバ(例えば、特典サービスを展開する事業者のポイント処理サーバ)に対して取引対象の代金にユーザのポイント(つまり、ユーザに対応付くポイント)を充当させる充当要求を行う場合がある。この場合、特典処理サーバは充当要求に応じて取引対象の代金にユーザのポイントを充当するための充当処理を実行しその充当結果を、通信手段を介して店舗端末に送信する。そして、店舗端末は、特典処理サーバからの充当結果が成功であった場合に、当該ポイントを取引対象の代金に充当する取引を成立させる処理を行うことになる。 By the way, when a user makes a transaction at a store, the transaction target is to a privilege processing server (for example, a point processing server of a business operator that develops a privilege service) to which the store terminal of the store is connected via a communication means. In some cases, an appropriation request is made to allocate the user's points (that is, the points corresponding to the user) to the price. In this case, the privilege processing server executes the allocation process for allocating the user's points to the price of the transaction target in response to the allocation request, and transmits the allocation result to the store terminal via the communication means. Then, when the allocation result from the privilege processing server is successful, the store terminal performs a process of establishing a transaction in which the points are allocated to the price of the transaction target.
しかしながら、店舗の店舗端末と特典処理サーバとの通信に何かしらの異常が発生することで、店舗端末が特典処理サーバからの正常な応答を得られない場合に、ポイントの充当を不可とすると、ポイントを利用しようと来店したユーザのポイントサービスへの信頼が失われてしまう。かかる問題は、複数の店舗により出品された各商品をオンラインで販売する商取引処理サーバと、特典処理サーバとの通信に何かしらの異常が発生することで、商取引処理サーバが特典処理サーバからの正常な応答を得られない場合にも同様に生じうる。また、ポイントを充当するための充当処理を実行する演算機能を店舗端末側に再構築すると、店舗端末の大がかりな改修が必要となり、手間もコストもかかってしまう。 However, if some abnormality occurs in the communication between the store terminal of the store and the privilege processing server and the store terminal cannot obtain a normal response from the privilege processing server, points cannot be applied. Users who come to the store to use the service lose their trust in the point service. The problem is that some abnormality occurs in the communication between the commercial transaction processing server that sells each product sold by multiple stores online and the privilege processing server, and the commercial transaction processing server is normal from the privilege processing server. The same can happen if no response is obtained. In addition, if the calculation function for executing the allocation process for allocating points is reconstructed on the store terminal side, a large-scale repair of the store terminal is required, which is troublesome and costly.
そこで、本発明では、上記問題等に鑑みてなされたものであり、特典処理サーバとの通信に何かしらの異常が発生している際にもユーザの信頼を失うことなく、ポイントサービス等の特典サービスを効率良く運用させることが可能な取引処理装置、取引処理方法、及び取引処理プログラムを提供することを課題の一つとする。 Therefore, the present invention has been made in view of the above problems and the like, and even when some abnormality occurs in the communication with the privilege processing server, the privilege service such as a point service is not lost without losing the trust of the user. One of the issues is to provide a transaction processing device, a transaction processing method, and a transaction processing program capable of efficiently operating the above.
上記課題を解決するために、請求項1に記載の発明は、ユーザに対応付く特典を管理し、前記ユーザが取引を行う際に取引対象の代金の少なくとも一部に前記特典を充当するための充当処理を実行する特典処理サーバに通信手段を介してアクセス可能な取引処理装置であって、前記取引対象の代金の少なくとも一部に前記特典を充当させる充当要求を前記通信手段を介して前記特典処理サーバへ送信する充当要求送信手段と、前記充当要求に応じて前記特典処理サーバにより実行された前記充当処理の結果情報を前記特典処理サーバから前記充当要求に対する応答として前記通信手段を介して受信する充当結果受信手段と、前記結果情報が充当成功を示す場合に、前記取引対象の代金の少なくとも一部に前記特典を充当する取引を成立させる取引処理を実行する取引処理手段と、前記充当要求送信手段により充当要求が送信された後にエラーが検知された場合、当該検知されたエラーが、充当成功の可能性がある場合に該当する特定エラーであるか否かを判定するエラー判定手段と、を備え、前記取引処理手段は、充当成功を示す前記結果情報が受信されない場合であっても前記エラー判定手段により前記特定エラーであると判定された場合には充当成功とみなして前記取引処理を実行する。これにより、検知される可能性のある複数種類のエラーのうち上記特定エラーある場合に限り充当成功とみなすことで、取引対象の代金の少なくとも一部に特典を充当する取引を成立させる機能の信頼性を高めることができる。 In order to solve the above problem, the invention according to claim 1 is for managing the privilege associated with the user and allocating the privilege to at least a part of the price of the transaction target when the user conducts a transaction. A transaction processing device that can access a privilege processing server that executes allocation processing via a communication means, and makes an allocation request for allocating the privilege to at least a part of the price of the transaction target via the communication means. The allocation request transmission means to be transmitted to the processing server and the result information of the allocation processing executed by the privilege processing server in response to the allocation request are received from the privilege processing server via the communication means as a response to the allocation request. Appropriation result receiving means, a transaction processing means for executing a transaction process for concluding a transaction in which the privilege is applied to at least a part of the price of the transaction target when the result information indicates success, and the appropriation request . When an error is detected after the allocation request is transmitted by the transmission means, an error determination means for determining whether or not the detected error is a specific error corresponding to the case where there is a possibility of successful allocation, and an error determination means. The transaction processing means regards the transaction processing as successful allocation even if the result information indicating the success of allocation is not received, but if the error determination means determines that the specific error occurs. Run. As a result, the trust of the function to conclude a transaction in which the benefit is applied to at least a part of the price of the transaction target by considering that the allocation is successful only when the above specific error is present among multiple types of errors that may be detected. It can enhance the sex .
請求項2に記載の発明は、請求項1に記載の取引処理装置において、前記特定エラーは、前記通信手段の不具合に起因するエラーである。 According to the second aspect of the present invention, in the transaction processing apparatus according to the first aspect, the specific error is an error caused by a malfunction of the communication means.
請求項3に記載の発明は、請求項1または2に記載の取引処理装置において、前記ユーザが取引を行う際に当該ユーザに対応付く特典の照会要求を前記通信手段を介して前記特典処理サーバへ送信する照会要求送信手段と、前記照会要求に応じて前記特典処理サーバにより照会された前記特典に関する照会結果情報を前記特典処理サーバから前記通信手段を介して受信する照会結果受信手段と、前記照会結果情報に基づいて、前記取引対象の代金の少なくとも一部に前記特典を充当可能であるか否かを判定する充当可否判定手段と、を更に備え、前記充当要求送信手段は、前記充当可否判定手段により前記特典を充当可能であると判定された場合に、当該特典を充当させる充当要求を前記通信手段を介して前記特典処理サーバへ送信する。これにより、充当成功の可能性がある場合には充当成功とみなして取引対象の代金の少なくとも一部に特典を充当する取引を成立させる機能の信頼性を高めることができる。 The invention according to claim 3 is the transaction processing apparatus according to claim 1 or 2 , wherein when the user conducts a transaction, the privilege processing server makes an inquiry request for a privilege associated with the user via the communication means. An inquiry request transmitting means for transmitting to, an inquiry result receiving means for receiving inquiry result information regarding the privilege inquired by the privilege processing server in response to the inquiry request from the privilege processing server via the communication means, and the above. Based on the inquiry result information, the appropriation availability determination means for determining whether or not the privilege can be allocated to at least a part of the price of the transaction target is further provided, and the appropriation request transmission means is the appropriation availability. When it is determined by the determination means that the privilege can be applied, an allocation request for applying the privilege is transmitted to the privilege processing server via the communication means. As a result, when there is a possibility of successful allocation, it is considered that the allocation is successful, and the reliability of the function of concluding a transaction in which the benefit is applied to at least a part of the price of the transaction target can be enhanced.
請求項4に記載の発明は、請求項3に記載の取引処理装置において、前記特典処理サーバは、前記特典を、ユーザを特定可能なユーザ特定情報に対応付けて管理し、前記取引処理装置は、店舗に設置され、前記ユーザが所持する情報表示媒体から識別情報を読み取る読取手段を備える店舗端末であり、前記照会要求送信手段は、前記読取手段により前記情報表示媒体から読み取られた識別情報を含む前記照会要求を前記通信手段を介して前記特典処理サーバへ送信し、前記照会結果受信手段は、前記識別情報に対応する前記ユーザ特定情報に対応付けられた特典に関する照会結果情報を前記特典処理サーバから前記通信手段を介して受信する。これにより、特に実店舗における忙しい最中に、取引処理装置と特典処理サーバとの通信に何かしらの異常が発生している際にもユーザの信頼を失うことなく、特典サービスを、より効率良く運用させることができる。 The invention according to claim 4 is the transaction processing apparatus according to claim 3 , wherein the privilege processing server manages the privilege in association with user-identifiable information that can identify a user, and the transaction processing apparatus manages the privilege. , A store terminal provided in a store and provided with a reading means for reading identification information from an information display medium possessed by the user, and the inquiry request transmitting means reads the identification information read from the information display medium by the reading means. The inquiry request including the inquiry request is transmitted to the privilege processing server via the communication means, and the inquiry result receiving means processes the inquiry result information regarding the privilege associated with the user specific information corresponding to the identification information. Received from the server via the communication means. As a result, the privilege service can be operated more efficiently without losing the trust of the user even when some abnormality occurs in the communication between the transaction processing device and the privilege processing server, especially during the busy period in the actual store. Can be made to.
請求項5に記載の発明は、ユーザに対応付く特典を管理し、前記ユーザが取引を行う際に取引対象の代金の少なくとも一部に前記特典を充当するための充当処理を実行する特典処理サーバに通信手段を介してアクセス可能なコンピュータにより行われる取引処理方法であって、前記取引対象の代金の少なくとも一部に前記特典を充当させる充当要求を前記通信手段を介して前記特典処理サーバへ送信する充当要求送信ステップと、前記充当要求に応じて前記特典処理サーバにより実行された前記充当処理の結果情報を前記特典処理サーバから前記充当要求に対する応答として前記通信手段を介して受信するステップと、前記結果情報が充当成功を示す場合に、前記取引対象の代金の少なくとも一部に前記特典を充当する取引を成立させる取引処理を実行する取引処理ステップと、前記充当要求送信ステップにより充当要求が送信された後にエラーが検知された場合、当該検知されたエラーが、充当成功の可能性がある場合に該当する特定エラーであるか否かを判定するエラー判定ステップと、を含み、前記取引処理ステップにおいては、充当成功を示す前記結果情報が受信されない場合であっても前記エラー判定ステップにより前記特定エラーであると判定された場合には充当成功とみなして前記取引処理を実行する。 The invention according to claim 5 is a privilege processing server that manages a privilege associated with a user and executes an allocation process for allocating the privilege to at least a part of the price of a transaction target when the user conducts a transaction. A transaction processing method performed by a computer accessible via a communication means, and a allocation request for applying the privilege to at least a part of the price of the transaction target is transmitted to the privilege processing server via the communication means. The allocation request transmission step, and the step of receiving the result information of the allocation processing executed by the privilege processing server in response to the allocation request from the privilege processing server as a response to the allocation request via the communication means. When the result information indicates successful appropriation, the appropriation request is transmitted by the transaction processing step for executing the transaction processing for establishing the transaction for appropriating the privilege to at least a part of the price of the transaction target, and the appropriation request transmission step . If an error is detected after the transaction has been made, the transaction processing step includes an error determination step of determining whether or not the detected error is a specific error corresponding to the case where there is a possibility of successful allocation. In, even if the result information indicating the allocation success is not received, if the specific error is determined by the error determination step, it is regarded as the allocation success and the transaction processing is executed.
請求項6に記載の発明は、ユーザに対応付く特典を管理し、前記ユーザが取引を行う際に取引対象の代金の少なくとも一部に前記特典を充当するための充当処理を実行する特典処理サーバに通信手段を介してアクセス可能な取引処理装置に含まれるコンピュータを、前記取引対象の代金の少なくとも一部に前記特典を充当させる充当要求を前記通信手段を介して前記特典処理サーバへ送信する充当要求送信手段と、前記充当要求に応じて前記特典処理サーバにより実行された前記充当処理の結果情報を前記特典処理サーバから前記充当要求に対する応答として前記通信手段を介して受信する充当結果受信手段と、前記結果情報が充当成功を示す場合に、前記取引対象の代金の少なくとも一部に前記特典を充当する取引を成立させる取引処理を実行する取引処理手段と、前記充当要求送信手段により充当要求が送信された後にエラーが検知された場合、当該検知されたエラーが、充当成功の可能性がある場合に該当する特定エラーであるか否かを判定するエラー判定手段として機能させ、前記取引処理手段は、充当成功を示す前記結果情報が受信されない場合であっても前記エラー判定手段により前記特定エラーであると判定された場合には充当成功とみなして前記取引処理を実行する。 The invention according to claim 6 is a privilege processing server that manages a privilege associated with a user and executes an allocation process for allocating the privilege to at least a part of the price of the transaction target when the user conducts a transaction. The computer included in the transaction processing device accessible via the communication means is used to transmit an allocation request for allocating the privilege to at least a part of the price of the transaction target to the privilege processing server via the communication means. A request transmitting means and an allocation result receiving means that receives information on the result of the allocation processing executed by the privilege processing server in response to the allocation request from the privilege processing server as a response to the allocation request via the communication means. When the result information indicates successful allocation, the allocation request is made by the transaction processing means for executing the transaction processing for establishing the transaction for which the privilege is applied to at least a part of the price of the transaction target, and the allocation request transmitting means. When an error is detected after being transmitted, the transaction is made to function as an error determination means for determining whether or not the detected error is a specific error corresponding to the case where there is a possibility of successful allocation. The processing means executes the transaction processing on the assumption that the allocation is successful when the error determination means determines that the specific error is obtained even when the result information indicating the allocation success is not received.
本発明によれば、取引処理装置と特典処理サーバとの通信に何かしらの異常が発生している際にもユーザの信頼を失うことなく、特典サービスを効率良く運用させることができる。 According to the present invention, even when some abnormality occurs in the communication between the transaction processing device and the privilege processing server, the privilege service can be efficiently operated without losing the trust of the user.
以下、図面を参照して本発明の実施形態について説明する。以下の実施の形態は、店舗とユーザとの間の取引(商取引)を処理する取引システムSに対して本発明を適用した場合の一実施形態である。なお、本実施形態に係る取引システムSにおいては、ユーザは取引を行う際に取引対象の代金の少なくとも一部に特典を充当することが可能になっている。ここで、取引対象には、例えば、ユーザが店舗で購入可能な商品、及びユーザが店舗(例えば、レストランやホテル等の施設)で利用可能なサービス等が該当する。また、特典とは、金銭(貨幣)や電子マネーと同等の金銭的価値を有するものである。代金の少なくとも一部に特典を充当するとは、当該代金の少なくとも一部に、金銭や電子マネーの代わりに特典を充てることで取引を成立させる(つまり、決済させる)ことを意味する。特典の例としては、ポイント、クーポン、割引券等が挙げられるが、本実施形態では、ポイントを例にとって説明するものとする。かかるポイントは、例えば、取引時に決済された決済額(取引対象の代金に相当)の所定割合(例えば、1,000円の1%)としてユーザに付与される(ユーザに与えられる)ほか、キャンペーン等のイベントにおいて無料でユーザに付与される場合もある。かかるポイントは、数値(ポイント数)で表され、ユーザ特定情報(ユーザ識別情報)に対応付けて記憶される。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. The following embodiment is an embodiment when the present invention is applied to a transaction system S that processes a transaction (commercial transaction) between a store and a user. In the transaction system S according to the present embodiment, the user can apply the privilege to at least a part of the price of the transaction target when conducting a transaction. Here, the transaction target corresponds to, for example, a product that can be purchased by a user at a store, a service that can be used by a user at a store (for example, a facility such as a restaurant or a hotel), and the like. In addition, the privilege has a monetary value equivalent to that of money (money) or electronic money. Applying the privilege to at least a part of the price means that the transaction is completed (that is, settled) by allocating the privilege to at least a part of the price instead of money or electronic money. Examples of benefits include points, coupons, discount coupons, etc., but in the present embodiment, points will be described as an example. Such points are given to the user (given to the user) as a predetermined ratio (for example, 1% of 1,000 yen) of the settlement amount (corresponding to the price of the transaction target) settled at the time of transaction, and also for campaigns and the like. It may be given to the user free of charge at the event. Such points are represented by a numerical value (number of points) and are stored in association with user-specific information (user identification information).
[1.取引システムSの構成及び機能概要]
先ず、図1を参照して、本実施形態に係る取引システムSの構成及び機能概要について説明する。図1は、取引システムSの概要構成例を示す図である。図1に示すように、取引システムSは、店舗端末1(取引処理装置の一例)、売上管理サーバ2、及びポイント処理サーバ3(特典処理サーバの一例)等を含んで構成される。店舗端末1、売上管理サーバ2、及びポイント処理サーバ3は、それぞれ、ネットワークNW(通信手段の一例)に接続される。ネットワークNWは、例えば、インターネット、専用回線、または移動体通信ネットワーク(無線基地局を含む)等から構成される(或いは、これらの組合せから構成される)。なお、図1の例では、店舗端末1は、1つ示されているが実際には店舗毎に1または複数台存在する。
[1. Outline of configuration and functions of transaction system S]
First, with reference to FIG. 1, the configuration and functional outline of the transaction system S according to the present embodiment will be described. FIG. 1 is a diagram showing a schematic configuration example of the transaction system S. As shown in FIG. 1, the transaction system S includes a store terminal 1 (an example of a transaction processing device), a sales management server 2, a point processing server 3 (an example of a privilege processing server), and the like. The store terminal 1, the sales management server 2, and the point processing server 3 are each connected to a network NW (an example of communication means). The network NW is composed of, for example, the Internet, a dedicated line, a mobile communication network (including a wireless base station), or the like (or is composed of a combination thereof). In the example of FIG. 1, one store terminal 1 is shown, but there are actually one or a plurality of store terminals 1 for each store.
店舗端末1は、例えば、ポイントを利用可能な店舗(実店舗)に設置され、取引対象についての取引を成立させる取引処理(売上処理ともいう)を実行するPOS(Point Of Sales)端末である。なお、店舗端末1は、取引処理を実行するためのアプリケーションがインストールされたタブレット端末等により構成されてもよい。店舗端末1は、ネットワークNWを介して売上管理サーバ2及びポイント処理サーバ3にアクセス可能になっている。売上管理サーバ2は、店舗において成立(つまり、決済が完了)した取引についての売上情報を店舗端末1から受信して管理するサーバである。店舗がいわゆるチェーン店である場合、売上管理サーバ2は、各店舗に設置された店舗端末1のそれぞれから売上情報を受信して店舗毎に管理する。 The store terminal 1 is, for example, a POS (Point Of Sales) terminal that is installed in a store (actual store) where points can be used and executes transaction processing (also referred to as sales processing) for establishing a transaction for a transaction target. The store terminal 1 may be configured by a tablet terminal or the like in which an application for executing transaction processing is installed. The store terminal 1 can access the sales management server 2 and the point processing server 3 via the network NW. The sales management server 2 is a server that receives and manages sales information about transactions that have been completed (that is, settlement has been completed) at the store from the store terminal 1. When the store is a so-called chain store, the sales management server 2 receives sales information from each of the store terminals 1 installed in each store and manages each store.
ポイント処理サーバ3は、ユーザに対応付くポイントの残高(以下、「ユーザのポイント残高」または「ポイント残高」という)を管理(例えば、ポイントをユーザIDに対応付けてユーザ毎に管理)し、ユーザが店舗と取引を行う際に取引対象の代金の少なくとも一部にポイントを充当するための充当処理を実行するサーバである。代金の少なくとも一部に充当されるポイントは、ユーザのポイント残高のうちユーザにより指定されたポイント(全ポイントであってもよいし、或いは一部のポイントであってもよい)である。なお、ユーザID(例えば、会員ID)は、ユーザを特定可能(識別可能)なユーザ特定情報の一例である。 The point processing server 3 manages the balance of points associated with the user (hereinafter referred to as "user's point balance" or "point balance") (for example, the points are associated with the user ID and managed for each user). Is a server that executes appropriation processing for appropriating points to at least a part of the price to be traded when trading with a store. The points allocated to at least a part of the price are the points specified by the user (may be all points or some points) in the user's point balance. The user ID (for example, a member ID) is an example of user identification information that can identify (identify) a user.
店舗端末1は、店舗と取引を行うユーザの指示の下で取引対象の代金の少なくとも一部にポイントを充当させる充当要求を、ネットワークNWを介してポイント処理サーバ3へ送信する。そして、店舗端末1は、充当要求に応じてポイント処理サーバ3により実行された上記充当処理の結果情報(以下、「充当結果情報」という)をポイント処理サーバ3からネットワークNWを介して受信し、当該充当結果情報が充当成功を示す場合に、取引対象の代金の少なくとも一部にポイント(ユーザのポイント残高以下のポイント)を充当する取引を成立させる取引処理を実行する。 The store terminal 1 transmits an allocation request for allocating points to at least a part of the price of the transaction target to the point processing server 3 via the network NW under the instruction of the user who makes a transaction with the store. Then, the store terminal 1 receives the result information of the allocation process executed by the point processing server 3 in response to the allocation request (hereinafter referred to as “allocation result information”) from the point processing server 3 via the network NW. When the appropriation result information indicates success in appropriation, a transaction process is executed to conclude a transaction in which points (points equal to or less than the user's point balance) are allocated to at least a part of the price of the transaction target.
本実施形態では、店舗端末1は、充当成功を示す充当結果情報が受信されない場合であっても当該充当成功の可能性がある場合には充当成功とみなして上記取引処理を実行することでポイントの充当(これを、「みなし充当」という)を可能としている。これにより、特に実店舗における忙しい最中に、店舗端末1とポイント処理サーバ3との通信に何かしらの異常が発生している際にもユーザの信頼を失うことなく、ポイントサービスを効率良く運用させることができる。なお、充当失敗を示す充当結果情報が受信された場合、みなし充当は行われない。 In the present embodiment, the store terminal 1 considers that the allocation is successful and executes the above transaction process even if the allocation result information indicating the allocation success is not received, if there is a possibility of the allocation success. (This is called "deemed allocation"). As a result, the point service can be operated efficiently without losing the trust of the user even when some abnormality occurs in the communication between the store terminal 1 and the point processing server 3 especially during the busy period in the actual store. be able to. If the allocation result information indicating the allocation failure is received, the deemed allocation is not performed.
[1-1.店舗端末1の構成及び機能]
次に、図2を参照して、店舗端末1の構成及び機能について説明する。図2(A)は、店舗端末1の機能構成例を示すブロック図である。図2(A)に示すように、店舗端末1は、通信部11、操作部12、コード読取部13(読取手段の一例)、表示部14、レシート出力部15、記憶部16、及び制御部17等を備える。
[1-1. Configuration and function of store terminal 1]
Next, the configuration and function of the store terminal 1 will be described with reference to FIG. FIG. 2A is a block diagram showing a functional configuration example of the store terminal 1. As shown in FIG. 2A, the store terminal 1 includes a
通信部11は、ネットワークNWを介して行われる通信の制御を担う。操作部12は、店員が操作入力を行うための各種の操作キーを備える。操作キーには、例えば、数値を入力するためのキー、所定の項目を選択するためのキー、及び一取引の取引処理を実行させ当該取引を完了させるキーが含まれる。
The
コード読取部13は、バーコードや二次元コード等の識別コード(識別情報の一例)を光学的、磁気的、または電気的に読み取るリーダである。コード読取部13は、店舗と取引を行うユーザが所持する情報表示媒体から識別コードを読み取る。読み取られた識別コードは、制御部17へ出力される。ここで、識別コードは、ユーザIDであってもよいし、或いはポイント処理サーバ3内でユーザIDと一意に対応付けられた固有番号であってもよい。
The
なお、ユーザが所持する情報表示媒体は、ユーザが所持する携帯端末(例えば、スマートフォン)であってよいし、或いはユーザが所持するカード(例えば、紙やプラスチック等からなるカード)であってもよい。情報表示媒体が携帯端末である場合、ユーザの操作にしたがって携帯端末のディスプレイに表示された識別コードがコード読取部13により読み取られる。このとき、表示される識別コードは、ユーザID及びワンタイムコードにより構成されてもよい。ワンタイムコードは、携帯端末にインストールされたトークン(ユーザ毎に固有のトークン)により現在時刻に基づいて生成される。
The information display medium possessed by the user may be a mobile terminal (for example, a smartphone) possessed by the user, or a card possessed by the user (for example, a card made of paper, plastic, or the like). .. When the information display medium is a mobile terminal, the identification code displayed on the display of the mobile terminal is read by the
一方、情報表示媒体がカードである場合、カードに印字された識別コードがコード読取部13により読み取られる。かかる識別コードは、例えば、ポイント処理サーバ3により提供される登録サイトでユーザIDと対応付け可能な固有番号である。この場合、ユーザが携帯端末(PCでもよい)から当該登録サイトにログインして当該固有番号を入力することでユーザIDと対応付けられることになる。なお、当該カードは、ユーザに発行された会員カードであってもよいし、或いはユーザに有償または無償で配布された割引用カードであってもよい。
On the other hand, when the information display medium is a card, the identification code printed on the card is read by the
表示部14は、例えばディスプレイ等を備え、当該ディスプレイには、取引対象の名称(例えば、商品名)、及び取引対象の代金(例えば、商品の販売価格)等の情報が表示される。なお、表示部14をタッチパネルとしてもよく、この場合、タッチパネルは操作部12として機能する。レシート出力部15は、決済情報が印字されたレシートを出力する。決済情報には、取引が成立した取引対象の名称、決済日時、決済方法(例えば、現金決済、電子マネー決済、クレジット決済、ポイント決済)、及び決済額等が含まれる。
The
記憶部16は、例えば不揮発性メモリ等により構成され、オペレーティングシステム、取引処理を実行するためのアプリケーション(本発明の取引処理プログラムを含む)、及び各種データを記憶する。なお、取引処理プログラムは、所定のサーバから店舗端末1にダウンロードされてもよいし、CDやDVD等の記録媒体から読み込まれて記憶部16に記憶されるようにしてもよい。
The
制御部17は、CPU(Central Processing Unit),ROM(Read Only Memory),及びRAM(Random Access Memory)等を備え、オペレーティングシステム上でアプリケーションを実行する。図2(B)は、制御部17における機能ブロックの一例を示す図である。制御部17は、アプリケーションの実行により、図2(B)に示すように、照会要求送信部171、照会結果受信部172、充当可否判定部173、充当要求送信部174、充当結果受信部175、エラー検知部176、エラー判定部177、及び取引処理部178等として機能する。
The
なお、照会要求送信部171は、本発明における照会要求送信手段の一例である。照会結果受信部172は、本発明における照会結果受信手段の一例である。充当可否判定部173は、本発明における充当可否判定手段の一例である。充当要求送信部174は、本発明における充当要求送信手段の一例である。充当結果受信部175は、本発明における充当結果受信手段の一例である。エラー判定部177は、本発明におけるエラー判定手段の一例である。取引処理部178は、本発明における取引処理手段の一例である。
The inquiry
照会要求送信部171は、ユーザが取引を行う際にユーザのポイント残高等の照会要求を、ネットワークNWを介してポイント処理サーバ3へ送信する。照会要求には、例えば、ユーザが所持する情報表示媒体からコード読取部13により読み取られた識別コードが含まれる。照会結果受信部172は、照会要求送信部171により送信された照会要求に応じてポイント処理サーバ3により照会されたポイントに関する照会結果情報を、照会要求に対する応答として、ポイント処理サーバ3からネットワークNWを介して受信する。照会結果情報には、ユーザのポイント残高、及びコードが含まれる。ここで、コードは、ユーザIDであってもよいし、ユーザIDに一意に対応するコードであってもよい。さらに、照会結果情報には、充当可否フラグが含まれてもよい。充当可否フラグは、取引対象の代金に特典を充当可能であるか否かを示す。例えばユーザからユーザIDの盗用(不正使用)が報告された場合、充当可否フラグは充当不可を示すように設定される。
The inquiry
充当可否判定部173は、照会結果受信部172により受信された照会結果情報に基づいて、取引対象の代金の少なくとも一部にポイントを充当可能であるか否かを判定する。例えば、受信された照会結果情報に含まれるポイント残高に対応する金額(つまり、ポイント残高を所定の換算率で換算された金額)が所定額未満である場合、充当可能でないと判定される。例えば、取引対象の代金の全部へのポイントの充当がユーザにより指示された場合、所定額は、取引対象の代金(例えば、1,000円)と等しい金額である。一方、取引対象の代金の一部へのポイントの充当がユーザにより指示された場合、所定額は、取引対象の代金(例えば、1,000円)から、ポイント決済以外の決済方法(例えば、ユーザにより指示された現金決済、電子マネー決済、またはクレジット決済等)により支払われる金額(例えば、ユーザにより指示された600円)が減算された金額(例えば、400円)である。なお、照会結果情報に含まれる充当可否フラグが充当不可を示す場合、ポイント残高に対応する金額が所定額以上であっても、充当可能でないと判定される。
The appropriation
充当要求送信部174は、充当可否判定部173によりポイントを充当可能であると判定された場合に、当該ポイントを充当させる充当要求を、ネットワークNWを介してポイント処理サーバ3へ送信する。充当要求には、例えば、上記コード、及び取引対象の代金の少なくとも一部に充当させるポイントを示す情報等が含まれる。充当要求に応じてポイント処理サーバ3により充当処理が実行され、当該充当要求に対する応答として充当結果情報が店舗端末1へ送信される。ここで、充当結果情報は、充当成功または充当失敗を示す電文である。
When the appropriation
充当結果受信部175は、充当要求に対する応答として、充当結果情報をポイント処理サーバ3からネットワークNWを介して受信する。ただし、店舗端末1とポイント処理サーバ3とのネットワークNWを介する通信に何かしらの異常(例えば、ネットワークNWの不具合)が発生することで、ポイント処理サーバ3からの正常な応答が得られない場合がある。
The allocation
ここで、正常な応答が得られない場合とは、ポイント処理サーバ3から充当結果情報が受信されない場合、または、ポイント処理サーバ3から充当結果情報が受信されたがその電文を解析できない(つまり、解析により充当成功と充当失敗とのいずれも特定できない)場合である。ポイント処理サーバ3から充当結果情報が受信されない場合には、充当要求がポイント処理サーバ3により受信され充当処理が実行されて充当結果情報が送信されたが店舗端末1により受信されなかった場合のほか、充当要求がポイント処理サーバ3により受信されなかった(正常に届かなかった)ことによりポイント処理サーバ3から充当結果情報が送信されなかった場合が該当する。また、電文を解析できない場合には、店舗端末1により受信された充当結果情報に係る電文のフォーマットは正しいがその内容(データ)が壊れている(例えば、文字化けに相当)場合が該当する。 Here, when a normal response cannot be obtained, the allocation result information is not received from the point processing server 3, or the allocation result information is received from the point processing server 3, but the telegram cannot be analyzed (that is,). Neither successful allocation nor unsuccessful allocation can be identified by analysis). When the allocation result information is not received from the point processing server 3, the allocation request is received by the point processing server 3, the allocation process is executed, and the allocation result information is transmitted, but not received by the store terminal 1. , The case where the allocation result information is not transmitted from the point processing server 3 because the allocation request is not received by the point processing server 3 (it did not arrive normally) is applicable. If the message cannot be analyzed, the format of the message related to the allocation result information received by the store terminal 1 is correct, but the content (data) is corrupted (for example, equivalent to garbled characters).
エラー検知部176は、所定のエラー診断アルゴリズムにしたがってエラーを検知する。エラー診断アルゴリズムには、公知の種々のプログラムを適用することができる。例えば、エラー検知部176は、通信電文のHTTP(Hypertext Transfer Protocol)ステータスコードや、ネットワークコネクションを作成するプログラムのエラーコードなどを参照することでエラーを検知する。エラー検知部176によりエラーが検知されると、検知されたエラーに対応するエラー結果コードが特定される。図3は、検知される可能性のあるエラーのリストの一例を示す図である。図3に示すように、検知される可能性のあるエラーは複数種類あり、それぞれのエラーには固有のエラー結果コードが対応付けられている。
The
エラー判定部177は、充当要求送信部174により充当要求が送信された後に、エラー検知部176によりエラーが検知された場合、当該検知されたエラーが充当成功の可能性がある場合に該当する特定エラーであるか否かを判定する。ここで、充当成功の可能性がある場合に該当する特定エラーとは、例えばネットワークNWの不具合に起因するエラーである。図3の例では、通信タイムアウト、通信回線の切断による通信エラー、及び応答電文解析失敗が、それぞれ、充当成功の可能性がある場合に該当する特定エラーとなる。ここで、通信タイムアウト、及び通信回線の切断による通信エラーは、それぞれ、ポイント処理サーバ3から充当結果情報が受信されない場合に該当する。一方、応答電文解析失敗は、ポイント処理サーバ3から受信された充当結果情報に係る電文を解析できない場合(つまり、異常な応答が得られた場合)に該当する。
The
取引処理部178は、充当結果受信部175により受信された充当結果情報が充当成功を示す場合(つまり、充当結果情報に係る電文を解析した結果、充当成功を特定できた場合)に、取引対象の代金の少なくとも一部にポイントを充当する取引を成立させる取引処理を実行する。ここで、取引処理では、取引対象の代金の少なくとも一部にポイントを充当する決済処理(つまり、ユーザに対して当該代金の支払いを課す処理)が実行されるとともに、取引対象の名称及び決済額等を含む決済情報を印字するレシートをレシート出力部15に出力させる処理等が行われる。
The
また、取引処理部178は、充当成功を示す充当結果情報が受信されない場合であっても当該充当成功の可能性がある場合には充当成功とみなして上記取引処理を実行する。例えば、取引処理部178は、エラー判定部177により上記特定エラーであると判定された場合に充当成功とみなして、みなし充当を含む取引処理を実行する。これにより、取引対象の代金の少なくとも一部にポイントを充当する取引を成立させる機能の信頼性を高めることができる。こうして取引が完了した後、取引処理部178は、上記決済情報を含む売上情報を売上管理サーバ2へ送信する。なお、充当結果受信部175により受信された充当結果情報が充当失敗を示す場合(つまり、充当結果情報に係る電文を解析した結果、充当失敗を特定できた場合)、みなし充当を含む取引処理は行われない。
Further, the
[1-2.売上管理サーバ2の構成及び機能]
次に、図4を参照して、売上管理サーバ2の構成及び機能について説明する。図4(A)は、売上管理サーバ2の機能構成例を示すブロック図である。図4(A)に示すように、売上管理サーバ2は、通信部21、記憶部22、及び制御部23等を備える。
[1-2. Configuration and function of sales management server 2]
Next, the configuration and function of the sales management server 2 will be described with reference to FIG. FIG. 4A is a block diagram showing a functional configuration example of the sales management server 2. As shown in FIG. 4A, the sales management server 2 includes a
通信部21は、ネットワークNWを介して行われる通信の制御を担う。記憶部22は、例えば、ハードディスクドライブ等からなり、オペレーティングシステム、サーバプログラム、及び各種データ等を記憶する。また、記憶部22には、売上情報データベース221等が構築される。
The
売上情報データベース221には、店舗の売上情報が格納される。売上情報には、成立した取引の取引ID、店舗の店舗ID、取引対象の取引対象ID、決済情報、充当されたポイント(充当無しの場合は0ポイント)、及びポイントが充当(みなし充当を含む)されたときのコード等が対応付けられて含まれる。ここで、コードは、売上情報に含まれない場合(例えば、現金決済のみで取引が成立した場合)もある。決済情報には、上述したように、取引対象の名称、決済日時、決済方法、及び決済額等が含まれる。なお、売上情報には、ポイントが充当された後のポイント残高が含まれてもよい。
The
制御部23は、CPU,ROM,及びRAM等を備え、オペレーティングシステム上でサーバプログラム等を実行する。図4(B)は、制御部23における機能ブロックの一例を示す図である。制御部23は、サーバプログラム等の実行により、図4(B)に示すように、売上情報保管部231、充当突合処理部232、及び充当補正要求部233等として機能する。売上情報保管部231は、店舗端末1から受信した売上情報を売上情報データベース221に保管する。
The
充当突合処理部232は、ポイント充当情報を取得するためのファイル連携要求を、ネットワークNWを介してポイント処理サーバ3へ送信する。ここで、ポイント充当情報には、例えば、取引毎に区別されたファイルに格納される。ポイント充当情報には、ポイント充当日時、充当されたポイント(つまり、ポイント残高から減算されたポイント)、及びコード等が含まれる。なお、ポイント充当情報には、ポイント残高が含まれてもよい。
The allocation
そして、充当突合処理部232は、ポイント処理サーバ3から取得したポイント充当情報と、売上情報データベース221に格納された売上情報と突合(例えば、日時、充当されたポイント、及びコードで突合)することによりポイント充当の整合性有無を判定する。これにより、例えば、店舗端末1において行われた「みなし充当」に対応する充当処理がポイント処理サーバ3で行われていない場合、当該みなし充当されたポイントがポイント残高から減算されていないので、ポイント充当の整合性無と判定される。または、売上情報とポイント充当情報とのポイント残高が一致しないので整合性無と判定される。ここで、店舗端末1において行われた「みなし充当」に対応する充当処理がポイント処理サーバ3で行われていない場合の原因として、例えば、充当要求がポイント処理サーバ3に届かなかったことや、充当失敗を示す充当結果情報が店舗端末1により受信されたがその電文を解析できなかったことなどが挙げられる。
Then, the appropriation
充当補正要求部233は、ポイント充当を補正させる充当補正要求を、ネットワークNWを介してポイント処理サーバ3へ送信する。充当補正要求には、例えば、コード及びみなし充当されたポイントを示す情報等が含まれる。
The allocation
[1-3.ポイント処理サーバ3の構成及び機能]
次に、図5を参照して、ポイント処理サーバ3の構成及び機能について説明する。図5(A)は、ポイント処理サーバ3の機能構成例を示すブロック図である。図5(A)に示すように、ポイント処理サーバ3は、通信部31、記憶部32、及び制御部33等を備える。
[1-3. Configuration and function of point processing server 3]
Next, the configuration and function of the point processing server 3 will be described with reference to FIG. FIG. 5A is a block diagram showing a functional configuration example of the point processing server 3. As shown in FIG. 5A, the point processing server 3 includes a
通信部31は、ネットワークNWを介して行われる通信の制御を担う。記憶部32は、例えば、ハードディスクドライブ等からなり、オペレーティングシステム、サーバプログラム、及び各種データ等を記憶する。ここで、各種データには、ユーザIDと固有番号(識別コード)とを対応付ける対応付けテーブルが含まれる。また、記憶部32には、ポイント実績データベース321等が構築される。
The
ポイント実績データベース321には、ポイント利用についての会員登録がなされたユーザのポイント実績情報が格納される。ポイント実績情報には、ユーザのユーザID、ポイント残高、充当可否フラグ、ポイント付与情報、及びポイント充当情報が対応付けられて含まれる。ここで、ポイント付与情報には、ポイント付与日時、及びユーザに対応付くポイント(つまり、ポイント残高に加算されたポイント)等が含まれる。なお、記憶部32には、ユーザ毎に固有のトークンがそれぞれのユーザIDに対応付けられて記憶されてもよい。
The
制御部33は、CPU,ROM,及びRAM等を備え、オペレーティングシステム上でサーバプログラム等を実行する。図5(B)は、制御部33における機能ブロックの一例を示す図である。制御部33は、サーバプログラム等の実行により、図5(B)に示すように、照会処理部331、充当処理部332、充当突合連携部333、及び充当補正処理部334等として機能する。
The
照会処理部331は、店舗端末1から照会要求が受信された場合に、当該照会要求に含まれる識別コードに基づいて、ポイント残高(または、ポイント残高と充当可否フラグ)をポイント実績データベース321から取得する。そして、照会処理部331は、ポイント実績データベース321から取得されたポイント残高(または、ポイント残高と充当可否フラグ)、及びコードを含む照会結果情報(ユーザのポイントに関する照会結果情報)を、照会要求に対する応答として、ネットワークNWを介して店舗端末1へ送信する。
When the inquiry request is received from the store terminal 1, the
充当処理部332は、店舗端末1から充当要求が受信された場合に、当該充当要求に含まれるコードに基づいて、ユーザのポイント残高をポイント実績データベース321から取得する。そして、充当処理部332は、ポイント実績データベース321から取得されたポイント残高と、充当要求に示されるポイント(つまり、取引対象の代金の少なくとも一部に充当させるポイント)とに基づいて、当該ポイントを充当するための充当処理を実行する。ここで、充当処理では、ポイント残高から充当要求されたポイント(充当要求に示されるポイント)を減算し、減算後のポイント残高によりポイント実績データベース321に格納されているポイント残高を更新(上書き)する処理等が行われる。
When the appropriation request is received from the store terminal 1, the
そして、充当処理が正常に完了した場合(つまり、ポイント残高から充当要求されたポイントが正常に減算された(当該ポイントが充当された)場合)、充当処理部332は、充当成功を示す充当結果情報を、充当要求に対する応答として、ネットワークNWを介して店舗端末1へ送信する。また、充当処理が正常に完了した場合、充当処理部332は、ポイント充当日時、ポイント残高から減算されたポイント、及びコード等を含むポイント充当情報をポイント実績データベース321に格納する。一方、充当処理が正常に完了しなかった場合(例えば、ポイント処理サーバ3内の一過性の不具合のため)、充当処理部332は、充当失敗を示す充当結果情報を、充当要求に対する応答として、ネットワークNWを介して店舗端末1へ送信する。
Then, when the allocation process is completed normally (that is, when the points requested to be allocated are normally subtracted from the point balance (the points are allocated)), the
充当突合連携部333は、売上管理サーバ2からファイル連携要求が受信された場合に、ポイント実績データベース321からポイント充当情報を取得し、当該ポイント充当情報を、ファイル連携要求に対する応答として、ネットワークNWを介して店舗端末1へ送信する。
When the file linkage request is received from the sales management server 2, the allocation matching
充当補正処理部334は、売上管理サーバ2から充当補正要求が受信された場合に、当該充当補正要求に含まれるコードに基づいて、ユーザのポイント残高をポイント実績データベース321から取得する。そして、充当補正処理部334は、ポイント実績データベース321から取得されたポイント残高と、充当補正要求に示されるポイント(つまり、みなし充当されたポイント)とに基づいて、ポイント充当を補正するための充当補正処理を実行する。ここで、充当補正処理では、ポイント残高から充当補正要求されたポイントを減算し、減算後のポイント残高によりポイント実績データベース321に格納されているポイント残高を更新する処理等が行われる。
When the appropriation
そして、充当補正処理が正常に完了した場合、充当補正処理部334は、ポイント充当日時(みなし充当があった日時でもよい)、ポイント残高から減算されたポイント、及びコード等を含むポイント充当情報をポイント実績データベース321に格納する。一方、充当補正処理が正常に完了しなかった場合、充当補正エラーが記録される。ここで、充当補正処理が正常に完了しなかった場合の原因として、みなし充当後にユーザが他の取引を行ったことでポイント残高不足になったことが挙げられる。
Then, when the appropriation correction process is completed normally, the appropriation
なお、充当失敗の場合であっても時間が経過すれば不具合が解消して充当処理が正常に完了できる可能性もある。この場合において、充当失敗を示す充当結果情報が店舗端末1により受信されたがその電文を解析できなかったことで店舗端末1によりみなし充当が行われた場合、充当処理によりポイント残高から減算されていなかったポイントは、充当補正処理部334の充当補正処理により当該ポイント残高から減算されることができる。
Even if the allocation fails, there is a possibility that the problem will be resolved and the allocation process can be completed normally after a lapse of time. In this case, if the store terminal 1 receives the allocation result information indicating the allocation failure but the store terminal 1 cannot analyze the message and the deemed allocation is performed, the points are deducted from the point balance by the allocation process. The points that did not exist can be deducted from the point balance by the allocation correction processing of the allocation
[2.取引システムSの動作]
次に、本実施形態に係る取引システムSの動作について説明する。
[2. Operation of trading system S]
Next, the operation of the transaction system S according to the present embodiment will be described.
[2-1.ユーザと店舗との間で取引が行われる際における動作]
先ず、図6を参照して、ユーザと店舗との間で取引が行われる際における動作の一例について説明する。図6(A)は、ユーザと店舗との間で取引が行われる際における店舗端末1の制御部17の処理の一例を示すフローチャートであり、図6(B)は、ユーザと店舗との間で取引が行われる際におけるポイント処理サーバ3の制御部33の処理の一例を示すフローチャートである。
[2-1. Behavior when a transaction is made between a user and a store]
First, with reference to FIG. 6, an example of an operation when a transaction is performed between a user and a store will be described. FIG. 6A is a flowchart showing an example of processing of the
例えば、店舗においてユーザが取引対象の代金を支払う際にポイント利用の意思表示をして、携帯端末を操作して識別コードをディスプレイに表示させる。そして、店員が携帯端末のディスプレイに店舗端末1のコード読取部13を翳すことで識別コードが読み取られると、図6(A)に示す処理が開始される。
For example, when the user pays the price of the transaction target at the store, the intention to use the points is displayed, and the mobile terminal is operated to display the identification code on the display. Then, when the store clerk holds the
図6(A)に示す処理が開始されると、制御部17(照会要求送信部171)は、ネットワークNWを介してポイント処理サーバ3へアクセスし、コード読取部13により読み取られた識別コードを含む照会要求を、ネットワークNWを介してポイント処理サーバ3へ送信する(ステップS1)。こうして、照会要求が送信されると、ポイント処理サーバ3からの照会結果情報の受信が待機される(ステップS2)。
When the process shown in FIG. 6A is started, the control unit 17 (inquiry request transmission unit 171) accesses the point processing server 3 via the network NW and reads the identification code read by the
一方、ポイント処理サーバ3において、店舗端末1から送信された照会要求が通信部31を介して受信されると、図6(B)に示す処理が開始される。図6(B)に示す処理が開始されると、制御部33(照会処理部331)は、受信された照会要求に含まれる識別コードに対応するユーザIDを特定する(ステップS21)。ここで、識別コードが固有番号である場合、上記対応付けテーブルが参照されることにより、固有番号に対応付けられたユーザIDが特定される。
On the other hand, when the inquiry request transmitted from the store terminal 1 is received via the
なお、照会要求に含まれる識別コードがユーザID及びワンタイムコードにより構成される場合、制御部33は、ステップS21で特定されたユーザIDに対応付けられて記憶されたトークンを選択する。そして、制御部33は、選択されたトークンにより現在時刻に基づいてワンタイムコードを生成し、当該生成したワンタイムコードと、当該識別コードに含まれるワンタイムコードとが一致する場合(つまり、ユーザが認証された場合)に、ステップS22に進むように構成してもよい。これにより、セキュリティを向上することができる。
When the identification code included in the inquiry request is composed of the user ID and the one-time code, the
次いで、制御部33(照会処理部331)は、ステップS21で特定されたユーザIDに対応付けられたポイント残高及び充当可否フラグをポイント実績データベース321から取得する(ステップS22)。次いで、制御部33(照会処理部331)は、ステップS21で特定されたユーザIDに基づいてコードを生成する(ステップS23)。 Next, the control unit 33 (inquiry processing unit 331) acquires the point balance and the appropriation availability flag associated with the user ID specified in step S21 from the point record database 321 (step S22). Next, the control unit 33 (inquiry processing unit 331) generates a code based on the user ID specified in step S21 (step S23).
次いで、制御部33(照会処理部331)は、ステップS22で取得されたポイント残高及び充当可否フラグと、ステップS23で生成されたコードとを含む照会結果情報(ユーザIDに対応付けられたポイントに関する照会結果情報)を、照会要求に対する応答として、ネットワークNWを介して店舗端末1へ送信する(ステップS24)。こうして、照会結果情報が送信されると、店舗端末1からの充当要求の受信が待機される(ステップS25)。 Next, the control unit 33 (inquiry processing unit 331) describes the inquiry result information (related to the points associated with the user ID) including the point balance acquired in step S22, the appropriation availability flag, and the code generated in step S23. The inquiry result information) is transmitted to the store terminal 1 via the network NW as a response to the inquiry request (step S24). When the inquiry result information is transmitted in this way, reception of the allocation request from the store terminal 1 is awaited (step S25).
一方、店舗端末1において、ポイント処理サーバ3から送信された照会結果情報が通信部11を介して照会結果受信部172により受信されると(ステップS2:YES)、処理はステップS3へ進む。なお、図6(A)の例では図示を省略するが、照会要求の送信から所定時間以上照会結果情報が受信されない場合、通信タイムアウトとなり、図6(A)に示す処理が終了する。
On the other hand, when the inquiry result information transmitted from the point processing server 3 is received by the inquiry
ステップS3では、制御部17(充当可否判定部173)は、ステップS2で受信された照会結果情報に基づいて、取引対象の代金の少なくとも一部にポイントを充当可能であるか否かを判定する。例えば、上述したように、ポイント残高に対応する金額が所定額未満である場合、充当可能でないと判定される。取引対象の代金の少なくとも一部にポイントを充当可能でないと判定された場合(ステップS3:NO)、ポイント利用不可を示すメッセージが表示部14のディスプレイに表示され、図6(A)に示す処理が終了する。この場合、ポイントを利用しない決済方法で取引対象の代金を支払う処理へ移行する。
In step S3, the control unit 17 (appropriation availability determination unit 173) determines whether or not points can be allocated to at least a part of the transaction target price based on the inquiry result information received in step S2. .. For example, as described above, if the amount corresponding to the point balance is less than the predetermined amount, it is determined that the amount cannot be applied. When it is determined that points cannot be applied to at least a part of the transaction target price (step S3: NO), a message indicating that the points cannot be used is displayed on the display of the
一方、取引対象の代金の少なくとも一部にポイントを充当可能であると判定された場合(ステップS3:YES)、制御部17(充当要求送信部174)は、コード及び充当させるポイントを示す情報を含む充当要求を、ネットワークNWを介してポイント処理サーバ3へ送信する(ステップS4)。なお、上述したように、送信された充当要求は、例えばネットワークNWの不具合が原因でポイント処理サーバ3に届かない場合もある。こうして、充当要求が送信されると、ポイント処理サーバ3からの充当結果情報の受信が待機される(ステップS5)。 On the other hand, when it is determined that the points can be allocated to at least a part of the price of the transaction target (step S3: YES), the control unit 17 (allocation request transmission unit 174) inputs the code and the information indicating the points to be allocated. The including allocation request is transmitted to the point processing server 3 via the network NW (step S4). As described above, the transmitted allocation request may not reach the point processing server 3 due to, for example, a malfunction of the network NW. In this way, when the allocation request is transmitted, the reception of the allocation result information from the point processing server 3 is awaited (step S5).
次いで、制御部17は、エラー検知部176によりエラーが検知されたか否かを判定する(ステップS6)。エラーが検知されたと判定された場合(ステップS6:YES)、処理はステップS7へ進む。一方、エラーが検知されていないと判定された場合(ステップS6:NO)、処理はステップS5に戻る。なお、ステップS6の処理はステップS5の前に行われてもよい。
Next, the
ステップS7では、制御部17(エラー判定部177)は、ステップS6で検知されたエラーが充当成功の可能性がある場合に該当する特定エラーであるか否かを判定する。当該特定エラーでないと判定された場合(ステップS7:NO)、ポイント利用不可を示すメッセージが表示部14のディスプレイに表示され、図6(A)に示す処理が終了する。この場合、ポイントを利用しない決済方法で取引対象の代金を支払う処理へ移行する。一方、充当成功の可能性がある場合に該当する特定エラー(例えば、通信タイムアウト)であると判定された場合(ステップS7:YES)、処理はステップS10へ進み、みなし充当を含む取引処理が実行される。
In step S7, the control unit 17 (error determination unit 177) determines whether or not the error detected in step S6 is a specific error corresponding to the case where there is a possibility of successful allocation. When it is determined that the error is not the specific error (step S7: NO), a message indicating that the point cannot be used is displayed on the display of the
一方、ポイント処理サーバ3において、店舗端末1から送信された充当要求が通信部31を介して受信されると(ステップS25:YES)、処理はステップS26へ進む。なお、図6(B)の例では図示を省略するが、照会結果情報の送信から所定時間以上充当要求が受信されない場合、通信タイムアウトとなり、図6(B)に示す処理が終了する。
On the other hand, when the allocation request transmitted from the store terminal 1 is received via the
ステップS26では、制御部33(充当処理部332)は、ステップS25で受信された充当要求に含まれるコードに対応するユーザIDを特定する。次いで、制御部33(充当処理部332)は、ステップS26で特定されたユーザIDに対応付けられたポイント残高をポイント実績データベース321から取得する(ステップS27)。次いで、制御部33(充当処理部332)は、ステップS27で取得されたポイント残高と充当要求に示されるポイントとに基づいて、当該ポイントを充当するための充当処理を実行する(ステップS28)。 In step S26, the control unit 33 (allocation processing unit 332) identifies the user ID corresponding to the code included in the allocation request received in step S25. Next, the control unit 33 (allocation processing unit 332) acquires the point balance associated with the user ID specified in step S26 from the point record database 321 (step S27). Next, the control unit 33 (allocation processing unit 332) executes an allocation process for appropriating the points based on the point balance acquired in step S27 and the points shown in the appropriation request (step S28).
次いで、制御部33(充当処理部332)は、充当処理が正常に完了したか否かを判定する(ステップS29)。例えば、上述したように、ポイント残高から充当要求に示されるポイントが正常に減算されてポイント実績データベース321に上書きされた場合、充当処理が正常に完了したと判定される。制御部33(充当処理部332)は、充当処理が正常に完了したと判定した場合(ステップS29:YES)、充当成功を示す充当結果情報を、充当要求に対する応答として、ネットワークNWを介して店舗端末1へ送信し(ステップS30)、図6(B)に示す処理を終了する。
Next, the control unit 33 (allocation processing unit 332) determines whether or not the allocation processing has been completed normally (step S29). For example, as described above, when the points shown in the appropriation request are normally subtracted from the point balance and overwritten on the
一方、制御部33(充当処理部332)は、充当処理が正常に完了しなかったと判定した場合(ステップS29:NO)、充当失敗を示す充当結果情報を、充当要求に対する応答として、ネットワークNWを介して店舗端末1へ送信し(ステップS31)、図6(B)に示す処理を終了する。なお、上述したように、ステップS30またはステップS31で送信された充当結果情報は、例えばネットワークNWの不具合が原因で店舗端末1に届かない場合もある。 On the other hand, when the control unit 33 (allocation processing unit 332) determines that the allocation processing has not been completed normally (step S29: NO), the network NW is used as a response to the allocation request with the allocation result information indicating the allocation failure. It is transmitted to the store terminal 1 via (step S31), and the process shown in FIG. 6 (B) is terminated. As described above, the allocation result information transmitted in step S30 or step S31 may not reach the store terminal 1 due to, for example, a malfunction of the network NW.
一方、店舗端末1において、ポイント処理サーバ3から送信された充当結果情報が通信部11を介して充当結果受信部175により受信されると(ステップS5:YES)、処理はステップS8へ進む。ステップS8では、制御部17は、エラー検知部176により特定エラーとして応答電文解析失敗が検知されたか否かを判定する。応答電文解析失敗が検知されていないと判定された場合(ステップS8:NO)、処理はステップS9へ進む。一方、応答電文解析失敗が検知されたと判定された場合(ステップS8:YES)、処理はステップS10へ進み、みなし充当を含む取引処理が実行される。
On the other hand, when the allocation result information transmitted from the point processing server 3 is received by the allocation
ステップS9では、制御部17は、ステップS5で受信された充当結果情報が充当成功を示すか否かを判定する。充当結果情報が充当成功を示されない(つまり、充当失敗を示す)と判定された場合(ステップS9:NO)、ポイント利用不可を示すメッセージが表示部14のディスプレイに表示され、図6(A)に示す処理が終了する。この場合、ポイントを利用しない決済方法で取引対象の代金を支払う処理へ移行する。一方、充当結果情報が充当成功を示すと判定された場合(ステップS9:YES)、制御部17(取引処理部178)は、取引対象の代金の少なくとも一部にポイントを充当する取引を成立させる取引処理を実行する(ステップS10)。
In step S9, the
次いで、制御部17(取引処理部178)は、ネットワークNWを介して売上管理サーバ2にアクセスし、成立した取引に係る決済情報を含む売上情報を、ネットワークNWを介して売上管理サーバ2へ送信し(ステップS11)、図6(A)に示す処理を終了する。なお、当該売上情報は、例えば24時間に1回実行されるバッチ処理で後から纏めて売上管理サーバ2へ送信されてもよい。 Next, the control unit 17 (transaction processing unit 178) accesses the sales management server 2 via the network NW, and transmits the sales information including the settlement information related to the completed transaction to the sales management server 2 via the network NW. (Step S11), the process shown in FIG. 6 (A) is terminated. The sales information may be collectively transmitted to the sales management server 2 later in a batch process that is executed once every 24 hours, for example.
[2-2.充当突合が行われる際における動作]
次に、図7を参照して、充当突合が行われる際における動作の一例について説明する。図7(A)は、充当突合が行われる際における売上管理サーバ2の制御部23の処理の一例を示すフローチャートであり、図7(B)は、充当突合が行われる際におけるポイント処理サーバ3の制御部33の処理の一例を示すフローチャートである。
[2-2. Operation when allocation matching is performed]
Next, with reference to FIG. 7, an example of the operation when the allocation matching is performed will be described. FIG. 7A is a flowchart showing an example of processing of the
図7(A)に示す処理は、例えば所定時間(例えば24時間)毎に実行される。図7(A)に示す処理が開始されると、売上管理サーバ2の制御部23(充当突合処理部232)は、ネットワークNWを介してポイント処理サーバ3へアクセスし、ポイント充当情報を取得するためのファイル連携要求を、ネットワークNWを介してポイント処理サーバ3へ送信する(ステップS41)。こうして、ファイル連携要求が送信されると、ポイント処理サーバ3からのポイント充当情報の受信が待機される(ステップS42)。なお、ポイント充当情報は、ポイント処理サーバ3から売上管理サーバ2へ定期的または不定期にプッシュ送信されてもよい。この場合、ファイル連携要求は、売上管理サーバ2からポイント処理サーバ3へ送信されなくてよい。 The process shown in FIG. 7A is executed, for example, every predetermined time (for example, 24 hours). When the process shown in FIG. 7A is started, the control unit 23 (allocation matching processing unit 232) of the sales management server 2 accesses the point processing server 3 via the network NW and acquires the point allocation information. The file linkage request for this is transmitted to the point processing server 3 via the network NW (step S41). When the file linkage request is transmitted in this way, reception of the point allocation information from the point processing server 3 is awaited (step S42). The point allocation information may be push-transmitted from the point processing server 3 to the sales management server 2 periodically or irregularly. In this case, the file linkage request does not have to be transmitted from the sales management server 2 to the point processing server 3.
一方、ポイント処理サーバ3において、売上管理サーバ2から送信されたファイル連携要求が通信部31を介して受信されると、図7(B)に示す処理が開始される。或いは、ポイント処理サーバ3において、ポイント充当情報のプッシュ送信契機になると、図7(B)に示す処理が開始される。図7(B)に示す処理が開始されると、ポイント処理サーバ3の制御部33(充当突合連携部333)は、ポイント実績データベース321からポイント充当情報(例えば、過去に売上管理サーバ2へ送信されていないポイント充当情報)を取得する(ステップS51)。
On the other hand, when the file linkage request transmitted from the sales management server 2 is received by the point processing server 3 via the
次いで、制御部33(充当突合連携部333)は、ステップS51で取得されたポイント充当情報を、ファイル連携要求に対する応答として、ネットワークNWを介して売上管理サーバ2へ送信する(ステップS52)。こうして、ポイント充当情報が送信されると、売上管理サーバ2からの充当補正要求の受信が待機される(ステップS53)。 Next, the control unit 33 (allocation matching cooperation unit 333) transmits the point allocation information acquired in step S51 to the sales management server 2 via the network NW as a response to the file cooperation request (step S52). When the point allocation information is transmitted in this way, reception of the allocation correction request from the sales management server 2 is awaited (step S53).
一方、売上管理サーバ2において、ポイント処理サーバ3から送信されたポイント充当情報が通信部21を介して受信されると(ステップS42:YES)、処理はステップS43へ進む。なお、図7(A)の例では図示を省略するが、ファイル連携要求の送信から所定時間以上ポイント充当情報が受信されない場合、通信タイムアウトとなり、図7(A)に示す処理が終了する。
On the other hand, when the point allocation information transmitted from the point processing server 3 is received via the
ステップS43では、制御部23(充当突合処理部232)は、ステップS42で受信されたポイント充当情報と、売上情報データベース221に格納された売上情報と突合(例えば、日時、充当されたポイント、及びコードで突合)することによりポイント充当の整合性有無を判定する。例えば、ポイント充当情報と売上情報とのポイント残高が一致するか、もしくは一致しないかにより整合性有無が判定される。 In step S43, the control unit 23 (allocation matching processing unit 232) collates the point allocation information received in step S42 with the sales information stored in the sales information database 221 (for example, the date and time, the allocated points, and the allocated points). By collating with the code), it is judged whether or not the points are allocated consistently. For example, the presence or absence of consistency is determined by whether or not the point balances of the point allocation information and the sales information match or do not match.
次いで、制御部23(充当突合処理部232)は、ステップS43の判定の結果から、ポイント充当の整合性無(例えば、ポイント残高が一致しない)と判定された取引が有るか否かを判定する(ステップS44)。ポイント充当の整合性無と判定された取引が無いと判定された場合(ステップS44:NO)、ポイント充当の整合性有を示す情報がポイント処理サーバ3へ送信される(ステップS45)。 Next, the control unit 23 (allocation matching processing unit 232) determines from the result of the determination in step S43 whether or not there is a transaction for which it is determined that the point allocation is inconsistent (for example, the point balances do not match). (Step S44). When it is determined that there is no transaction determined to be inconsistent in point allocation (step S44: NO), information indicating the consistency of point allocation is transmitted to the point processing server 3 (step S45).
一方、ポイント充当の整合性無と判定された取引が有ると判定された場合(ステップS44:YES)、制御部23(充当補正要求部233)は、ポイント充当の整合性無と判定された取引の取引IDに対応付けられたコード及びみなし充当されたポイントを示す情報を売上情報データベース221から取得する(ステップS46)。次いで、制御部23(充当補正要求部233)は、ステップS46で取得された情報を含む充当補正要求を、ネットワークNWを介してポイント処理サーバ3へ送信し(ステップS47)、図7(A)に示す処理を終了する。 On the other hand, when it is determined that there is a transaction determined to be inconsistent in point allocation (step S44: YES), the control unit 23 (allocation correction requesting unit 233) is determined to be inconsistent in point allocation. Information indicating the code associated with the transaction ID and the deemed allocated points is acquired from the sales information database 221 (step S46). Next, the control unit 23 (allocation correction request unit 233) transmits an allocation correction request including the information acquired in step S46 to the point processing server 3 via the network NW (step S47), and FIG. 7A is shown. Ends the process shown in.
一方、ポイント処理サーバ3において、売上管理サーバ2から送信された充当補正要求が通信部31を介して受信されると(ステップS53:YES)、処理はステップS54へ進む。なお、図7(B)の例では図示を省略するが、ポイント充当情報の送信から所定時間以上充当補正要求またはポイント充当の整合性有を示す情報が受信されない場合、通信タイムアウトとなり、図7(B)に示す処理が終了する。
On the other hand, when the allocation correction request transmitted from the sales management server 2 is received via the
ステップS54では、制御部23(充当補正処理部334)は、ステップS53で受信された充当補正要求に含まれるコードに対応するユーザIDを特定する。次いで、制御部33(充当補正処理部334)は、ステップS54で特定されたユーザIDに対応付けられたポイント残高をポイント実績データベース321から取得する(ステップS55)。次いで、制御部23(充当補正処理部334)は、ステップS55で取得されたポイント残高と、充当補正要求に示されるポイント(つまり、みなし充当されたポイント)とに基づいて、ポイント充当を補正するための充当補正処理を実行する(ステップS56)。 In step S54, the control unit 23 (allocation correction processing unit 334) identifies the user ID corresponding to the code included in the allocation correction request received in step S53. Next, the control unit 33 (allocation correction processing unit 334) acquires the point balance associated with the user ID specified in step S54 from the point record database 321 (step S55). Next, the control unit 23 (allocation correction processing unit 334) corrects the point allocation based on the point balance acquired in step S55 and the points indicated in the allocation correction request (that is, the deemed allocated points). (Step S56).
次いで、制御部33(充当補正処理部334)は、充当補正処理が正常に完了したか否かを判定する(ステップS57)。例えば、上述したように、ポイント残高から充当補正要求に示されるポイントが正常に減算されてポイント実績データベース321に上書きされた場合、充当補正処理が正常に完了したと判定される。充当補正処理が正常に完了したと判定された場合(ステップS57:YES)、ポイント充当日時、ポイント残高から減算されたポイント、及びコード等を含むポイント充当情報が、ステップS54で特定されたユーザIDに対応付けられてポイント実績データベース321に格納され(ステップS58)、図7(B)に示す処理が終了する。
Next, the control unit 33 (allocation correction processing unit 334) determines whether or not the allocation correction processing is normally completed (step S57). For example, as described above, when the points shown in the appropriation correction request are normally subtracted from the point balance and overwritten on the
一方、充当補正処理が正常に完了しなかったと判定された場合(ステップS57:NO)、充当補正エラーが記録され(ステップS59)、図7(B)に示す処理が終了する。なお、充当補正エラーが記録された場合、本来充当されるべきポイントがポイント残高から減算されなかったという結果になるが、このポイントに対応する費用を補填するための処理が別途行われることで実質的にポイント充当の整合性が確保されることになる。 On the other hand, when it is determined that the allocation correction process has not been completed normally (step S57: NO), an allocation correction error is recorded (step S59), and the process shown in FIG. 7B ends. If an appropriation correction error is recorded, the result is that the points that should be originally appropriated were not deducted from the point balance, but it is practically performed by a separate process to compensate for the cost corresponding to these points. Consistency of point allocation will be ensured.
以上説明したように、上記実施形態によれば、店舗端末1は、ユーザが店舗と取引を行う際に取引対象の代金の少なくとも一部にポイントを充当させる充当要求を、ネットワークNWを介してポイント処理サーバ3へ送信した後、ポイント処理サーバ3から充当成功を示す充当結果情報が受信されない場合であっても当該充当成功の可能性がある場合には充当成功とみなしてポイントを充当する取引を成立させる取引処理を実行するように構成したので、店舗端末1とポイント処理サーバ3との通信に何かしらの異常が発生している際にもユーザの信頼を失うことなく、ポイントサービスを効率良く運用させることができる。また、上記実施形態によれば、ポイントを充当するための充当処理を実行する演算機能を店舗端末1側に再構築する必要がない(つまり、店舗端末1の大がかりな改修の必要がない)ため、手間及びコストを低減することができる。 As described above, according to the above embodiment, the store terminal 1 makes a point allocation request via the network NW to allocate points to at least a part of the price of the transaction target when the user conducts a transaction with the store. Even if the allocation result information indicating successful allocation is not received from the point processing server 3 after transmission to the processing server 3, if there is a possibility that the allocation is successful, the transaction is regarded as successful allocation and the points are allocated. Since it is configured to execute the transaction processing to be completed, the point service can be operated efficiently without losing the trust of the user even when some abnormality occurs in the communication between the store terminal 1 and the point processing server 3. Can be made to. Further, according to the above embodiment, it is not necessary to reconstruct the calculation function for executing the allocation process for allocating points on the store terminal 1 side (that is, there is no need for major repair of the store terminal 1). , Effort and cost can be reduced.
また、上記実施形態によれば、店舗端末1は、ユーザが店舗と取引を行う際にポイント処理サーバ3へ照会要求を送信することでポイント残高等を含む照会結果情報を受信し、当該照会結果情報に基づいて取引対象の代金の少なくとも一部にポイントを充当可能であると判定した場合に(例えば、ポイント残高不足でないことを確かめた上で)、当該ポイントを充当させる充当要求を、ネットワークNWを介してポイント処理サーバ3へ送信するように構成したので、充当成功の可能性がある場合には充当成功とみなして取引対象の代金の少なくとも一部にポイントを充当する取引を成立させる機能の信頼性(みなし充当の信頼性)を高めることができる。 Further, according to the above embodiment, the store terminal 1 receives inquiry result information including the point balance and the like by transmitting an inquiry request to the point processing server 3 when the user makes a transaction with the store, and the inquiry result. When it is determined based on the information that points can be applied to at least a part of the price of the transaction target (for example, after confirming that the point balance is not insufficient), the network NW makes an allocation request to apply the points. Since it is configured to be transmitted to the point processing server 3 via Reliability (reliability of deemed allocation) can be increased.
以上のように本発明の一実施形態を説明したが、本発明は上記実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲で上記実施形態から種々構成等に変更を加えてもよく、その場合も本発明の技術的範囲に含まれる。例えば、上記実施形態においては、特典としてポイントを例にとって説明したが、当該特典をクーポンまたは割引券等とした場合であっても上記実施形態を実現することができる。 Although one embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various configurations and the like are changed from the above embodiment without departing from the gist of the present invention. Also, it is included in the technical scope of the present invention. For example, in the above embodiment, points have been described as an example as a privilege, but the above embodiment can be realized even when the privilege is a coupon, a discount coupon, or the like.
また、上記実施形態においては、店舗端末1は、ポイント処理サーバ3へ照会要求を送信することでポイント残高等を含む照会結果情報を受信するように構成したが、別の例として、店舗端末1は、ポイント処理サーバ3へ照会要求を送信することなく、上記識別コード及び充当させるポイントを示す情報を含む充当要求をポイント処理サーバ3へ送信するように構成してもよい。この場合、ポイント処理サーバ3は、ユーザのポイント残高が充当要求に示されるポイント以上であると判定した場合に充当処理を実行し、充当結果情報を店舗端末1へ送信する。このとき、店舗端末1はポイント処理サーバ3から充当成功を示す充当結果情報が受信されない場合であっても当該充当成功の可能性がある場合には充当成功とみなしてポイントを充当する取引を成立させる取引処理を実行する。 Further, in the above embodiment, the store terminal 1 is configured to receive inquiry result information including the point balance by transmitting an inquiry request to the point processing server 3, but as another example, the store terminal 1 is configured. May be configured to send an allocation request including the above identification code and information indicating the point to be allocated to the point processing server 3 without transmitting the inquiry request to the point processing server 3. In this case, the point processing server 3 executes the appropriation process when it is determined that the point balance of the user is equal to or greater than the points indicated in the appropriation request, and transmits the appropriation result information to the store terminal 1. At this time, even if the store terminal 1 does not receive the appropriation result information indicating the appropriation success from the point processing server 3, if there is a possibility that the appropriation is successful, the store terminal 1 considers the appropriation to be successful and concludes a transaction to approve the points. Execute the transaction processing to be made.
また、上記実施形態においては、本発明の取引処理装置として店舗端末1を例にとって説明したが、別の例として、複数の店舗により出品された各商品をオンライン(例えば、ショッピングモールサイト)で販売する商取引処理サーバに対しても本発明の取引処理装置を適用することができる。この場合、ユーザ端末(例えば、携帯端末やパーソナルコンピュータ)とネットワークNWを介して接続した商取引処理サーバは、ユーザ端末のユーザが取引を行う際(例えば、店舗により出品された商品を購入する際)に取引対象の代金の少なくとも一部にポイントを充当させる充当要求を、ネットワークNWを介してポイント処理サーバ3へ送信した後、ポイント処理サーバ3から充当成功を示す充当結果情報が受信されない場合であっても当該充当成功の可能性がある場合には充当成功とみなしてポイントを充当する取引を成立させる取引処理を実行する。この場合においても、商取引処理サーバは、充当要求の前に照会要求を送信することでポイント残高等を含む照会結果情報を受信し、当該照会結果情報に基づいて取引対象の代金の少なくとも一部にポイントを充当可能であると判定した場合に、当該ポイントを充当させる充当要求を、ネットワークNWを介してポイント処理サーバ3へ送信してもよい。 Further, in the above embodiment, the store terminal 1 has been described as an example of the transaction processing device of the present invention, but as another example, each product exhibited by a plurality of stores is sold online (for example, a shopping mall site). The transaction processing apparatus of the present invention can also be applied to a commercial transaction processing server. In this case, the commercial transaction processing server connected to the user terminal (for example, a mobile terminal or a personal computer) via the network NW is used when the user of the user terminal makes a transaction (for example, when purchasing a product exhibited by a store). After sending an allocation request to allocate points to at least a part of the price to be traded to the point processing server 3 via the network NW, the allocation result information indicating successful allocation is not received from the point processing server 3. However, if there is a possibility that the appropriation will be successful, it will be regarded as a successful appropriation and the transaction processing to conclude the transaction to approve the points will be executed. Even in this case, the commercial transaction processing server receives the inquiry result information including the point balance by sending the inquiry request before the allocation request, and based on the inquiry result information, it is used as at least a part of the price of the transaction target. When it is determined that the points can be allocated, the allocation request for allocating the points may be transmitted to the point processing server 3 via the network NW.
1 店舗端末
2 売上管理サーバ
3 ポイント処理サーバ
11 通信部
12 操作部
13 コード読取部
14 表示部
15 レシート出力部
16 記憶部
17 制御部
171 照会要求送信部
172 照会結果受信部
173 充当可否判定部
174 充当要求送信部
175 充当結果受信部
176 エラー検知部
177 エラー判定部
178 取引処理部
21 通信部
22 記憶部
23 制御部
231 売上情報保管部
232 充当突合処理部
233 充当補正要求部
31 通信部
32 記憶部
33 制御部
331 照会処理部
332 充当処理部
333 充当突合連携部
334 充当補正処理部
NW ネットワーク
S 取引システム
1 Store terminal 2 Sales management server 3
Claims (6)
前記取引対象の代金の少なくとも一部に前記特典を充当させる充当要求を前記通信手段を介して前記特典処理サーバへ送信する充当要求送信手段と、
前記充当要求に応じて前記特典処理サーバにより実行された前記充当処理の結果情報を前記特典処理サーバから前記充当要求に対する応答として前記通信手段を介して受信する充当結果受信手段と、
前記結果情報が充当成功を示す場合に、前記取引対象の代金の少なくとも一部に前記特典を充当する取引を成立させる取引処理を実行する取引処理手段と、
前記充当要求送信手段により充当要求が送信された後にエラーが検知された場合、当該検知されたエラーが、充当成功の可能性がある場合に該当する特定エラーであるか否かを判定するエラー判定手段と、
を備え、
前記取引処理手段は、充当成功を示す前記結果情報が受信されない場合であっても前記エラー判定手段により前記特定エラーであると判定された場合には充当成功とみなして前記取引処理を実行する取引処理装置。 It is possible to access the privilege processing server that manages the privilege associated with the user and executes the allocation process for allocating the privilege to at least a part of the price of the transaction target when the user conducts a transaction via a communication means. It ’s a transaction processing device,
An appropriation request transmitting means for transmitting an appropriation request for appropriating the privilege to at least a part of the price of the transaction target to the privilege processing server via the communication means.
An allocation result receiving means that receives the result information of the allocation process executed by the privilege processing server in response to the allocation request from the privilege processing server as a response to the allocation request via the communication means.
A transaction processing means for executing a transaction process for establishing a transaction in which the privilege is applied to at least a part of the price of the transaction target when the result information indicates successful allocation.
When an error is detected after the allocation request is transmitted by the allocation request transmitting means, an error determination for determining whether or not the detected error is a specific error corresponding to the case where there is a possibility of successful allocation. Means and
Equipped with
Even if the result information indicating successful allocation is not received, the transaction processing means considers the allocation successful and executes the transaction processing when the error determination means determines that the specific error has occurred. Processing equipment.
前記照会要求に応じて前記特典処理サーバにより照会された前記特典に関する照会結果情報を前記特典処理サーバから前記通信手段を介して受信する照会結果受信手段と、
前記照会結果情報に基づいて、前記取引対象の代金の少なくとも一部に前記特典を充当可能であるか否かを判定する充当可否判定手段と、
を更に備え、
前記充当要求送信手段は、前記充当可否判定手段により前記特典を充当可能であると判定された場合に、当該特典を充当させる充当要求を前記通信手段を介して前記特典処理サーバへ送信する請求項1または2に記載の取引処理装置。 An inquiry request transmitting means for transmitting a privilege inquiry request corresponding to the user when the user makes a transaction to the privilege processing server via the communication means, and an inquiry request transmitting means.
An inquiry result receiving means for receiving inquiry result information regarding the privilege inquired by the privilege processing server in response to the inquiry request from the privilege processing server via the communication means.
Based on the inquiry result information, a means for determining whether or not the privilege can be applied to at least a part of the price of the transaction target, and a means for determining whether or not the benefit can be applied.
Further prepare
A claim that the appropriation request transmitting means transmits an appropriation request for appropriating the privilege to the privilege processing server via the communication means when it is determined by the appropriation availability determination means that the privilege can be applied. The transaction processing apparatus according to 1 or 2 .
前記取引処理装置は、店舗に設置され、前記ユーザが所持する情報表示媒体から識別情報を読み取る読取手段を備える店舗端末であり、
前記照会要求送信手段は、前記読取手段により前記情報表示媒体から読み取られた識別情報を含む前記照会要求を前記通信手段を介して前記特典処理サーバへ送信し、
前記照会結果受信手段は、前記識別情報に対応する前記ユーザ特定情報に対応付けられた特典に関する照会結果情報を前記特典処理サーバから前記通信手段を介して受信する請求項3に記載の取引処理装置。 The privilege processing server manages the privilege in association with user-specific information that can identify a user.
The transaction processing device is a store terminal installed in a store and provided with a reading means for reading identification information from an information display medium possessed by the user.
The inquiry request transmitting means transmits the inquiry request including the identification information read from the information display medium by the reading means to the privilege processing server via the communication means.
The transaction processing device according to claim 3 , wherein the inquiry result receiving means receives inquiry result information regarding a privilege associated with the user specific information corresponding to the identification information from the privilege processing server via the communication means. ..
前記取引対象の代金の少なくとも一部に前記特典を充当させる充当要求を前記通信手段を介して前記特典処理サーバへ送信する充当要求送信ステップと、
前記充当要求に応じて前記特典処理サーバにより実行された前記充当処理の結果情報を前記特典処理サーバから前記充当要求に対する応答として前記通信手段を介して受信するステップと、
前記結果情報が充当成功を示す場合に、前記取引対象の代金の少なくとも一部に前記特典を充当する取引を成立させる取引処理を実行する取引処理ステップと、
前記充当要求送信ステップにより充当要求が送信された後にエラーが検知された場合、当該検知されたエラーが、充当成功の可能性がある場合に該当する特定エラーであるか否かを判定するエラー判定ステップと、
を含み、
前記取引処理ステップにおいては、充当成功を示す前記結果情報が受信されない場合であっても前記エラー判定ステップにより前記特定エラーであると判定された場合には充当成功とみなして前記取引処理を実行する取引処理方法。 It is possible to access the privilege processing server that manages the privilege associated with the user and executes the allocation process for allocating the privilege to at least a part of the price of the transaction target when the user conducts a transaction via a communication means. It is a transaction processing method performed by a computer.
An appropriation request transmission step of transmitting an appropriation request for appropriating the privilege to at least a part of the price of the transaction target to the privilege processing server via the communication means, and a step of transmitting the appropriation request .
A step of receiving the result information of the allocation process executed by the privilege processing server in response to the allocation request from the privilege processing server via the communication means as a response to the allocation request.
A transaction processing step for executing a transaction process for establishing a transaction in which the privilege is applied to at least a part of the price of the transaction target when the result information indicates successful allocation.
If an error is detected after the allocation request is transmitted by the allocation request transmission step, an error determination for determining whether or not the detected error is a specific error corresponding to the possibility of successful allocation. Steps and
Including
In the transaction processing step, even if the result information indicating successful allocation is not received, if the error determination step determines that the specific error occurs, the transaction processing is regarded as successful allocation and the transaction processing is executed. Transaction processing method.
前記取引対象の代金の少なくとも一部に前記特典を充当させる充当要求を前記通信手段を介して前記特典処理サーバへ送信する充当要求送信手段と、
前記充当要求に応じて前記特典処理サーバにより実行された前記充当処理の結果情報を前記特典処理サーバから前記充当要求に対する応答として前記通信手段を介して受信する充当結果受信手段と、
前記結果情報が充当成功を示す場合に、前記取引対象の代金の少なくとも一部に前記特典を充当する取引を成立させる取引処理を実行する取引処理手段と、
前記充当要求送信手段により充当要求が送信された後にエラーが検知された場合、当該検知されたエラーが、充当成功の可能性がある場合に該当する特定エラーであるか否かを判定するエラー判定手段として機能させ、
前記取引処理手段は、充当成功を示す前記結果情報が受信されない場合であっても前記エラー判定手段により前記特定エラーであると判定された場合には充当成功とみなして前記取引処理を実行する取引処理プログラム。 It is possible to access the privilege processing server that manages the privilege associated with the user and executes the allocation process for allocating the privilege to at least a part of the price of the transaction target when the user conducts a transaction via a communication means. The computer included in the transaction processing device,
An appropriation request transmitting means for transmitting an appropriation request for appropriating the privilege to at least a part of the price of the transaction target to the privilege processing server via the communication means.
An allocation result receiving means that receives the result information of the allocation process executed by the privilege processing server in response to the allocation request from the privilege processing server as a response to the allocation request via the communication means.
A transaction processing means for executing a transaction process for establishing a transaction in which the privilege is applied to at least a part of the price of the transaction target when the result information indicates successful allocation .
When an error is detected after the allocation request is transmitted by the allocation request transmitting means, an error determination for determining whether or not the detected error is a specific error corresponding to the case where there is a possibility of successful allocation. To function as a means ,
Even if the result information indicating successful allocation is not received, the transaction processing means considers the allocation successful and executes the transaction processing when the error determination means determines that the specific error has occurred. Processing program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020012925A JP7093374B2 (en) | 2020-01-29 | 2020-01-29 | Transaction processing equipment, transaction processing method, and transaction processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020012925A JP7093374B2 (en) | 2020-01-29 | 2020-01-29 | Transaction processing equipment, transaction processing method, and transaction processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021117931A JP2021117931A (en) | 2021-08-10 |
| JP7093374B2 true JP7093374B2 (en) | 2022-06-29 |
Family
ID=77175065
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020012925A Active JP7093374B2 (en) | 2020-01-29 | 2020-01-29 | Transaction processing equipment, transaction processing method, and transaction processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7093374B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7445055B1 (en) * | 2023-05-17 | 2024-03-06 | PayPay株式会社 | Application program, payment control method, payment server, program, and payment system |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004326662A (en) | 2003-04-28 | 2004-11-18 | Toshiba Tec Corp | Customer management system and customer master management method |
| JP2018147410A (en) | 2017-03-08 | 2018-09-20 | 東芝テック株式会社 | Sales data processing apparatus and program |
| US20190026769A1 (en) | 2017-07-21 | 2019-01-24 | Toshiba Tec Kabushiki Kaisha | Information processing apparatus and control method for an information processing apparatus |
-
2020
- 2020-01-29 JP JP2020012925A patent/JP7093374B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004326662A (en) | 2003-04-28 | 2004-11-18 | Toshiba Tec Corp | Customer management system and customer master management method |
| JP2018147410A (en) | 2017-03-08 | 2018-09-20 | 東芝テック株式会社 | Sales data processing apparatus and program |
| US20190026769A1 (en) | 2017-07-21 | 2019-01-24 | Toshiba Tec Kabushiki Kaisha | Information processing apparatus and control method for an information processing apparatus |
| JP2019021260A (en) | 2017-07-21 | 2019-02-07 | 東芝テック株式会社 | Information processing apparatus and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2021117931A (en) | 2021-08-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10580070B2 (en) | Distributed system for commerce | |
| US7818216B2 (en) | Transaction system with centralized data storage and authentication | |
| US20120203644A1 (en) | Apparatus, system and method for providing electronic receipts | |
| JP2002024668A (en) | Point trading service method and service system | |
| US20130013502A1 (en) | Facilitation of Transactions Using a Transaction Code | |
| JP2009521764A (en) | Method and apparatus for price settlement service using bar code | |
| US20120130792A1 (en) | System and method of redeeming coupons and preventing web-based coupon fraud | |
| JP2018032095A (en) | Identification information management server, identification information management system, and management method of identification information | |
| US20170316411A1 (en) | Transaction verification and authorization | |
| JP5422365B2 (en) | Transaction system, transaction method, and card information providing server | |
| KR20220016753A (en) | Rental-pay management server and operation method thereof | |
| KR20160095472A (en) | System and method for providing personalization coupon, and Point service server | |
| WO2001088788A1 (en) | Electronic commerce information processing system and method | |
| JP7093374B2 (en) | Transaction processing equipment, transaction processing method, and transaction processing program | |
| JP2005250899A (en) | Prepaid settlement apparatus, prepaid settlement system, prepaid settlement method, and program | |
| JP4754505B2 (en) | Commodity transaction brokerage system, commodity transaction brokerage method, computer program | |
| JP7476368B2 (en) | Trade management system, trade management method, and trade management program | |
| JP7686512B2 (en) | Server device, payment result notification system and program | |
| EP2329467A1 (en) | System and method for registering a transaction by credit card | |
| JP2002163589A (en) | Payment surrogate system, payment surrogate method, and recording medium which stores payment surrogate program | |
| CN116911999A (en) | Funds transaction method, device, equipment and storage medium | |
| JP4579618B2 (en) | Payment server and payment request server | |
| US20170300892A1 (en) | Settlement terminal and method for stably providing privilege service of house card | |
| SE2250013A1 (en) | Payment method, system and computer software product | |
| JP2023046056A (en) | Settlement processing device, settlement processing method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20201006 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20211119 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20211214 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220126 |
|
| 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: 20220614 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220617 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7093374 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |