JP5939842B2 - Electronic money system and terminal device - Google Patents

Electronic money system and terminal device Download PDF

Info

Publication number
JP5939842B2
JP5939842B2 JP2012048188A JP2012048188A JP5939842B2 JP 5939842 B2 JP5939842 B2 JP 5939842B2 JP 2012048188 A JP2012048188 A JP 2012048188A JP 2012048188 A JP2012048188 A JP 2012048188A JP 5939842 B2 JP5939842 B2 JP 5939842B2
Authority
JP
Japan
Prior art keywords
terminal device
terminal
charge
inactive
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2012048188A
Other languages
Japanese (ja)
Other versions
JP2013182598A (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.)
Seiko Solutions Inc.
Original Assignee
Seiko Solutions Inc.
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 Seiko Solutions Inc. filed Critical Seiko Solutions Inc.
Priority to JP2012048188A priority Critical patent/JP5939842B2/en
Publication of JP2013182598A publication Critical patent/JP2013182598A/en
Application granted granted Critical
Publication of JP5939842B2 publication Critical patent/JP5939842B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Description

本発明は、電子マネーシステム、端末装置およびサーバ装置に関する。   The present invention relates to an electronic money system, a terminal device, and a server device.

電子マネーは、現金を介さずに電子的に行われる決済手段であり、電子マネーカード等の決済媒体を電子マネーリーダライタにかざす(近付ける)ことで決済を行える手軽さから広く普及しつつある。プリペイド型の電子マネーでは、例えば、POS(Point Of Sales)端末装置と電子マネーリーダライタとを組み合わせて構成される電子マネーチャージ機で、予め決済媒体にチャージしておいて決済に使用する。
このPOS端末装置と電子マネーリーダライタとの組み合わせで盗難に遭うなど、電子マネーチャージ機が盗難に遭った場合、不正な電子マネーチャージが半永久的に行われてしまうおそれがあった。
Electronic money is a settlement means that is electronically performed without using cash, and is becoming widespread due to the ease with which payment can be made by holding a payment medium such as an electronic money card over (closer to) an electronic money reader / writer. In the prepaid type electronic money, for example, an electronic money charging machine configured by combining a POS (Point Of Sales) terminal device and an electronic money reader / writer is charged in advance on a payment medium and used for payment.
When the electronic money charging machine is stolen, such as when the POS terminal device and the electronic money reader / writer are stolen, there is a possibility that the unauthorized electronic money charging is performed semipermanently.

これに対して、特許文献1に記載の電子マネーチャージシステムは、インターネット等のネットワークを介して電子マネーチャージ機をセンターサーバに接続したシステムであって、電子マネーチャージ機を運用する際、例えば電子マネーチャージ機への電源投入時、又は定期的にセンターサーバとの認証を行い、当該認証を条件に機器の運用を可能とする。
これにより、窃盗等による盗難品を使用した電子マネーの不正書き込みを防止する、とされている。
On the other hand, the electronic money charge system described in Patent Document 1 is a system in which an electronic money charge machine is connected to a center server via a network such as the Internet. When the power to the money charging machine is turned on or periodically, authentication with the center server is performed, and the device can be operated on the condition of the authentication.
This prevents illegal writing of electronic money using stolen goods due to theft or the like.

特開2005−157497号公報JP 2005-157497 A

しかしながら、特許文献1に記載の電子マネーチャージシステムでは、盗難に遭った電子マネーチャージ機が盗難前に接続されていたネットワークと同一のネットワークに接続された場合、不正な電子マネーチャージが半永久的に可能となってしまうおそれがある。   However, in the electronic money charge system described in Patent Document 1, when an electronic money charging machine that has been stolen is connected to the same network as the network that was connected before the theft, unauthorized electronic money charging is semipermanently performed. May be possible.

本発明は、このような事情を考慮してなされたものであり、その目的は、端末装置(電子マネーチャージ機)の安全性をより高めることのできる電子マネーシステム、端末装置およびサーバ装置を提供することにある。   The present invention has been made in view of such circumstances, and an object thereof is to provide an electronic money system, a terminal device, and a server device that can further enhance the safety of a terminal device (electronic money charging machine). There is to do.

この発明は上述した課題を解決するためになされたもので、本発明の一態様による電子マネーシステムは、サーバ装置と第1端末装置とを具備し、前記第1端末装置は、プリペイド式電子マネーの決済媒体から、当該決済媒体にチャージを行った第2端末装置の識別情報を読み取る媒体データ取得部と、前記第2端末装置の識別情報が、使用停止対象の端末装置を示す不活性端末情報に含まれるか否かの判定を要求する不活性端末判定要求を、前記サーバ装置に送信する不活性端末判定要求送信部と、前記不活性端末判定要求に対する前記サーバ装置の判定結果を受信する判定結果受信部と、前記判定結果が、前記第2端末装置の識別情報が不活性端末情報に含まれることを示す場合、前記決済媒体の利用を停止させる利用停止処理部と、を具備し、前記サーバ装置は、前記不活性端末情報を記憶する不活性端末情報記憶部と、前記不活性端末判定要求を受信する不活性端末判定要求受信部と、前記不活性端末判定要求送信部からの要求に応じて、前記第2端末装置の識別情報が前記不活性端末情報に含まれるか否かを判定する不活性端末判定部と、判定結果を送信する判定結果送信部と、を具備することを特徴とする。   The present invention has been made to solve the above-described problems, and an electronic money system according to an aspect of the present invention includes a server device and a first terminal device, and the first terminal device is a prepaid electronic money. Medium data acquisition unit that reads identification information of the second terminal device that has charged the payment medium from the payment medium, and inactive terminal information in which the identification information of the second terminal device indicates the terminal device to be suspended An inactive terminal determination request transmitting unit that transmits an inactive terminal determination request for determining whether or not the request is included in the server apparatus, and a determination for receiving a determination result of the server apparatus for the inactive terminal determination request A result receiving unit, and a use stop processing unit that stops the use of the payment medium when the determination result indicates that the identification information of the second terminal device is included in the inactive terminal information, The server device includes an inactive terminal information storage unit for storing the inactive terminal information, an inactive terminal determination request receiving unit for receiving the inactive terminal determination request, and the inactive terminal determination request transmitting unit. An inactive terminal determination unit that determines whether or not the identification information of the second terminal device is included in the inactive terminal information, and a determination result transmission unit that transmits a determination result in response to a request from It is characterized by doing.

また、本発明の一態様による電子マネーシステムは、上述の電子マネーシステムであって、前記不活性端末判定要求送信部は、前記媒体データ取得部が、前記決済媒体に対して行われたチャージの正当性確認が必要であることを示す情報を前記決済媒体から読み取ると、前記第2端末装置の識別情報が前記不活性端末情報に含まれるか否かの判定を要求する前記不活性端末判定要求を送信する、ことを特徴とする。   An electronic money system according to an aspect of the present invention is the above-described electronic money system, wherein the inactive terminal determination request transmission unit is configured such that the medium data acquisition unit performs a charge performed on the payment medium. The inactive terminal determination request for requesting a determination as to whether or not the identification information of the second terminal device is included in the inactive terminal information when information indicating that the validity check is necessary is read from the settlement medium Is transmitted.

また、本発明の一態様による電子マネーシステムは、上述の電子マネーシステムであって、前記第1端末装置は、当該第1端末装置が所定期間内にチャージを行った累積金額が所定の上限金額を超えているか否かを判定する累積金額判定部を具備し、前記利用停止処理部は、前記累積金額判定部が、前記累積金額が前記所定の上限金額を超えていると判定すると、前記決済媒体の利用を停止させる、ことを特徴とする。   An electronic money system according to an aspect of the present invention is the above-described electronic money system, wherein the first terminal device has a cumulative upper limit amount charged by the first terminal device within a predetermined period. A cumulative amount determination unit that determines whether or not the payment amount exceeds the predetermined upper limit amount when the cumulative amount determination unit determines that the cumulative amount exceeds the predetermined upper limit amount. The use of the medium is stopped.

また、本発明の一態様による電子マネーシステムは、上述の電子マネーシステムであって、前記第1端末装置は、当該第1端末装置が前回のチャージ結果を送信済みか否かを判定する前回状況判定部を具備し、前記利用停止処理部は、当該第1端末装置が前記前回のチャージ結果を送信していないと前記前回状況判定部が判定すると、前記決済媒体の利用を停止させる、ことを特徴とする。   An electronic money system according to an aspect of the present invention is the above-described electronic money system, wherein the first terminal device determines whether or not the first terminal device has transmitted the previous charge result. Including a determination unit, and when the previous situation determination unit determines that the first terminal device has not transmitted the previous charge result, the use suspension processing unit stops using the payment medium. Features.

また、本発明の一態様による電子マネーシステムは、上述の電子マネーシステムであって、前記サーバ装置は、前記累積金額が前記所定の上限金額を超えていると前記累積金額判定部が判定すると、上限金額超えを検出したことを示す電子メールを、予め設定されている宛先に送信するメール送信部を具備することを特徴とする。   Moreover, the electronic money system according to an aspect of the present invention is the above-described electronic money system, and the server device determines that the accumulated amount determination unit determines that the accumulated amount exceeds the predetermined upper limit amount. It is characterized by comprising an e-mail transmission unit for transmitting an e-mail indicating that the upper limit has been exceeded to a preset destination.

また、本発明の一態様による電子マネーシステムは、上述の電子マネーシステムであって、前記サーバ装置は、前記第2端末装置の識別情報が前記不活性端末情報に含まれていると前記不活性端末判定部が判定すると、使用停止対象の端末装置によるチャージを検出したことを示す電子メールを、予め設定されている宛先に送信するメール送信部を具備することを特徴とする。   An electronic money system according to an aspect of the present invention is the above-described electronic money system, wherein the server device includes the inactive terminal information if the inactive terminal information includes identification information of the second terminal device. When the terminal determination unit determines, an email transmission unit that transmits an e-mail indicating that a charge has been detected by the terminal device to be deactivated to a preset destination is provided.

また、本発明の一態様による電子マネーシステムは、上述の電子マネーシステムであって、前記サーバ装置は、前記累積金額が前記所定の上限金額を超えていると前記累積金額判定部が判定すると、前記第1端末装置の識別情報を前記不活性端末情報に含める不活性端末情報管理部を具備することを特徴とする。   Moreover, the electronic money system according to an aspect of the present invention is the above-described electronic money system, and the server device determines that the accumulated amount determination unit determines that the accumulated amount exceeds the predetermined upper limit amount. An inactive terminal information management unit including identification information of the first terminal device in the inactive terminal information is provided.

また、本発明の一態様による電子マネーシステムは、上述の電子マネーシステムであって、前記第1端末装置は、当該第1端末装置が所定期間内にチャージを行った回数が所定の上限回数を超えているか否かを判定する回数判定部を具備し、前記サーバ装置は、前記回数判定部が、前記第1端末装置が所定期間内にチャージを行った回数が前記所定の上限回数を超えていると判定すると、前記第1端末装置の識別情報を前記不活性端末情報に含める不活性端末情報管理部を具備する、ことを特徴とする。   An electronic money system according to an aspect of the present invention is the above-described electronic money system, wherein the first terminal device has a predetermined upper limit number of times that the first terminal device has been charged within a predetermined period. The server device includes a number determination unit that determines whether or not the number exceeds a predetermined upper limit number of times that the number determination unit charges the first terminal device within a predetermined period. An inactive terminal information management unit for including identification information of the first terminal device in the inactive terminal information.

また、本発明の一態様による電子マネーシステムは、上述の電子マネーシステムであって、前記サーバ装置は、前記不活性端末情報への端末装置の登録要求を取得する不活性端末登録要求取得部と、前記不活性端末登録要求取得部が取得した登録要求の示す端末装置の識別情報を前記不活性端末情報に含める不活性端末情報管理部と、を具備することを特徴とする。   An electronic money system according to an aspect of the present invention is the above-described electronic money system, wherein the server device includes an inactive terminal registration request acquisition unit that acquires a registration request for a terminal device in the inactive terminal information. And an inactive terminal information management unit that includes, in the inactive terminal information, identification information of the terminal device indicated by the registration request acquired by the inactive terminal registration request acquisition unit.

また、本発明の一態様による電子マネーシステムは、上述の電子マネーシステムであって、前記判定結果受信部が受信した前記サーバ装置の判定結果が、前記第2端末装置の識別情報が前記不活性端末情報に含まれないことを示す場合、前記決済媒体に対して行われたチャージが正当であることを示す情報を当該決済媒体に登録する判定結果登録部を具備する。   The electronic money system according to an aspect of the present invention is the above-described electronic money system, wherein the determination result of the server device received by the determination result receiving unit is that the identification information of the second terminal device is inactive. When indicating that the terminal information is not included, the information processing apparatus includes a determination result registration unit that registers, in the payment medium, information indicating that the charge performed on the payment medium is valid.

また、本発明の一態様による端末装置は、プリペイド式電子マネーの決済媒体から、当該決済媒体にチャージを行った端末装置の識別情報を読み取る媒体データ取得部と、前記端末装置の識別情報が、使用停止対象の端末装置を示す不活性端末情報に含まれるか否かの判定を要求する不活性端末判定要求を、サーバ装置に送信する不活性端末判定要求送信部と、前記不活性端末判定要求に対する前記サーバ装置の判定結果を受信する判定結果受信部と、前記判定結果が、前記端末装置の識別情報が不活性端末情報に含まれることを示す場合、前記決済媒体の利用を停止させる利用停止処理部と、を具備することを特徴とする。   The terminal device according to an aspect of the present invention includes a medium data acquisition unit that reads identification information of a terminal device that has charged the payment medium from a payment medium of prepaid electronic money, and the identification information of the terminal device includes: An inactive terminal determination request transmitting unit that transmits to the server device an inactive terminal determination request that requests determination of whether or not the inactive terminal information indicating the terminal device to be deactivated is included, and the inactive terminal determination request A determination result receiving unit that receives a determination result of the server device with respect to, and when the determination result indicates that the identification information of the terminal device is included in the inactive terminal information, the use stop that stops the use of the payment medium And a processing unit.

また、本発明の一態様によるサーバ装置は、使用停止対象の端末装置を示す不活性端末情報を記憶する不活性端末情報記憶部と、ある端末装置の識別情報が、前記不活性端末情報に含まれるか否かの判定を要求する不活性端末判定要求を受信する不活性端末判定要求受信部と、前記不活性端末判定要求に応じて、前記端末装置の識別情報が前記不活性端末情報に含まれるか否かを判定する不活性端末判定部と、判定結果を送信する判定結果送信部と、を具備することを特徴とする。   Further, the server device according to one aspect of the present invention includes an inactive terminal information storage unit that stores inactive terminal information indicating a terminal device to be suspended, and identification information of a certain terminal device included in the inactive terminal information. An inactive terminal determination request receiving unit for receiving an inactive terminal determination request for requesting whether or not to be determined, and in response to the inactive terminal determination request, identification information of the terminal device is included in the inactive terminal information And an inactive terminal determination unit that determines whether or not to be transmitted, and a determination result transmission unit that transmits a determination result.

本発明によれば、端末装置(電子マネーチャージ機)の安全性をより高めることができる。   ADVANTAGE OF THE INVENTION According to this invention, the safety | security of a terminal device (electronic money charge machine) can be improved more.

本発明の一実施形態における電子マネーシステムの機器構成を示す概略構成図である。It is a schematic block diagram which shows the apparatus structure of the electronic money system in one Embodiment of this invention. 同実施形態における電子マネーシステムの機能構成を示す概略ブロック図である。It is a schematic block diagram which shows the function structure of the electronic money system in the embodiment. 同実施形態において、加盟店端末装置が1日のうち初回のチャージを行う際の電子マネーシステムの動作の例を示すシーケンス図である。In the embodiment, it is a sequence diagram showing an example of the operation of the electronic money system when the member store terminal device performs the first charge of the day. 同実施形態において、加盟店端末装置が1日のうち2回目以降のチャージを行って成功する場合の、電子マネーシステムの動作の例を示すシーケンス図である。FIG. 6 is a sequence diagram showing an example of the operation of the electronic money system when the member store terminal device succeeds by performing the second and subsequent charges in one day in the embodiment. 同実施形態において、加盟店端末装置がチャージ累積金額の上限金額超えにてチャージに失敗する場合の、電子マネーシステムの動作の例を示すシーケンス図である。FIG. 11 is a sequence diagram illustrating an example of an operation of the electronic money system when the member store terminal device fails to charge when exceeding the upper limit amount of the accumulated charge amount in the embodiment. 同実施形態において、前回の取引にて、不活性端末情報に登録されている加盟店端末装置による仮チャージを受けている決済媒体に対する支払処理を行った場合の電子マネーシステムの動作の例を示すシーケンス図である。In the same embodiment, an example of the operation of the electronic money system when payment processing is performed for a settlement medium that has received a temporary charge by a member store terminal device registered in inactive terminal information in the previous transaction is shown. It is a sequence diagram. 同実施形態において、電子マネーシステム1が扱うデータの例を示す説明図である。4 is an explanatory diagram illustrating an example of data handled by the electronic money system 1 in the embodiment. FIG. 同実施形態において、電子マネーシステム1が扱うデータの例を示す説明図である。4 is an explanatory diagram illustrating an example of data handled by the electronic money system 1 in the embodiment. FIG. 同実施形態において、決済媒体へのチャージを行う際に加盟店端末装置(OCX処理部)が行う処理の手順を示すフローチャートである。5 is a flowchart illustrating a procedure of processing performed by a member store terminal device (OCX processing unit) when charging a payment medium in the embodiment. 同実施形態において、決済媒体へのチャージにて端末認証要求を受信したサーバ装置が行う処理の手順を示すフローチャートである。4 is a flowchart illustrating a procedure of processing performed by a server device that has received a terminal authentication request by charging a payment medium in the embodiment. 同実施形態において、決済媒体へのチャージにてチャージ結果通知ファイルを受信したサーバ装置が行う処理の手順を示すフローチャートである。4 is a flowchart illustrating a procedure of processing performed by a server device that has received a charge result notification file by charging a settlement medium in the embodiment. 同実施形態において、電子マネーの支払処理を行う際に加盟店端末装置(OCX処理部)が行う処理の手順を示すフローチャートである。4 is a flowchart illustrating a procedure of processing performed by a member store terminal device (OCX processing unit) when performing electronic money payment processing in the embodiment.

以下、図面を参照して、本発明の実施の形態について説明する。
図1は、本発明の一実施形態における電子マネーシステムの機器構成を示す概略構成図である。同図において、電子マネーシステム1は、サーバ装置100と、POS(Point Of Sales)端末装置200と、電子マネーリーダライタ(本発明における、媒体データ取得部、判定結果登録部)300とを具備する。また、電子マネーリーダライタ300は、POS端末装置200に接続されている。また、サーバ装置100とPOS端末装置200とは、ネットワーク910に接続されている。また、サーバ装置100はネットワーク920に接続され、ネットワーク920には事業者が所有する端末装置あるいはサーバ装置(以下、「事業者端末装置」と称する)800が接続されている。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic configuration diagram showing a device configuration of an electronic money system according to an embodiment of the present invention. In FIG. 1, an electronic money system 1 includes a server device 100, a POS (Point Of Sales) terminal device 200, and an electronic money reader / writer (medium data acquisition unit, determination result registration unit in the present invention) 300. . The electronic money reader / writer 300 is connected to the POS terminal device 200. The server device 100 and the POS terminal device 200 are connected to the network 910. The server device 100 is connected to a network 920, and a terminal device or a server device (hereinafter referred to as “provider terminal device”) 800 owned by a business operator is connected to the network 920.

電子マネーシステム1は、プリペイド式の電子マネーシステムであり、決済媒体に対する電子マネーのチャージ(電子マネーチャージ)や、電子マネーの支払(決済)処理を行う。
ここで、決済媒体とは、カード決済のための各種情報(カード識別情報やチャージ残額情報など)を記憶して、電子マネーシステム1によるチャージや支払の処理を受ける媒体である。例えば、決済媒体は、電子マネーカードであってもよいし、電子マネー機能を有する携帯電話端末(携帯電話機やスマートフォン)であってもよい。
The electronic money system 1 is a prepaid electronic money system, and performs electronic money charging (electronic money charging) and payment processing (settlement) of electronic money to a payment medium.
Here, the payment medium is a medium that stores various kinds of information for card payment (such as card identification information and remaining charge information) and receives charge and payment processing by the electronic money system 1. For example, the payment medium may be an electronic money card or a mobile phone terminal (mobile phone or smartphone) having an electronic money function.

ネットワーク910および920は、いずれも通信ネットワークである。ネットワーク910は、例えばVPN(Virtial Private Network)などセキュアなネットワークであり、サーバ装置100とPOS端末装置200との通信を媒介する。ネットワーク920は、例えば電子マネーシステム1専用の通信ネットワークであり、サーバ装置100と事業者端末装置800との通信を媒介する。
ただし、本発明は、ネットワーク910および920の形態に依存しない。従って、ネットワーク910や920として、様々な通信ネットワークを用いることができる。
Network 910 and 920 are both communication networks. The network 910 is a secure network such as a VPN (Virtual Private Network), for example, and mediates communication between the server device 100 and the POS terminal device 200. The network 920 is a communication network dedicated to the electronic money system 1, for example, and mediates communication between the server device 100 and the operator terminal device 800.
However, the present invention does not depend on the form of the networks 910 and 920. Therefore, various communication networks can be used as the networks 910 and 920.

POS端末装置200と電子マネーリーダライタ300とは、いずれも電子マネーの加盟店(以下、単に「加盟店」と称する)の店舗に設けられており、POS端末装置200と電子マネーリーダライタ300とで加盟店端末装置400を構成する。この加盟店端末装置400は、本発明における端末装置、第1端末装置および第2端末装置の一例に該当する。   Both the POS terminal device 200 and the electronic money reader / writer 300 are provided in stores of electronic money member stores (hereinafter simply referred to as “member stores”). The member store terminal apparatus 400 is comprised by this. The member store terminal device 400 corresponds to an example of the terminal device, the first terminal device, and the second terminal device in the present invention.

電子マネーリーダライタ300は、当該電子マネーリーダライタ300に接近している(かざされている)決済媒体と通信を行って、当該決済媒体からのデータの読出や、当該決済媒体へのデータの書込を行う。特に、電子マネーリーダライタ300は、当該決済媒体から、当該決済媒体にチャージを行った加盟店端末装置400の識別情報(より具体的には、電子マネーリーダライタ300の識別情報)を読み取る。後述するように、この加盟店端末装置400の識別情報は、当該加盟店端末装置400の認証に用いられる。   The electronic money reader / writer 300 communicates with a payment medium close to (held over) the electronic money reader / writer 300 to read data from the payment medium and write data to the payment medium. Make a mistake. In particular, the electronic money reader / writer 300 reads the identification information (more specifically, the identification information of the electronic money reader / writer 300) of the member store terminal device 400 that charged the payment medium from the payment medium. As will be described later, the identification information of the member store terminal device 400 is used for authentication of the member store terminal device 400.

ここで、加盟店端末装置400の認証とは、認証対象となっている加盟店端末装置400が、使用停止対象の端末装置として登録されているか否かを判定する処理である。例えば、盗難に遭った加盟店端末装置400など不正使用されるおそれのある加盟店端末装置400が、使用停止対象の端末装置として登録されている。そして、加盟店端末装置400の認証では、認証対象の加盟店端末装置400が、使用停止対象の端末装置として登録されているか否かを、サーバ装置100(不活性端末判定部121)が判定する。   Here, the authentication of the member store terminal device 400 is a process for determining whether or not the member store terminal device 400 to be authenticated is registered as a terminal device to be suspended. For example, a member store terminal device 400 that may be illegally used, such as a member store terminal device 400 that has been stolen, is registered as a terminal device to be suspended. In the authentication of the member store terminal device 400, the server device 100 (the inactive terminal determination unit 121) determines whether or not the member store terminal device 400 to be authenticated is registered as a terminal device to be disabled. .

なお、以下では、使用停止対象の端末装置を「不活性端末」と称する。また、加盟店端末装置400の認証を「端末認証」または「不活性端末判定」と称し、当該認証の要求を、「端末認証要求」または「不活性端末判定要求」と称する。
また、以下では、電子マネーリーダライタ300に接近している決済媒体を、「処理対象の決済媒体」と称する。
Hereinafter, the terminal device whose use is to be stopped is referred to as an “inactive terminal”. The authentication of the member store terminal device 400 is referred to as “terminal authentication” or “inactive terminal determination”, and the authentication request is referred to as “terminal authentication request” or “inactive terminal determination request”.
In the following, a payment medium approaching the electronic money reader / writer 300 is referred to as a “processing target payment medium”.

また、電子マネーリーダライタ300は、サーバ装置100における不活性端末判定の結果が、処理対象の決済媒体にチャージを行った加盟店端末装置400の識別情報が不活性端末情報に含まれないことを示す場合、当該決済媒体に対して行われたチャージが正当(正規チャージ)であることを示す情報を当該決済媒体に登録する。ここで、決済媒体に対するチャージには仮チャージと正規チャージとがあり、仮チャージされている電子マネーは正規チャージに更新しないと支払に用いることができない。電子マネーリーダライタ300は、サーバ装置100からの判定結果に基づいて、仮チャージの電子マネーを正規チャージに更新するデータ書換を行う。更新処理の具体例については後述する。   Further, the electronic money reader / writer 300 indicates that the inactive terminal information does not include the identification information of the member store terminal device 400 that has charged the payment medium to be processed as a result of the inactive terminal determination in the server device 100. In the case of indicating, the information indicating that the charge performed on the settlement medium is valid (regular charge) is registered in the settlement medium. Here, there are a temporary charge and a regular charge for the payment to the settlement medium, and the temporarily charged electronic money cannot be used for payment unless it is updated to the regular charge. Based on the determination result from the server device 100, the electronic money reader / writer 300 performs data rewriting for updating the electronic money of the temporary charge to the regular charge. A specific example of the update process will be described later.

POS端末装置200は、電子マネーリーダライタ300を制御して決済媒体に対するチャージや支払の処理を行う。より具体的には、POS端末装置200は、電子マネーのチャージを指示するユーザ操作を受け付ける(検出する)と、処理対象の決済媒体が記憶している利用可能残高を増額させるチャージ処理を行う。また、POS端末装置200は、電子マネーの支払を指示するユーザ操作を受け付けると、処理対象の決済媒体が記憶している利用可能残高を減額させる支払処理を行う。   The POS terminal device 200 controls the electronic money reader / writer 300 to perform charging and payment processing for the payment medium. More specifically, when receiving (detecting) a user operation instructing charging of electronic money, the POS terminal apparatus 200 performs a charging process for increasing the available balance stored in the settlement medium to be processed. In addition, when receiving a user operation for instructing payment of electronic money, the POS terminal device 200 performs a payment process for reducing the available balance stored in the settlement medium to be processed.

このチャージ処理や支払処理に際して、POS端末装置200は、サーバ装置100に対して、POS端末装置200自らの構成する加盟店端末装置400の端末認証要求や、処理対象の決済媒体にチャージを行った加盟店端末装置400の端末認証要求を行い、認証結果に基づいてチャージ処理や支払処理の可否を判定する。   During this charging process or payment process, the POS terminal device 200 charged the server device 100 with a terminal authentication request of the member store terminal device 400 that the POS terminal device 200 itself constitutes, or a payment medium to be processed. A request for terminal authentication of the member store terminal device 400 is made, and whether or not charge processing or payment processing is possible is determined based on the authentication result.

サーバ装置100は、例えば、加盟店と電子マネー事業者とを中継する中継センターに設けられたコンピュータである。このサーバ装置100は、加盟店に設けられた加盟店端末装置400からの要求に応じて加盟店端末装置400の認証を行う。また、サーバ装置100は、加盟店端末装置400が行ったチャージ処理や支払処理などの明細情報を集計して、電子マネー事業者側に設けられた事業者端末装置800に送信する。   The server device 100 is, for example, a computer provided in a relay center that relays a member store and an electronic money business operator. The server device 100 authenticates the member store terminal device 400 in response to a request from the member store terminal device 400 provided in the member store. In addition, the server device 100 aggregates detailed information such as charge processing and payment processing performed by the member store terminal device 400 and transmits it to a business entity terminal device 800 provided on the electronic money business side.

事業者端末装置800は、例えば、電子マネー事業者が所有する端末装置あるいはサーバ装置である。この事業者端末装置800は、サーバ装置100から送信される、加盟店端末装置400が行ったチャージ処理や支払処理などの明細情報の集計や、各加盟店との精算処理を行う。また、事業者端末装置800は、ある加盟店端末装置400の使用停止設定を要求するユーザ操作を受けると、サーバ装置100に対して、当該加盟店端末装置400を使用停止対象の端末装置として登録するよう要求する。サーバ装置100は、当該要求に応じて登録を行い、以後の加盟店端末装置400の認証に際して、当該加盟店端末装置400を使用停止対象の端末装置として扱う。   The business entity terminal device 800 is, for example, a terminal device or a server device owned by an electronic money business operator. The business entity terminal device 800 performs totaling of detailed information such as charge processing and payment processing performed by the member store terminal device 400 transmitted from the server device 100 and settlement processing with each member store. Further, upon receiving a user operation requesting the use stop setting of a certain member store terminal device 400, the business entity terminal device 800 registers the member store terminal device 400 as a terminal device whose use is to be stopped with respect to the server device 100. Request to do. The server device 100 performs registration in response to the request, and handles the member store terminal device 400 as a terminal device whose use is to be suspended during subsequent authentication of the member store terminal device 400.

図2は、電子マネーシステム1の機能構成を示す概略ブロック図である。同図において、電子マネーシステム1は、サーバ装置100と、POS端末装置200と、電子マネーリーダライタ(本発明における、媒体データ取得部、判定結果登録部)300とを具備する。サーバ装置100は、通信部(本発明における、不活性端末判定要求受信部、判定結果送信部、メール送信部)110と、制御部120と、データベース部130とを具備する。制御部120は、不活性端末判定部121を具備する。データベース部130は、チャージ結果通知DB(Database、データベース)131と、不活性端末情報DB(本発明における、不活性端末情報記憶部、不活性端末情報管理部)132と、電子マネーチャージ明細DB133とを具備する。POS端末装置200は、POSアプリケーション処理部210と、OCX(OLE(Object Linking And Embedding) Custom Control)処理部220と、記憶部230とを具備する。OCX処理部220は、通信処理部(本発明における、不活性端末判定要求送信部、判定結果受信部)221と、主制御部(本発明における利用停止処理部)222と、累積金額判定部224と、回数判定部225と、前回状況判定部226とを具備する。   FIG. 2 is a schematic block diagram showing a functional configuration of the electronic money system 1. In FIG. 1, an electronic money system 1 includes a server device 100, a POS terminal device 200, and an electronic money reader / writer (medium data acquisition unit, determination result registration unit in the present invention) 300. The server device 100 includes a communication unit (inactive terminal determination request reception unit, determination result transmission unit, mail transmission unit in the present invention) 110, a control unit 120, and a database unit 130. The control unit 120 includes an inactive terminal determination unit 121. The database unit 130 includes a charge result notification DB (Database) 131, an inactive terminal information DB (inactive terminal information storage unit, inactive terminal information management unit in the present invention) 132, an electronic money charge specification DB 133, It comprises. The POS terminal device 200 includes a POS application processing unit 210, an OCX (OLE (Object Linking And Embedding) Custom Control) processing unit 220, and a storage unit 230. The OCX processing unit 220 includes a communication processing unit (inactive terminal determination request transmission unit and determination result reception unit in the present invention) 221, a main control unit (use stop processing unit in the present invention) 222, and an accumulated amount determination unit 224. A number determination unit 225 and a previous situation determination unit 226.

また、電子マネーリーダライタ300は、POS端末装置200に接続されている。また、サーバ装置100とPOS端末装置200とは、ネットワーク910に接続されている。また、サーバ装置100はネットワーク920に接続され、ネットワーク920には事業者端末装置800が接続されている。
同図において、図1の各部と同一の部分には同一の符号(1、100、200、300、800、910、920)を付して説明を省略する。
The electronic money reader / writer 300 is connected to the POS terminal device 200. The server device 100 and the POS terminal device 200 are connected to the network 910. The server device 100 is connected to a network 920, and a business entity terminal device 800 is connected to the network 920.
In the figure, the same reference numerals (1, 100, 200, 300, 800, 910, 920) are assigned to the same parts as those in FIG.

サーバ装置100において、通信部110は、ネットワーク910に接続してPOS端末装置200と通信を行う。
この通信部110は、本発明における不活性端末判定要求受信部の一例であり、POS端末装置200からの不活性端末判定要求(端末認証要求)を受信して不活性端末判定部121に出力する。また、通信部110は、本発明における判定結果送信部の一例であり、不活性端末判定要求に対する不活性端末判定部121の判定結果(認証結果)を送信する。
In the server device 100, the communication unit 110 communicates with the POS terminal device 200 by connecting to the network 910.
The communication unit 110 is an example of an inactive terminal determination request receiving unit in the present invention, and receives an inactive terminal determination request (terminal authentication request) from the POS terminal device 200 and outputs it to the inactive terminal determination unit 121. . Moreover, the communication part 110 is an example of the determination result transmission part in this invention, and transmits the determination result (authentication result) of the inactive terminal determination part 121 with respect to an inactive terminal determination request.

また、通信部110は、本発明におけるメール送信部の一例であり、加盟店端末装置400が上限金額超え(所定期間内にチャージを行った累積金額が所定の上限金額を超えたこと)を検知してサーバ装置100に上限金額超えの通知を送信すると、上限金額超えを検出したことを示す電子メール(警告メール)を、予め設定されている宛先に送信する。例えば、通信部110は、電子マネー事業者のメールアドレスに当該電子メールを送信する。   The communication unit 110 is an example of a mail transmission unit according to the present invention, and detects that the member store terminal device 400 exceeds the upper limit amount (the accumulated amount charged within a predetermined period exceeds the predetermined upper limit amount). Then, when a notification of exceeding the upper limit amount is transmitted to the server apparatus 100, an e-mail (warning mail) indicating that the upper limit amount has been detected is transmitted to a preset destination. For example, the communication unit 110 transmits the email to the email address of the electronic money business operator.

ここで、加盟店端末装置400のチャージの累積金額の上限金額は、店舗における通常のチャージでは超えない金額に設定されており、かかる上限金額を超えた場合、不正チャージの可能性が高い。そこで、上限金額を超えた場合に通信部110が電子メールを送信することで、電子マネーシステム1の関係者に対して注意喚起することができる。   Here, the upper limit of the accumulated charge of the member store terminal device 400 is set to an amount that does not exceed the normal charge at the store, and if the upper limit is exceeded, the possibility of unauthorized charge is high. Therefore, when the upper limit amount is exceeded, the communication unit 110 can send an e-mail to alert a person concerned with the electronic money system 1.

また、通信部110は、処理対象の決済媒体にチャージを行った加盟店端末装置400の識別情報が不活性端末情報に含まれていると不活性端末判定部121が判定すると、使用停止対象の端末装置によるチャージを検出したことを示す電子メールを、予め設定されている宛先に送信する。   In addition, when the inactive terminal determination unit 121 determines that the identification information of the member store terminal device 400 that has charged the payment medium to be processed is included in the inactive terminal information, the communication unit 110 determines that the use is to be suspended. An e-mail indicating that charging by the terminal device has been detected is transmitted to a preset destination.

ここで、不活性端末情報とは、使用停止の対象となっている端末装置を示す情報である。具体的には、不活性端末情報は、使用停止の対象となっている端末装置の識別情報のリストを含む。
この使用停止の対象となっている端末装置によるチャージは、不正チャージであると考えられる。そこで、不活性端末判定部121が、チャージ前の端末認証(不活性端末判定)において、かかる使用停止の対象となっている端末装置によるチャージが行われようとしていることを検出した際に、通信部110が電子メールを送信することで、電子マネーシステム1の関係者に対して注意喚起することができる。
Here, the inactive terminal information is information indicating a terminal device that is the subject of suspension of use. Specifically, the inactive terminal information includes a list of identification information of terminal devices that are subject to suspension of use.
The charge by the terminal device subject to the suspension of use is considered to be an unauthorized charge. Therefore, when the inactive terminal determination unit 121 detects that charging is being performed by the terminal device that is the target of suspension of use in terminal authentication (inactive terminal determination) before charging, communication is performed. When the unit 110 transmits an e-mail, it is possible to call attention to a person concerned with the electronic money system 1.

また、通信部110は、本発明における不活性端末登録要求取得部の一例であり、不活性端末情報への加盟店端末装置400の登録要求(以下、「不活性端末登録要求」と称する)を取得して、不活性端末情報DB132に出力する。なお、不活性端末情報への加盟店端末装置400の登録とは、不活性端末情報に、当該加盟店端末装置400の識別情報、すなわち電子マネーリーダライタ300の識別情報を含めることである。   The communication unit 110 is an example of an inactive terminal registration request acquisition unit in the present invention, and a registration request of the member store terminal device 400 to the inactive terminal information (hereinafter referred to as “inactive terminal registration request”). Obtain and output to the inactive terminal information DB 132. The registration of the member store terminal device 400 in the inactive terminal information is to include the identification information of the member store terminal device 400, that is, the identification information of the electronic money reader / writer 300, in the inactive terminal information.

制御部120は、サーバ装置100の具備するCPU(Central Processing Unit、中央処理装置)が、サーバ装置100の具備する記憶デバイスからプログラムを読み出して実行することで実現され、サーバ装置100の各部を制御して各種処理を実行する。
不活性端末判定部121は、POS端末装置200(通信処理部221)からの端末認証要求に応じて、認証対象の加盟店端末装置400に対する端末認証を行う(すなわち、当該加盟店端末装置400の識別情報が不活性端末情報に含まれるか否かを判定する)。
The control unit 120 is realized by a CPU (Central Processing Unit) included in the server apparatus 100 reading out and executing a program from a storage device included in the server apparatus 100 to control each unit of the server apparatus 100. Various processes are executed.
The inactive terminal determination unit 121 performs terminal authentication for the member store terminal device 400 to be authenticated in response to a terminal authentication request from the POS terminal device 200 (communication processing unit 221) (that is, the member store terminal device 400 has the terminal authentication request). It is determined whether or not the identification information is included in the inactive terminal information).

データベース部130は、加盟店端末装置400からのチャージ結果通知や、不活性端末情報や、電子マネーチャージの明細等の記憶および管理を行う。ここでいうデータベースは、データを記憶(格納)し、管理(例えば、検索や読出や削除)するシステムである。
データベース部130は、例えば、サーバ装置100の具備するCPUが、サーバ装置100の具備する記憶デバイスからデータベースソフトウェアを読み出して実行することで実現される。そして、データベース部130は、当該記憶デバイスの記憶領域を用いて、データの記憶や管理を行う。
ただし、本発明はデータベース部130の実現形態に依存しない。例えば、データベース部130が、外付け(制御部120と別の筐体)のデータベースマシンにて実現されていてもよい。
The database unit 130 stores and manages a charge result notification from the member store terminal device 400, inactive terminal information, electronic money charge details, and the like. The database here is a system that stores (stores) and manages (for example, searches, reads, and deletes) data.
The database unit 130 is realized, for example, when the CPU included in the server apparatus 100 reads and executes database software from a storage device included in the server apparatus 100. Then, the database unit 130 stores and manages data using the storage area of the storage device.
However, the present invention does not depend on the implementation form of the database unit 130. For example, the database unit 130 may be realized by an external database machine (a separate housing from the control unit 120).

チャージ結果通知DB131は、加盟店端末装置400が電子マネーのチャージを行った際に送信するチャージ結果通知の記憶および管理を行う。このチャージ結果通知にはエラーコードが含まれており、当該エラーコードに基づいて、不活性端末情報DB132が不活性端末情報の更新を行う。
電子マネーチャージ明細DB133は、加盟店端末装置400が締め処理を行った際に送信する電子マネーチャージ明細の記憶および管理を行う。電子マネーチャージ明細DB133が記憶する電子マネーチャージ明細は、電子マネー事業者が指定したフォーマットに変換されて事業者端末装置800に送信される。
The charge result notification DB 131 stores and manages a charge result notification transmitted when the member store terminal device 400 charges electronic money. This charge result notification includes an error code, and the inactive terminal information DB 132 updates the inactive terminal information based on the error code.
The electronic money charge details DB 133 stores and manages the electronic money charge details transmitted when the member store terminal device 400 performs the closing process. The electronic money charge details stored in the electronic money charge details DB 133 are converted into a format designated by the electronic money business operator and transmitted to the business operator terminal device 800.

不活性端末情報DB132は、不活性端末情報の記憶および管理を行う。特に、不活性端末情報DB132は、加盟店端末装置400からのチャージ結果通知や、通信部110が取得(受信)した不活性端末登録要求に基づいて、不活性端末情報への当該加盟店端末装置400の登録を行う。   The inactive terminal information DB 132 stores and manages inactive terminal information. In particular, the inactive terminal information DB 132 is based on the charge result notification from the member store terminal device 400 or the inactive terminal registration request acquired (received) by the communication unit 110, and the member store terminal device corresponding to the inactive terminal information. 400 registrations are performed.

具体的には、まず、不活性端末情報DB132は、加盟店端末装置400が上限金額超え(所定期間内にチャージを行った累積金額が所定の上限金額を超えたこと)を検知してサーバ装置100に上限金額超えの通知を送信すると、当該加盟店端末装置400の識別情報を不活性端末情報に含める(すなわち、当該加盟店端末装置400を不活性端末情報に登録する)。上述したように、チャージの累積金額が上限金額を超えた場合、不正チャージの可能性が高い。そこで、上限金額を超えた場合に不活性端末情報DB132が当該加盟店端末装置400を不活性端末情報に登録する(すなわち、使用停止の対象とする)ことで、以後の不正チャージや、後述するように、不正チャージされた電子マネーの使用を阻止し得る。   Specifically, first, the inactive terminal information DB 132 detects that the member store terminal device 400 has exceeded the upper limit amount (the accumulated amount of charges charged within a predetermined period has exceeded the predetermined upper limit amount), and the server device When the notification of exceeding the upper limit amount is transmitted to 100, the identification information of the member store terminal device 400 is included in the inactive terminal information (that is, the member store terminal device 400 is registered in the inactive terminal information). As described above, when the accumulated charge amount exceeds the upper limit amount, the possibility of unauthorized charge is high. Therefore, when the upper limit amount is exceeded, the inactive terminal information DB 132 registers the member store terminal device 400 in the inactive terminal information (that is, is subject to suspension of use), and the subsequent unauthorized charge, which will be described later. As described above, the use of electronic money that is illegally charged can be prevented.

また、不活性端末情報DB132は、加盟店端末装置400が所定期間内にチャージを行った回数が所定の上限回数を超えていると当該加盟店端末装置400(回数判定部225)が判定すると、当該加盟店端末装置400の識別情報を不活性端末情報に含める。   In addition, the inactive terminal information DB 132 determines that the member store terminal device 400 (the number determination unit 225) determines that the number of times the member store terminal device 400 has charged within a predetermined period exceeds a predetermined upper limit number of times. The identification information of the member store terminal device 400 is included in the inactive terminal information.

ここで、加盟店端末装置400のチャージの上限回数は、店舗における通常のチャージでは超えない回数に設定されており、かかる上限回数を超えた場合、不正チャージの可能性が高い。そこで、上限回数を超えた場合に不活性端末情報DB132が当該加盟店端末装置400を不活性端末情報に登録する(すなわち、使用停止の対象とする)ことで、以後の不正チャージや、後述するように、不正チャージされた電子マネーの使用を阻止し得る。   Here, the upper limit number of charges of the member store terminal device 400 is set to a number that does not exceed the normal charge in the store, and if the upper limit number of times is exceeded, the possibility of unauthorized charge is high. Therefore, when the upper limit number of times is exceeded, the inactive terminal information DB 132 registers the member store terminal device 400 in the inactive terminal information (that is, the use is suspended), so that the subsequent unauthorized charge, which will be described later. As described above, the use of electronic money that is illegally charged can be prevented.

また、不活性端末情報DB132は、通信部110が取得した、不活性端末登録要求の示す加盟店端末装置400の識別情報を不活性端末情報に含める。例えば、ある加盟店が、加盟店端末装置400(POS端末装置200および電子マネーリーダライタ300)の盗難に遭った場合、当該加盟店が電子マネー業者に連絡し、電子マネー業者の操作を受けた事業者端末装置800が、不活性端末登録要求を送信する。そして、不活性端末情報DB132は、当該登録要求に基づいて、不活性端末情報への当該加盟店端末装置400の登録を行う。不活性端末情報DB132が当該登録を行うことで、盗難に遭った加盟店端末装置400からのアクセスがあった場合などに、この加盟店端末装置400の使用を停止させ得る。   Further, the inactive terminal information DB 132 includes the identification information of the member store terminal device 400 indicated by the inactive terminal registration request acquired by the communication unit 110 in the inactive terminal information. For example, when a member store is stolen by the member store terminal device 400 (the POS terminal device 200 and the electronic money reader / writer 300), the member store contacts the electronic money company and receives an operation from the electronic money company. The business entity terminal device 800 transmits an inactive terminal registration request. Then, the inactive terminal information DB 132 registers the member store terminal device 400 in the inactive terminal information based on the registration request. When the inactive terminal information DB 132 performs the registration, the use of the member store terminal device 400 can be stopped when there is an access from the member store terminal device 400 that has been stolen.

POS端末装置200において、POSアプリケーション処理部210は、POS端末としての各種機能を実行する。特に、POS端末装置200は、キャッシュレジスターとして支払金額(代金ないし料金)を計算し、支払方法の選択を受け付ける。支払方法として電子マネーが選択された場合、POS端末装置200は、支払金額をOCX処理部220に出力して、電子マネーでの支払(決済)処理を行わせる。
また、POS端末装置200は、電子マネーチャージ機としてチャージ金額の入力を受け付ける。そして、POS端末装置200は、入力された支払金額をOCX処理部220に出力して、チャージ処理を行わせる。
In the POS terminal device 200, the POS application processing unit 210 executes various functions as a POS terminal. In particular, the POS terminal device 200 calculates a payment amount (price or charge) as a cash register and accepts a selection of a payment method. When electronic money is selected as the payment method, the POS terminal device 200 outputs the amount of payment to the OCX processing unit 220 to perform payment (settlement) processing with electronic money.
Further, the POS terminal device 200 accepts an input of a charge amount as an electronic money charging machine. Then, the POS terminal device 200 outputs the input payment amount to the OCX processing unit 220 to perform the charging process.

OCX処理部220は、POS端末装置200の通信ドライバとしてサーバ装置100と通信を行うと共に、電子マネーのチャージ処理や支払処理を実行する。OCX処理部220は、例えば、POS端末装置200の具備するCPUが組み込みソフトウェアを実行することで実現される。特に、OCX処理部220が記憶する、POS端末装置200の識別情報や、当該チャージの累積金額の上限金額や、当該チャージの上限回数は、変更不可能に組み込まれている。   The OCX processing unit 220 communicates with the server device 100 as a communication driver of the POS terminal device 200, and executes electronic money charging processing and payment processing. The OCX processing unit 220 is realized, for example, when the CPU included in the POS terminal device 200 executes embedded software. In particular, the identification information of the POS terminal device 200, the upper limit amount of the accumulated charge amount, and the upper limit number of the charge, which are stored in the OCX processing unit 220, are incorporated in an unchangeable manner.

通信処理部221は、ネットワーク910を介してサーバ装置100と通信を行う。特に、通信処理部221は、本発明における不活性端末判定要求送信部の一例であり、不活性端末判定要求をサーバ装置100に送信する。例えば、通信処理部221は、電子マネーリーダライタ300が、電子マネーリーダライタ300にかざされた決済媒体に対して行われたチャージの正当性確認が必要であることを示す情報を当該決済媒体から読み取ると、当該決済媒体にチャージを行った加盟店端末装置400の識別情報が前記不活性端末情報に含まれるか否かの判定(すなわち、当該加盟店端末装置400の端末認証)を要求する不活性端末判定要求(端末認証要求)を送信する。
また、通信処理部221は、本発明における判定結果受信部の一例であり、不活性端末判定要求に対するサーバ装置100の判定結果を受信する。
The communication processing unit 221 communicates with the server device 100 via the network 910. In particular, the communication processing unit 221 is an example of an inactive terminal determination request transmission unit in the present invention, and transmits an inactive terminal determination request to the server device 100. For example, the communication processing unit 221 sends information indicating that the electronic money reader / writer 300 needs to confirm the validity of the charge performed on the payment medium held over the electronic money reader / writer 300 from the payment medium. When read, it is necessary to determine whether or not the identification information of the member store terminal device 400 that has charged the payment medium is included in the inactive terminal information (that is, terminal authentication of the member store terminal device 400). An active terminal determination request (terminal authentication request) is transmitted.
The communication processing unit 221 is an example of a determination result receiving unit in the present invention, and receives a determination result of the server device 100 in response to an inactive terminal determination request.

主制御部222は、OCX処理部220の各部を制御して各種機能を実行させる。特に、主制御部222は、各種通知や各種要求などのデータを生成し、通信処理部221に、サーバ装置100へ送信させる。例えば、主制御部222は、チャージ処理の完了時にチャージ結果通知ファイルを生成して記憶部230に記憶させ(書き込み)、通信処理部221に、当該ファイルをサーバ装置100へ送信させる。   The main control unit 222 controls each unit of the OCX processing unit 220 to execute various functions. In particular, the main control unit 222 generates data such as various notifications and various requests, and causes the communication processing unit 221 to transmit the data to the server device 100. For example, the main control unit 222 generates a charge result notification file when the charge process is completed, stores the file in the storage unit 230 (write), and causes the communication processing unit 221 to transmit the file to the server device 100.

また、主制御部222は、本発明における利用停止処理部の一例であり、所定の事象(不正なチャージと考えられる事象)が検出された場合に、処理対象の決済媒体の利用を停止させる。
例えば、主制御部222は、処理対象の決済媒体にチャージを行った加盟店端末装置400が不活性端末情報に登録されている場合、当該処理対象の決済媒体の利用を停止させる。すなわち、主制御部222は、処理対象の決済媒体の不活性端末判定要求に対するサーバ装置100の判定結果が、当該加盟店端末装置400の識別情報が不活性端末情報に含まれることを示す場合、処理対象の決済媒体の利用を停止させる。
The main control unit 222 is an example of a use stop processing unit according to the present invention, and stops the use of the settlement medium to be processed when a predetermined event (event considered to be an unauthorized charge) is detected.
For example, when the member store terminal device 400 that has charged the processing target payment medium is registered in the inactive terminal information, the main control unit 222 stops the use of the processing target payment medium. That is, when the main controller 222 determines that the determination result of the server device 100 in response to the inactive terminal determination request for the settlement medium to be processed indicates that the identification information of the member store terminal device 400 is included in the inactive terminal information, Stop using the payment medium to be processed.

また、主制御部222は、主制御部222自らを具備する加盟店端末装置400が所定期間内にチャージを行った累積金額が所定の上限金額を超えていると当該加盟店端末装置400(累積金額判定部224)が判定すると、処理対象の決済媒体の利用を停止させる。
また、主制御部222は、主制御部222自らを具備する加盟店端末装置400が前回のチャージ結果を送信していないと前回状況判定部226が判定すると、処理対象の決済媒体の利用を停止させる。具体的には、主制御部222は、当該決済媒体に対して実行中のチャージ処理ないし支払処理を停止させる(失敗させる)。
In addition, the main control unit 222 determines that the member store terminal device 400 (cumulative) when the accumulated amount charged by the member store terminal device 400 including the main control unit 222 within a predetermined period exceeds a predetermined upper limit amount. When the amount determination unit 224) determines, the use of the settlement medium to be processed is stopped.
Further, when the previous situation determination unit 226 determines that the member store terminal device 400 provided with the main control unit 222 itself has not transmitted the previous charge result, the main control unit 222 stops using the settlement medium to be processed. Let Specifically, the main control unit 222 stops (fails) the charge process or the payment process being executed for the payment medium.

累積金額判定部224は、累積金額判定部224自らを具備する加盟店端末装置400が所定期間内にチャージを行った累積金額が所定の上限金額を超えているか否かを判定する。
回数判定部225は、回数判定部225自らを具備する加盟店端末装置400が所定期間内にチャージを行った回数が所定の上限回数を超えているか否かを判定する。
The accumulated amount determination unit 224 determines whether or not the accumulated amount charged by the member store terminal device 400 including the accumulated amount determination unit 224 itself within a predetermined period exceeds a predetermined upper limit amount.
The number determination unit 225 determines whether or not the number of times that the member store terminal device 400 including the number determination unit 225 has charged within a predetermined period exceeds a predetermined upper limit number.

前回状況判定部226は、前回状況判定部226自らを具備する加盟店端末装置400が前回のチャージ結果を送信済みか否かを判定する。上記のように、加盟店端末装置400が前回のチャージ結果を送信していないと前回状況判定部226が判定すると、利用停止処理部223が、処理対象の決済媒体の利用を停止させる。具体的には、前回状況判定部226は、記憶部230がチャージ結果通知ファイルを記憶しているか否かを判定する。このチャージ結果通知ファイルは、チャージ処理が完了する毎に、主制御部222が生成して記憶部230に一時保存しておき、通信処理部221が、サーバ装置100に送信するファイルである。通信処理部221と通信部110との通信が切断された場合など通信処理部221がサーバ装置100への送信に失敗した場合、当該ファイルは記憶部230に留まる。そこで、前回状況判定部226は、記憶部230が当該ファイルを記憶しているか否かを判定する。   The previous situation determination unit 226 determines whether or not the member store terminal device 400 including the previous situation determination unit 226 itself has transmitted the previous charge result. As described above, when the previous situation determination unit 226 determines that the member store terminal device 400 has not transmitted the previous charge result, the use suspension processing unit 223 stops the use of the settlement medium to be processed. Specifically, the previous situation determination unit 226 determines whether the storage unit 230 stores a charge result notification file. This charge result notification file is a file that is generated by the main control unit 222 and temporarily stored in the storage unit 230 every time the charging process is completed, and is transmitted to the server device 100 by the communication processing unit 221. If the communication processing unit 221 fails to transmit to the server device 100, such as when communication between the communication processing unit 221 and the communication unit 110 is disconnected, the file remains in the storage unit 230. Therefore, the previous situation determination unit 226 determines whether the storage unit 230 stores the file.

ここで、不正処理防止のため、加盟店端末装置400は、常にオンライン(サーバ装置100と通信可能な状態)にて動作するように設定されている。これに対して、加盟店端末装置400が前回のチャージ結果を送信していない場合、サーバ装置100が不正処理を検出することを防止するために、処理の途中で通信が切断された可能性がある。そこで、加盟店端末装置400が前回のチャージ結果を送信するまで利用停止処理部223が処理を停止させることで、オフラインでの連続した処理を防止することができる。そして、加盟店端末装置400がオンラインで動作することで、サーバ装置100が、加盟店端末装置400の端末認証など加盟店端末装置400のチェックを行うことができる。   Here, in order to prevent unauthorized processing, the member store terminal device 400 is set to always operate online (in a state where communication with the server device 100 is possible). On the other hand, when the member store terminal device 400 has not transmitted the previous charge result, there is a possibility that the communication is cut off during the processing in order to prevent the server device 100 from detecting the unauthorized processing. is there. Therefore, the use suspension processing unit 223 stops the processing until the member store terminal device 400 transmits the previous charge result, so that the offline continuous processing can be prevented. When the member store terminal device 400 operates online, the server device 100 can check the member store terminal device 400 such as terminal authentication of the member store terminal device 400.

記憶部230は、POS端末装置200が具備する記憶デバイスにて実現され、各種データを記憶する。特に、記憶部230は、後述するチャージ金額累積ファイルを保存(記憶)し、また、主制御部222が生成したチャージ結果通知ファイルを一時保存する。   The storage unit 230 is realized by a storage device included in the POS terminal device 200 and stores various data. In particular, the storage unit 230 stores (stores) a charge amount accumulation file described later, and temporarily stores a charge result notification file generated by the main control unit 222.

なお、電子マネーシステム1が具備する加盟店端末装置400の数は、図2に示す2つに限らず、1つであってもよいし、3つ以上であってもよい。例えば、加盟店の数が3つ以上であってもよいし、1つの加盟店に複数の加盟店端末装置400が設置されていてもよい。
また、電子マネーシステム1が具備する事業者端末装置800の数は、図2に示す1つに限らず、2つ以上であってもよい。例えば、電子マネー事業者の数が2つ以上であってもよいし、1つの電子マネー事業者が複数の事業者端末装置800を備えていていもよい。
The number of member store terminal devices 400 included in the electronic money system 1 is not limited to two as shown in FIG. 2, and may be one or three or more. For example, the number of member stores may be three or more, and a plurality of member store terminal devices 400 may be installed in one member store.
Further, the number of business entity terminal devices 800 included in the electronic money system 1 is not limited to one shown in FIG. 2 and may be two or more. For example, the number of electronic money operators may be two or more, and one electronic money operator may include a plurality of operator terminal devices 800.

次に、図3〜図12を参照して、電子マネーシステム1の動作および通信メッセージの例について説明する。
図3は、加盟店端末装置400が1日のうち初回のチャージを行う際の電子マネーシステム1の動作の例を示すシーケンス図である。同図の例では、店舗Aに設置された加盟店端末装置400がチャージを行っている。
Next, operations of the electronic money system 1 and examples of communication messages will be described with reference to FIGS.
FIG. 3 is a sequence diagram showing an example of the operation of the electronic money system 1 when the member store terminal device 400 performs the first charge in one day. In the example of the figure, the member store terminal device 400 installed in the store A is charging.

同図の例において、まず、POSアプリケーション処理部210が、1万5千円の電子マネーチャージを指示するユーザ操作(例えば、レジ係の操作、あるいは顧客の入金操作)を受けて、1万5千円の電子マネーチャージ指示をOCX処理部220に出力する(シーケンスS101)。   In the example shown in the figure, first, the POS application processing unit 210 receives a user operation (for example, a cashier operation or a customer deposit operation) instructing an electronic money charge of 15,000 yen to 15 An electronic money charge instruction of 1,000 yen is output to the OCX processing unit 220 (sequence S101).

指示を受けたOCX処理部220では、前回状況判定部226が、加盟店端末装置400が前回のチャージ結果を送信済みか否かを判定する(シーケンスS102)。図3の例では、記憶部230はチャージ結果通知ファイルを記憶しておらず、前回状況判定部226は、加盟店端末装置400が前回のチャージ結果を送信済みであると判定している。   In the OCX processing unit 220 that has received the instruction, the previous state determination unit 226 determines whether or not the member store terminal device 400 has transmitted the previous charge result (sequence S102). In the example of FIG. 3, the storage unit 230 does not store the charge result notification file, and the previous situation determination unit 226 determines that the member store terminal device 400 has transmitted the previous charge result.

次に、主制御部222は、通信処理部221を介して電子マネーリーダライタ300に、処理対象の決済媒体から、当該決済媒体に対して前回行われた取引(チャージまたは支払)の情報を読み出すよう要求する(シーケンスS103)。
そして、電子マネーリーダライタ300は、処理対象の決済媒体から当該情報を読み出してPOS端末装置200に送信し、通信処理部221が当該情報を受信して主制御部222に出力する(シーケンスS104)。
Next, the main control unit 222 reads, from the payment medium to be processed, information on a transaction (charge or payment) that was previously performed on the payment medium to the electronic money reader / writer 300 via the communication processing unit 221. Request (sequence S103).
Then, the electronic money reader / writer 300 reads out the information from the settlement medium to be processed and transmits it to the POS terminal device 200, and the communication processing unit 221 receives the information and outputs it to the main control unit 222 (sequence S104). .

次に、主制御部222が、端末認証要求を生成して通信処理部221に出力し、通信処理部221は、当該端末認証要求をサーバ装置100へ送信する(シーケンスS105)。
図7および図8は、電子マネーシステム1が扱うデータの例を示す説明図である。図7(A)は、POS端末装置200(通信処理部221)が送信する端末認証要求の例を示す。同図(A)において、端末認証要求は、電文種別欄と、端末年月日時分秒欄と、端末ローカルID(Identifier、識別情報)欄と、前回取引情報として、仮チャージフラグ欄と、利用年月日時分秒欄と、端末ローカルID欄と、カード番号欄と、チャージ金額欄とを有する。
Next, the main control unit 222 generates a terminal authentication request and outputs the request to the communication processing unit 221, and the communication processing unit 221 transmits the terminal authentication request to the server device 100 (sequence S105).
7 and 8 are explanatory diagrams showing examples of data handled by the electronic money system 1. FIG. 7A shows an example of a terminal authentication request transmitted by the POS terminal device 200 (communication processing unit 221). In FIG. 9A, the terminal authentication request includes a message type field, a terminal year / month / day / hour / minute / second field, a terminal local ID (Identifier) field, a previous charge information as a temporary charge flag field, It has a year / month / day / hour / minute / second field, a terminal local ID field, a card number field, and a charge amount field.

電文種別欄は、通信データの種別を示す情報を格納する欄であり、図7(A)の例では、端末認証(端末認証要求およびそれに対する結果通知)を示す値「23010001」が格納されている。
端末年月日時分秒欄は、当該データの送信日時情報(主制御部222が当該データを生成した日時の情報)を格納する欄であり、図7(A)の例では、2011年11月22日16時23分59秒を示す値が格納されている。
The message type column is a column for storing information indicating the type of communication data. In the example of FIG. 7A, a value “23010001” indicating terminal authentication (terminal authentication request and notification of a result thereof) is stored. Yes.
The terminal year / month / day / hour / minute / second column stores the transmission date / time information of the data (the information of the date and time when the main control unit 222 generated the data). In the example of FIG. A value indicating 22: 16: 23: 59 is stored.

端末ローカルID欄は、当該データを送信した加盟店端末装置400(今現在、処理対象の決済媒体と取引を実施しようとしている加盟店端末装置400)の識別情報を格納する欄であり、図7(A)の例では、店舗Aに設置された電子マネーリーダライタ300の識別情報(識別番号)「05208018」が格納されている。
前回取引情報の各欄には、この加盟店端末装置400(電子マネーリーダライタ300)が、処理対象の決済媒体から読み出した情報が格納されている。
ここで、前回取引情報とは、当該処理対象の決済媒体を用いて前回実施された取引に関する情報であり、前回取引を行った加盟店端末装置400が、当該処理対象の決済媒体に対して書き込んだ取引履歴情報に含まれる情報である。
The terminal local ID column is a column for storing identification information of the member store terminal device 400 that has transmitted the data (currently, the member store terminal device 400 that is going to carry out a transaction with the settlement medium to be processed). In the example of (A), identification information (identification number) “05208018” of the electronic money reader / writer 300 installed in the store A is stored.
In each column of the previous transaction information, information read by the member store terminal device 400 (electronic money reader / writer 300) from the settlement medium to be processed is stored.
Here, the previous transaction information is information related to a transaction that was performed last time using the processing target payment medium, and the member store terminal device 400 that performed the previous transaction writes the information to the processing target payment medium. It is information included in transaction history information.

前回取引情報における仮チャージフラグ欄は、処理対象の決済媒体が前回受けた処理が仮チャージか否かを示す仮チャージフラグを格納する欄である。仮チャージフラグの値「1」は、仮チャージであることを示し、値「0」は、仮チャージでない(当該決済媒体に対して行われたチャージが、正規チャージとなっている)ことを示す。   The temporary charge flag column in the previous transaction information is a column for storing a temporary charge flag indicating whether or not the processing medium that has been processed last time is a temporary charge. The value “1” of the temporary charge flag indicates that it is a temporary charge, and the value “0” indicates that it is not a temporary charge (the charge performed on the settlement medium is a regular charge). .

ここで、仮チャージとは、チャージされた電子マネーを支払に用いるためには、サーバ装置100の正規チャージ判定(チャージの正当性確認)を受けて正規チャージに更新する必要のあるチャージである。本実施形態では、加盟店端末装置400は常に仮チャージにてチャージを行い、支払処理の際にサーバ装置100の正規チャージ判定を受ける。サーバ装置100は、正規チャージ判定として、仮チャージを行った加盟店端末装置400の端末認証を行う。   Here, the temporary charge is a charge that needs to be updated to a regular charge in response to a regular charge determination (validity confirmation of charge) of the server device 100 in order to use the charged electronic money for payment. In this embodiment, the member store terminal device 400 always charges with a temporary charge, and receives the regular charge determination of the server device 100 during the payment process. The server device 100 performs terminal authentication of the member store terminal device 400 that has performed the temporary charge as the regular charge determination.

このように、加盟店端末装置400が仮チャージを行って、支払の際に正規チャージ判定を受けることで、不正チャージが行われた場合でも、支払の段階で使用を停止して被害を防止し得る。
なお、本発明は、仮チャージか否かを示す情報の形式に依存しない。従って、仮チャージフラグに換えて、仮チャージと正規チャージとを区別可能な様々な形式の情報を用いることができる。
In this way, the member store terminal device 400 performs a temporary charge and receives a regular charge determination at the time of payment, so even if an unauthorized charge is made, the use is stopped at the payment stage to prevent damage. obtain.
Note that the present invention does not depend on the format of information indicating whether or not provisional charging is performed. Therefore, various types of information that can distinguish between the temporary charge and the regular charge can be used instead of the temporary charge flag.

利用年月日時分秒欄は、前回の取引(図7(A)の例では仮チャージ)が行われた日時情報を格納する欄であり、図7(A)の例では、2011年11月15日21時56分22秒を示す値が格納されている。
(前回取引情報の)端末ローカルID欄は、前回の取引処理を行った加盟店端末装置400の識別情報を格納する欄であり、図7(A)の例では、店舗Bに設置された電子マネーリーダライタ300の識別情報(識別番号)「05208022」が格納されている。
The use date / time / minute / second column is a column for storing date / time information when the previous transaction (provisional charge in the example of FIG. 7A) was performed. In the example of FIG. A value indicating 21:56:22 on the 15th is stored.
The terminal local ID column (of the previous transaction information) is a column for storing identification information of the member store terminal device 400 that performed the previous transaction process. In the example of FIG. The identification information (identification number) “0520802” of the money reader / writer 300 is stored.

カード番号欄は、処理対象の決済媒体の識別情報であるカード番号を格納する欄であり、図7(A)の例では、当該カード番号「4568561232161122」が格納されている。
チャージ金額欄は、前回の取引処理においてチャージされた金額を格納する欄であり、図7(A)の例では、当該金額「15000」(円)が格納されている。
The card number column is a column for storing a card number that is identification information of a settlement medium to be processed. In the example of FIG. 7A, the card number “4568561232161122” is stored.
The charge amount column is a column for storing the amount charged in the previous transaction process. In the example of FIG. 7A, the amount “15000” (yen) is stored.

特に、加盟店端末装置400が、自らの識別情報を端末認証要求に含めて送信することで、サーバ装置100は、当該加盟店端末装置400の端末認証(当該加盟店端末装置400が使用停止対象の端末装置として不活性端末情報に登録されているか否かの判定)を行うことができる。また、加盟店端末装置400が、仮チャージを行った加盟店端末装置400の識別情報を端末認証要求に含めて送信することで、サーバ装置100は、当該仮チャージを行った加盟店端末装置400の端末認証を行うことができる。   In particular, the member store terminal device 400 includes its own identification information included in the terminal authentication request, so that the server device 100 performs terminal authentication of the member store terminal device 400 (the member store terminal device 400 is subject to suspension of use). Whether the terminal device is registered in the inactive terminal information). In addition, the member store terminal device 400 transmits the identification information of the member store terminal device 400 that has made the temporary charge in the terminal authentication request, so that the server device 100 performs the member store terminal device 400 that has made the temporary charge. Terminal authentication can be performed.

図3の例では、通信部110が端末認証要求を受信して不活性端末判定部121に出力し、不活性端末判定部121は、当該端末認証要求から、要求元の加盟店端末装置400の識別情報と、仮チャージを行った加盟店端末装置400の識別情報とを読み出して、不活性端末情報DB132に出力する。そして、不活性端末情報DB132は、それぞれの識別情報について、不活性端末情報に含まれるか否かデータ検索を行い、検索結果を不活性端末判定部121に出力する。   In the example of FIG. 3, the communication unit 110 receives a terminal authentication request and outputs the request to the inactive terminal determination unit 121. The inactive terminal determination unit 121 receives the request from the requesting member store terminal device 400 from the terminal authentication request. The identification information and the identification information of the member store terminal device 400 that has performed the temporary charge are read and output to the inactive terminal information DB 132. Then, the inactive terminal information DB 132 performs a data search to determine whether each piece of identification information is included in the inactive terminal information, and outputs the search result to the inactive terminal determination unit 121.

図7(B)は、不活性端末情報DB132が記憶する不活性端末情報の例を示す。同図(B)において、不活性端末情報は、センター登録年月日時分秒欄と、端末ローカルID欄と、電子マネー端末ID欄と、登録理由欄とを有する。また、不活性端末情報の各行が、1つの加盟店端末装置400についての情報を示している。   FIG. 7B shows an example of inactive terminal information stored in the inactive terminal information DB 132. In FIG. 5B, the inactive terminal information includes a center registration year / month / day / hour / minute / second field, a terminal local ID field, an electronic money terminal ID field, and a registration reason field. Each row of inactive terminal information indicates information about one member store terminal device 400.

センター登録年月日時分秒欄は、不活性端末情報への登録日時を示す情報を格納する欄である。例えば、不活性端末情報DB132は、不活性端末登録要求の受信日時情報をセンター登録年月日時分秒欄に書き込む。あるいは、不活性端末登録要求に含まれる送信日時情報をセンター登録年月日時分秒欄に書き込むなど、不活性端末情報DB132が、受信日時情報以外の情報を書き込むようにしてもよい。   The center registration date / time / minute / second column is a column for storing information indicating the registration date / time for the inactive terminal information. For example, the inactive terminal information DB 132 writes the reception date / time information of the inactive terminal registration request in the center registration year / month / day / hour / minute / second column. Alternatively, the inactive terminal information DB 132 may write information other than the reception date / time information, such as writing the transmission date / time information included in the inactive terminal registration request in the center registration year / month / day / hour / minute / second column.

端末ローカルID欄は、不活性端末情報に登録された加盟店端末装置400の識別情報(すなわち、使用停止の対象となっている加盟店端末装置400が具備する電子マネーリーダライタ300の識別情報)を格納する欄である。不活性端末情報DB132は、端末認証の際、認証対象の加盟店端末装置400の識別情報と、端末ローカルID欄に格納されている識別情報のいずれかとが一致するか否かを判定する。   The terminal local ID column contains identification information of the member store terminal device 400 registered in the inactive terminal information (that is, identification information of the electronic money reader / writer 300 included in the member store terminal device 400 whose use is suspended). Is a column for storing. In the terminal authentication, the inactive terminal information DB 132 determines whether the identification information of the member store terminal device 400 to be authenticated matches any of the identification information stored in the terminal local ID column.

電子マネー端末ID欄は、電子マネー業者が設定している、加盟店端末装置400(電子マネーリーダライタ300)の識別情報を格納する欄である。
登録理由欄は、加盟店端末装置400が不活性端末情報に登録された理由を示すコードを格納する欄である。登録理由「E99」は、チャージ金額累積値が上限金額を超えたことによる登録を示している。また、登録理由「A01」は、事業者端末装置800からの登録要求に基づく登録を示している。いずれの登録理由も、加盟店端末装置400の使用停止理由に該当し、不活性端末情報DB132は、端末認証の際、認証対象の加盟店端末装置400の識別情報と、端末ローカルID欄に格納されている識別情報のいずれかとが一致することを検出すると、端末認証失敗(登録あり)と判定する。
The electronic money terminal ID column is a column for storing identification information of the member store terminal device 400 (electronic money reader / writer 300) set by the electronic money merchant.
The registration reason column is a column for storing a code indicating the reason why the member store terminal device 400 is registered in the inactive terminal information. The registration reason “E99” indicates registration due to the accumulated charge amount exceeding the upper limit amount. The registration reason “A01” indicates registration based on a registration request from the business entity terminal device 800. Any registration reason corresponds to the reason for suspension of use of the member store terminal device 400, and the inactive terminal information DB 132 is stored in the identification information of the member store terminal device 400 to be authenticated and the terminal local ID column at the time of terminal authentication. When it is detected that any one of the identification information matches, it is determined that the terminal authentication has failed (with registration).

図3の例では、端末認証要求を送信した加盟店端末装置400、仮チャージを行った加盟店端末装置400のいずれも不活性端末情報に登録されていない。そこで、不活性端末判定部121は、通信部110を介して端末認証要求元の加盟店端末装置400(加盟店Aの加盟店端末装置400)に、端末認証成功を示す結果通知を送信(回答)している(シーケンスS106)。   In the example of FIG. 3, neither the member store terminal device 400 that transmitted the terminal authentication request nor the member store terminal device 400 that performed the temporary charge is registered in the inactive terminal information. Therefore, the inactive terminal determination unit 121 transmits a result notification indicating that the terminal authentication has been successful to the member store terminal device 400 that is the terminal authentication request source (the member store terminal device 400 of the member store A) via the communication unit 110 (answer) (Sequence S106).

図7(C)は、サーバ装置100(通信部110)が送信する端末認証の結果通知の例を示す。同図(C)において、端末認証の結果通知は、電文種別欄と、センター処理年月日時分秒欄と、端末ローカルID欄と、エラーコード欄とを有する。
電文種別欄には、端末認証要求(図7(A))の場合と同様、端末認証を示す値「23010001」が格納されている。
FIG. 7C illustrates an example of terminal authentication result notification transmitted by the server apparatus 100 (communication unit 110). In FIG. 6C, the terminal authentication result notification includes a message type field, a center processing year / month / day / hour / minute / second field, a terminal local ID field, and an error code field.
As in the case of the terminal authentication request (FIG. 7A), a value “23010001” indicating terminal authentication is stored in the message type column.

センター処理年月日時分秒欄は、当該結果通知の送信日時情報(不活性端末判定部121が当該結果通知を生成した日時を示す情報)を格納する欄であり、図7(C)の例では、2011年11月22日16時24分32秒を示す値が格納されている。
端末ローカルID欄は、端末認証要求の送信元の加盟店端末装置400の識別情報を格納する欄であり、図7(C)の例では、店舗Aに設置された電子マネーリーダライタ300の識別情報(識別番号)「05208018」が格納されている。
The center processing year / month / day / hour / minute / second column is a column for storing the transmission date / time information of the result notification (information indicating the date and time when the inactive terminal determination unit 121 generates the result notification), and is an example of FIG. Then, a value indicating 16:24:32 on November 22, 2011 is stored.
The terminal local ID column is a column for storing identification information of the member store terminal device 400 that is the transmission source of the terminal authentication request. In the example of FIG. 7C, the identification of the electronic money reader / writer 300 installed in the store A is identified. Information (identification number) “05208018” is stored.

エラーコード欄は、端末認証の結果を示すコードを格納する欄であり、図7(C)の例では、認証対象の加盟店端末装置400が不活性端末情報に登録されていたことを示す値(コード)「E99」が格納されている。以下では、この値「E99」のように、決済媒体に対する処理続行禁止を示す結果通知を「拒否応答」と称し、処理続行許可を示す結果通知を「正常応答」と称する。正常応答のエラーコード欄には、認証対象の加盟店端末装置400が不活性端末情報に登録されていなかったことを示す値(例えば、「R00」)が格納されている。   The error code column is a column for storing a code indicating the result of terminal authentication. In the example of FIG. 7C, a value indicating that the member store terminal device 400 to be authenticated is registered in the inactive terminal information. (Code) “E99” is stored. In the following, a result notification indicating that processing is prohibited for the settlement medium, such as the value “E99”, is referred to as “rejection response”, and a result notification indicating that processing is permitted is referred to as “normal response”. In the error code column of the normal response, a value (for example, “R00”) indicating that the member store terminal device 400 to be authenticated has not been registered in the inactive terminal information is stored.

通信処理部221が正常応答を受信すると、主制御部222が、チャージ金額累積ファイルを生成して記憶部230に記憶させる(シーケンスS107)。
ここで、主制御部222は、チャージ金額累積ファイルとして空ファイルを生成し、ファイル名にチャージの累積金額(初回チャージの場合は、当該チャージにおけるチャージ金額)を含める。さらに、主制御部222は、チャージ金額累積ファイル偽造防止のため、当該チャージ金額累積ファイルの生成年月日情報をファイル名に含め、ファイル名を暗号化する。そして、主制御部222は、このファイル名の空ファイルを、チャージ金額累積ファイルとして記憶部230に記憶させる。
When the communication processing unit 221 receives the normal response, the main control unit 222 generates a charge amount accumulation file and stores it in the storage unit 230 (sequence S107).
Here, the main control unit 222 generates an empty file as the charge amount accumulation file, and includes the accumulated amount of charge (charge amount in the charge in the case of the first charge) in the file name. Further, in order to prevent forgery of the charge amount cumulative file, the main control unit 222 includes the generation date information of the charge amount cumulative file in the file name and encrypts the file name. Then, the main control unit 222 causes the storage unit 230 to store the empty file with this file name as a charge amount accumulation file.

ただし、本発明は、チャージ金額累積ファイルの形式に依存せず、チャージの累積金額を示す様々な形式のチャージ金額累積ファイルを用いることができる。例えば、主制御部222が、チャージ金額累積ファイルの内容に、チャージの累積金額とファイル生成年月日とを含むデータを暗号化したデータを含めるようにしてもよい。   However, the present invention does not depend on the format of the charge amount accumulation file, and various types of charge amount accumulation files showing the accumulated amount of charge can be used. For example, the main control unit 222 may include data obtained by encrypting data including the accumulated charge amount and the file generation date in the contents of the accumulated charge amount file.

次に、主制御部222は、決済媒体の利用可能残高をチャージ金額の1万5千円分増加させる仮チャージ実行指示を生成し、通信処理部221を介して電子マネーリーダライタ300に送信する(シーケンスS108)。
当該指示を受信した電子マネーリーダライタ300は、処理対象の決済媒体の利用可能残高を1万5千円増額させる仮チャージ処理を行い、仮チャージ完了通知をPOS端末装置200に送信する(シーケンスS109)。仮チャージ処理において、電子マネーリーダライタ300は、主制御部222からの仮チャージ実行指示に従って、利用可能残高を更新すると共に、取引履歴を当該決済媒体に書き込む。
Next, the main control unit 222 generates a temporary charge execution instruction for increasing the available balance of the payment medium by 15,000 yen of the charge amount, and transmits the instruction to the electronic money reader / writer 300 via the communication processing unit 221. (Sequence S108).
Receiving the instruction, the electronic money reader / writer 300 performs a temporary charge process for increasing the available balance of the settlement medium to be processed by 15,000 yen, and transmits a temporary charge completion notification to the POS terminal device 200 (sequence S109). ). In the temporary charging process, the electronic money reader / writer 300 updates the available balance and writes the transaction history in the settlement medium in accordance with the temporary charge execution instruction from the main control unit 222.

図8(A)は、電子マネーリーダライタ300が決済媒体に書き込む取引履歴情報の例を示す。同図(A)において、取引履歴情報は、取引年月日時分秒欄と、端末ローカルID欄と、カード番号欄と、残高欄と、利用/チャージ金額欄と、取引種別欄と、仮チャージフラグ欄と、伝票番号欄と、取引通番欄とを有する。   FIG. 8A shows an example of transaction history information that the electronic money reader / writer 300 writes in a payment medium. In FIG. 6A, transaction history information includes transaction date / time / minute / second field, terminal local ID field, card number field, balance field, usage / charge amount field, transaction type field, and temporary charge. It has a flag field, a slip number field, and a transaction serial number field.

取引年月日時分秒欄は、当該取引(チャージ処理又は支払処理)を行った日時情報を格納する欄であり、図8(A)の例では、2011年11月15日21時56分22秒を示す情報が格納されている。
端末ローカルID欄は、当該取引を行った加盟店端末装置400の識別情報を格納する欄であり、図8(A)の例では、店舗Bに設置された電子マネーリーダライタ300の識別情報「05208022」が格納されている。
The transaction year / month / day / hour / minute / second field is a field for storing date / time information on the transaction (charge process or payment process). In the example of FIG. 8A, November 15, 2011, 21:56:22. Stores information indicating seconds.
The terminal local ID column is a column for storing identification information of the member store terminal device 400 that has performed the transaction. In the example of FIG. 8A, the identification information “of the electronic money reader / writer 300 installed in the store B” 05208022 "is stored.

カード番号欄は、処理対象の決済媒体の識別情報を格納する欄であり、図8(A)の例では、当該識別情報「4568561232161122」が格納されている。
残高欄は、当該取引開始時点での、処理対象の決済媒体の利用可能残高を格納する欄であり、図8(A)の例では、当該残高「550」(円)が格納されている。
The card number column is a column for storing identification information of a settlement medium to be processed. In the example of FIG. 8A, the identification information “456856123216122” is stored.
The balance column is a column for storing the available balance of the settlement medium to be processed at the time of starting the transaction. In the example of FIG. 8A, the balance “550” (yen) is stored.

利用/チャージ金額欄は、当該取引における支払金額またはチャージ金額を格納する欄であり、図8(A)の例では、チャージ金額「15000」(円)が格納されている。
取引種別欄は、当該取引の種別を示すコードを格納する欄であり、図8(A)の例では、現金チャージ(現金を支払ってのチャージ)を示すコード「1」が格納されている。
The use / charge amount column is a column for storing the payment amount or the charge amount in the transaction. In the example of FIG. 8A, the charge amount “15000” (yen) is stored.
The transaction type column is a column for storing a code indicating the type of the transaction. In the example of FIG. 8A, a code “1” indicating a cash charge (charge when paying cash) is stored.

仮チャージフラグ欄は、当該取引が仮チャージか否かを示す仮チャージフラグを格納する欄である。図7(A)の場合と同様、仮チャージフラグの値「1」は、仮チャージであることを示し、値「0」は、仮チャージでない(本実施形態では、支払処理である)ことを示す。図8(A)の例では、仮チャージを示す値「1」が格納されている。   The temporary charge flag column is a column for storing a temporary charge flag indicating whether or not the transaction is a temporary charge. As in the case of FIG. 7A, the value “1” of the temporary charge flag indicates that it is a temporary charge, and the value “0” indicates that it is not a temporary charge (in this embodiment, it is a payment process). Show. In the example of FIG. 8A, a value “1” indicating temporary charge is stored.

伝票番号欄は、当該取引に付与された伝票番号(加盟店端末装置400上における取引番号)を格納する欄であり、図8(A)の例では、当該伝票番号「23564」が格納されている。
取引通番欄は、決済媒体上における取引の通番を格納する欄であり、図8(A)の例では、当該通番「12」が格納されている。
The slip number column is a column for storing a slip number assigned to the transaction (transaction number on the member store terminal device 400). In the example of FIG. 8A, the slip number “23564” is stored. Yes.
The transaction serial number column is a column for storing a transaction serial number on the settlement medium. In the example of FIG. 8A, the serial number “12” is stored.

取引履歴情報の各欄のうち、取引年月日時分秒欄と、端末ローカルID欄と、カード番号欄と、利用/チャージ金額欄と、仮チャージフラグ欄との値は、処理対象の決済媒体に対する次回の取引の際、端末認証要求(図7(A))における前回取引情報の、それぞれ、利用年月日時分秒欄と、端末ローカルID欄と、カード番号欄と、チャージ金額欄と、仮チャージフラグ欄とに格納される。   Among the transaction history information fields, the values of the transaction date / time / minute / second field, the terminal local ID field, the card number field, the usage / charge amount field, and the temporary charge flag field are the settlement media to be processed. For the next transaction, the last transaction information in the terminal authentication request (FIG. 7A), the usage date / time / minute / second field, the terminal local ID field, the card number field, the charge amount field, Stored in the temporary charge flag column.

なお、決済媒体が、複数の取引履歴情報を記憶しておくようにしてもよいし、最新の取引履歴情報1つのみを記憶しておくようにしてもよい。いずれの場合も、主制御部222は、端末認証要求を生成する際、最新の取引履歴情報からデータを読み出して端末認証要求に含める。   Note that the settlement medium may store a plurality of transaction history information, or may store only one latest transaction history information. In any case, when generating the terminal authentication request, the main control unit 222 reads data from the latest transaction history information and includes it in the terminal authentication request.

ここで、処理対処の決済媒体における前回の取引がチャージであった場合、取引履歴情報の仮チャージフラグ欄には値「1」が格納されている。このため、当該決済媒体は仮チャージ扱いとなり、サーバ装置100の正規チャージ判定(端末認証)を受けるまで支払に用いる(支払処理を受ける)ことができない。   Here, when the previous transaction in the settlement medium for processing is a charge, the value “1” is stored in the temporary charge flag column of the transaction history information. For this reason, the settlement medium is treated as a temporary charge and cannot be used for payment (payment processing) until the regular charge determination (terminal authentication) of the server apparatus 100 is received.

一方、前回の取引が支払であった場合、前回の取引が仮チャージでないことから、取引履歴情報の仮チャージフラグ欄には値「0」が格納されている。このため、当該決済媒体は正規チャージ扱いとなり、支払に用いることができる。すなわち、前回の取引の支払処理において、サーバ装置100の正規チャージ判定(仮チャージを行った加盟店端末装置400に対する端末認証)を受けたことで、当該決済媒体のチャージは正規チャージに更新されている。   On the other hand, when the previous transaction is payment, since the previous transaction is not a temporary charge, the value “0” is stored in the temporary charge flag column of the transaction history information. For this reason, the settlement medium is treated as a regular charge and can be used for payment. That is, in the payment process of the previous transaction, the charge of the settlement medium is updated to the regular charge by receiving the regular charge determination of the server device 100 (terminal authentication with respect to the member store terminal device 400 that performed the temporary charge). Yes.

仮チャージ完了通知を受けたPOS端末装置200では、主制御部222がチャージ結果通知ファイルを生成し(シーケンスS110)、通信処理部221を介してサーバ装置100に送信する(シーケンスS111)。
図8(B)は、仮チャージを正常に行った際にPOS端末装置200(通信処理部221)が送信するチャージ結果通知ファイルの例を示す。同図(B)において、チャージ結果通知ファイルは、電文種別欄と、センター処理年月日時分秒欄と、端末ローカルID欄と、電子マネー端末ID欄と、カード番号欄と、チャージ金額欄と、チャージ累計金額欄と、エラーコード欄とを有する。
In the POS terminal device 200 that has received the temporary charge completion notification, the main control unit 222 generates a charge result notification file (sequence S110) and transmits it to the server device 100 via the communication processing unit 221 (sequence S111).
FIG. 8B shows an example of a charge result notification file transmitted by the POS terminal device 200 (communication processing unit 221) when the temporary charge is normally performed. In FIG. 5B, the charge result notification file includes a message type field, a center processing year / month / day / hour / minute / second field, a terminal local ID field, an electronic money terminal ID field, a card number field, and a charge amount field. , A charge accumulated amount column and an error code column.

電文種別欄は、図7(A)で説明したように、通信データの種別を示す情報を格納する欄であり、図8(B)の例では、チャージ結果通知を示す「23050050」が格納されている。
センター処理年月日時分秒欄は、当該チャージ結果通知ファイルの送信日時情報(主制御部222が当該チャージ結果通知ファイルを生成した日時を示す情報)を格納する欄であり、図8(B)の例では、2011年11月22日16時46分59秒を示す値が格納されている。
As described in FIG. 7A, the message type column is a column for storing information indicating the type of communication data. In the example of FIG. 8B, “23050050” indicating a charge result notification is stored. ing.
The center processing year / month / day / hour / minute / second column is a column for storing the transmission date / time information of the charge result notification file (information indicating the date and time when the main control unit 222 generated the charge result notification file). In the example, a value indicating November 22, 2011, 16:46:59 is stored.

端末ローカルID欄は、当該チャージ結果通知ファイルを送信する加盟店端末装置400の識別情報を格納する欄であり、図8(B)の例では、店舗Aに設置された電子マネーリーダライタ300の識別情報「05208018」が格納されている。
電子マネー端末ID欄は、図7(B)の場合と同様、電子マネー業者が設定している、加盟店端末装置400の識別情報を格納する欄であり、図8(B)の例では、店舗Aに設置された電子マネーリーダライタ300の当該識別情報「2304538746002」が格納されている。
The terminal local ID column is a column for storing identification information of the member store terminal device 400 that transmits the charge result notification file. In the example of FIG. 8B, the electronic money reader / writer 300 installed in the store A is stored. The identification information “05208018” is stored.
Similarly to the case of FIG. 7B, the electronic money terminal ID column is a column for storing the identification information of the member store terminal device 400 set by the electronic money merchant. In the example of FIG. The identification information “2304533876002” of the electronic money reader / writer 300 installed in the store A is stored.

カード番号欄は、処理対象の決済媒体(すなわち、仮チャージを行った決済媒体)の識別情報(識別番号)を格納する欄であり、図8(B)の例では、当該識別情報「4568561232161122」が格納されている。
チャージ金額欄は、今回の仮チャージにてチャージした金額を格納する欄であり、図8(B)の例では、チャージ金額2万円が格納されている。
The card number column is a column for storing identification information (identification number) of a settlement medium to be processed (that is, a settlement medium that has been temporarily charged). In the example of FIG. 8B, the identification information “4568561232161122” is stored. Is stored.
The charge amount column is a column for storing the amount charged in the current temporary charge. In the example of FIG. 8B, a charge amount of 20,000 yen is stored.

チャージ累計金額欄は、当該チャージ結果通知ファイルが1日のうちにチャージを行った累計金額を格納する欄であり、図8(B)の例では、累計金額99万9999円が格納されている。
エラーコード欄は、チャージ結果を示すコードを格納する欄であり、図8(B)の例では正常終了を示す値「0」が格納されている。
The accumulated charge amount column is a column for storing the accumulated amount that the charge result notification file has been charged in one day. In the example of FIG. 8B, the accumulated amount is 99,9999 yen. .
The error code column is a column for storing a code indicating a charge result, and in the example of FIG. 8B, a value “0” indicating normal termination is stored.

一方、図8(C)は、仮チャージに際して累積金額の上限金額超えを検出した際に、POS端末装置200(通信処理部221)が送信するチャージ結果通知ファイルの例を示す。
同図(C)の例では、仮チャージ処理開始時点でチャージ累計金額が999万9999円となっており、チャージ金額1万5000円をチャージすると上限金額を超えてしまう。このため加盟店端末装置400は仮チャージに失敗し、主制御部222は、累積金額の上限金額超えを示すエラーコード「−1230000」をエラーコード欄に格納したチャージ結果通知ファイルを生成している。かかるチャージ結果通知ファイルを受信したサーバ装置100は、当該加盟店端末装置400を、不活性端末情報に登録する。
On the other hand, FIG. 8C shows an example of a charge result notification file transmitted by the POS terminal device 200 (communication processing unit 221) when it is detected that the accumulated amount exceeds the upper limit amount during temporary charging.
In the example of FIG. 5C, the accumulated charge amount is 99,999,999 yen at the start of the provisional charge process, and when the charge amount of 15,000 yen is charged, the upper limit amount is exceeded. For this reason, the member store terminal device 400 fails in the temporary charge, and the main control unit 222 generates a charge result notification file in which the error code “−120000” indicating that the accumulated amount exceeds the upper limit amount is stored in the error code column. . The server device 100 that has received the charge result notification file registers the member store terminal device 400 in the inactive terminal information.

図3の例では、加盟店端末装置400は、仮チャージに成功しており、当該加盟店端末装置400は、仮チャージを正常に行った際のチャージ結果通知ファイルをサーバ装置100に送信する。そして、サーバ装置100では、チャージ結果通知DB131が、当該チャージ結果通知ファイルを記憶する。   In the example of FIG. 3, the member store terminal device 400 has succeeded in temporary charge, and the member store terminal device 400 transmits a charge result notification file when the temporary charge is normally performed to the server device 100. In the server device 100, the charge result notification DB 131 stores the charge result notification file.

また、OCX処理部220(主制御部222)は、仮チャージ完了を示す情報をPOSアプリケーション処理部210に出力する(シーケンスS112)。POSアプリケーション処理部210は、当該情報に基づいて、仮チャージの完了通知をPOS端末装置200の表示画面に表示させる。
以上により、電子マネーシステム1は、仮チャージに成功して仮チャージ処理を終了する。
Further, the OCX processing unit 220 (main control unit 222) outputs information indicating the completion of temporary charging to the POS application processing unit 210 (sequence S112). The POS application processing unit 210 displays a temporary charge completion notification on the display screen of the POS terminal device 200 based on the information.
As described above, the electronic money system 1 succeeds in the temporary charge and ends the temporary charge process.

図4は、加盟店端末装置400が1日のうち2回目以降のチャージを行って成功する場合の、電子マネーシステム1の動作の例を示すシーケンス図である。
同図のシーケンスS131〜S136は、図3のシーケンスS101〜S106と同様である。
FIG. 4 is a sequence diagram showing an example of the operation of the electronic money system 1 when the member store terminal device 400 succeeds by charging the second and subsequent times in one day.
Sequences S131 to S136 in the figure are the same as sequences S101 to S106 in FIG.

シーケンスS137において、主制御部222は、チャージ金額累積ファイルの新規生成に換えて、記憶部230が記憶しているチャージ金額累積ファイルのリネームを行う。具体的には、主制御部222は、まず、今回のチャージに成功した場合の、チャージの累積金額を算出する。次に、主制御部222は、今日(主制御部222が当該処理を行っている日)の年月日を示す文字列と、算出した累積金額とを、シーケンスS107の場合と同様に暗号化したファイル名を生成し、チャージ金額累積ファイルのファイル名を生成したファイル名に変更する。   In sequence S137, the main control unit 222 renames the charge amount accumulation file stored in the storage unit 230 instead of newly generating the charge amount accumulation file. Specifically, the main control unit 222 first calculates the accumulated amount of charge when the current charge is successful. Next, the main control unit 222 encrypts the character string indicating the date of today (the day on which the main control unit 222 performs the process) and the calculated accumulated amount as in the case of the sequence S107. The file name is generated, and the file name of the charge amount accumulation file is changed to the generated file name.

シーケンスS138〜S142は、図3のシーケンスS108〜S112と同様である。
このように、2回目以降のチャージにおいて、加盟店端末装置400(主制御部222)は、チャージの累積金額を更新する。
The sequences S138 to S142 are the same as the sequences S108 to S112 in FIG.
Thus, in the second and subsequent charges, the member store terminal device 400 (main control unit 222) updates the accumulated amount of charges.

図5は、加盟店端末装置400がチャージ累積金額の上限金額超えにてチャージに失敗する場合の、電子マネーシステム1の動作の例を示すシーケンス図である。
同図のシーケンスS161〜S166は、図3のシーケンスS101〜S106と同様である。
FIG. 5 is a sequence diagram showing an example of the operation of the electronic money system 1 when the member store terminal device 400 fails to charge when exceeding the upper limit of the accumulated charge amount.
Sequences S161 to S166 in the figure are the same as sequences S101 to S106 in FIG.

シーケンスS167において、シーケンスS137(図4)で説明したように、主制御部222は、今回のチャージに成功した場合の、チャージの累積金額を算出する。図5の例では、主制御部222が算出した累積金額が、予め設定されている上限金額を超えており、累積金額判定部224が、通信処理部221の算出した累積金額と、上限金額とを比較して、当該上限金額超えを検出する。   In sequence S167, as described in sequence S137 (FIG. 4), the main control unit 222 calculates the accumulated amount of charge when the current charge is successful. In the example of FIG. 5, the accumulated amount calculated by the main control unit 222 exceeds a preset upper limit amount, and the accumulated amount determination unit 224 calculates the accumulated amount calculated by the communication processing unit 221, the upper limit amount, And the excess of the upper limit is detected.

次に、主制御部222は、上限金額超えを検出したことを示すチャージ結果通知ファイルを生成して(シーケンスS170)、通信処理部221を介してサーバ装置100に送信する(シーケンスS171)。   Next, the main control unit 222 generates a charge result notification file indicating that the upper limit has been exceeded (sequence S170), and transmits the file to the server device 100 via the communication processing unit 221 (sequence S171).

チャージ結果ファイルを受信したサーバ装置100では、チャージ結果通知DB131が、当該チャージ結果ファイルを記憶するとともに、制御部120が、チャージ結果ファイルのエラーコード欄を参照してエラーを検出し、不活性端末情報DB132に、取引を行った(チャージに失敗した)加盟店端末装置400を不活性端末情報に登録させる。   In the server apparatus 100 that has received the charge result file, the charge result notification DB 131 stores the charge result file, and the control unit 120 detects an error with reference to the error code column of the charge result file, and the inactive terminal. In the information DB 132, the merchant terminal device 400 that has made a transaction (failed to charge) is registered in the inactive terminal information.

また、OCX処理部220(主制御部222)は、エラー(取引実施不可)を示す情報をPOSアプリケーション処理部210に出力する(シーケンスS172)。POSアプリケーション処理部210は、当該情報に基づいて、取引実施不可の通知(エラー表示)をPOS端末装置200の表示画面に表示させる。
以上により、電子マネーシステム1は、仮チャージに失敗して仮チャージ処理を終了する。
Further, the OCX processing unit 220 (main control unit 222) outputs information indicating an error (transaction not possible) to the POS application processing unit 210 (sequence S172). Based on the information, the POS application processing unit 210 displays a notification (error display) indicating that the transaction cannot be performed on the display screen of the POS terminal device 200.
As described above, the electronic money system 1 fails in the temporary charge and ends the temporary charge process.

このように、不正な仮チャージが行われた際、当該仮チャージを行った加盟店端末装置400を不活性端末情報に登録することで、当該加盟店端末装置400にて仮チャージされた決済媒体の利用を停止させることができる。この点について、図6を参照して説明する。   In this way, when an illegal temporary charge is performed, the settlement medium temporarily charged by the member store terminal device 400 by registering the member store terminal device 400 that has performed the temporary charge in the inactive terminal information. Can be stopped. This point will be described with reference to FIG.

図6は、前回の取引にて、不活性端末情報に登録されている加盟店端末装置400による仮チャージを受けている決済媒体に対する支払処理を行った場合の電子マネーシステム1の動作の例を示すシーケンス図である。
同図の例における処理対象の決済媒体は、店舗Aに設置されていた加盟店端末装置400にて不正にチャージされている。また、チャージを行った加盟店端末装置400は、当該決済媒体へのチャージの累積金額が上限金額を超えて不活性端末情報に登録されている。そして、図6の例では、この不正チャージされた決済媒体が、店舗Bに設置されている加盟店端末装置400での支払処理に利用されている。
FIG. 6 shows an example of the operation of the electronic money system 1 when payment processing is performed for a settlement medium that has received a temporary charge by the member store terminal device 400 registered in the inactive terminal information in the previous transaction. FIG.
The settlement medium to be processed in the example of the figure is illegally charged in the member store terminal device 400 installed in the store A. In addition, the member store terminal device 400 that has been charged is registered in the inactive terminal information so that the accumulated amount of charge to the payment medium exceeds the upper limit amount. In the example of FIG. 6, this illegally charged payment medium is used for payment processing at the member store terminal device 400 installed in the store B.

同図の例において、まず、POSアプリケーション処理部210が、電子マネーでの支払を選択するユーザ操作(例えば、あるいは顧客が行う選択ボタン押下)を受けて、1万8000円の支払(決済)指示をOCX処理部220に出力する(シーケンスS201)。   In the example shown in the figure, first, the POS application processing unit 210 receives a user operation for selecting payment with electronic money (for example, a selection button pressed by a customer) and issues a payment (settlement) instruction of 18,000 yen. Is output to the OCX processing unit 220 (sequence S201).

シーケンスS202〜S205は、図3のシーケンスS102〜S105と同様である。特に、シーケンスS204において、主制御部222は、前回取引情報に、仮チャージフラグの値「1」や、当該チャージを行った加盟店端末装置400の識別情報として、店舗Aに設定されていた加盟店端末装置400の識別情報を含んで取得している。そして、シーケンスS205において、主制御部222は、これらの値を含む端末認証要求を、通信処理部221を介してサーバ装置100に送信している。   Sequences S202 to S205 are the same as sequences S102 to S105 in FIG. In particular, in sequence S204, the main control unit 222 adds the value “1” of the temporary charge flag to the previous transaction information and the membership set in the store A as the identification information of the member store terminal device 400 that performed the charge. The identification information of the shop terminal device 400 is included and acquired. In sequence S <b> 205, the main control unit 222 transmits a terminal authentication request including these values to the server apparatus 100 via the communication processing unit 221.

当該端末認証要求を受信したサーバ装置100では、不活性端末情報DB132が、前回チャージを行った加盟店端末装置400(店舗Aに設定されていた加盟店端末装置400)の識別情報が不活性端末情報に登録されていることを検出する。かかる検出結果を受けて、制御部120は、端末認証要求に対する応答として拒否応答を生成し、通信部110を介して、端末認証要求元である、店舗Bに設置されている加盟店端末装置400に送信(回答)する(シーケンスS206)。   In the server device 100 that has received the terminal authentication request, the inactive terminal information DB 132 stores the identification information of the member store terminal device 400 (member store terminal device 400 set in the store A) that has been charged last time as an inactive terminal. Detect that it is registered in the information. In response to the detection result, the control unit 120 generates a rejection response as a response to the terminal authentication request, and the member store terminal device 400 installed in the store B that is the terminal authentication request source via the communication unit 110. Is transmitted (answered) (sequence S206).

かかる拒否応答により、加盟店端末装置400(主制御部222)は、取引(支払)を中止し、エラー(取引実施不可)を示す情報をPOSアプリケーション処理部210に出力する(シーケンスS207)。POSアプリケーション処理部210は、当該情報に基づいて、取引実施不可の通知(エラー表示)をPOS端末装置200の表示画面に表示させる。   In response to the rejection response, the member store terminal device 400 (main control unit 222) stops the transaction (payment) and outputs information indicating an error (transaction impossible) to the POS application processing unit 210 (sequence S207). Based on the information, the POS application processing unit 210 displays a notification (error display) indicating that the transaction cannot be performed on the display screen of the POS terminal device 200.

このように、不活性端末情報に登録されている加盟店端末装置400からの仮チャージが前回の取引となっている決済媒体は、支払処理を受けることができない。同様に、当該決済媒体は、チャージ処理を受けることもできない。従って、仮チャージを行った加盟店端末装置400の不活性端末情報への登録が解除(削除)されるまで、当該決済媒体は仮チャージから正規チャージへの変更を受けることができず、使用不可の状態となる。   Thus, the payment medium in which the temporary charge from the member store terminal device 400 registered in the inactive terminal information is the previous transaction cannot receive the payment process. Similarly, the settlement medium cannot be charged. Therefore, the payment medium cannot be changed from the temporary charge to the regular charge and cannot be used until the registration to the inactive terminal information of the member store terminal device 400 that has made the temporary charge is canceled (deleted). It becomes the state of.

次に、図9〜図12を参照して、加盟店端末装置400、サーバ装置100各々の動作について説明する。
図9は、決済媒体へのチャージを行う際に加盟店端末装置400(OCX処理部220)が行う処理の手順を示すフローチャートである。OCX処理部220は、POSアプリケーション処理部210からのチャージ指示を受けると同図の処理を開始する。
Next, operations of the member store terminal device 400 and the server device 100 will be described with reference to FIGS.
FIG. 9 is a flowchart showing a procedure of processing performed by the member store terminal device 400 (OCX processing unit 220) when charging the payment medium. When the OCX processing unit 220 receives a charge instruction from the POS application processing unit 210, the OCX processing unit 220 starts the processing of FIG.

同図の処理において、まず、前回状況判定部226が記憶部230を参照して(ステップS301)、前回のチャージ結果通知ファイルが存在するか否かを判定する(ステップS302)。存在すると判定した場合(ステップS302:YES)、OCX処理部220(主制御部222)は、チャージを停止する旨のメッセージをPOS端末装置200の表示画面に表示させるなど、チャージ実行停止処理を行う(ステップS321)。
その後、同図の処理を終了する。
前回のチャージ結果通知ファイルが存在することによるチャージ停止は、当該チャージ結果通知ファイルがサーバ装置100に送信されて記憶部230に存在しなくなることで解除される。
In the process of FIG. 5, first, the previous situation determination unit 226 refers to the storage unit 230 (step S301), and determines whether or not the previous charge result notification file exists (step S302). If it is determined that it exists (step S302: YES), the OCX processing unit 220 (main control unit 222) performs charge execution stop processing such as displaying a message to stop charging on the display screen of the POS terminal device 200. (Step S321).
Thereafter, the process of FIG.
The charge suspension due to the existence of the previous charge result notification file is canceled when the charge result notification file is transmitted to the server device 100 and no longer exists in the storage unit 230.

一方、ステップS302において、前回のチャージ結果通知ファイルが存在しないと判定した場合(ステップS302:NO)、主制御部222が、電子マネーリーダライタ300を介して決済媒体から前回取引情報(図8(A)の取引履歴情報に含まれる情報)を取得する(ステップS303)。
そして、主制御部222は、前回取引情報に基づいて端末認証要求(図7(A)参照)を生成して、通信処理部221を介してサーバ装置100に送信し、サーバ装置100からの結果通知(図7(C)参照)を待ち受ける(ステップS304)。
On the other hand, when it is determined in step S302 that the previous charge result notification file does not exist (step S302: NO), the main control unit 222 reads the previous transaction information (FIG. 8 (FIG. 8) from the payment medium via the electronic money reader / writer 300. A) (information included in the transaction history information of A) is acquired (step S303).
Then, the main control unit 222 generates a terminal authentication request (see FIG. 7A) based on the previous transaction information, transmits the request to the server device 100 via the communication processing unit 221, and the result from the server device 100. A notification (see FIG. 7C) is awaited (step S304).

次に、主制御部222は、サーバ装置100との通信異常の有無や、不活性端末情報への加盟店端末装置400の登録の有無を判定する(ステップS305)。具体的には、主制御部222は、まず、サーバ装置100からの通信結果を取得できなかったなど、サーバ装置100との通信異常があるか否かを判定する。通信異常なしと判定した場合、主制御部222は、サーバ装置100からの端末認証の結果に基づいて、主制御部222自らを具備する加盟店端末装置400、または、処理対象の決済媒体に前回取引にてチャージを行った加盟店端末装置400の少なくとも何れかが、不活性端末情報に登録されているか否かを判定する。
通信異常あり、あるいは、不活性端末情報への登録ありと判定した場合(ステップS305:YES)、ステップS321に進む。
Next, the main control unit 222 determines whether there is a communication abnormality with the server device 100 and whether the member store terminal device 400 is registered in the inactive terminal information (step S305). Specifically, the main control unit 222 first determines whether there is an abnormality in communication with the server apparatus 100, such as failure to obtain a communication result from the server apparatus 100. If it is determined that there is no communication abnormality, the main control unit 222 uses the result of terminal authentication from the server device 100 as the last time the merchant terminal device 400 including the main control unit 222 itself or the settlement medium to be processed. It is determined whether or not at least one of the member store terminal devices 400 charged by the transaction is registered in the inactive terminal information.
When it is determined that there is a communication abnormality or that there is registration in inactive terminal information (step S305: YES), the process proceeds to step S321.

一方、ステップS305において、通信異常なし、かつ、不活性端末情報への登録なしと判定した場合(ステップS305:NO)、主制御部222は、記憶部230を参照して(ステップS306)、チャージ金額累積ファイルの有無を判定する(ステップS307)。
チャージ金額累積ファイルが存在すると判定した場合(ステップS307:YES)、主制御部222は、当該ファイルの生成年月日と、現在の年月日(POS端末装置200の具備するシステム時計が示す、図9の処理を行っている時点の年月日)とを比較して(ステップS308)、両者が一致するか否かを判定する(ステップS309)。
On the other hand, when it is determined in step S305 that there is no communication abnormality and there is no registration in the inactive terminal information (step S305: NO), the main control unit 222 refers to the storage unit 230 (step S306) and charges. The presence / absence of a money amount accumulation file is determined (step S307).
When it is determined that the charge amount accumulation file exists (step S307: YES), the main control unit 222 generates the file generation date and the current date (shown by the system clock included in the POS terminal device 200). 9 is compared (step S308), and it is determined whether or not they match (step S309).

両者が一致すると判定した場合(ステップS309:YES)、累積金額判定部224が、チャージ金額累積ファイルからチャージの累積金額を読み出し、上限金額と比較して(ステップS310)、許容範囲内か否か(累積金額が上限金額を超えていないか否か)を判定する(ステップS311)。   When it is determined that the two values match (step S309: YES), the accumulated amount determination unit 224 reads the accumulated amount of charge from the charge amount accumulation file and compares it with the upper limit amount (step S310). It is determined (whether the accumulated amount does not exceed the upper limit amount) (step S311).

許容範囲内であると判定した場合(ステップS311:YES)、主制御部222は、チャージ金額累積ファイルの示す累積金額を更新する(ステップS341)。
具体的には、主制御部222は、チャージ金額累積ファイルのファイル名を復号してチャージの累積金額を読み出し、読み出した累積金額に今回のチャージ金額を加算してチャージ後の累積金額を算出する。そして、主制御部222は、算出した累積金額と今日の年月日とに基づく文字列を暗号化し、チャージ金額累積ファイルのファイル名を、暗号化によって得られたファイル名に更新する。
If it is determined that the value is within the allowable range (step S311: YES), the main control unit 222 updates the accumulated amount indicated by the charge amount accumulated file (step S341).
Specifically, the main control unit 222 decodes the file name of the charge amount accumulation file, reads the accumulated amount of charge, adds the current charge amount to the read accumulated amount, and calculates the accumulated amount after charging. . Then, the main control unit 222 encrypts the character string based on the calculated accumulated amount and today's date, and updates the file name of the charge amount accumulated file to the file name obtained by the encryption.

そして、主制御部222は、電子マネーリーダライタ300に対して仮チャージ実行を指示し、電子マネーリーダライタ300は、決済媒体への仮チャージを行う(ステップS342)。すなわち、電子マネーリーダライタ300は、決済媒体の利用可能残高を更新し、また、取引履歴を書き込む。   Then, the main control unit 222 instructs the electronic money reader / writer 300 to execute temporary charging, and the electronic money reader / writer 300 performs temporary charging to the settlement medium (step S342). That is, the electronic money reader / writer 300 updates the available balance of the payment medium and writes a transaction history.

次に、主制御部222は、チャージ結果通知(図8(B)および(C)参照)を生成し、通信処理部221を介してサーバ装置100に送信する(ステップS361)。
その後、同図の処理を終了する。
Next, the main control unit 222 generates a charge result notification (see FIGS. 8B and 8C) and transmits it to the server device 100 via the communication processing unit 221 (step S361).
Thereafter, the process of FIG.

一方、ステップS307において、チャージ金額累積ファイルが存在しないと判定した場合(ステップS307:NO)や、ステップS309において、両者が一致しないと判定した場合(ステップS309:NO)、主制御部222は、チャージ金額累積ファイルを生成し(ステップS331)、当該チャージ金額累積ファイルの示す累積金額を、今回のチャージ金額に設定する(ステップS332)。   On the other hand, if it is determined in step S307 that the charge amount accumulation file does not exist (step S307: NO), or if it is determined in step S309 that the two do not match (step S309: NO), the main control unit 222 A charge amount accumulation file is generated (step S331), and the accumulation amount indicated by the charge amount accumulation file is set to the current charge amount (step S332).

具体的には、上述したように、主制御部222は、今回のチャージ金額と今日の年月日とに基づく文字列を暗号化して得られるファイル名を、チャージ金額累積ファイルのファイル名とする。
その後、ステップS341に進む。
Specifically, as described above, the main control unit 222 uses the file name obtained by encrypting the character string based on the current charge amount and today's date as the file name of the charge amount accumulation file. .
Thereafter, the process proceeds to step S341.

一方、ステップS311において、累積金額が許容範囲外であると判定した場合(ステップS311:NO)、主制御部222は、チャージを停止する旨のメッセージをPOS端末装置200の表示画面に表示させるなど、チャージ実行停止処理を行う(ステップS351)。
その後、ステップS361に進む。
On the other hand, when it is determined in step S311 that the accumulated amount is out of the allowable range (step S311: NO), the main control unit 222 displays a message to stop charging on the display screen of the POS terminal device 200. Then, charge execution stop processing is performed (step S351).
Thereafter, the process proceeds to step S361.

図10は、決済媒体へのチャージにおいて(図9のステップS304において加盟店端末装置400が送信した)端末認証要求を受信したサーバ装置100が行う処理の手順を示すフローチャートである。
同図の処理において、まず、通信部110が受信した端末認証要求に含まれる加盟店端末装置400の識別情報を、不活性端末判定部121が抽出して不活性端末情報DB132に出力し、不活性端末情報DB132は、当該識別情報が不活性端末情報(図7(B)参照)に含まれるか否かの検索を行う(ステップS401)。
FIG. 10 is a flowchart showing a procedure of processing performed by the server apparatus 100 that has received the terminal authentication request (transmitted by the member store terminal apparatus 400 in step S304 of FIG. 9) in charging the settlement medium.
In the process of FIG. 6, first, the inactive terminal determination unit 121 extracts the identification information of the member store terminal device 400 included in the terminal authentication request received by the communication unit 110 and outputs it to the inactive terminal information DB 132. The active terminal information DB 132 searches whether the identification information is included in the inactive terminal information (see FIG. 7B) (step S401).

その際、不活性端末判定部121は、端末認証要求送信元の加盟店端末装置400の識別情報を抽出する。また、仮チャージフラグが「1」の場合、不活性端末判定部121は、前回の取引にてチャージを行った加盟店端末装置400の識別情報も抽出する。そして、不活性端末情報DB132は、不活性端末判定部121が抽出した識別情報のそれぞれについて、不活性端末情報に含まれるか否かの検索を行う。   At that time, the inactive terminal determination unit 121 extracts the identification information of the member store terminal device 400 that is the terminal authentication request transmission source. When the temporary charge flag is “1”, the inactive terminal determination unit 121 also extracts the identification information of the member store terminal device 400 that has been charged in the previous transaction. Then, the inactive terminal information DB 132 searches whether or not each piece of identification information extracted by the inactive terminal determination unit 121 is included in the inactive terminal information.

そして、不活性端末判定部121は、不活性端末情報DB132の検索結果に基づいて、ステップS401で抽出した識別情報の少なくともいずれか1つが不活性端末情報に登録されているか否かを判定する(ステップS402)。
いずれの識別情報も登録されていないと判定した場合(ステップS402:NO)、不活性端末判定部121は、通信部110を介して正常応答を送信(回答)する(ステップS411)。
その後、同図の処理を終了する。
And the inactive terminal determination part 121 determines whether at least any one of the identification information extracted by step S401 is registered into inactive terminal information based on the search result of the inactive terminal information DB132 ( Step S402).
If it is determined that none of the identification information is registered (step S402: NO), the inactive terminal determination unit 121 transmits (answers) a normal response via the communication unit 110 (step S411).
Thereafter, the process of FIG.

一方、いずれかの識別情報が登録されていると判定した場合(ステップS402:YES)、不活性端末判定部121は、通信部110を介して拒否応答を送信(回答)する(ステップS421)。
その後、同図の処理を終了する。
On the other hand, when it is determined that any identification information is registered (step S402: YES), the inactive terminal determination unit 121 transmits (answers) a rejection response via the communication unit 110 (step S421).
Thereafter, the process of FIG.

図11は、決済媒体へのチャージにおいて(図9のステップS361において加盟店端末装置400が送信した)チャージ結果通知ファイルを受信したサーバ装置100が行う処理の手順を示すフローチャートである。
同図の処理において、まず、通信部110が、受信したチャージ結果通知ファイルを制御部120に出力し、制御部120は、当該チャージ結果通知ファイルの電文項目を確認する(501)。
FIG. 11 is a flowchart illustrating a procedure of processing performed by the server apparatus 100 that has received the charge result notification file (transmitted by the member store terminal apparatus 400 in step S361 in FIG. 9) in charging the settlement medium.
In the process of FIG. 6, the communication unit 110 first outputs the received charge result notification file to the control unit 120, and the control unit 120 confirms the message item of the charge result notification file (501).

次に、制御部120は、当該チャージ結果通知ファイルをチャージ結果通知DB131に出力し、チャージ結果通知DB131は、当該チャージ結果通知ファイルを保存(記憶)する(ステップS502)。
次に、制御部120は、当該チャージ結果通知ファイルのエラーコード欄を参照して(ステップS503)に、アラート対象のコードが格納されているか否かを判定する(ステップS504)。ここで、アラート対象のコードとは、警告メール送信対象の重大なエラーとして予め設定されているエラーコードである。
Next, the control unit 120 outputs the charge result notification file to the charge result notification DB 131, and the charge result notification DB 131 saves (stores) the charge result notification file (step S502).
Next, the control unit 120 refers to the error code column of the charge result notification file (step S503) and determines whether or not the alert target code is stored (step S504). Here, the alert target code is an error code that is set in advance as a serious error that is a warning mail transmission target.

アラート対象のコードが格納されていないと判定した場合(ステップS504:NO)、制御部120は、当該チャージ結果通知ファイルのエラーコード欄を再び参照して(ステップS505)、一定時間あたりのチャージ回数やチャージ金額に異常(上限超え)があるか否かを判定する(ステップS506)。
異常なしと判定した場合(ステップS506:NO)、同図の処理を終了する。
When it is determined that the alert target code is not stored (step S504: NO), the control unit 120 refers again to the error code column of the charge result notification file (step S505), and the number of charges per fixed time. It is determined whether or not the charge amount is abnormal (exceeding the upper limit) (step S506).
If it is determined that there is no abnormality (step S506: NO), the processing in FIG.

一方、ステップS504において、アラート対象のコードが格納されていると判定した場合(ステップS504:YES)や、ステップS506において、異常ありと判定した場合(ステップS506:YES)、制御部120は、チャージ結果通知ファイル送信元の加盟店端末装置400の識別情報等を不活性端末情報DB132に出力して、不活性端末情報に登録させる(ステップS511)。
なお、不活性端末情報への登録は、電子マネー事業者からの要求によっても行われる。
On the other hand, when it is determined in step S504 that the alert target code is stored (step S504: YES) or in step S506, it is determined that there is an abnormality (step S506: YES), the control unit 120 is charged. The identification information of the member store terminal device 400 that is the result notification file transmission source is output to the inactive terminal information DB 132 and registered in the inactive terminal information (step S511).
Note that the registration to the inactive terminal information is also performed by a request from an electronic money business operator.

また、不活性端末判定部121は、不正処理の可能性があることを警告する電子メールを生成し、予め設定されている送信先に、通信部110を介して送信する。
その後、同図の処理を終了する。
The inactive terminal determination unit 121 also generates an e-mail that warns that there is a possibility of unauthorized processing, and transmits the e-mail to a preset transmission destination via the communication unit 110.
Thereafter, the process of FIG.

図12は、電子マネーの支払処理を行う際に加盟店端末装置400(OCX処理部220)が行う処理の手順を示すフローチャートである。OCX処理部220は、POSアプリケーション処理部210からの支払指示を受けると同図の処理を開始する。
同図の処理において、まず、前回状況判定部226が記憶部230を参照して(ステップS601)、前回のチャージ結果通知ファイルが存在するか否かを判定する(ステップS602)。存在すると判定した場合(ステップS602:YES)、OCX処理部220は、支払処理を停止する旨のメッセージをPOS端末装置200の表示画面に表示させるなど、支払停止処理を行う(ステップS621)。
その後、同図の処理を終了する。
前回のチャージ結果通知ファイルが存在することによるチャージ停止は、当該チャージ結果通知ファイルがサーバ装置100に送信されて記憶部230に存在しなくなることで解除される。
FIG. 12 is a flowchart illustrating a procedure of processing performed by the member store terminal device 400 (OCX processing unit 220) when electronic money payment processing is performed. When receiving the payment instruction from the POS application processing unit 210, the OCX processing unit 220 starts the processing in FIG.
In the process of FIG. 6, first, the previous situation determination unit 226 refers to the storage unit 230 (step S601), and determines whether or not the previous charge result notification file exists (step S602). If it is determined that it exists (step S602: YES), the OCX processing unit 220 performs a payment stop process such as displaying a message to stop the payment process on the display screen of the POS terminal device 200 (step S621).
Thereafter, the process of FIG.
The charge suspension due to the existence of the previous charge result notification file is canceled when the charge result notification file is transmitted to the server device 100 and no longer exists in the storage unit 230.

一方、ステップS602において、前回のチャージ結果通知ファイルが存在しないと判定した場合(ステップS602:NO)、主制御部222が、電子マネーリーダライタ300を介して決済媒体から前回取引情報を取得する(ステップS611)。
次に、主制御部222は、前回取引情報の仮チャージフラグを参照して、前回の取引が仮チャージか否かを判定する(ステップS612)。
On the other hand, when it is determined in step S602 that the previous charge result notification file does not exist (step S602: NO), the main control unit 222 acquires the previous transaction information from the payment medium via the electronic money reader / writer 300 ( Step S611).
Next, the main control unit 222 refers to the temporary charge flag of the previous transaction information and determines whether or not the previous transaction is a temporary charge (step S612).

仮チャージであると判定した場合(ステップS612:YES)、主制御部222は、前回取引情報に基づいて端末認証要求を生成して、通信処理部221を介してサーバ装置100に送信し、サーバ装置100からの結果通知を待ち受ける(ステップS613)。   When it determines with it being a temporary charge (step S612: YES), the main control part 222 produces | generates a terminal authentication request | requirement based on the last transaction information, and transmits to the server apparatus 100 via the communication process part 221, and a server A result notification from the apparatus 100 is awaited (step S613).

次に、主制御部222は、サーバ装置100との通信異常の有無や、不活性端末情報への加盟店端末装置400の登録の有無を判定する(ステップS614)。具体的には、主制御部222は、まず、サーバ装置100からの通信結果を取得できなかったなど、サーバ装置100との通信異常があるか否かを判定する。通信異常なしと判定した場合、主制御部222は、サーバ装置100からの端末認証の結果に基づいて、主制御部222自らを具備する加盟店端末装置400、または、処理対象の決済媒体に前回取引にてチャージを行った加盟店端末装置400の少なくとも何れかが、不活性端末情報に登録されているか否かを判定する。
通信異常あり、あるいは、不活性端末情報への登録ありと判定した場合(ステップS614:YES)、ステップS621に進む。
Next, the main control unit 222 determines whether there is a communication abnormality with the server device 100 and whether the member store terminal device 400 is registered in the inactive terminal information (step S614). Specifically, the main control unit 222 first determines whether there is an abnormality in communication with the server apparatus 100, such as failure to obtain a communication result from the server apparatus 100. If it is determined that there is no communication abnormality, the main control unit 222 uses the result of terminal authentication from the server device 100 as the last time the merchant terminal device 400 including the main control unit 222 itself or the settlement medium to be processed. It is determined whether or not at least one of the member store terminal devices 400 charged by the transaction is registered in the inactive terminal information.
If it is determined that there is a communication abnormality or that there is registration in the inactive terminal information (step S614: YES), the process proceeds to step S621.

一方、ステップS614において、通信異常なし、かつ、不活性端末情報への登録なしと判定した場合(ステップS614:NO)、主制御部222は、電子マネーリーダライタ300に支払処理の実行を指示し、電子マネーリーダライタ300は、支払処理を行う(ステップS615)。すなわち、電子マネーリーダライタ300は、決済媒体の利用可能残高を更新する。
また、電子マネーリーダライタ300は、取引履歴を更新する(ステップS616)。当該取引履歴の更新によって、決済媒体のチャージは正規チャージに更新される。
その後、同図の処理を終了する。
On the other hand, when it is determined in step S614 that there is no communication abnormality and no registration in the inactive terminal information (step S614: NO), the main control unit 222 instructs the electronic money reader / writer 300 to execute the payment process. The electronic money reader / writer 300 performs a payment process (step S615). That is, the electronic money reader / writer 300 updates the available balance of the payment medium.
Also, the electronic money reader / writer 300 updates the transaction history (step S616). By updating the transaction history, the charge of the settlement medium is updated to a regular charge.
Thereafter, the process of FIG.

一方、ステップS612において、仮チャージでない(正規チャージ状態である)と判定した場合(ステップS612:NO)、ステップS615に進む。   On the other hand, if it is determined in step S612 that the temporary charge is not established (normal charge state) (step S612: NO), the process proceeds to step S615.

電子マネーの支払処理において端末認証要求を受信したサーバ装置100が行う処理の手順は、図10で説明したのと同様である。   The procedure of the process performed by the server apparatus 100 that has received the terminal authentication request in the electronic money payment process is the same as that described with reference to FIG.

なお、図9のステップS311において累積金額が許容範囲外であると判定した場合(ステップS311:NO)、加盟店端末装置400が、決済媒体へのチャージを行わないことに加えて、決済媒体への取引履歴情報の書込を行うようにしてもよい。例えば、電子マネーリーダライタ300が、主制御部222からの指示に従って、チャージ金額を0円とする仮チャージの履歴を決済媒体に書き込む。   If it is determined in step S311 of FIG. 9 that the accumulated amount is outside the allowable range (step S311: NO), the member store terminal device 400 does not charge the payment medium, and in addition to the payment medium. The transaction history information may be written. For example, the electronic money reader / writer 300 writes a temporary charge history with a charge amount of 0 yen in the payment medium in accordance with an instruction from the main control unit 222.

このように、加盟店端末装置400(電子マネーリーダライタ300)の識別情報と、仮チャージフラグの値「1」(仮チャージであることを示す値)とを取引履歴情報として決済媒体に書き込んでおくことで、この加盟店端末装置400が不活性端末情報に登録された場合に、図6を参照して説明したように、当該決済媒体を他の加盟店端末装置400にかざしての利用も停止させることができる。すなわち、不正なチャージの行われた決済媒体の利用を、より確実に停止させることができる。   As described above, the identification information of the member store terminal device 400 (electronic money reader / writer 300) and the value “1” of the temporary charge flag (value indicating temporary charge) are written in the settlement medium as transaction history information. Thus, when this member store terminal device 400 is registered in the inactive terminal information, as described with reference to FIG. 6, the settlement medium can also be used over another member store terminal device 400. Can be stopped. That is, the use of a payment medium that has been illegally charged can be more reliably stopped.

あるいは、図9のステップS311において累積金額が許容範囲外であると判定した場合(ステップS311:NO)、主制御部222が、処理対象の決済媒体を、利用停止対象の決済媒体としてサーバ装置100に登録させる(例えば、ネガ情報に登録させる)ようにしてもよい。また、主制御部222が、電子マネーリーダライタ300を介して、利用不可を示す情報を当該決済媒体に書き込むようにしてもよい。あるいは、主制御部222が、カードの回収指示またはカード利用不可の通報を、POS端末装置200の表示画面または事業者端末装置800の表示画面に表示させるようにしてもよい。
これにより、不正なチャージの行われた決済媒体の利用を、より確実に停止させることができる。
Alternatively, when it is determined in step S311 in FIG. 9 that the accumulated amount is outside the allowable range (step S311: NO), the main control unit 222 sets the processing target payment medium as a payment suspension target payment medium. May be registered (for example, registered in negative information). In addition, the main control unit 222 may write information indicating the inability to use to the settlement medium via the electronic money reader / writer 300. Alternatively, the main control unit 222 may display a card collection instruction or a card unavailable notification on the display screen of the POS terminal device 200 or the display screen of the operator terminal device 800.
As a result, the use of the payment medium that has been illegally charged can be more reliably stopped.

なお、決済媒体に対する利用停止の解除の条件については、利用停止の原因に応じて様々な条件とすることが考えられる。
まず、通信異常によるチャージ停止は、ネットワークが確立され通信異常が解除された場合に加盟店端末装置400がオンライン処理を行うことで解除される。
It should be noted that the conditions for canceling the use suspension for the payment medium may be various conditions depending on the cause of the use stop.
First, the suspension of charging due to communication abnormality is canceled when the member store terminal device 400 performs online processing when the network is established and the communication abnormality is canceled.

また、チャージを行っている加盟店端末装置400が不活性端末情報に登録されていることによるチャージ停止の場合、他の加盟店端末装置400でのチャージは可能である。
また、前回取引でチャージを行った加盟店端末装置400が不活性端末情報に登録されていることによるチャージ停止の場合、当該加盟店端末装置400の識別情報が不活性端末情報から削除されることで、決済媒体の利用停止が解除される。
Further, when the member store terminal device 400 that is charging is stopped due to the registration in the inactive terminal information, the charge at the other member store terminal device 400 is possible.
In addition, in the case of a charge stop due to the fact that the member store terminal device 400 charged in the previous transaction is registered in the inactive terminal information, the identification information of the member store terminal device 400 is deleted from the inactive terminal information. Thus, the suspension of use of the settlement medium is released.

あるいは、チャージを行っている加盟店端末装置400、または、前回取引にてチャージを行った加盟店端末装置400の少なくとも何れかが、不活性端末情報に登録されている場合に、決済媒体を利用不可とする処理(例えばネガ情報への登録)を行う設定の場合は、例えば、不活性端末情報から当該加盟店端末装置400の識別情報が削除され、かつ、ある一定期間が過ぎた場合に決済媒体の利用停止を解除する(例えばネガ情報から当該決済媒体の識別情報を削除する)ことが考えられる。   Alternatively, the payment medium is used when at least one of the member store terminal device 400 that has been charged or the member store terminal device 400 that has been charged in the previous transaction is registered in the inactive terminal information. In the case of a setting for performing a process to be disabled (for example, registration in negative information), for example, the identification information of the member store terminal device 400 is deleted from the inactive terminal information, and payment is made when a certain period of time has passed. It is conceivable to cancel the use stop of the medium (for example, to delete the identification information of the settlement medium from the negative information).

また、チャージの累積金額が上限金額を超えたことによるチャージ停止の場合、当該取引の履歴情報を決済媒体に書き込まない設定のときは、他の加盟店端末装置400での取引は可能である。一方、当該取引の履歴情報を決済媒体に書き込む設定のときは、当該加盟店端末装置400の識別情報が不活性端末情報から削除されることで、決済媒体の利用停止が解除される。   In addition, in the case of charge stoppage due to the accumulated charge amount exceeding the upper limit amount, if the setting is made so that the history information of the transaction is not written in the settlement medium, the transaction at the other member store terminal device 400 is possible. On the other hand, when the history information of the transaction is set to be written in the payment medium, the use of the payment medium is released by deleting the identification information of the member store terminal device 400 from the inactive terminal information.

以上のように、不活性端末判定部121が、処理対象の決済媒体にチャージを行った加盟店端末装置400が不活性端末情報に登録されているか否かを判定し、登録されていると判定した場合、利用停止処理部223が、当該決済媒体の利用を停止させる。
従って、加盟店端末装置400が盗難に遭った場合など不正なチャージが行われた場合でも、チャージされた電子マネーの使用を阻止し得る。この点で、加盟店端末装置400(電子マネーチャージ機)の安全性をより高めることができる。
As described above, the inactive terminal determination unit 121 determines whether or not the member store terminal device 400 that has charged the payment medium to be processed is registered in the inactive terminal information, and determines that it is registered. In such a case, the use suspension processing unit 223 stops the use of the settlement medium.
Therefore, even if the member store terminal device 400 is stolen, such as when it is illegally charged, use of the charged electronic money can be prevented. In this respect, the safety of the member store terminal device 400 (electronic money charging machine) can be further enhanced.

また、通信処理部221は、電子マネーリーダライタ300が、決済媒体に対して行われたチャージの正当性確認が必要であることを示す情報(例えば仮チャージフラグの値「1」)を決済媒体から読み取ると、仮チャージを行った加盟店端末装置400の識別情報が不活性端末情報に含まれるか否かの判定を要求する不活性端末判定要求(端末認証要求)を送信する。
このように、通信処理部221が、仮チャージフラグ等、チャージの正当性確認が必要であることを示す情報に基づいて不活性端末判定要求を送信することで、不活性端末判定要求の送信漏れを防止し得る。
Further, the communication processing unit 221 sends information indicating that the electronic money reader / writer 300 needs to confirm the validity of the charge performed on the payment medium (for example, the value “1” of the temporary charge flag). , It transmits an inactive terminal determination request (terminal authentication request) for requesting a determination as to whether or not the identification information of the member store terminal device 400 that has performed temporary charging is included in the inactive terminal information.
As described above, the communication processing unit 221 transmits an inactive terminal determination request based on information indicating that the validity of the charge needs to be confirmed, such as a temporary charge flag. Can prevent.

また、累積金額判定部224が、所定時間内のチャージの累積金額が上限金額を超えていると判定すると、利用停止処理部223は、決済媒体の利用を停止させる。
これにより、電子マネーシステム1は、繰り返し行われる不正チャージを検出して、チャージされた電子マネーの使用を阻止し得る。
If the accumulated amount determination unit 224 determines that the accumulated amount of charge within a predetermined time exceeds the upper limit amount, the use suspension processing unit 223 stops the use of the payment medium.
As a result, the electronic money system 1 can detect illegal charges that are repeatedly performed and prevent the charged electronic money from being used.

また、前回状況判定部226が、自らを具備する加盟店端末装置400が前回のチャージ結果を未送信であると判定した場合、利用停止処理部223は、決済媒体の利用を停止させる。
これにより、電子マネーシステム1は、オフラインでの不正チャージの繰り返しを阻止し得る。
In addition, when the previous situation determination unit 226 determines that the member store terminal device 400 provided with itself has not transmitted the previous charge result, the use suspension processing unit 223 stops the use of the payment medium.
As a result, the electronic money system 1 can prevent repeated unauthorized charging offline.

また、累積金額判定部224が、所定時間内のチャージの累積金額が上限金額を超えていると判定すると、通信部110は、上限金額超えを検出したことを示す電子メールを、予め設定されている宛先に送信する。   Further, when the accumulated amount determining unit 224 determines that the accumulated amount of charge within a predetermined time exceeds the upper limit amount, the communication unit 110 is preset with an email indicating that the upper limit amount has been detected. To the destination.

ここで、加盟店端末装置400のチャージの累積金額の上限金額は、店舗における通常のチャージでは超えない金額に設定されている場合、かかる上限金額を超えたときは、不正チャージの可能性が高い。そこで、上限金額を超えた場合に通信部110が電子メールを送信することで、電子マネーシステム1の関係者に対して注意喚起することができる。   Here, when the upper limit of the accumulated charge of the member store terminal device 400 is set to an amount that does not exceed the normal charge at the store, the possibility of an unauthorized charge is high when the upper limit is exceeded. . Therefore, when the upper limit amount is exceeded, the communication unit 110 can send an e-mail to alert a person concerned with the electronic money system 1.

また、通信部110は、処理対象の決済媒体にチャージを行った加盟店端末装置400が不活性端末情報に登録されていると不活性端末判定部121が判定すると、使用停止対象の端末装置によるチャージを検出したことを示す電子メールを、予め設定されている宛先に送信する。   In addition, when the inactive terminal determination unit 121 determines that the member store terminal device 400 that has charged the processing-target payment medium is registered in the inactive terminal information, the communication unit 110 uses the terminal device whose use is to be suspended. An e-mail indicating that a charge has been detected is transmitted to a preset destination.

ここで、不活性端末情報に登録されている加盟店端末装置400によるチャージは、不正チャージであると考えられる。そこで、不活性端末判定部121が当該チャージを検出した際に、通信部110が電子メールを送信することで、電子マネーシステム1の関係者に対して注意喚起することができる。   Here, the charge by the member store terminal device 400 registered in the inactive terminal information is considered to be an unauthorized charge. Therefore, when the inactive terminal determination unit 121 detects the charge, the communication unit 110 can send an e-mail to alert a person concerned with the electronic money system 1.

また、不活性端末情報DB132は、不活性端末情報DB132自らを具備する加盟店端末装置400が所定期間内にチャージを行った累積金額が所定の上限金額を超えていると当該加盟店端末装置400(累積金額判定部224)が判定すると、当該加盟店端末装置400を不活性端末情報に登録する。このように、チャージの累積金額が上限金額を超えた場合、不正チャージの可能性が高い。そこで、上限金額を超えた場合に不活性端末情報DB132が当該加盟店端末装置400を不活性端末情報に登録することで、以後の不正チャージや不正チャージされた電子マネーの使用を阻止し得る。   Further, the inactive terminal information DB 132 indicates that the member store terminal device 400 when the accumulated amount charged by the member store terminal device 400 having the inactive terminal information DB 132 itself within a predetermined period exceeds a predetermined upper limit amount. When the (cumulative amount determination unit 224) determines, the member store terminal device 400 is registered in the inactive terminal information. Thus, when the accumulated amount of charge exceeds the upper limit amount, the possibility of unauthorized charge is high. Therefore, when the upper limit amount is exceeded, the inactive terminal information DB 132 registers the member store terminal device 400 in the inactive terminal information, so that it is possible to prevent subsequent unauthorized charges and use of illegally charged electronic money.

また、不活性端末情報DB132は、加盟店端末装置400が所定期間内にチャージを行った回数が所定の上限回数を超えていると当該加盟店端末装置400(累積金額判定部224)が判定すると、当該加盟店端末装置400の識別情報を不活性端末情報に含める。
ここで、加盟店端末装置400のチャージの上限回数が、店舗における通常のチャージでは超えない回数に設定されている場合、かかる上限回数を超えたときは、不正チャージの可能性が高い。そこで、上限回数を超えた場合に不活性端末情報DB132が当該加盟店端末装置400を不活性端末情報に登録することで、以後の不正チャージや不正チャージされた電子マネーの使用を阻止し得る。
The inactive terminal information DB 132 determines that the member store terminal device 400 (cumulative amount determination unit 224) determines that the number of times the member store terminal device 400 has charged within a predetermined period exceeds a predetermined upper limit number. The identification information of the member store terminal device 400 is included in the inactive terminal information.
Here, when the upper limit number of charges of the member store terminal device 400 is set to a number that does not exceed the normal charge in the store, the possibility of unauthorized charge is high when the upper limit number of times is exceeded. Therefore, when the upper limit number of times is exceeded, the inactive terminal information DB 132 registers the member store terminal device 400 in the inactive terminal information, so that it is possible to prevent subsequent unauthorized charges and use of illegally charged electronic money.

また、不活性端末情報DB132は、通信部110が取得した、不活性端末登録要求の示す加盟店端末装置400の識別情報を不活性端末情報に含める。不活性端末情報DB132が当該登録を行うことで、加盟店端末装置400が盗難に遭った場合に、当該加盟店端末装置400の使用を停止させ得る。   Further, the inactive terminal information DB 132 includes the identification information of the member store terminal device 400 indicated by the inactive terminal registration request acquired by the communication unit 110 in the inactive terminal information. When the inactive terminal information DB 132 performs the registration, when the member store terminal device 400 is stolen, the use of the member store terminal device 400 can be stopped.

また、サーバ装置100による不活性端末判定(端末認証)の結果が、処理対象の決済媒体に前回取引にて仮チャージを行った加盟店端末装置400が不活性端末情報に登録されていないことを示す場合、電子マネーリーダライタ300は、当該決済媒体における仮チャージを正規チャージに更新する。
このように、電子マネーリーダライタ300が、サーバ装置100による不活性端末判定の結果に基づいて仮チャージから正規チャージへの更新を行うことで、仮チャージの際、および、正規チャージへの更新の際と、チャージの正当性について2重のチェックを行うことができ、不正チャージされた電子マネーの利用をより確実に防止することができる。
In addition, the result of the inactive terminal determination (terminal authentication) by the server device 100 indicates that the member store terminal device 400 that has provisionally charged the payment medium to be processed in the previous transaction is not registered in the inactive terminal information. In the case shown, the electronic money reader / writer 300 updates the temporary charge in the settlement medium to the regular charge.
As described above, the electronic money reader / writer 300 performs the update from the temporary charge to the regular charge based on the result of the inactive terminal determination by the server device 100, so that the update to the regular charge and the update to the regular charge are performed. At the same time, it is possible to double check the legitimacy of the charge, and more reliably prevent illegally charged electronic money from being used.

なお、以上では、決済媒体へのチャージを常に仮チャージとする例について説明したが、チャージの際に仮チャージと正規チャージとを行えるようにしてもよい。
例えば、加盟店端末装置400は、オンライン処理においては、決済媒体への正規チャージを行う。一方、加盟店端末装置400とサーバ装置100との間に通信異常が発生し、加盟店端末装置400がサーバ装置100にチャージ履歴を送信できない場合、加盟店端末装置400は、オフラインにて仮チャージを行う。そして、当該決済媒体がオンラインにて使用された場合に、サーバ装置100が正規チャージ判定(例えば、仮チャージを行った加盟店端末装置400の端末認証)を行って、仮チャージから正規チャージに更新する。
In the above description, the example in which the payment to the settlement medium is always the temporary charge has been described. However, the temporary charge and the regular charge may be performed when charging.
For example, the member store terminal device 400 performs regular charging to the payment medium in the online processing. On the other hand, when a communication abnormality occurs between the member store terminal device 400 and the server device 100 and the member store terminal device 400 cannot transmit the charge history to the server device 100, the member store terminal device 400 is temporarily charged offline. I do. Then, when the settlement medium is used online, the server device 100 performs a regular charge determination (for example, terminal authentication of the member store terminal device 400 that has performed the temporary charge) and updates the temporary charge to the regular charge. To do.

これにより、チャージの際の安全を確保しつつ、オフラインでもチャージ可能とすることができる。
なお、加盟店端末装置400が、仮チャージを行う際に、「ただいまのチャージは『仮チャージ』となっています。『仮チャージ』は使用時のセンター照会で自動的に正規チャージになります」といったメッセージを表示するようにしてもよい。当該メッセージにより、チャージを行った利用者は、チャージの状態を容易に確認することができる。
This makes it possible to charge even offline while ensuring safety during charging.
When the franchise terminal device 400 makes a temporary charge, “The current charge is“ Temporary charge ”.“ Temporary charge ”automatically becomes a regular charge at the center inquiry at the time of use.” Such a message may be displayed. With this message, the user who has made the charge can easily confirm the state of the charge.

なお、サーバ装置100が、正規チャージ判定の際に、端末認証に加えて、カード履歴の確認を行うようにしてもよい。
例えば、チャージを行う際に、加盟店端末装置400が、カード履歴(当該チャージの履歴)を当該決済媒体に書き込むと共にサーバ装置100にも送信し、サーバ装置100は当該カード履歴を記憶しておく。
Note that the server device 100 may check the card history in addition to terminal authentication when determining the regular charge.
For example, when charging, the member store terminal device 400 writes the card history (the charge history) to the settlement medium and transmits it to the server device 100, and the server device 100 stores the card history. .

そして、支払時の正規チャージ判定において、サーバ装置100は、端末認証に加えて、処理対象の決済媒体が記憶しているカード履歴と、サーバ装置100が記憶している当該決済媒体のカード履歴とを照合する。両者が一致した場合、サーバ装置100は、異常なしと判定する。一方、処理対象の決済媒体が記憶しているカード履歴と、サーバ装置100が記憶している当該決済媒体のカード履歴とが一致しない場合、オフラインで処理が行われたことになり、サーバ装置100は、不正処理の可能性があると判定する。   And in the regular charge determination at the time of payment, in addition to terminal authentication, the server device 100 stores the card history stored in the payment medium to be processed and the card history of the payment medium stored in the server device 100. Is matched. When both match, the server apparatus 100 determines that there is no abnormality. On the other hand, if the card history stored in the settlement medium to be processed and the card history of the settlement medium stored in the server apparatus 100 do not match, the processing has been performed offline, and the server apparatus 100 Determines that there is a possibility of unauthorized processing.

このように、サーバ装置100がカード履歴の照合を行うことで、オフライン処理を検出することができ、オフラインで行われた不正処理を検出し得る。
なお、サーバ装置100が、例えば1万円以上のチャージあるいは支払の場合にのみカード履歴の照合を行うなど、サーバ装置100がカード履歴の照合を行う場合を限定して、処理時間の短縮を図るようにしてもよい。
As described above, the server device 100 can detect the offline processing by checking the card history, and can detect the illegal processing performed offline.
Note that the processing time is reduced by limiting the case where the server apparatus 100 performs card history verification, for example, when the server apparatus 100 performs card history verification only when the server apparatus 100 charges or pays 10,000 yen or more. You may do it.

なお、サーバ装置100またはPOS端末装置200の全部または一部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。
A program for realizing all or part of the functions of the server device 100 or the POS terminal device 200 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read by a computer system. The processing of each unit may be performed by executing. Here, the “computer system” includes an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like without departing from the gist of the present invention.

1 電子マネーシステム
100 サーバ装置
110 通信部
120 制御部
121 不活性端末判定部
130 データベース部
131 チャージ結果通知DB
132 不活性端末情報DB
133 電子マネーチャージ明細DB
200 POS端末装置
210 POSアプリケーション処理部
220 OCX処理部
221 通信処理部
222 主制御部
223 利用停止処理部
224 累積金額判定部
225 回数判定部
226 前回状況判定部
230 記憶部
300 電子マネーリーダライタ
400 加盟店端末装置
800 事業者端末装置
910、920 ネットワーク
DESCRIPTION OF SYMBOLS 1 Electronic money system 100 Server apparatus 110 Communication part 120 Control part 121 Inactive terminal determination part 130 Database part 131 Charge result notification DB
132 Inactive terminal information DB
133 Electronic Money Charge Detail DB
200 POS Terminal Device 210 POS Application Processing Unit 220 OCX Processing Unit 221 Communication Processing Unit 222 Main Control Unit 223 Usage Stop Processing Unit 224 Cumulative Amount Determination Unit 225 Number of Times Determination Unit 226 Previous State Determination Unit 230 Storage Unit 300 Electronic Money Reader / Writer 400 Membership Shop terminal device 800 Business terminal device 910, 920 Network

Claims (10)

サーバ装置と第1端末装置とを具備し、
前記第1端末装置は、
プリペイド式電子マネーの決済媒体から、当該決済媒体にチャージを行った第2端末装置の識別情報を読み取る媒体データ取得部と、
前記第2端末装置の識別情報が、使用停止対象の端末装置を示す不活性端末情報に含まれるか否かの判定を要求する不活性端末判定要求を、前記サーバ装置に送信する不活性端末判定要求送信部と、
前記不活性端末判定要求に対する前記サーバ装置の判定結果を受信する判定結果受信部と、
前記判定結果が、前記第2端末装置の識別情報が不活性端末情報に含まれることを示す場合、前記決済媒体の利用を停止させる利用停止処理部と、
を具備し、
前記サーバ装置は、
前記不活性端末情報を記憶する不活性端末情報記憶部と、
前記不活性端末判定要求を受信する不活性端末判定要求受信部と、
前記不活性端末判定要求送信部からの要求に応じて、前記第2端末装置の識別情報が前記不活性端末情報に含まれるか否かを判定する不活性端末判定部と、
判定結果を送信する判定結果送信部と、
を具備し、
前記不活性端末判定要求送信部は、前記媒体データ取得部が、前記決済媒体に対して行われたチャージの正当性確認が必要であることを示す情報を前記決済媒体から読み取ると、前記第2端末装置の識別情報が前記不活性端末情報に含まれるか否かの判定を要求する前記不活性端末判定要求を送信する、ことを特徴とする電子マネーシステム。
A server device and a first terminal device;
The first terminal device
A medium data acquisition unit that reads identification information of a second terminal device that has charged the payment medium from a payment medium of prepaid electronic money;
Inactive terminal determination for transmitting to the server device an inactive terminal determination request for determining whether or not the identification information of the second terminal device is included in the inactive terminal information indicating the terminal device to be suspended. A request transmitter;
A determination result receiving unit that receives a determination result of the server device in response to the inactive terminal determination request;
When the determination result indicates that the identification information of the second terminal device is included in the inactive terminal information, a use stop processing unit that stops the use of the payment medium;
Comprising
The server device
An inactive terminal information storage unit for storing the inactive terminal information;
An inactive terminal determination request receiving unit for receiving the inactive terminal determination request;
In response to a request from the inactive terminal determination request transmission unit, an inactive terminal determination unit that determines whether or not the identification information of the second terminal device is included in the inactive terminal information;
A determination result transmission unit for transmitting the determination result;
Comprising
The inactive terminal determination request transmitting unit, when the medium data acquiring unit reads from the payment medium information indicating that it is necessary to confirm the validity of the charge performed on the payment medium, An electronic money system characterized by transmitting the inactive terminal determination request for requesting determination of whether or not terminal device identification information is included in the inactive terminal information.
前記第1端末装置は、
当該第1端末装置が所定期間内にチャージを行った累積金額が所定の上限金額を超えているか否かを判定する累積金額判定部を具備し、
前記利用停止処理部は、前記累積金額判定部が、前記累積金額が前記所定の上限金額を超えていると判定すると、前記決済媒体の利用を停止させる、ことを特徴とする請求項1に記載の電子マネーシステム。
The first terminal device
A cumulative amount determination unit for determining whether or not the cumulative amount charged by the first terminal device within a predetermined period exceeds a predetermined upper limit amount;
The use stop processing unit stops use of the payment medium when the accumulated amount determination unit determines that the accumulated amount exceeds the predetermined upper limit amount. Electronic money system.
前記第1端末装置は、
当該第1端末装置が前回のチャージ結果を送信済みか否かを判定する前回状況判定部を具備し、
前記利用停止処理部は、当該第1端末装置が前記前回のチャージ結果を送信していないと前記前回状況判定部が判定すると、前記決済媒体の利用を停止させる、ことを特徴とする請求項1または2に記載の電子マネーシステム。
The first terminal device
Including a previous situation determination unit that determines whether the first terminal device has transmitted the previous charge result;
The use stop processing unit stops use of the settlement medium when the previous state determination unit determines that the first terminal device has not transmitted the previous charge result. Or the electronic money system of 2.
前記サーバ装置は、前記累積金額が前記所定の上限金額を超えていると前記累積金額判定部が判定すると、上限金額超えを検出したことを示す電子メールを、予め設定されている宛先に送信するメール送信部を具備することを特徴とする請求項2に記載の電子マネーシステム。   When the accumulated amount determination unit determines that the accumulated amount exceeds the predetermined upper limit amount, the server device transmits an e-mail indicating that the upper limit amount has been detected to a preset destination. The electronic money system according to claim 2, further comprising a mail transmission unit. 前記サーバ装置は、前記第2端末装置の識別情報が前記不活性端末情報に含まれていると前記不活性端末判定部が判定すると、使用停止対象の端末装置によるチャージを検出したことを示す電子メールを、予め設定されている宛先に送信するメール送信部を具備することを特徴とする請求項1から3のいずれか一項に記載の電子マネーシステム。   When the inactive terminal determination unit determines that the identification information of the second terminal device is included in the inactive terminal information, the server device is an electronic device indicating that a charge by the terminal device to be suspended is detected. The electronic money system according to any one of claims 1 to 3, further comprising a mail transmission unit that transmits mail to a preset destination. 前記サーバ装置は、前記累積金額が前記所定の上限金額を超えていると前記累積金額判定部が判定すると、前記第1端末装置の識別情報を前記不活性端末情報に含める不活性端末情報管理部を具備することを特徴とする請求項2または請求項4に記載の電子マネーシステム。   When the cumulative amount determination unit determines that the accumulated amount exceeds the predetermined upper limit amount, the server device includes an inactive terminal information management unit that includes identification information of the first terminal device in the inactive terminal information The electronic money system according to claim 2, further comprising: 前記第1端末装置は、当該第1端末装置が所定期間内にチャージを行った回数が所定の上限回数を超えているか否かを判定する回数判定部を具備し、
前記サーバ装置は、前記回数判定部が、前記第1端末装置が所定期間内にチャージを行った回数が前記所定の上限回数を超えていると判定すると、前記第1端末装置の識別情報を前記不活性端末情報に含める不活性端末情報管理部を具備する、
ことを特徴とする請求項1から5のいずれか一項に記載の電子マネーシステム。
The first terminal device includes a number determination unit that determines whether or not the number of times the first terminal device has charged within a predetermined period exceeds a predetermined upper limit number of times,
When the server device determines that the number of times that the first terminal device has been charged within a predetermined period exceeds the predetermined upper limit number, the server device determines the identification information of the first terminal device. An inactive terminal information management unit included in the inactive terminal information;
The electronic money system according to any one of claims 1 to 5, wherein
前記サーバ装置は、
前記不活性端末情報への端末装置の登録要求を取得する不活性端末登録要求取得部と、
前記不活性端末登録要求取得部が取得した登録要求の示す端末装置の識別情報を前記不活性端末情報に含める不活性端末情報管理部と、
を具備することを特徴とする請求項1から5のいずれか一項に記載の電子マネーシステム。
The server device
An inactive terminal registration request acquisition unit for acquiring a registration request of the terminal device to the inactive terminal information;
An inactive terminal information management unit including identification information of the terminal device indicated by the registration request acquired by the inactive terminal registration request acquisition unit in the inactive terminal information;
The electronic money system according to any one of claims 1 to 5, further comprising:
前記判定結果受信部が受信した前記サーバ装置の判定結果が、前記第2端末装置の識別情報が前記不活性端末情報に含まれないことを示す場合、前記決済媒体に対して行われたチャージが正当であることを示す情報を当該決済媒体に登録する判定結果登録部を具備することを特徴とする請求項1から8のいずれか一項に記載の電子マネーシステム。   When the determination result of the server device received by the determination result receiving unit indicates that the identification information of the second terminal device is not included in the inactive terminal information, the charge performed on the payment medium is The electronic money system according to any one of claims 1 to 8, further comprising a determination result registration unit that registers information indicating validity in the settlement medium. プリペイド式電子マネーの決済媒体から、当該決済媒体にチャージを行った端末装置の識別情報を読み取る媒体データ取得部と、
前記端末装置の識別情報が、使用停止対象の端末装置を示す不活性端末情報に含まれるか否かの判定を要求する不活性端末判定要求を、サーバ装置に送信する不活性端末判定要求送信部と、
前記不活性端末判定要求に対する前記サーバ装置の判定結果を受信する判定結果受信部と、
前記判定結果が、前記端末装置の識別情報が不活性端末情報に含まれることを示す場合、前記決済媒体の利用を停止させる利用停止処理部と、
を具備し、
前記不活性端末判定要求送信部は、前記媒体データ取得部が、前記決済媒体に対して行われたチャージの正当性確認が必要であることを示す情報を前記決済媒体から読み取ると、前記端末装置の識別情報が前記不活性端末情報に含まれるか否かの判定を要求する前記不活性端末判定要求を送信する、ことを特徴とする端末装置。
A medium data acquisition unit that reads identification information of a terminal device that has charged the payment medium from a payment medium of prepaid electronic money;
An inactive terminal determination request transmission unit that transmits to the server device an inactive terminal determination request for determining whether or not the terminal device identification information is included in the inactive terminal information indicating the terminal device to be suspended. When,
A determination result receiving unit that receives a determination result of the server device in response to the inactive terminal determination request;
When the determination result indicates that the identification information of the terminal device is included in the inactive terminal information, a use stop processing unit that stops the use of the payment medium;
Comprising
When the inactive terminal determination request transmission unit reads from the payment medium information indicating that the medium data acquisition unit needs to confirm the validity of the charge performed on the payment medium, the terminal device The terminal device transmits the inactive terminal determination request for determining whether or not the identification information is included in the inactive terminal information.
JP2012048188A 2012-03-05 2012-03-05 Electronic money system and terminal device Expired - Fee Related JP5939842B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012048188A JP5939842B2 (en) 2012-03-05 2012-03-05 Electronic money system and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012048188A JP5939842B2 (en) 2012-03-05 2012-03-05 Electronic money system and terminal device

Publications (2)

Publication Number Publication Date
JP2013182598A JP2013182598A (en) 2013-09-12
JP5939842B2 true JP5939842B2 (en) 2016-06-22

Family

ID=49273173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012048188A Expired - Fee Related JP5939842B2 (en) 2012-03-05 2012-03-05 Electronic money system and terminal device

Country Status (1)

Country Link
JP (1) JP5939842B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10154193A (en) * 1996-09-30 1998-06-09 N T T Data Tsushin Kk Electronic money system and recording medium
JP2005174310A (en) * 2003-11-20 2005-06-30 Fuji Electric Retail Systems Co Ltd Ic card type digital money system and its method, and program
JP4444761B2 (en) * 2004-08-24 2010-03-31 グローリー株式会社 Card transaction equipment
JP4580261B2 (en) * 2005-03-28 2010-11-10 財団法人鉄道総合技術研究所 IC card management system
JP5177734B2 (en) * 2006-08-10 2013-04-10 楽天株式会社 Payment access terminal, access method and access program using payment access terminal
US8054956B2 (en) * 2006-12-22 2011-11-08 Alcatel Lucent Flexible recharge system for prepaid telecommunications service

Also Published As

Publication number Publication date
JP2013182598A (en) 2013-09-12

Similar Documents

Publication Publication Date Title
RU2713703C2 (en) Advance authorization of digital requests
RU2698762C2 (en) System and methods of providing encrypted data of remote server
JP6621517B2 (en) Authentication support apparatus, authentication support method, and program
JP2006285329A (en) Mobile security determination support system, method and program, mobile communication terminal device and information management operation server
JP5978326B2 (en) Dynamic authentication system, dynamic authentication method, reader for dynamic authentication, user terminal device, and dynamic authentication program
JP6192082B1 (en) Biometric data registration system and settlement system
JP2009289063A (en) Electronic settlement apparatus and electronic settlement method
JP2013140451A (en) Electronic money server, electronic money server program, storage medium and loss processing method
JP2014059912A (en) Personal authentication system
JP2008040890A (en) Financial transaction system and server
AU2023200221A1 (en) Remote transaction system, method and point of sale terminal
US20210406909A1 (en) Authorizing transactions using negative pin messages
KR20170058950A (en) System and method for electronic payments
JP5731883B2 (en) Terminal installation system and terminal installation method
CN111052164B (en) Settlement system, settlement method, and program
JP2018200596A (en) Transaction management system, transaction management method, and program
JP5876334B2 (en) Electronic money system and terminal device
JP2023118857A (en) Shopping support device and shopping support program, server and control program therefore, and shopping support method
JP2011013959A (en) Remittance system and remittance method
JP2020160652A (en) Virtual currency remittance system
JP7303664B2 (en) Information processing device, information processing method and program
KR101699032B1 (en) Service providing system and method for payment using electronic tag
KR102347417B1 (en) Method and system for a safe mobile payment with a merchant authenticator
JP5939842B2 (en) Electronic money system and terminal device
JP2016012206A (en) Account protection system, and money transferring and payment method using the same

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20140822

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151020

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160223

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160517

R150 Certificate of patent or registration of utility model

Ref document number: 5939842

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees