JP2013016197A - Electronic money system, amount change information transmitter, server, and amount change information transmission method - Google Patents

Electronic money system, amount change information transmitter, server, and amount change information transmission method Download PDF

Info

Publication number
JP2013016197A
JP2013016197A JP2012211594A JP2012211594A JP2013016197A JP 2013016197 A JP2013016197 A JP 2013016197A JP 2012211594 A JP2012211594 A JP 2012211594A JP 2012211594 A JP2012211594 A JP 2012211594A JP 2013016197 A JP2013016197 A JP 2013016197A
Authority
JP
Japan
Prior art keywords
electronic money
change information
log data
amount change
money
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012211594A
Other languages
Japanese (ja)
Other versions
JP5588487B2 (en
Inventor
Takamoto Ito
隆元 伊藤
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.)
Rakuten Edy Inc
Original Assignee
Rakuten Edy 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 Rakuten Edy Inc filed Critical Rakuten Edy Inc
Priority to JP2012211594A priority Critical patent/JP5588487B2/en
Publication of JP2013016197A publication Critical patent/JP2013016197A/en
Application granted granted Critical
Publication of JP5588487B2 publication Critical patent/JP5588487B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To confirm whether a money terminal performs amount change processing in the case that there is no response after transmitting amount change information to the money terminal.SOLUTION: An electronic money terminal 8 reads and stores a value balance before amount change information transmission from an electronic money card 6. Then, the electronic money terminal 8 transmits amount change information to the electronic money card 6. The electronic money terminal 8 waits for response from the electronic money card 6 for a predetermined time, and when there is no response, the electronic money terminal 8 forcibly reads the current value balance of the electronic money card 6. The electronic money terminal 8 compares the value balance with the value balance read before the amount change information transmission. The electronic money terminal does not determine that the electronic money card 6 executes the amount change information when the two value balances are the same, and determines that the electronic money card 6 executes the amount change information when there is a difference between the two value balances.

Description

本発明は、電子マネーシステム、金額変更情報送信装置、サーバ、及び金額変更情報送信方法に関し、例えば、電子マネーカードなどに残高を変更するための金額変更情報を送信するものに関する。   The present invention relates to an electronic money system, an amount change information transmission device, a server, and an amount change information transmission method, for example, an item for transmitting amount change information for changing a balance to an electronic money card or the like.

近年の電子マネーの普及に伴い、電子マネーを用いた商取引が盛んに行われるようになってきた。
電子マネーによる商取引は、バリューと呼ばれる金銭と同等の交換価値を持つ電子データを操作して価値の移動を行うことにより行われる。
With the spread of electronic money in recent years, commercial transactions using electronic money have been actively conducted.
Commercial transactions using electronic money are carried out by manipulating electronic data having an exchange value equivalent to money called value and transferring value.

バリューの残高は、電子マネーカードなどに内蔵されたICチップに書き込まれており、これに、店舗などに設置された電子マネー端末からアクセスして残高を減額することにより決済を行うことができる。
また、電子マネー端末から電子マネーカードにアクセスし、ICチップに記憶されているバリューの金額を増額することもできる。増額する処理はチャージと呼ばれている。
チャージする場合は、電子マネーカードのユーザからチャージする金額分の金銭を徴収することにより、バリューと通貨との対応をとっている。
The value balance is written in an IC chip built in an electronic money card or the like, and settlement can be performed by accessing the balance from an electronic money terminal installed in a store or the like and reducing the balance.
It is also possible to increase the amount of value stored in the IC chip by accessing the electronic money card from the electronic money terminal. The process of increasing the amount is called charging.
In the case of charging, the value and the currency are matched by collecting money corresponding to the amount charged from the user of the electronic money card.

電子マネー端末は、電子マネーカードとの決済やチャージの処理内容を記録した利用ログデータを記憶しておき、例えば、1日に1回程度、バッチ処理にてこれを電子マネーサーバに送信する。
電子マネーサーバは、各電子マネー端末から利用ログデータを収集・記憶して、これを月に1回程度集計する。そして、電子マネーの運用事業者は、この集計結果に従ってチャージの際にユーザから徴収した金額を、バリューにて決済を行った加盟店(バリューによる決済を行う店舗)に分配して資金決済を行う。
このように、電子マネーカードに記憶されているバリューを用いて決済を行う技術としては、例えば、次のサービス提供方法がある。
The electronic money terminal stores usage log data in which processing details of payment and charging with the electronic money card are recorded, and transmits this to the electronic money server by batch processing, for example, once a day.
The electronic money server collects and stores usage log data from each electronic money terminal, and totals this once a month. Then, the electronic money management company distributes the money collected from the user at the time of charging in accordance with the result of the aggregation to the member stores that have settled with value (stores that settle with value) and perform fund settlement. .
As described above, as a technique for performing payment using the value stored in the electronic money card, for example, there is the following service providing method.

特開2000−250994公報JP 2000-250994 A

この技術は、ICカードに予め記憶したバリューを用いてサービスの対価を支払うものである。   This technology pays a price for a service using a value stored in advance in an IC card.

電子マネー端末は、金額変更情報(コマンド)を電子マネーカードに送信してバリュー残高の増減を行わせるが、金額変更情報を送信した後、電子マネーカードから金額変更処理を実行した旨の応答が無い場合、電子マネー端末側では、電子マネーカードで残高の変更が行われたか否かが不明となるため、何らかの対策を講じる必要がある。
このような場合は、例えば、他の機器との無線周波数が混在するなど、使用環境に問題がある場合に希に発生する可能性がある。
The electronic money terminal transmits the money amount change information (command) to the electronic money card to increase or decrease the value balance, but after sending the money amount change information, a response indicating that the money amount change process has been executed from the electronic money card is received. If there is not, the electronic money terminal side will not know whether or not the balance has been changed with the electronic money card, so it is necessary to take some measures.
In such a case, for example, it may occur rarely when there is a problem in the use environment, for example, radio frequencies with other devices are mixed.

そこで、本発明の目的は、貨幣端末(ICチップ)に金額変更情報を送信した後に応答が無かった場合に、貨幣端末が金額変更処理を行ったか否かを確認することである。   Therefore, an object of the present invention is to confirm whether or not the money terminal has performed the money amount change process when there is no response after sending the money amount change information to the money terminal (IC chip).

本発明は、前記目的を達成するために、請求項1に記載の発明では、貨幣端末と、電子マネー端末と、本部サーバと、電子マネーサーバと、を用いて構成された電子マネーシステムであって、前記貨幣端末は、貨幣価値の金額を電子データとして記憶し、金額変更情報を用いて前記記憶した貨幣価値の金額を変更し、前記電子マネー端末は、電子マネーモジュールと、POS部を用いて構成され、前記電子マネーモジュールは、前記貨幣端末に金額変更情報を送信し、当該金額変更情報に係る金額と、前記貨幣端末から金額を変更した旨の通知を受けたか否かの区別と、を含むログデータを生成して前記電子マネーサーバに送信し、前記POS部は、前記電子マネーモジュールが前記通知を受けなかった場合に、前記貨幣端末における金額変更情報送信前後の残高を比較することにより前記貨幣端末が金額を変更したか否かを判断し、当該判断結果を含み、前記ログデータに対応する確認ログデータを生成して前記本部サーバに送信し、前記本部サーバは、前記POS部から確認ログデータを受信し、受信した複数の確認ログデータを1つの確認ログデータに集約して前記電子マネーサーバに送信し、前記電子マネーサーバは、前記電子マネーモジュールからログデータを受信し、前記本部サーバから確認ログデータを受信し、前記受信したログデータが、前記貨幣端末から金額を変更した旨の通知を受けなかったものであった場合、前記受信した確認ログデータから当該ログデータに対応するものを検索し、当該検索された確認ログデータに記録された判断結果によって、当該ログデータに関する処理で、前記貨幣端末が金額変更を行ったか否かを確認することを特徴とする電子マネーシステムを提供する。
請求項2に記載の発明では、貨幣価値の金額を電子データとして記憶し、受信した金額変更情報を用いて前記記憶した貨幣価値の金額を変更する貨幣端末に対し、金額変更情報を送信する金額変更情報送信装置であって、変更に係る金額を取得して金額変更情報を生成する金額変更情報生成手段と、金額変更情報を送信する前の残高を前記貨幣端末から取得する第1の残高取得手段と、前記貨幣端末に前記生成した金額変更情報を送信する金額変更情報送信手段と、前記貨幣端末から前記送信した金額変更情報によって金額を変更した旨の通知を受ける通知受信手段と、前記通知を受信しなかった場合に、前記貨幣端末から現在の残高を取得する第2の残高取得手段と、を具備したことを特徴とする金額変更情報送信装置を提供する。
請求項3に記載の発明では、前記第1の残高取得手段で取得した残高と、前記第2の残高取得手段で取得した残高と、を比較する比較手段と、前記比較手段による比較結果から、前記貨幣端末で前記金額変更情報による金額変更が行われたか否かを判断する判断手段と、を具備したことを特徴とする請求項2に記載の金額変更情報送信装置を提供する。
請求項4に記載の発明では、前記判断手段が、金額変更が行われていないと判断した場合に、前記金額変更情報送信手段は、再度前記貨幣端末に金額変更情報を送信することを特徴とする請求項3に記載の金額変更情報送信装置を提供する。
請求項5に記載の発明では、前記貨幣端末との処理内容を記録したログデータを生成するログデータ生成手段と、前記生成したログデータを所定のサーバ装置に送信するログデータ送信手段と、を具備し、前記ログデータ生成手段は、前記判断手段で判断を行った場合は、判断結果を前記ログデータに記録することを特徴とする請求項3、又は請求項4に記載の金額変更情報送信装置を提供する。
請求項6に記載の発明では、前記金額変更情報に係る金額と、前記貨幣端末から金額を変更した旨の通知を受けたか受けなかったかの区別と、を記録したログデータを生成して所定のサーバに送信する第1のログデータ送信手段と、前記生成したログデータに対応させて、前記判断手段で判断を行った場合の判断結果を記録した確認ログデータを生成して所定のサーバに送信する第2のログデータ送信手段と、を具備したことを特徴とする請求項3、又は請求項4に記載の金額変更情報送信装置を提供する。
請求項7に記載の発明では、前記第2のログデータ送信手段が前記確認ログデータを送信する所定のサーバは、複数の確認ログデータを1つの確認ログデータに集約して、前記第1のログデータ送信手段の送信先である所定のサーバに送信する集約サーバであることを特徴とする請求項6に記載の金額変更情報送信装置を提供する。
請求項8に記載の発明では、請求項6、又は請求項7に記載の金額変更情報送信装置が生成したログデータを受信する第1のログデータ受信手段と、当該金額変更情報送信装置が生成した確認ログデータを受信する第2のログデータ受信手段と、前記受信したログデータが、前記貨幣端末から金額を変更した旨の通知を受けなかったものであった場合、前記受信した確認ログデータから当該ログデータに対応するものを検索する検索手段と、前記検索された確認ログデータに記録された判断結果によって、当該ログデータに関する処理で、前記貨幣端末が金額変更を行ったか否かを確認する確認手段と、を具備したことを特徴とするサーバを提供する。
請求項9に記載の発明では、貨幣価値の金額を電子データとして記憶し、受信した金額変更情報を用いて前記記憶した貨幣価値の金額を変更する貨幣端末に対し、金額変更情報を送信する金額変更情報送信装置が行う金額変更情報送信方法であって、前記金額変更情報送信装置は、金額変更情報生成手段と、第1の残高取得手段と、金額変更情報送信手段と、通知受信手段と、第2の残高取得手段と、を備え、前記金額変更情報生成手段によって、変更に係る金額を取得して金額変更情報を生成する金額変更情報生成ステップと、前記第1の残高取得手段によって、金額変更情報を送信する前の残高を前記貨幣端末から取得する第1の残高取得ステップと、前記金額変更情報送信手段によって、前記貨幣端末に前記生成した金額変更情報を送信する金額変更情報送信ステップと、前記通知受信手段によって、前記貨幣端末から前記送信した金額変更情報によって金額を変更した旨の通知を受ける通知受信ステップと、前記第2の残高取得手段によって、前記通知を受信しなかった場合に、前記貨幣端末から現在の残高を取得する第2の残高取得ステップと、から構成されたことを特徴とする金額変更情報送信方法を提供する。
In order to achieve the above object, the present invention provides an electronic money system configured using a money terminal, an electronic money terminal, a headquarter server, and an electronic money server. The money terminal stores the money value amount as electronic data, changes the stored money value amount using money amount change information, and the electronic money terminal uses an electronic money module and a POS unit. The electronic money module transmits the amount change information to the money terminal, the amount related to the amount change information, and whether or not a notification that the amount has been changed from the money terminal, Is generated and transmitted to the electronic money server, and the POS unit changes the amount of money in the money terminal when the electronic money module does not receive the notification. It is determined whether or not the money terminal has changed the amount by comparing the balance before and after information transmission, and the confirmation log data including the determination result and corresponding to the log data is generated and transmitted to the headquarter server. The headquarter server receives the confirmation log data from the POS unit, aggregates the received plurality of confirmation log data into one confirmation log data, and transmits the confirmation log data to the electronic money server. Receiving log data from a money module, receiving confirmation log data from the headquarters server, and receiving the log data when the received log data has not been notified from the money terminal that the amount has been changed. Search log data corresponding to the log data is searched, and the log is determined according to the determination result recorded in the searched check log data. In processing relating to the data, the monetary terminal to provide an electronic money system, characterized in that to check whether performed amount change.
In the invention according to claim 2, the amount of money value is stored as electronic data and the money amount change information is transmitted to the money terminal that changes the stored amount of money value using the received money amount change information. A change information transmitting device for acquiring an amount related to a change and generating amount change information, and a first balance acquisition for acquiring a balance before sending the amount change information from the money terminal Means, amount change information transmitting means for transmitting the generated amount change information to the money terminal, notification receiving means for receiving a notification that the amount has been changed by the money amount change information transmitted from the money terminal, and the notification And a second balance acquisition means for acquiring the current balance from the money terminal when the money terminal is not received.
In the invention according to claim 3, from the comparison result by the comparison means by which the balance acquired by the first balance acquisition means and the balance acquired by the second balance acquisition means are compared, and the comparison result by the comparison means, The amount change information transmitting apparatus according to claim 2, further comprising: a determination unit configured to determine whether or not an amount change according to the amount change information has been performed at the money terminal.
The invention according to claim 4 is characterized in that, when the determination unit determines that the amount change is not performed, the amount change information transmission unit transmits the amount change information to the money terminal again. An amount change information transmitting apparatus according to claim 3 is provided.
In invention of Claim 5, the log data generation means which produces | generates the log data which recorded the processing content with the said money terminal, The log data transmission means which sends the produced | generated log data to a predetermined | prescribed server apparatus, 5. The amount change information transmission according to claim 3, wherein the log data generation unit records a determination result in the log data when the determination unit makes a determination. Providing equipment.
In the invention according to claim 6, a predetermined server is generated by generating log data in which the amount related to the amount change information and the distinction of whether or not the money terminal has been notified of whether or not the amount has been changed are generated. The first log data transmitting means for transmitting to the server and the confirmation log data recording the determination result when the determination is made by the determination means in correspondence with the generated log data is generated and transmitted to a predetermined server The amount change information transmitting apparatus according to claim 3, further comprising a second log data transmitting unit.
In the invention according to claim 7, the predetermined server to which the second log data transmitting means transmits the confirmation log data aggregates a plurality of confirmation log data into one confirmation log data, and The amount change information transmitting apparatus according to claim 6, wherein the apparatus is an aggregation server that transmits the log data to a predetermined server that is a transmission destination of the log data transmission unit.
In the invention according to claim 8, the first log data receiving means for receiving the log data generated by the money amount change information transmitting device according to claim 6 or claim 7, and the money amount change information transmitting device The second log data receiving means for receiving the confirmation log data, and the received log data when the received log data has not been notified from the money terminal that the amount has been changed. From the search means for searching for the log data corresponding to the log data, and the judgment result recorded in the search log data searched, it is confirmed whether or not the money terminal has changed the amount in the process related to the log data And a confirmation means for providing the server.
In the invention according to claim 9, an amount of money amount information is stored as electronic data, and money amount change information is transmitted to a money terminal that changes the stored amount of money value using received amount change information. An amount change information transmission method performed by a change information transmission device, the amount change information transmission device comprising: an amount change information generation means; a first balance acquisition means; an amount change information transmission means; a notification reception means; An amount change information generating step of generating an amount change information by acquiring an amount related to the change by the amount change information generation unit, and an amount of money by the first balance acquisition unit. The first balance acquisition step of acquiring the balance before the change information is transmitted from the money terminal, and the amount change information transmission means, the amount change information generated is sent to the money terminal. An amount change information transmission step, a notification reception step of receiving a notification that the amount has been changed by the transmitted amount change information from the money terminal by the notification reception means, and the notification by the second balance acquisition means. Is provided, a second balance acquisition step of acquiring a current balance from the money terminal, and a money amount change information transmission method characterized by comprising:

本発明によれば、金額変更情報送信前の残高と送信後の残高を取得することにより、貨幣端末に金額変更情報を送信した後に応答が無い場合に、貨幣端末が金額変更処理を行ったか否かを確認することができる。   According to the present invention, whether or not the money terminal has performed the money amount change process when there is no response after sending the money amount change information to the money terminal by acquiring the balance before sending the money amount change information and the balance after the transmission. Can be confirmed.

電子マネーシステムのネットワーク構成を説明するための図である。It is a figure for demonstrating the network structure of an electronic money system. 電子マネーカードのハードウェア的な構成を説明するための図である。It is a figure for demonstrating the hardware-like structure of an electronic money card. 電子マネーカードの機能的な構成を説明するための図である。It is a figure for demonstrating the functional structure of an electronic money card. 携帯電話の機能的な構成を説明するための図である。It is a figure for demonstrating the functional structure of a mobile telephone. 電子マネー端末のハードウェア的な構成を説明するための図である。It is a figure for demonstrating the hardware-like structure of an electronic money terminal. 電子マネーサーバのハードウェア的な構成を説明するための図である。It is a figure for demonstrating the hardware-like structure of an electronic money server. 利用ログデータの論理的な構成を説明するための図である。It is a figure for demonstrating the logical structure of utilization log data. 電子マネー端末と電子マネーカードが行う決済処理を説明するためのフローチャートである。It is a flowchart for demonstrating the payment process which an electronic money terminal and an electronic money card perform. 電子マネー端末が電子マネーサーバに利用ログデータを送信する手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure in which an electronic money terminal transmits utilization log data to an electronic money server. 電子マネーサーバが集計処理を行う手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure in which an electronic money server performs a total process. 変形例に係る電子マネーシステムのネットワーク構成を説明するための図である。It is a figure for demonstrating the network structure of the electronic money system which concerns on a modification. 変形例において、電子マネー端末が電子マネーサーバに各種ログデータを送信する手順を説明するためのフローチャートである。In a modification, it is a flowchart for demonstrating the procedure in which an electronic money terminal transmits various log data to an electronic money server. 変形例において、電子マネーサーバが集計処理を行う手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure which an electronic money server performs a total process in a modification.

(1)実施の形態の概要
電子マネー端末8(図1)は、電子マネーカード6と近距離の無線回線を確立し、電子マネーカード6から現在の(即ち、金額変更情報送信前の)バリュー残高を読み出して記憶する。その後に、電子マネー端末8は、電子マネーカード6に金額変更情報を送信する。
電子マネーカード6は、電子マネー端末8から金額変更情報を受信して、これに基づいてバリュー残高を増減し、金額変更情報を実行した旨の応答を電子マネー端末8に対して行う。
(1) Outline of Embodiment The electronic money terminal 8 (FIG. 1) establishes a short-distance wireless line with the electronic money card 6, and the current value (ie, before sending the amount change information) from the electronic money card 6. The balance is read and stored. Thereafter, the electronic money terminal 8 transmits money amount change information to the electronic money card 6.
The electronic money card 6 receives the amount change information from the electronic money terminal 8, increases or decreases the value balance based on this, and sends a response to the electronic money terminal 8 that the amount change information has been executed.

電子マネー端末8は、所定時間、電子マネーカード6から応答を待ち、応答があった場合は、電子マネーカード6でバリュー残高が更新されたと認識して処理が成功した旨の利用ログデータを生成する。
所定時間待っても応答がない場合、電子マネー端末8は、金額変更情報を再度送信し、リトライを行う。リトライによって電子マネーカード6から応答があった場合、電子マネー端末8は、電子マネーカード6でバリュー残高が更新されたと認識して処理が成功した旨の利用ログデータを生成する。
The electronic money terminal 8 waits for a response from the electronic money card 6 for a predetermined time. When there is a response, the electronic money terminal 8 recognizes that the value balance has been updated in the electronic money card 6 and generates usage log data indicating that the processing has been successful. To do.
If there is no response after waiting for a predetermined time, the electronic money terminal 8 transmits the amount change information again and performs a retry. When there is a response from the electronic money card 6 due to the retry, the electronic money terminal 8 recognizes that the value balance has been updated in the electronic money card 6 and generates usage log data indicating that the processing has been successful.

リトライに対しても応答が無い場合、電子マネー端末8は、電子マネーカード6の現在のバリュー残高(即ち、金額変更情報送信後のバリュー残高)を強制的に読み出す。
電子マネー端末8は、このバリュー残高を、金額変更情報送信前に読み取ったバリュー残高と比較し、バリュー残高の大小関係が正しい場合は(即ち、決済の場合は、金額変更情報送信前残高>現在残高、チャージの場合は逆)、電子マネーカード6でバリュー残高が更新されたと認識して処理が成功した旨の利用ログデータを生成する。
一方、両者が同じ場合、電子マネー端末8は、電子マネーカード6で金額変更情報が実行されなかったと判断し、処理が不成功であった旨の利用ログデータを生成する。
If there is no response to the retry, the electronic money terminal 8 forcibly reads the current value balance of the electronic money card 6 (that is, the value balance after sending the amount change information).
The electronic money terminal 8 compares this value balance with the value balance read before sending the amount change information, and when the magnitude balance of the value balance is correct (that is, for payment, the balance before sending the amount change information> current On the other hand, in the case of a balance or charge, it is recognized that the value balance has been updated in the electronic money card 6, and usage log data indicating that the processing has been successful is generated.
On the other hand, if both are the same, the electronic money terminal 8 determines that the money amount change information has not been executed in the electronic money card 6, and generates usage log data indicating that the processing has been unsuccessful.

このようにして電子マネー端末8で生成された利用ログデータは、電子マネーサーバ2で集計処理される。
電子マネーサーバ2は、利用ログデータのうち、電子マネーカード6で金額変更処理の実行が成功したものは資金決済対象とし、不成功であったものは、資金決済対象外とする。
The usage log data generated by the electronic money terminal 8 in this way is totalized by the electronic money server 2.
The electronic money server 2 sets the usage log data for which money amount change processing has been successfully executed on the electronic money card 6 as a target for fund settlement, and sets the usage log data as unsuccessful as a target for fund settlement.

以上のようにして、電子マネー端末8は、電子マネーカード6に金額変更情報を送信した後に電子マネーカード6から応答が無い場合でも、金額変更情報送信前後のバリュー残高を比較することにより、電子マネーカード6が金額変更情報を実行したか否かを確認することができる。   As described above, even when there is no response from the electronic money card 6 after sending the money amount change information to the electronic money card 6, the electronic money terminal 8 compares the value balance before and after sending the money amount change information. It can be confirmed whether or not the money card 6 has executed the amount change information.

(2)実施の形態の詳細
図1は、電子マネーシステム1のネットワーク構成を示した図である。
電子マネーシステム1は、電子マネーカード6、携帯電話7、電子マネーサーバ2、電子マネー端末8などから構成されており、電子マネー端末8と電子マネーサーバ2はネットワークにて接続可能となっている。
(2) Details of Embodiment FIG. 1 is a diagram showing a network configuration of an electronic money system 1.
The electronic money system 1 includes an electronic money card 6, a mobile phone 7, an electronic money server 2, an electronic money terminal 8, and the like. The electronic money terminal 8 and the electronic money server 2 can be connected via a network. .

電子マネーカード6は、非接触型ICチップを内蔵しており、近距離の無線通信によって電子マネー端末8と接続することができる。具体的には、後述の電子マネー端末8のリーダライタ部に電子マネーカード6を置いたり、かざしたりなどする。
なお、ICチップを接触型とし、電極の接触により電子マネー端末8と接続するように構成してもよい。
このICチップには、電子マネー機能が組み込んであり、この機能により、電子マネーカード6は、電子マネー端末8から金額変更情報を受信して、記憶しているバリューの金額を増額したり(チャージの場合)、減額(決済の場合)したりすることができる。
The electronic money card 6 incorporates a non-contact type IC chip and can be connected to the electronic money terminal 8 by short-range wireless communication. Specifically, the electronic money card 6 is placed or held over a reader / writer unit of the electronic money terminal 8 described later.
The IC chip may be a contact type and connected to the electronic money terminal 8 by electrode contact.
This IC chip incorporates an electronic money function. With this function, the electronic money card 6 receives the amount change information from the electronic money terminal 8 and increases the amount of the stored value (charge). In the case of payment) or reduction (in the case of payment).

ここで、バリューとは、電子マネーシステム1において貨幣価値と対応させた電子データであって、金額を属性として持ち、この金額の増減により通貨と同様の交換価値の移動を生じさせるものである。
なお、バリューの概念には、通貨に限定されず、例えば、ポイントなどの物やサービスと交換可能な交換価値も含めることができる。
Here, the value is electronic data associated with a monetary value in the electronic money system 1 and has a monetary amount as an attribute, and an increase / decrease in the monetary amount causes a transfer of exchange value similar to the currency.
Note that the concept of value is not limited to currency, and can include, for example, exchange value exchangeable with things such as points and services.

チャージの際には、バリューに対応する金額の通貨が現金やクレジットなどによりユーザから徴収され、これがバリューで決済を行った加盟店に決済金額に応じて分配されることによりバリューと通貨との対応が図られている。
このように、電子マネーカード6に内蔵されたICチップは、電子マネー端末8などと通信する端末であって、貨幣価値の金額を電子データとして記憶し、受信した金額変更情報を用いて当該記憶した貨幣価値の金額を変更する貨幣端末として機能している。
At the time of charging, the currency of the amount corresponding to the value is collected from the user by cash or credit, etc., and this is distributed according to the amount of payment to the merchants that settled with the value, so that the correspondence between the value and the currency Is planned.
As described above, the IC chip built in the electronic money card 6 is a terminal that communicates with the electronic money terminal 8 or the like, stores the monetary value as electronic data, and stores the received monetary value using the received amount change information. It functions as a monetary terminal that changes the amount of monetary value.

携帯電話7は、電子マネーカード6と同様のICチップを内蔵する携帯端末であって、電子マネーカードとしての機能を有している。
携帯電話7は、電子マネーカード6と同様に電子マネー端末8と近距離の無線通信を行い、金額変更情報を受信してチャージや決済を行うほか、インターネットなどのネットワークを経由して電子マネーサーバ2から金額変更情報を受信してチャージや決済を行うこともできる。
なお、携帯電話7の他に、PDA(Personal Digital Assistant)などの携帯端末にICチップを実装して電子マネーカード6と同様に使用することもできる。
以下では、電子マネーカード6を用いて説明するが、携帯電話7などに対しても同様な説明が成り立つ。
The cellular phone 7 is a portable terminal incorporating an IC chip similar to the electronic money card 6 and has a function as an electronic money card.
The mobile phone 7 performs short-range wireless communication with the electronic money terminal 8 in the same manner as the electronic money card 6, receives money amount change information, performs charging and settlement, and electronic money server via a network such as the Internet. It is also possible to receive the amount change information from 2 and perform charging or settlement.
In addition to the cellular phone 7, an IC chip can be mounted on a portable terminal such as a PDA (Personal Digital Assistant) and used in the same manner as the electronic money card 6.
In the following, description will be made using the electronic money card 6, but the same description holds for the mobile phone 7 and the like.

加盟店は、電子マネーカード6や携帯電話7によってバリューでの決済やチャージが可能な店舗(コンビニエンスストア、デパート、レストラン、自動販売機、その他の小売店舗、営業車両、その他の移動体など)であり、会計箇所に単数、又は複数の電子マネー端末8を備えている。   Member stores are stores that can be charged or charged with value using electronic money card 6 or mobile phone 7 (convenience stores, department stores, restaurants, vending machines, other retail stores, commercial vehicles, other mobile objects, etc.) Yes, one or a plurality of electronic money terminals 8 are provided at the accounting location.

電子マネー端末8は、電子マネーカード6のICチップに近距離の無線にてアクセスする端末であり、例えば、単独で設置されていたり、あるいは、会計装置(キャッシュレジスタ)などに組み込まれて設置されている。
あるいは、チャージ専用の電子マネー端末8を商業施設の広場に設置したり、自動販売機に決済専用の電子マネー端末8を組み込んで自動販売機での決済に用いたりなどの設置形態もある。
電子マネー端末8は、電子マネーカード6にアクセスして金額変更情報を送信し、チャージや決済を行わせることができる。このように、電子マネー端末8は貨幣端末(ICチップ)に対し、金額変更情報を送信する金額変更情報送信装置として機能している。
The electronic money terminal 8 is a terminal that accesses the IC chip of the electronic money card 6 by short-range wireless communication. For example, the electronic money terminal 8 is installed alone or installed in an accounting apparatus (cash register). ing.
Alternatively, there are also installation forms such as installing an electronic money terminal 8 dedicated for charging in a plaza of a commercial facility, or incorporating an electronic money terminal 8 dedicated for payment into a vending machine and using it for payment at a vending machine.
The electronic money terminal 8 can access the electronic money card 6 and transmit money amount change information to perform charging and settlement. As described above, the electronic money terminal 8 functions as a money amount change information transmitting device that transmits money amount change information to a money terminal (IC chip).

電子マネー端末8は、電子マネーカード6に金額変更情報を送信してバリュー残高を増減させた際に、電子マネーカード6との処理内容を記録した利用ログデータを生成する。
電子マネー端末8は、生成した利用ログデータを記憶しておき、例えば、1日に1回程度、バッチ処理にて電子マネーサーバ2に送信する。
When the electronic money terminal 8 transmits money amount change information to the electronic money card 6 to increase or decrease the value balance, the electronic money terminal 8 generates usage log data that records the processing contents with the electronic money card 6.
The electronic money terminal 8 stores the generated usage log data and transmits it to the electronic money server 2 by batch processing, for example, once a day.

電子マネー端末8は、電子マネーカード6に金額変更情報を送信した場合、電子マネーカード6から送信されてくる応答を受信することにより、電子マネーカード6で金額変更情報が実行されたことを確認するが、電子マネーカード6から応答が無かった場合、電子マネー端末8は、電子マネーカード6の現在のバリュー残高を読み取る。   When the money change information is transmitted to the electronic money card 6, the electronic money terminal 8 confirms that the money change information has been executed by the electronic money card 6 by receiving a response transmitted from the electronic money card 6. However, when there is no response from the electronic money card 6, the electronic money terminal 8 reads the current value balance of the electronic money card 6.

なお、このようにバリュー残高を確認する場合、電子マネー端末8が、例えば、表示や音声などにより残高を確認する旨を担当者に通知するように構成することもできる。
金額変更処理が不成功であった場合、顧客は、金額変更処理が成功したものと思って電子マネーカード6をリーダライタ部39から離したり、あるいは、装置の不調と思って電子マネーカード6をリーダライタ部39にかざし直したりすることも考えられるため、このように担当者に通知を行うように構成すると、担当者から顧客に説明や指示を行って、電子マネーカード6をリーダライタ部39に設置させることができる。
When the value balance is confirmed in this way, the electronic money terminal 8 can be configured to notify the person in charge that the balance is confirmed by, for example, display or voice.
If the money amount change process is unsuccessful, the customer thinks that the money amount change process has succeeded and moves the electronic money card 6 away from the reader / writer unit 39, or thinks that the device is malfunctioning and removes the electronic money card 6. Since it may be possible to hold the reader / writer unit 39 again, if the person in charge is notified in this way, the person in charge explains or gives instructions to the customer, and the electronic money card 6 is inserted into the reader / writer unit 39. Can be installed.

電子マネー端末8は、金額変更情報送信前に、予め電子マネーカード6の処理前のバリュー残高を読み出して記憶しており、現在のバリュー残高を処理前のバリュー残高と比較することにより、電子マネーカード6で金額変更情報が実行されたか否かを確認し、その確認結果を利用ログデータに取引有効フラグとして記録する。
金額変更情報が実行されていた場合、取引有効フラグは「有効」に設定され、実行されていなかった場合は「無効」に設定される。
The electronic money terminal 8 reads and stores the value balance before processing of the electronic money card 6 in advance before sending the amount change information, and compares the current value balance with the value balance before processing, thereby It is confirmed whether or not the amount change information has been executed on the card 6, and the confirmation result is recorded as a transaction valid flag in the usage log data.
When the amount change information has been executed, the transaction validity flag is set to “valid”, and when it has not been executed, it is set to “invalid”.

電子マネーセンタは、電子マネーシステム1の運営事業体であって、電子マネーサーバ2などを用いて電子マネーシステム1の管理を行っている。
電子マネーサーバ2は、ネットワークにより電子マネー端末8、8、8、…に接続されており、電子マネー端末8から利用ログデータを送信してもらい、これらを記憶して加盟店ごとに集計処理を行う。
The electronic money center is an operating entity of the electronic money system 1 and manages the electronic money system 1 using the electronic money server 2 or the like.
The electronic money server 2 is connected to the electronic money terminals 8, 8, 8,... Via the network, receives usage log data from the electronic money terminal 8, stores them, and performs aggregation processing for each member store. Do.

電子マネーサーバ2は、この集計処理を、取引有効フラグが「有効」に設定されている利用ログデータを用いて行い、各加盟店ごとに、チャージした金額を合計すると共に、バリューで決済した金額を合計する。一方、取引有効フラグが「無効」に設定されている利用ログデータは電子マネーサーバ2によって資金決済対象外とされる。
加盟店がチャージした金額は、加盟店から電子マネーセンタへ資金決済され、決済した金額は、電子マネーセンタから加盟店へ資金決済される。
The electronic money server 2 performs this counting process using the usage log data in which the transaction valid flag is set to “valid”, totals the amount charged for each member store, and the amount settled with the value Total. On the other hand, the usage log data in which the transaction validity flag is set to “invalid” is excluded from fund settlement by the electronic money server 2.
The amount charged by the member store is settled to the electronic money center from the member store, and the settled amount is settled to the member store from the electronic money center.

このように、電子マネーサーバ2は、取引有効フラグが「有効」である利用ログデータは、電子マネーカード6でバリュー残高の金額変更が行われているため資金決済対象に含めるが、取引有効フラグが「無効」であるものは電子マネーカード6でバリュー残高の金額変更が行われていないため、資金決済対象には含めない。   As described above, the electronic money server 2 includes the usage log data in which the transaction valid flag is “valid”, since the value balance of the value balance is changed in the electronic money card 6, but is included in the funds settlement target. Is invalid, the value balance of the electronic money card 6 has not been changed and is not included in the funds settlement target.

図2は、電子マネーカード6のハードウェア的な構成の一例を示したブロック図である。
電子マネーカード6は、CPU(Central Processing Unit)21、高周波回路22、アンテナ26、ROM(Read Only Memory)23、RAM(Random Access Memory)24、EEPROM(Electrically Erasable and Programmable ROM)25などを有している。
これらの素子は、ICチップ上に形成されている。ただし、アンテナ26は、電子マネーカード6内部の外縁部付近、又は電子マネーカード6の対角線を軸とする楕円曲線上に張り巡らされた空中線により構成され、端部がICチップに接続されている。
FIG. 2 is a block diagram showing an example of a hardware configuration of the electronic money card 6.
The electronic money card 6 includes a CPU (Central Processing Unit) 21, a high frequency circuit 22, an antenna 26, a ROM (Read Only Memory) 23, a RAM (Random Access Memory) 24, an EEPROM (Electrically Erasable and Programmable ROM) 25, and the like. ing.
These elements are formed on an IC chip. However, the antenna 26 is constituted by an aerial line extending around an elliptical curve around the outer edge of the electronic money card 6 or on the diagonal line of the electronic money card 6, and the end is connected to the IC chip. .

CPU21は、ROM23やEEPROM25に記憶されている各種プログラムに従って情報処理を行う中央処理装置である。
また、CPU21は、アンテナ26、高周波回路22を介して、電子マネー端末8と近距離の無線通信を行うことができる。
The CPU 21 is a central processing unit that performs information processing according to various programs stored in the ROM 23 and the EEPROM 25.
Further, the CPU 21 can perform short-range wireless communication with the electronic money terminal 8 via the antenna 26 and the high-frequency circuit 22.

アンテナ26は、電子マネー端末8などのリーダライタ部に内蔵されたアンテナと電波による送受信を行うためのアンテナである。
また、アンテナ26は、リーダライタ部からの電波によりICチップを駆動するための電力を発電する。
The antenna 26 is an antenna for performing transmission and reception by radio waves with an antenna built in a reader / writer unit such as the electronic money terminal 8.
The antenna 26 generates electric power for driving the IC chip by radio waves from the reader / writer unit.

高周波回路22は、リーダライタ部からアンテナ26に送信されてきた高周波をデジタル信号に変換してCPU21に出力したり、逆にCPU21が出力したデジタル信号を高周波に変換してアンテナ26からリーダライタ部に送出する。   The high frequency circuit 22 converts the high frequency transmitted from the reader / writer unit to the antenna 26 into a digital signal and outputs the digital signal to the CPU 21, or conversely converts the digital signal output by the CPU 21 into a high frequency and converts the digital signal from the antenna 26 to the reader / writer unit. To send.

RAM24は、CPU21が情報処理を行う際のワーキングメモリを提供する随時書き込み読み出し可能なメモリである。
RAM24は、電子マネーカード6に電力が供給されている間、記憶内容を保持することができるが、電力の供給が止まると記憶内容は失われる。RAM24は、CPU21が金額変更処理などを行う際に使用するメモリを提供する。
ROM23は、電子マネーカード6を機能させるための基本的なプログラムやパラメータ、データなどを記憶した読み出し専用メモリである。
The RAM 24 is a readable / writable memory that provides a working memory when the CPU 21 performs information processing.
The RAM 24 can hold the stored content while power is being supplied to the electronic money card 6, but the stored content is lost when the supply of power is stopped. The RAM 24 provides a memory used when the CPU 21 performs a money amount changing process.
The ROM 23 is a read-only memory that stores basic programs, parameters, data, and the like for causing the electronic money card 6 to function.

EEPROM25は、情報を書き込んだり消去したりが可能なROMである。EEPROM25に記憶してある情報は、電子マネーカード6への電力の供給がない場合でも保たれる。
EEPROM25には、電子マネーカード6に電子マネーカードとしての機能を発揮させるための電子マネープログラムが記憶されているほか、バリュー残高や電子マネー機能部ID(後述)などの各種データを格納する電子マネー記憶部29が形成されている。
The EEPROM 25 is a ROM capable of writing and erasing information. Information stored in the EEPROM 25 is maintained even when power is not supplied to the electronic money card 6.
The EEPROM 25 stores an electronic money program for causing the electronic money card 6 to function as an electronic money card, and stores various data such as a value balance and an electronic money function unit ID (described later). A storage unit 29 is formed.

図3は、CPU21で電子マネープログラムを実行した場合に形成される電子マネーカード6の機能的な構成を模式的に表したブロック図である。
EEPROM25に形成された電子マネー記憶部29には、電子マネー機能部ID、バリュー残高、ログデータなどを記憶している。
電子マネー機能部IDは、ICチップの電子マネー機能に一意に付与したID情報であり、電子マネー機能部IDにより、電子マネーサーバ2はICチップ(即ち、当該ICチップが組み込まれた電子マネーカード6や携帯電話7)を特定できる。
FIG. 3 is a block diagram schematically showing a functional configuration of the electronic money card 6 formed when the CPU 21 executes the electronic money program.
The electronic money storage unit 29 formed in the EEPROM 25 stores an electronic money function unit ID, a value balance, log data, and the like.
The electronic money function unit ID is ID information uniquely assigned to the electronic money function of the IC chip, and the electronic money server 2 allows the electronic money server 2 to use the IC chip (that is, an electronic money card in which the IC chip is incorporated). 6 or mobile phone 7).

バリュー残高は、現在記憶しているバリューの残高であり、この残高分だけ決済能力があることになる。
ログデータは、電子マネー端末8や電子マネーサーバ2と通信を行った処理内容を記録したログデータであり、処理日時分秒、チャージ金額、決済金額、処理した電子マネー端末8の端末IDなどから構成されている。
The value balance is the balance of the value currently stored, and has a settlement capacity corresponding to this balance.
The log data is log data in which processing contents communicated with the electronic money terminal 8 and the electronic money server 2 are recorded. The processing date and time, the charge amount, the payment amount, the terminal ID of the processed electronic money terminal 8, and the like are recorded. It is configured.

端末通信部27は、アンテナ26や高周波回路22などを用いて構成され、電子マネー端末8のリーダライタ部39から金額変更情報やその他のコマンドなどを受信してバリュー処理部28に入力するなど、電子マネー端末8とバリュー処理部28の通信を仲介する。
バリュー処理部28は、各種コマンドを実行する情報処理部である。
コマンドには、金額変更情報(後述の上書きコマンド、加算コマンド、減算コマンドなどで構成されている)、ID参照コマンド、残高参照コマンドなどがある。
The terminal communication unit 27 is configured using the antenna 26, the high frequency circuit 22, and the like, receives money amount change information and other commands from the reader / writer unit 39 of the electronic money terminal 8, and inputs them to the value processing unit 28. Mediates communication between the electronic money terminal 8 and the value processing unit 28.
The value processing unit 28 is an information processing unit that executes various commands.
The commands include amount change information (consisting of an overwrite command, an addition command, a subtraction command, etc. described later), an ID reference command, a balance reference command, and the like.

金額変更情報は、バリュー処理部28に、金額変更情報で指定されている金額分だけ電子マネー記憶部29に記憶されているバリューの残高を増減させ、その処理履歴をログデータに記録させるコマンドであり、次に述べる加算コマンド、減算コマンド、上書きコマンドなどにより構成することができる。   The amount change information is a command that causes the value processing unit 28 to increase or decrease the value balance stored in the electronic money storage unit 29 by the amount specified in the amount change information and record the processing history in the log data. Yes, it can be composed of an addition command, a subtraction command, an overwrite command, and the like described below.

加算コマンドは、バリュー処理部28に、電子マネー記憶部29に記憶された金額を加算コマンドに付随するパラメータで指定される金額分だけ増額させるコマンドである。
一方、減算コマンドは、バリュー処理部28に、電子マネー記憶部29に記憶された金額を減算コマンドに付随するパラメータで指定される金額分だけ減額させるコマンドである。
例えば、電子マネー記憶部29に記憶されたバリュー残高が5000円で決済金額が1000円の場合、電子マネー端末8は、1000円を減額する減算コマンドを生成して端末通信部27に送信する。そして、バリュー処理部28がこの減算コマンドを実行して、電子マネー記憶部29に記憶しているバリューの残高を5000円−1000円=4000円に更新する。
バリュー処理部28は、加算コマンドの場合も同様に処理する。
The addition command is a command for causing the value processing unit 28 to increase the amount stored in the electronic money storage unit 29 by the amount specified by the parameter accompanying the addition command.
On the other hand, the subtraction command is a command that causes the value processing unit 28 to reduce the amount stored in the electronic money storage unit 29 by the amount specified by the parameter accompanying the subtraction command.
For example, when the value balance stored in the electronic money storage unit 29 is 5000 yen and the settlement amount is 1000 yen, the electronic money terminal 8 generates a subtraction command for reducing 1000 yen and transmits it to the terminal communication unit 27. Then, the value processing unit 28 executes this subtraction command and updates the balance of the value stored in the electronic money storage unit 29 to 5000 yen-1000 yen = 4000 yen.
The value processing unit 28 performs the same processing for the addition command.

上書きコマンドは、バリュー処理部28に、電子マネー記憶部29に記憶された金額を上書きコマンドに付随するパラメータで指定される金額で上書きさせるコマンドである。
金額変更情報として上書きコマンドを使用する場合は、加減算後のバリュー残高は電子マネー端末8が計算し、この金額でバリュー処理部28に電子マネー記憶部29のバリュー残高を上書きさせる。
例えば、電子マネー記憶部29に記憶されたバリュー残高が5000円で決済金額が1000円の場合を考える。
電子マネー端末8は、電子マネーカード6から現在のバリュー残高5000円を読み取り、決済後の残高5000円−1000円=4000円を計算する。そして、電子マネー端末8は、バリューの残高を4000円に上書きさせる上書きコマンドを生成して端末通信部27に送信する。そして、バリュー処理部28がこの上書きコマンドを実行して、電子マネー記憶部29が記憶しているバリューの残高を4000円に更新する。
The overwrite command is a command for causing the value processing unit 28 to overwrite the amount stored in the electronic money storage unit 29 with the amount specified by the parameter accompanying the overwrite command.
When the overwrite command is used as the amount change information, the electronic money terminal 8 calculates the value balance after addition / subtraction, and causes the value processing unit 28 to overwrite the value balance in the electronic money storage unit 29 with this amount.
For example, consider a case where the value balance stored in the electronic money storage unit 29 is 5000 yen and the settlement amount is 1000 yen.
The electronic money terminal 8 reads the current value balance of 5000 yen from the electronic money card 6 and calculates a balance of 5000 yen-1000 yen = 4000 yen after settlement. Then, the electronic money terminal 8 generates an overwrite command for overwriting the value balance to 4000 yen and transmits it to the terminal communication unit 27. Then, the value processing unit 28 executes this overwrite command, and updates the value balance stored in the electronic money storage unit 29 to 4000 yen.

電子マネー端末8は、以上に説明した加減算コマンドを用いるように構成してもよいし、又は上書きコマンドを用いるよう構成してもよい。
あるいは、加減算コマンドと上書きコマンドを組み合わせることも可能である。
例えば、チャージには加算コマンドを用い、決済には上書きコマンドを用いたり、あるいはチャージに上書きコマンドを用い、決済には減算コマンドを用いることができる。
このように、バリュー処理部28は、端末通信部27などを介して金額変更情報送信装置(電子マネー端末8や電子マネーサーバ2)から金額変更情報を受信する金額変更情報受信手段として機能し、また、受信した金額変更情報を用いて電子マネー記憶部29に記憶した金額を変更する金額変更手段として機能している。
The electronic money terminal 8 may be configured to use the addition / subtraction command described above, or may be configured to use an overwrite command.
Alternatively, an addition / subtraction command and an overwrite command can be combined.
For example, an addition command can be used for charging, an overwrite command can be used for settlement, or an overwrite command can be used for charging, and a subtraction command can be used for settlement.
In this manner, the value processing unit 28 functions as a money amount change information receiving unit that receives money amount change information from the money amount change information transmitting device (the electronic money terminal 8 or the electronic money server 2) via the terminal communication unit 27 or the like. Moreover, it functions as an amount change means for changing the amount stored in the electronic money storage unit 29 using the received amount change information.

ID参照コマンドは、バリュー処理部28に電子マネー機能部IDを読み出させるコマンドであり、バリュー処理部28は、ID参照コマンドが入力されると、電子マネー記憶部29から電子マネー機能部IDを読み出して出力する。
残高参照コマンドは、バリュー処理部28にバリュー残高を読み出させるコマンドであり、バリュー処理部28は残高参照コマンドが入力されると電子マネー記憶部29からバリュー残高を読み出して出力する。
The ID reference command is a command for causing the value processing unit 28 to read the electronic money function unit ID. When the ID reference command is input, the value processing unit 28 obtains the electronic money function unit ID from the electronic money storage unit 29. Read and output.
The balance reference command is a command for causing the value processing unit 28 to read the value balance, and when the balance reference command is input, the value processing unit 28 reads the value balance from the electronic money storage unit 29 and outputs it.

図4は、携帯電話7の機能的な構成の一例を示した概念図である。
携帯電話7は、電話機能部10とICチップ12を備えており、両者はインターフェース部11によって接続している。
ICチップ12は、電子マネーカード6に組み込まれているICチップと同様のICチップであり、電子マネー機能を実現することができる。
なお、図4では、ICチップ12で電子マネープログラムを実行し、ICチップ12に電子マネー機能部が形成されている場合を示している。
FIG. 4 is a conceptual diagram showing an example of a functional configuration of the mobile phone 7.
The mobile phone 7 includes a telephone function unit 10 and an IC chip 12, and both are connected by an interface unit 11.
The IC chip 12 is an IC chip similar to the IC chip incorporated in the electronic money card 6 and can realize an electronic money function.
FIG. 4 shows a case where an electronic money program is executed on the IC chip 12 and an electronic money function unit is formed on the IC chip 12.

電話機能部10は、通話を行う通話モードとアプリケーションモードを有しており、ユーザの操作により切り替えることができる。
電話機能部10は、CPUと、各種のアプリケーションプログラムを記憶した記憶部を備えており、アプリケーションモードにてこれらのアプリケーションプログラムをCPUで実行することにより各種のアプリケーション機能を発揮することができる。
The telephone function unit 10 has a call mode for performing a call and an application mode, and can be switched by a user operation.
The telephone function unit 10 includes a CPU and a storage unit that stores various application programs, and can execute various application functions by executing these application programs on the CPU in an application mode.

電子マネーアプリケーション部15は、電話機能部10のCPUで電子マネーアプリケーションプログラムを実行することにより形成される。
電子マネーアプリケーション部15は、電子マネーサーバ2とICチップ12の両方にアクセスすることができ、電子マネーサーバ2とICチップ12の通信を仲介することができる。
このため、携帯電話7は、電子マネーサーバ2から金額変更情報や各種コマンドを受信してICチップ12に入力し、ICチップ12にチャージ、決済などの各機能を行わせることができる。
The electronic money application unit 15 is formed by executing an electronic money application program by the CPU of the telephone function unit 10.
The electronic money application unit 15 can access both the electronic money server 2 and the IC chip 12 and can mediate communication between the electronic money server 2 and the IC chip 12.
For this reason, the mobile phone 7 can receive the money amount change information and various commands from the electronic money server 2 and input them to the IC chip 12 to cause the IC chip 12 to perform various functions such as charging and settlement.

また、電子マネーアプリケーション部15は、ICチップ12に記憶されているバリューの残高を携帯電話7のディスプレイに表示したり、あるいは、ICチップ12に固有のID情報である電子マネー機能部IDをICチップ12から読み出してディスプレイに表示したりなど、ユーザ向けの各種機能を発揮することができる。   Further, the electronic money application unit 15 displays the balance of the value stored in the IC chip 12 on the display of the mobile phone 7, or the electronic money function unit ID, which is ID information unique to the IC chip 12, is displayed in the IC. Various functions for the user such as reading from the chip 12 and displaying on the display can be exhibited.

ICチップ12は、インターフェース部11によって電子マネーアプリケーション部15と接続している。
ICチップ12には、電子マネーカード6と同様に、ICチップ内で、EEPROMに記憶された電子マネープログラムをCPUが実行することにより、端末通信部16、バリュー処理部17、電子マネー記憶部18などが形成される。これらの機能は、図3の電子マネーカード6の場合と同様である。
The IC chip 12 is connected to the electronic money application unit 15 by the interface unit 11.
Similar to the electronic money card 6, the IC chip 12 has a terminal communication unit 16, a value processing unit 17, and an electronic money storage unit 18 when the CPU executes an electronic money program stored in the EEPROM within the IC chip. Etc. are formed. These functions are the same as those of the electronic money card 6 shown in FIG.

バリュー処理部17は、端末通信部16を介して電子マネー端末8と通信し、電子マネーカード6と同様の情報処理(チャージ、決済など)を行うほか、電子マネーアプリケーション部15を介して電子マネーサーバ2と通信して同様の情報処理を行うことができる。
電子マネー記憶部18は、電子マネー機能部ID、バリュー残高、ログデータなどを記憶している。
The value processing unit 17 communicates with the electronic money terminal 8 via the terminal communication unit 16 and performs the same information processing (charging, settlement, etc.) as the electronic money card 6, and electronic money via the electronic money application unit 15. Similar information processing can be performed by communicating with the server 2.
The electronic money storage unit 18 stores an electronic money function unit ID, a value balance, log data, and the like.

図5は、電子マネー端末8のハードウェア的な構成の一例を示した図である。
電子マネー端末8は、CPU31、ROM33、RAM34、通信制御部35、記憶部36、入力部37、出力部38、リーダライタ部39などがバスラインで接続されて構成されている。
FIG. 5 is a diagram illustrating an example of a hardware configuration of the electronic money terminal 8.
The electronic money terminal 8 includes a CPU 31, a ROM 33, a RAM 34, a communication control unit 35, a storage unit 36, an input unit 37, an output unit 38, a reader / writer unit 39, and the like connected by a bus line.

CPU31は、所定のプログラムに従って情報処理を行うほか、電子マネー端末8全体の制御などを行う。
本実施の形態では、CPU31は、金額変更情報を電子マネーカード6に送信してチャージや決済を行わせて利用ログデータを生成するほか、電子マネーカード6から応答が無かった場合に、リトライを行ったり、現在バリュー残高を電子マネーカード6から読み出して金額変更処理が電子マネーカード6で実行されたか否かの確認処理を行う。
The CPU 31 performs information processing according to a predetermined program, and controls the entire electronic money terminal 8.
In the present embodiment, the CPU 31 transmits money amount change information to the electronic money card 6 to generate charge log and payment to generate usage log data. In addition, when there is no response from the electronic money card 6, the CPU 31 performs a retry. Or the current value balance is read from the electronic money card 6 and a confirmation process is performed as to whether or not the money amount change process has been executed by the electronic money card 6.

ROM33は、電子マネー端末8を動作させるための基本的なプログラムやパラメータなどを記憶した読み出し専用メモリである。
RAM34は、CPU31のワーキングメモリを提供したり、記憶部36に記憶されたプログラムやデータをロードして記憶したりなどする随時書き込み読み出し可能なメモリである。
The ROM 33 is a read-only memory that stores basic programs and parameters for operating the electronic money terminal 8.
The RAM 34 is a readable / writable memory that provides a working memory for the CPU 31 or loads and stores a program or data stored in the storage unit 36.

通信制御部35は、ネットワークを介して電子マネー端末8を電子マネーサーバ2に接続する接続装置である。
記憶部36は、例えばハードディスクやその他の記憶媒体と、これらを駆動する駆動装置から構成されており、各種プログラムを格納したプログラム格納部42、データを格納したデータ格納部44などから構成されている。
The communication control unit 35 is a connection device that connects the electronic money terminal 8 to the electronic money server 2 via a network.
The storage unit 36 includes, for example, a hard disk and other storage media, and a drive device that drives them, and includes a program storage unit 42 that stores various programs, a data storage unit 44 that stores data, and the like. .

プログラム格納部42には、電子マネー端末8を機能させるための基本的なプログラムであるOSや、電子マネーカード6にアクセスしてチャージや決済を行わせたり、応答が無かった場合に、リトライやバリュー残高参照による確認処理を行うためのプログラムなどが記憶されている。
データ格納部44には、電子マネーカード6との取引履歴である利用ログデータなどを記憶している。この利用ログデータは、バッチ処理にて電子マネーサーバ2に送信される。
In the program storage unit 42, an OS that is a basic program for causing the electronic money terminal 8 to function, the electronic money card 6 to be charged or settled, and when there is no response, a retry or A program for performing a confirmation process by referring to the value balance is stored.
The data storage unit 44 stores usage log data that is a transaction history with the electronic money card 6. This usage log data is transmitted to the electronic money server 2 by batch processing.

入力部37は、例えば、キーボード、バーコードリーダなどの入力装置を備えており、商品コードや決済金額、チャージ金額などが入力できるようになっている。
出力部38は、例えば、液晶表示装置やプリンタなどに接続されており、顧客や加盟店の担当者に情報を提示するようになっている。
リーダライタ部39は、アンテナを内蔵しており、電子マネーカード6のICチップと無線通信を行う。
The input unit 37 includes an input device such as a keyboard and a barcode reader, for example, and can input a product code, a settlement amount, a charge amount, and the like.
The output unit 38 is connected to, for example, a liquid crystal display device or a printer, and presents information to a customer or a member of a member store.
The reader / writer unit 39 has a built-in antenna and performs wireless communication with the IC chip of the electronic money card 6.

図6は、電子マネーサーバ2のハードウェア的な構成の一例を示した図である。
電子マネーサーバ2は、CPU51、ROM52、RAM54、通信制御部53、記憶部55などがバスラインで接続されて構成されている。
CPU51は、所定のプログラムに従って各種の情報処理を行う中央処理装置である。本実施の形態では、電子マネー端末8から利用ログデータを受信して集計処理を行う。
FIG. 6 is a diagram illustrating an example of a hardware configuration of the electronic money server 2.
The electronic money server 2 is configured by connecting a CPU 51, a ROM 52, a RAM 54, a communication control unit 53, a storage unit 55, and the like through a bus line.
The CPU 51 is a central processing unit that performs various types of information processing according to a predetermined program. In the present embodiment, usage log data is received from the electronic money terminal 8 and totalization processing is performed.

ROM52は、読み出し専用のメモリであり、電子マネーサーバ2を動作させるための基本的なプログラムやパラメータなどが記憶されている。
RAM54は、読み書き可能なメモリであって、CPU51のワーキングメモリを提供したり、記憶部55に記憶されたプログラムやデータをロードして記憶したりなどする。
通信制御部53は、電子マネー端末8と通信するための制御部である。
The ROM 52 is a read-only memory, and stores basic programs and parameters for operating the electronic money server 2.
The RAM 54 is a readable / writable memory, and provides a working memory for the CPU 51, loads and stores programs and data stored in the storage unit 55, and the like.
The communication control unit 53 is a control unit for communicating with the electronic money terminal 8.

記憶部55は、例えばハードディスクなどの大容量の記憶装置を用いて構成されており、各種プログラムを格納したプログラム格納部56、データを格納したデータ格納部57などから構成されている。
プログラム格納部56には、電子マネーサーバ2を機能させるための基本的なプログラムであるOSや、利用ログデータや確認ログデータを解析して集計するためのプログラム、その他のプログラムが格納されている。
データ格納部57には、加盟店の情報を記憶した加盟店データベース、電子マネーカード6との利用ログデータを記憶した取引データベースなどが格納されている。
The storage unit 55 is configured by using a large-capacity storage device such as a hard disk, and includes a program storage unit 56 that stores various programs, a data storage unit 57 that stores data, and the like.
The program storage unit 56 stores an OS that is a basic program for causing the electronic money server 2 to function, a program for analyzing and summing usage log data and confirmation log data, and other programs. .
The data storage unit 57 stores a member store database storing member store information, a transaction database storing use log data with the electronic money card 6, and the like.

図7は、利用ログデータの論理的な構成の1例を示した図である。
利用ログデータは、「電子マネー機能部ID」、「取引金額」、「取引日時分秒」、「加盟店ID」、「取引有効フラグ」、その他の項目から構成されている。
「電子マネー機能部ID」には、電子マネー端末8が処理を行った電子マネーカード6の電子マネー機能部IDが記録される。
「取引金額」には、決済・チャージの別と、決済又はチャージを行った金額が記録される。
FIG. 7 is a diagram illustrating an example of a logical configuration of usage log data.
The usage log data includes “electronic money function unit ID”, “transaction amount”, “transaction date / time / minute / second”, “member store ID”, “transaction valid flag”, and other items.
In the “electronic money function unit ID”, the electronic money function unit ID of the electronic money card 6 processed by the electronic money terminal 8 is recorded.
In “Transaction Amount”, the amount of settlement or charge and the amount of settlement or charge are recorded.

「取引日時分秒」には、電子マネー端末8が電子マネーカード6と処理を行った年月日時分秒が記録される。
「加盟店ID」には、電子マネー端末8が設置されている加盟店のID情報である加盟店IDが記録される。
In “transaction date / time / minute / second”, the year / month / day / hour / minute / second when the electronic money terminal 8 performed processing with the electronic money card 6 is recorded.
In the “member store ID”, a member store ID which is ID information of the member store in which the electronic money terminal 8 is installed is recorded.

「取引有効フラグ」は、電子マネーカード6で金額変更処理が成功したか否かがフラグ情報として記録される。電子マネーカード6で金額変更情報による処理が行われていた場合はフラグとして「有効」が記録され、金額変更情報による処理が行われていなかった場合は「無効」が記録される。   In the “transaction valid flag”, whether or not the money amount changing process is successful in the electronic money card 6 is recorded as flag information. “Valid” is recorded as a flag when the electronic money card 6 is processed with the amount change information, and “invalid” is recorded when the processing with the amount change information is not performed.

なお、リトライ不成功後のバリュー残高読み出し時にユーザが電子マネーカード6をリーダライタ部39から持ち去ったり、あるいは、落雷などによって電子マネーカード6が故障したりなど特殊な異常事態が発生した場合には、バリュー残高の確認が行えないことがある。
このような例外的な場合には、取引有効フラグとして「例外」を記録し、電子マネーセンタが個別に対処する。
When a special abnormal situation occurs such as when the user takes away the electronic money card 6 from the reader / writer unit 39 when reading the value balance after unsuccessful retry or the electronic money card 6 breaks down due to a lightning strike or the like. , Value balance may not be confirmed.
In such an exceptional case, an “exception” is recorded as a transaction valid flag, and the electronic money center handles it individually.

利用ログデータには、その他の項目として、例えば、処理を行った電子マネー端末8のID情報である「端末ID」、ICチップに固有のID情報であるICチップID、電子マネー端末8の取引通番である「端末取引通番」などを記録することもできる。   In the usage log data, as other items, for example, “terminal ID” that is ID information of the electronic money terminal 8 that performed the processing, IC chip ID that is ID information unique to the IC chip, transaction of the electronic money terminal 8 A serial number such as “terminal transaction serial number” can also be recorded.

次に、図8のフローチャートを用いて電子マネーカード6と電子マネー端末8が行う決済処理について説明する。
なお、以下の処理は、電子マネーカード6のCPU21と、電子マネー端末8のCPU31が協働して行うものである。
また、チャージ処理も同様の手順で行うことができる。
Next, settlement processing performed by the electronic money card 6 and the electronic money terminal 8 will be described using the flowchart of FIG.
The following processing is performed in cooperation with the CPU 21 of the electronic money card 6 and the CPU 31 of the electronic money terminal 8.
The charge process can also be performed in the same procedure.

まず、顧客は、リーダライタ部39に電子マネーカード6を置き、加盟店の担当者は、電子マネー端末8に決済金額を入力する。
電子マネー端末8は、リーダライタ部39に電子マネーカード6が置かれると、これを検知して電子マネーカード6との通信を開始し、フローチャートに図示しないが、電子マネーカード6にID参照コマンドを送信して、電子マネーカード6に電子マネー機能部IDの送信を要求する。
電子マネーカード6は、ID参照コマンドを受信してこれを実行し、電子マネー記憶部29から電子マネー機能部IDを読み取って電子マネー端末8に送信する。
そして、電子マネー端末8は、電子マネーカード6から電子マネー機能部IDを受信してRAM34(図5)などに記憶する。
First, the customer places the electronic money card 6 on the reader / writer unit 39, and the member in charge of the member store inputs the payment amount to the electronic money terminal 8.
When the electronic money card 6 is placed on the reader / writer unit 39, the electronic money terminal 8 detects this and starts communication with the electronic money card 6, and although not shown in the flowchart, the electronic money card 6 has an ID reference command. To request the electronic money card 6 to transmit the electronic money function unit ID.
The electronic money card 6 receives and executes the ID reference command, reads the electronic money function unit ID from the electronic money storage unit 29, and transmits it to the electronic money terminal 8.
The electronic money terminal 8 receives the electronic money function unit ID from the electronic money card 6 and stores it in the RAM 34 (FIG. 5) or the like.

次に、電子マネー端末8は、電子マネーカード6に残高参照コマンドを送信して、電子マネーカード6の現在のバリュー残高(即ち、金額変更処理前のバリュー残高)を電子マネーカード6に要求する(ステップ5)。   Next, the electronic money terminal 8 transmits a balance reference command to the electronic money card 6 and requests the electronic money card 6 for the current value balance of the electronic money card 6 (that is, the value balance before the amount change processing). (Step 5).

電子マネーカード6は、残高参照コマンドを受信してこれを実行し、電子マネー記憶部29から現在のバリュー残高を読み取って、電子マネー端末8に送信する(ステップ10)。
電子マネー端末8は、電子マネーカード6からバリュー残高を受信し、これをRAM34などに記憶する(ステップ15)。
このように、電子マネー端末8は、金額変更情報を送信する前の残高を、貨幣端末から取得する第1の残高取得手段を備えている。
次に、電子マネー端末8は、決済金額分のバリューを減額する金額変更情報を生成して電子マネーカード6に送信する(ステップ20)。
このように、電子マネー端末8は、変更に係る金額を取得して金額変更情報を生成する金額変更情報生成手段と、貨幣端末にこの金額変更情報を送信する金額変更情報送信手段と、を備えている。
The electronic money card 6 receives and executes the balance reference command, reads the current value balance from the electronic money storage unit 29, and transmits it to the electronic money terminal 8 (step 10).
The electronic money terminal 8 receives the value balance from the electronic money card 6 and stores it in the RAM 34 (step 15).
Thus, the electronic money terminal 8 is provided with the 1st balance acquisition means which acquires the balance before transmitting money amount change information from a money terminal.
Next, the electronic money terminal 8 generates amount change information for reducing the value corresponding to the settlement amount and transmits it to the electronic money card 6 (step 20).
As described above, the electronic money terminal 8 includes an amount change information generation unit that acquires the amount related to the change and generates the amount change information, and an amount change information transmission unit that transmits the amount change information to the money terminal. ing.

電子マネーカード6は、電子マネー端末8から金額変更情報を受信し、これを用いて電子マネー記憶部29に記憶されているバリュー残高を決済金額分だけ減額してこれを更新する。
電子マネーカード6は、バリュー残高の更新が成功すると、所定の通知を電子マネー端末8に送信することにより、金額変更処理が完了した旨の応答を電子マネー端末8に対して行うことになっており、金額変更処理が完了した場合は電子マネー端末8に所定の通知を送信して応答を行う(ステップ25)。
The electronic money card 6 receives the amount change information from the electronic money terminal 8, and uses this to reduce the value balance stored in the electronic money storage unit 29 by the payment amount and update it.
When the update of the value balance is successful, the electronic money card 6 sends a predetermined notification to the electronic money terminal 8 to give a response to the electronic money terminal 8 that the amount change processing is completed. If the amount change processing is completed, a predetermined notification is transmitted to the electronic money terminal 8 to respond (step 25).

電子マネー端末8は、電子マネーカード6に金額変更情報を送信した後、所定時間の間、電子マネーカード6からの応答を待つ。
電子マネー端末8は、所定時間内に電子マネーカード6から応答があった場合(即ち、所定の通知を電子マネーカード6から受信した場合)、電子マネーカード6で金額変更処理が成功したと判断する(ステップ30;Y)。そして、電子マネー端末8は、取引有効フラグを「有効」として利用ログデータを生成し(ステップ35)、データ格納部44に記憶する。
このように、電子マネー端末8は、貨幣端末から金額変更情報によって金額を変更した旨の通知を受ける通知受信手段を備えている。
After transmitting the money amount change information to the electronic money card 6, the electronic money terminal 8 waits for a response from the electronic money card 6 for a predetermined time.
When the electronic money terminal 8 receives a response from the electronic money card 6 within a predetermined time (that is, when a predetermined notification is received from the electronic money card 6), the electronic money terminal 8 determines that the amount change processing has been successful with the electronic money card 6. (Step 30; Y). Then, the electronic money terminal 8 generates usage log data by setting the transaction valid flag to “valid” (step 35) and stores it in the data storage unit 44.
As described above, the electronic money terminal 8 includes a notification receiving unit that receives notification from the money terminal that the amount has been changed based on the amount change information.

所定時間内に電子マネーカード6から応答が無かった場合、電子マネー端末8は、電子マネーカード6に金額変更情報を再度送信してリトライを行う。
リトライによっても電子マネーカード6から応答が無かった場合、電子マネー端末8は、電子マネーカード6で金額変更処理が行われたか否かが不明な状態と認識する(ステップ30;N)。
なお、リトライは、複数回行うように構成することもできるし、あるいはリトライを行わないように構成することもできる。
When there is no response from the electronic money card 6 within a predetermined time, the electronic money terminal 8 transmits the amount change information to the electronic money card 6 again and performs a retry.
If there is no response from the electronic money card 6 even after retrying, the electronic money terminal 8 recognizes whether or not the money amount change processing has been performed on the electronic money card 6 (step 30; N).
The retry can be configured to be performed a plurality of times, or can be configured not to perform the retry.

このように、電子マネー端末8は、電子マネーカード6で金額変更処理が行われたか否かが不明であると認識すると、電子マネーカード6に残高参照コマンドを送信し、電子マネーカード6に現在のバリュー残高の通知を要求する(ステップ40)。
この際に、電子マネー端末8は、表示や音声などにより、バリュー残高の確認をする旨を担当者などに通知することもできる。
このように、電子マネー端末8は、電子マネーカード6から応答が無かった場合(所定の通知を受信しなかった場合)、貨幣端末から現在の残高を取得する第2の残高取得手段を備えている。
電子マネーカード6は、電子マネー端末8から残高参照コマンドを受信してこれを実行し、電子マネー記憶部29からバリュー残高を読み取って電子マネー端末8に送信する(ステップ45)。
As described above, when the electronic money terminal 8 recognizes that it is unknown whether or not the money amount change process has been performed on the electronic money card 6, it transmits a balance reference command to the electronic money card 6, Request for notification of the value balance (step 40).
At this time, the electronic money terminal 8 can notify the person in charge of confirming the value balance by display or voice.
As described above, the electronic money terminal 8 includes the second balance acquisition means for acquiring the current balance from the money terminal when there is no response from the electronic money card 6 (when a predetermined notification is not received). Yes.
The electronic money card 6 receives and executes a balance reference command from the electronic money terminal 8, reads the value balance from the electronic money storage unit 29, and transmits it to the electronic money terminal 8 (step 45).

電子マネー端末8は、電子マネーカード6から現在のバリュー残高を受信し、ステップ15で記憶した処理前のバリュー残高と比較する。
比較の結果、現在のバリュー残高が、ステップ15で記憶しておいたバリュー残高よりも少ない場合、電子マネー端末8は、電子マネーカード6で減額による金額変更処理が成功したと判断する。
一方、現在のバリュー残高とステップ15で記憶しておいたバリュー残高が等しい場合、電子マネー端末8は、電子マネーカード6での金額変更処理が不成功であったと判断する。
このように、電子マネー端末8は、第1の残高取得手段で取得した残高(金額変更情報送信前のバリュー残高)と、第2の残高取得手段で取得した残高(現在のバリュー残高)と、を比較する比較手段と、この比較手段による比較結果から、貨幣端末で金額変更情報による金額変更が行われたか否かを判断する判断手段を備えている。
The electronic money terminal 8 receives the current value balance from the electronic money card 6 and compares it with the value balance before processing stored in step 15.
As a result of the comparison, if the current value balance is smaller than the value balance stored in step 15, the electronic money terminal 8 determines that the amount change processing by the reduction is successful in the electronic money card 6.
On the other hand, when the current value balance and the value balance stored in step 15 are the same, the electronic money terminal 8 determines that the amount change processing in the electronic money card 6 has been unsuccessful.
As described above, the electronic money terminal 8 has the balance acquired by the first balance acquisition unit (value balance before sending the amount change information), the balance acquired by the second balance acquisition unit (current value balance), And a determination means for determining whether or not the money amount change by the money amount change information has been performed at the money terminal based on the comparison result by the comparison means.

次に、電子マネー端末8は、バリュー残高の確認処理を行った後、利用ログデータを生成してデータ格納部44に記憶する(ステップ50)。
電子マネー端末8は、利用ログデータの取引有効フラグを、金額変更処理が成功していた場合は「有効」に設定し、不成功であった場合は「無効」に設定する。
また、例えば、ユーザが電子マネーカード6を持ち去ってしまったりなどしてバリュー残高の確認ができなかった場合は「例外」に設定する。
Next, the electronic money terminal 8 performs value balance confirmation processing, generates usage log data, and stores it in the data storage unit 44 (step 50).
The electronic money terminal 8 sets the transaction valid flag of the usage log data to “valid” when the amount change processing is successful, and to “invalid” when it is unsuccessful.
Further, for example, if the value balance cannot be confirmed because the user has taken away the electronic money card 6 or the like, “exception” is set.

以上のようにして、電子マネー端末8は、金額変更情報送信前のバリュー残高と金額変更情報送信後のバリュー残高を比較することにより、電子マネーカード6で金額変更処理が行われたか否かを確認することができる。
なお、上記の例では、金額変更処理が不成功であった場合は、取引有効フラグを「無効」とする利用ログデータを生成して処理を終了したが、金額変更処理が不成功であったことを確認した場合に更にリトライを行うように構成することもできる。
このように、電子マネー端末8は、判断手段が、金額変更が行われていないと判断した場合に、金額変更情報送信手段は、再度貨幣端末に金額変更情報を送信するように(即ち、リトライするように)構成することもできる。
As described above, the electronic money terminal 8 compares the value balance before sending the amount change information with the value balance after sending the amount change information to determine whether or not the amount change process has been performed on the electronic money card 6. Can be confirmed.
In the above example, if the amount change processing was unsuccessful, the usage log data with the transaction valid flag set to “invalid” was generated and the processing was terminated, but the amount change processing was unsuccessful. It can also be configured to retry further when it is confirmed.
In this way, when the electronic money terminal 8 determines that the amount change has not been performed, the amount change information transmission unit transmits the amount change information to the money terminal again (that is, retry). Can also be configured.

また、現在のバリュー残高と記憶しておいたバリュー残高の大小関係だけでなく、金額の差額の確認を行うように構成することもできる。
この場合、電子マネー端末8は、現在のバリュー残高が、ステップ15で記憶したバリュー残高から決済した金額を減算したものと等しいか否かを確認し、等しい場合は、金額変更処理が成功したものと認識し、等しくない場合は、不成功であったと認識する。
Further, not only the magnitude relationship between the current value balance and the stored value balance, but also the amount difference can be confirmed.
In this case, the electronic money terminal 8 checks whether or not the current value balance is equal to the value balance subtracted from the value balance stored in step 15, and if it is equal, the money amount change process has been successful. If it is not equal, it is recognized as unsuccessful.

以上の例は決済の場合であったが、電子マネー端末8と電子マネーカード6は、チャージの場合も同様にして処理を行う。
チャージの場合は、ステップ15で記憶した処理前のバリュー残高と、現在のバリュー残高の比較を行う際には、現在のバリュー残高が、ステップ15で記憶しておいたバリュー残高よりも多い場合、電子マネー端末8は、電子マネーカード6で増額による金額変更処理が成されたと判断し、これらが等しい場合は、金額変更情報による金額変更処理が不成功であったと判断する。
Although the above example was the case of payment, the electronic money terminal 8 and the electronic money card 6 perform the same processing in the case of charging.
In the case of charging, when comparing the value balance before processing stored in step 15 and the current value balance, if the current value balance is greater than the value balance stored in step 15, The electronic money terminal 8 determines that the amount change process by the increase has been performed on the electronic money card 6, and if these are equal, it determines that the amount change process by the amount change information was unsuccessful.

図9は、電子マネー端末8が電子マネーサーバ2に利用ログデータを送信する手順を説明するためのフローチャートである。
電子マネー端末8は、1日に1回程度、所定の時刻となると、電子マネーサーバ2に通信回線を接続する。そして、前回送信してから今回までにデータ格納部44に蓄積してあった利用ログデータを電子マネーサーバ2に送信する(ステップ55)。
電子マネーサーバ2は、電子マネー端末8から利用ログデータを受信してデータ格納部57に記憶する(ステップ60)。
以上のようにして、電子マネーサーバ2は、データ格納部57に利用ログデータを一定期間(例えば、1ヶ月)蓄積した後、加盟店ごとのチャージ金額の総額と決済金額の総額を集計処理する(ステップ75)。
FIG. 9 is a flowchart for explaining a procedure in which the electronic money terminal 8 transmits usage log data to the electronic money server 2.
The electronic money terminal 8 connects a communication line to the electronic money server 2 at a predetermined time about once a day. Then, the usage log data accumulated in the data storage unit 44 since the previous transmission is transmitted to the electronic money server 2 (step 55).
The electronic money server 2 receives the usage log data from the electronic money terminal 8 and stores it in the data storage unit 57 (step 60).
As described above, the electronic money server 2 accumulates the usage log data in the data storage unit 57 for a certain period (for example, one month), and then totalizes the total charge amount and the total settlement amount for each member store. (Step 75).

図10は、図9のステップ75で電子マネーサーバ2が集計処理を行う手順を説明するためのフローチャートである。
電子マネーサーバ2は、以下の処理を加盟店ごとに行う。
まず、電子マネーサーバ2は、集計対象となる加盟店の加盟店IDを用いてデータ格納部57から当該加盟店の利用ログデータを読み込む(ステップ95)。
FIG. 10 is a flowchart for explaining a procedure for the electronic money server 2 to perform a counting process in step 75 of FIG.
The electronic money server 2 performs the following processing for each member store.
First, the electronic money server 2 reads the usage log data of the member store from the data storage unit 57 using the member store ID of the member store to be counted (step 95).

そして、電子マネーサーバ2は、読み込んだ利用ログデータの取引有効フラグを確認する(ステップ100)。
電子マネーサーバ2は、取引有効フラグが「有効」であった場合(ステップ100;有効)、当該利用ログデータを資金決済対象として集計する(ステップ105)。
また、取引有効フラグが「無効」であった場合(ステップ100;無効)、電子マネーサーバ2は、当該利用ログデータを資金決済対象外として処理する(ステップ110)。
Then, the electronic money server 2 checks the transaction validity flag of the read usage log data (step 100).
When the transaction valid flag is “valid” (step 100; valid), the electronic money server 2 aggregates the usage log data as a fund settlement target (step 105).
When the transaction valid flag is “invalid” (step 100; invalid), the electronic money server 2 processes the usage log data as not being subject to fund settlement (step 110).

更に、取引有効フラグが「例外」であった場合(ステップ100;例外)、電子マネーサーバ2は、当該利用ログデータを例外用のディレクトリに分類するなどの例外処理を行う(ステップ115)。
このディレクトリに分類された利用ログデータは、例えば、電子マネーセンタの担当者が個別に対処する。
Further, when the transaction valid flag is “exception” (step 100; exception), the electronic money server 2 performs exception processing such as classifying the usage log data into an exception directory (step 115).
The usage log data classified in this directory is individually handled by, for example, a person in charge of the electronic money center.

以上のようにして、電子マネーサーバ2は、当該利用ログデータを処理した後、当該加盟店の全ての利用ログデータに関して処理を行ったか否かを確認する(ステップ120)。
まだ、未処理の利用ログデータがある場合(ステップ120;N)、電子マネーサーバ2は、ステップ95に戻って当該利用ログデータを処理する。一方、全ての利用ログデータを処理した場合(ステップ120;Y)、電子マネーサーバ2は、当該加盟店の集計処理を終了する。
As described above, after processing the usage log data, the electronic money server 2 confirms whether or not processing has been performed for all the usage log data of the member store (step 120).
If there is still unprocessed usage log data (step 120; N), the electronic money server 2 returns to step 95 to process the usage log data. On the other hand, when all the usage log data have been processed (step 120; Y), the electronic money server 2 ends the aggregation process of the member store.

以上のように説明した本実施の形態により次のような効果を得ることができる。
(1)電子マネー端末8は、金額変更情報送信前後の電子マネーカード6や携帯電話7のバリュー残高を比較することにより、金額変更情報を実行したとの応答が電子マネーカード6や携帯電話7から無かった場合でも、電子マネーカード6や携帯電話7が金額変更情報を実行したか否かを確認することができる。
(2)電子マネー端末8は、電子マネーカード6や携帯電話7から金額変更処理後に応答が無く、利用ログデータが生成できない場合でも、金額変更情報が実行されたか否かを確認し、利用ログデータに記録することができる。
(3)電子マネーサーバ2は、利用ログデータの取引有効フラグを確認することにより、応答がなくても金額変更情報が実行されたものに関しては、資金決済対象とすることができる。
The following effects can be obtained by the present embodiment described above.
(1) The electronic money terminal 8 compares the value balances of the electronic money card 6 and the mobile phone 7 before and after sending the amount change information, so that a response that the amount change information has been executed is a response to the electronic money card 6 and the mobile phone 7. Even if not, it can be confirmed whether or not the electronic money card 6 or the mobile phone 7 has executed the money amount change information.
(2) The electronic money terminal 8 confirms whether or not the money amount change information has been executed even if there is no response after the money amount change processing from the electronic money card 6 or the mobile phone 7 and the usage log data cannot be generated. Can be recorded in the data.
(3) The electronic money server 2 can check the transaction validity flag of the usage log data, and can make the amount of money change information executed even if there is no response as a target for fund settlement.

(変形例)
次に、本実施の形態の変形例について説明する。
図11は、本変形例に係る電子マネーシステム1の構成を説明するための図である。
本実施の形態の電子マネーシステム1では、各加盟店の本部が運営する本部サーバ60を備えている。本部サーバ60は、電子マネー端末8に組み込まれたPOS部62と共にPOSシステム(Point Of Sales System)を構成しており、各加盟店から売上等の情報を収集している。
(Modification)
Next, a modification of the present embodiment will be described.
FIG. 11 is a diagram for explaining the configuration of the electronic money system 1 according to the present modification.
The electronic money system 1 according to the present embodiment includes a headquarter server 60 operated by the headquarters of each member store. The headquarter server 60 constitutes a POS system (Point Of Sales System) together with the POS unit 62 incorporated in the electronic money terminal 8, and collects information such as sales from each member store.

電子マネー端末8は、POS部62、電子マネーモジュール61、リーダライタ部39などから構成されている。
POS部62は、電子マネーモジュール61に対して、金額変更指示、ID参照指示、残高参照指示などの各種指示を行い、電子マネーモジュール61は、これらの指示に対して金額変更情報、ID参照コマンド、残高参照コマンドなどを生成して、リーダライタ部39を介して電子マネーカード6に送信する。
The electronic money terminal 8 includes a POS unit 62, an electronic money module 61, a reader / writer unit 39, and the like.
The POS unit 62 gives various instructions such as an amount change instruction, an ID reference instruction, and a balance reference instruction to the electronic money module 61, and the electronic money module 61 responds to these instructions with an amount change information and an ID reference command. Then, a balance reference command or the like is generated and transmitted to the electronic money card 6 via the reader / writer unit 39.

そして、電子マネーモジュール61は、これらのコマンドに対して電子マネーカード6が返してきた、金額変更処理が成功したか否かの応答、電子マネー機能部ID、バリュー残高などをPOS部62に送信する。
即ち、電子マネーモジュール61は、POS部62が電子マネーカード6に対して行う処理の仲介部として機能している。
このように、指示を出すPOS部62とコマンドを生成する電子マネーモジュール61を分離することにより、秘密鍵などのセキュリティに関わる情報を電子マネーモジュール61に密封することができ、システムの安全性を高めることができる。
Then, the electronic money module 61 transmits to the POS unit 62 the response indicating whether or not the money amount change process has been successful, the electronic money function unit ID, the value balance, etc. returned from the electronic money card 6 in response to these commands. To do.
That is, the electronic money module 61 functions as an intermediary unit for processing performed by the POS unit 62 on the electronic money card 6.
In this way, by separating the POS unit 62 that issues an instruction and the electronic money module 61 that generates a command, security-related information such as a secret key can be sealed in the electronic money module 61, and the safety of the system can be increased. Can be increased.

電子マネーモジュール61は、電子マネーカード6との処理について利用ログデータや後述の要確認ログデータを生成して記憶し、所定期間ごとに電子マネーサーバ2に送信するようになっている。
本変形例で生成する利用ログデータは、図7から項目「取引有効フラグ」を除いたものであり、「電子マネー機能部ID」、「取引金額」、「取引日時分秒」、「加盟店ID」、その他の項目から構成されている。
The electronic money module 61 generates and stores usage log data and later-described confirmation log data for processing with the electronic money card 6 and transmits them to the electronic money server 2 at predetermined intervals.
The usage log data generated in this modified example is obtained by removing the item “transaction valid flag” from FIG. 7, and includes “electronic money function unit ID”, “transaction amount”, “transaction date / time / minute / second”, “member store”. ID "and other items.

また、電子マネーモジュール61は、電子マネーカード6に金額変更情報を送信した後応答が無く、リトライも失敗した場合は、要確認ログデータを生成して電子マネーサーバ2に送信する。
要確認ログデータの内容は、本変形例に係る利用ログデータと同様の内容に加え、要確認である旨の要確認フラグが設定されたものである。
このように、電子マネー端末8は、電子マネーモジュール61において、金額変更情報に係る金額と、電子マネーカード6から金額を変更した旨の通知を受けたか受けなかったかの区別と、を記録したログデータ(利用ログデータと要確認ログデータ)を生成して所定のサーバ(ここでは、電子マネーサーバ2)に送信する第1のログデータ送信手段を備えている。
Further, the electronic money module 61 generates confirmation log data that is required and transmits it to the electronic money server 2 when there is no response after sending the money amount change information to the electronic money card 6 and the retry fails.
The content of the confirmation log data that is required is obtained by setting a confirmation flag indicating that confirmation is required in addition to the same content as the usage log data according to the present modification.
In this way, the electronic money terminal 8 records, in the electronic money module 61, log data that records the amount of money related to the money amount change information and whether or not a notification indicating that the money amount has been changed has been received from the electronic money card 6. First log data transmission means for generating (utilization log data and confirmation log data required) and transmitting it to a predetermined server (in this case, the electronic money server 2) is provided.

一方、POS部62は、電子マネーモジュール61が電子マネーカード6に金額変更情報を送信した後応答が無く、リトライも失敗した場合、先の実施の形態と同様にして金額変更情報送信前と送信後のバリュー残高を比較し、確認ログデータを生成して記憶する。
確認ログデータの内容は、図7に示した利用ログデータと同様であり、「電子マネー機能部ID」、「取引金額」、「取引日時分秒」、「加盟店ID」、「取引有効フラグ」などの各項目から構成されている。
POS部62は、本部サーバ60に通信回線が接続されているため、確認ログデータを所定期間ごとに本部サーバ60に送信する。
このように、電子マネー端末8は、POS部62において、要確認ログデータに対応させて確認ログデータを生成し、所定のサーバ(ここでは、本部サーバ60)に送信する第2のログデータ送信手段を備えている。
また、POS部62は、所定のサーバとして電子マネーサーバ2に直接確認ログデータを送信するように構成することもできる。
このように、ログデータ(利用ログデータと要確認ログデータ)の送信先である所定のサーバと、確認ログデータの送信先である所定のサーバは、異なるサーバであるように構成することもできるし、同じサーバであるように構成することもできる。
On the other hand, if there is no response after the electronic money module 61 transmits the amount change information to the electronic money card 6 and the retry fails, the POS unit 62 transmits the amount change information before and after transmission as in the previous embodiment. The subsequent value balances are compared, and confirmation log data is generated and stored.
The contents of the confirmation log data are the same as the use log data shown in FIG. 7, and are “electronic money function unit ID”, “transaction amount”, “transaction date / time / minute / second”, “member store ID”, “transaction valid flag”. "And other items.
Since the communication line is connected to the headquarter server 60, the POS section 62 transmits confirmation log data to the headquarter server 60 every predetermined period.
As described above, the electronic money terminal 8 generates the confirmation log data in the POS unit 62 in correspondence with the confirmation log data required, and transmits the second log data to the predetermined server (here, the headquarter server 60). Means.
The POS unit 62 can also be configured to transmit confirmation log data directly to the electronic money server 2 as a predetermined server.
As described above, the predetermined server that is the transmission destination of the log data (use log data and confirmation log data that is required) and the predetermined server that is the transmission destination of the confirmation log data can be configured to be different servers. However, it can also be configured to be the same server.

このように、電子マネーモジュール61は、要確認ログデータを生成し、確認ログデータは、POS部62が生成するが、電子マネーモジュール61が確認ログデータを生成しないのは、電子マネーモジュール61は、POS部62と電子マネーカード6の仲介部であり、取引が成功したか否かの判断はPOS部62が行うためである。   As described above, the electronic money module 61 generates the confirmation log data that is required, and the confirmation log data is generated by the POS unit 62. However, the electronic money module 61 does not generate the confirmation log data. This is because the POS unit 62 is an intermediary unit between the electronic money card 6 and the POS unit 62 determines whether or not the transaction is successful.

本部サーバ60は、各加盟店のPOS部62から送信されてくる確認ログデータを1つのデータにまとめて所定期間ごとに電子マネーサーバ2に送信する。
このように確認ログデータを1つのデータにまとめることにより、電子マネーサーバ2の負荷を低減することができる。
このように、本部サーバ60は、複数の確認ログデータを1つのログデータに集約する集約サーバとして機能している。
The headquarter server 60 collects the confirmation log data transmitted from the POS unit 62 of each member store into one data and transmits it to the electronic money server 2 every predetermined period.
In this way, by collecting the confirmation log data into one data, the load on the electronic money server 2 can be reduced.
In this way, the headquarter server 60 functions as an aggregation server that aggregates a plurality of confirmation log data into one log data.

ここで、POS部62と電子マネーモジュール61の動作についてより詳細に説明する。
まず、POS部62は、担当者からチャージ金額や決済金額の入力を受け付ける。
すると、POS部62は、電子マネーモジュール61に、電子マネーカード6の現在のバリュー残高を読み取らせる。
そして、POS部62は、この現在のバリュー残高、即ち、金額変更処理情報送信前のバリュー残高を記憶しておく。
Here, operations of the POS unit 62 and the electronic money module 61 will be described in more detail.
First, the POS unit 62 receives an input of a charge amount and a settlement amount from a person in charge.
Then, the POS unit 62 causes the electronic money module 61 to read the current value balance of the electronic money card 6.
The POS unit 62 stores the current value balance, that is, the value balance before sending the amount change processing information.

その後、POS部62は、電子マネーモジュール61に金額変更情報の送信を指令する。
電子マネーカード6から所定時間内に応答があった場合、POS部62は、処理を終了し、電子マネーモジュール61は、利用ログデータを生成する。
Thereafter, the POS unit 62 instructs the electronic money module 61 to transmit the amount change information.
When there is a response from the electronic money card 6 within a predetermined time, the POS unit 62 ends the process, and the electronic money module 61 generates usage log data.

電子マネーカード6から所定時間内に応答が無かった場合、POS部62は、電子マネーモジュール61にリトライを行わせ、リトライが成功した場合、POS部62は、処理を終了し、電子マネーモジュール61は、利用ログデータを生成する。
リトライが不成功であった場合、POS部62は、電子マネーモジュール61に電子マネーカード6のバリュー残高照会を指令する。
When there is no response from the electronic money card 6 within a predetermined time, the POS unit 62 causes the electronic money module 61 to retry, and when the retry is successful, the POS unit 62 ends the processing, and the electronic money module 61 Generates usage log data.
If the retry is unsuccessful, the POS unit 62 instructs the electronic money module 61 to inquire about the value balance of the electronic money card 6.

この指令により、電子マネーモジュール61は、電子マネーカード6のバリュー残高を読み出してPOS部62に送信すると共に要確認ログデータを生成する。
一方、POS部62は、電子マネーモジュール61から現在のバリュー残高を受信し、金額変更情報送信前のバリュー残高と、現在のバリュー残高を比較する。そして、先の実施の形態と同様にして、電子マネーカード6で金額変更情報が実行されたか否かを確認し、その結果を記録した確認ログデータを生成する。
確認ログデータの取引有効フラグは、金額変更情報の実行が確認できた場合は「有効」に設定され、実行されなかったことが確認できた場合は「無効」に設定され、バリュー残高が確認できなかった場合は「例外」に設定される。
In response to this command, the electronic money module 61 reads the value balance of the electronic money card 6 and transmits it to the POS unit 62 and generates confirmation log data that is required.
On the other hand, the POS unit 62 receives the current value balance from the electronic money module 61, and compares the value balance before sending the amount change information with the current value balance. Then, in the same manner as in the previous embodiment, it is confirmed whether or not the money amount change information has been executed in the electronic money card 6, and confirmation log data in which the result is recorded is generated.
The transaction valid flag of the confirmation log data is set to “valid” when the execution of the amount change information can be confirmed, and set to “invalid” when the execution of the amount change information can be confirmed, and the value balance can be confirmed. If not, it is set to “Exception”.

以上のようにして生成された利用ログデータと要確認ログデータは電子マネーモジュール61から電子マネーサーバ2に送信され、確認ログデータは本部サーバ60を経由して電子マネーサーバ2に送信される。
なお、POS部62から電子マネーサーバ2に直接確認ログデータを送信するように構成することもできる。
The usage log data and the confirmation log data required as described above are transmitted from the electronic money module 61 to the electronic money server 2, and the confirmation log data is transmitted to the electronic money server 2 via the headquarter server 60.
The confirmation log data may be directly transmitted from the POS unit 62 to the electronic money server 2.

図12は、電子マネー端末8が電子マネーサーバ2に各種ログデータを送信する手順を説明するためのフローチャートである。
まず、電子マネー端末8(電子マネーモジュール61)が、電子マネーサーバ2に接続し、利用ログデータと要確認ログデータを電子マネーサーバ2に送信する(ステップ130)。
電子マネーサーバ2は、電子マネー端末8から利用ログデータと要確認ログデータを受信してデータ格納部57に記憶する(ステップ135)。このように電子マネーサーバ2は、第1のログデータ受信手段を備えている。
FIG. 12 is a flowchart for explaining a procedure in which the electronic money terminal 8 transmits various log data to the electronic money server 2.
First, the electronic money terminal 8 (electronic money module 61) connects to the electronic money server 2 and transmits usage log data and confirmation log data requiring confirmation to the electronic money server 2 (step 130).
The electronic money server 2 receives the usage log data and the confirmation log data required from the electronic money terminal 8 and stores them in the data storage unit 57 (step 135). As described above, the electronic money server 2 includes the first log data receiving unit.

次に、電子マネー端末8(POS部62)が本部サーバ60に確認ログデータを送信し、本部サーバ60がこれを電子マネーサーバ2に送信する(ステップ140)。
電子マネーサーバ2は、本部サーバ60を経由して電子マネー端末8から確認ログデータを受信し、データ格納部57に記憶する(ステップ145)。このように電子マネーサーバ2は、第2のログデータ受信手段を備えている。
そして、電子マネーサーバ2は、データ格納部57に記憶した利用ログデータ、要確認ログデータ、及び確認ログデータを用いて集計処理を行う(ステップ150)。
なお、利用ログデータと要確認ログデータ、及び確認ログデータは何れが先に電子マネーサーバ2に送信されてもよい。
Next, the electronic money terminal 8 (POS unit 62) transmits the confirmation log data to the headquarter server 60, and the headquarter server 60 transmits it to the electronic money server 2 (step 140).
The electronic money server 2 receives the confirmation log data from the electronic money terminal 8 via the headquarter server 60 and stores it in the data storage unit 57 (step 145). As described above, the electronic money server 2 includes the second log data receiving unit.
Then, the electronic money server 2 performs a totaling process using the use log data, the confirmation log data required, and the confirmation log data stored in the data storage unit 57 (step 150).
Note that any of the usage log data, the confirmation log data requiring confirmation, and the confirmation log data may be transmitted to the electronic money server 2 first.

図13は、電子マネーサーバ2が集計処理を行う手順を説明するためのフローチャートである。
電子マネーサーバ2は、以下の処理を加盟店ごとに行う。
まず、電子マネーサーバ2は、加盟店IDを用いて処理対象となっている加盟店の利用ログデータをデータ格納部57から読み込み(ステップ180)、これを資金決済対象として集計する(ステップ185)。
そして、電子マネーサーバ2は、当該加盟店についての全ての利用ログデータを処理したか否かを確認し、まだ処理していない利用ログデータがある場合は(ステップ190;N)、ステップ180に戻って当該利用ログデータを集計処理する。
FIG. 13 is a flowchart for explaining a procedure for the electronic money server 2 to perform aggregation processing.
The electronic money server 2 performs the following processing for each member store.
First, the electronic money server 2 reads the use log data of the member store to be processed using the member store ID from the data storage unit 57 (step 180), and totalizes it as a fund settlement target (step 185). .
Then, the electronic money server 2 checks whether or not all usage log data for the member store has been processed. If there is usage log data that has not been processed yet (step 190; N), the electronic money server 2 proceeds to step 180. Go back and count the usage log data.

全ての利用ログデータを処理した場合(ステップ190;Y)、電子マネーサーバ2は、当該加盟店の要確認ログデータを読み込む(ステップ195)。
次に、電子マネーサーバ2は、読み込んだ要確認ログデータに対応する確認ログデータをデータ格納部57で検索する(ステップ200)。
この検索は、例えば、電子マネー機能部IDと取引日時分秒をキーとして行うことができる。このように電子マネーサーバ2は、検索手段を備えている。
When all usage log data has been processed (step 190; Y), the electronic money server 2 reads the log data required for confirmation of the member store (step 195).
Next, the electronic money server 2 searches the data storage unit 57 for confirmation log data corresponding to the read necessary log data (step 200).
This search can be performed using, for example, the electronic money function unit ID and the transaction date and time as the key. As described above, the electronic money server 2 includes a search unit.

電子マネーサーバ2は、検索した確認ログデータの取引有効フラグを確認し、これが「有効」であれば(ステップ205;有効)、当該要確認ログデータを資金決済対象として集計し(ステップ210)、「無効」であれば(ステップ205;無効)、当該要確認ログデータを資金決済対象外として処理する(ステップ215)。
また、取引有効フラグが「例外」であれば(ステップ205;例外)、電子マネーサーバ2は、これを例外用のディレクトリに分類するなどの例外処理を行い(ステップ220)、電子マネーセンタの担当者が個別に対処する。
このように、電子マネーサーバ2は、確認ログデータを用いて要確認ログデータを確認する確認手段を備えている。
The electronic money server 2 confirms the transaction valid flag of the retrieved confirmation log data, and if it is “valid” (step 205; valid), the confirmation log data required is counted as a fund settlement target (step 210), If it is “invalid” (step 205; invalid), the necessary confirmation log data is processed out of the fund settlement target (step 215).
If the transaction valid flag is “exception” (step 205; exception), the electronic money server 2 performs exception processing such as classifying it into an exception directory (step 220), and is responsible for the electronic money center. Deal with them individually.
As described above, the electronic money server 2 includes a confirmation unit that confirms the confirmation log data requiring confirmation using the confirmation log data.

次に、電子マネーサーバ2は、当該加盟店に関する全ての要確認ログデータを処理したか否かを確認し、まだ処理していない要確認ログデータがある場合は(ステップ225;N)、ステップ195に戻って処理を続行し、全ての要確認ログデータを処理した場合は(ステップ225;Y)、集計処理を終了する。   Next, the electronic money server 2 confirms whether or not all the necessary confirmation log data regarding the member store has been processed. If there is necessary confirmation log data that has not yet been processed (step 225; N), the step Returning to 195, the processing is continued, and when all the necessary confirmation log data has been processed (step 225; Y), the aggregation processing is terminated.

以上のように、POSシステムに確認ログデータ生成機能を備えることにより、電子マネーモジュール61で要確認ログデータが発生した場合も、当該要確認ログデータによる取引が有効であるのか否かを判断することができる。
なお、本実施の形態では、取引有効の確認をPOS部62で行っていたが、これを電子マネーサーバ2で行うように構成することも可能である。
この場合、電子マネーサーバ2は、POS部62から、電子マネー機能部IDと取引日時分秒と金額変更情報送信前と送信後のバリュー残高を送信してもらい、電子マネー機能部IDと取引日時分秒によって要確認ログデータと対応づけ、金額変更情報送信前と送信後のバリュー残高の比較によって、電子マネーカード6で金額変更情報が実行されたか否かを確認する。
As described above, by providing the POS system with the confirmation log data generation function, even when the confirmation log data is generated in the electronic money module 61, it is determined whether or not the transaction based on the confirmation log data is valid. be able to.
In this embodiment, the transaction validity is confirmed by the POS unit 62. However, the electronic money server 2 may be configured to confirm this.
In this case, the electronic money server 2 receives the electronic money function unit ID, the transaction date / time minute / second, and the value balance before and after sending the money amount change information from the POS unit 62, and the electronic money function unit ID and the transaction date / time. Corresponding to the log data required for confirmation in minutes and seconds, it is confirmed whether or not the money amount change information has been executed in the electronic money card 6 by comparing the value balance before and after sending the money amount change information.

1 電子マネーシステム
2 電子マネーサーバ
6 電子マネーカード
7 携帯電話
8 電子マネー端末
39 リーダライタ部
1 Electronic Money System 2 Electronic Money Server 6 Electronic Money Card 7 Mobile Phone 8 Electronic Money Terminal 39 Reader / Writer Unit

Claims (9)

貨幣端末と、電子マネー端末と、本部サーバと、電子マネーサーバと、を用いて構成された電子マネーシステムであって、
前記貨幣端末は、貨幣価値の金額を電子データとして記憶し、金額変更情報を用いて前記記憶した貨幣価値の金額を変更し、
前記電子マネー端末は、電子マネーモジュールと、POS部を用いて構成され、前記電子マネーモジュールは、前記貨幣端末に金額変更情報を送信し、当該金額変更情報に係る金額と、前記貨幣端末から金額を変更した旨の通知を受けたか否かの区別と、を含むログデータを生成して前記電子マネーサーバに送信し、前記POS部は、前記電子マネーモジュールが前記通知を受けなかった場合に、前記貨幣端末における金額変更情報送信前後の残高を比較することにより前記貨幣端末が金額を変更したか否かを判断し、当該判断結果を含み、前記ログデータに対応する確認ログデータを生成して前記本部サーバに送信し、
前記本部サーバは、前記POS部から確認ログデータを受信し、受信した複数の確認ログデータを1つの確認ログデータに集約して前記電子マネーサーバに送信し、
前記電子マネーサーバは、前記電子マネーモジュールからログデータを受信し、前記本部サーバから確認ログデータを受信し、前記受信したログデータが、前記貨幣端末から金額を変更した旨の通知を受けなかったものであった場合、前記受信した確認ログデータから当該ログデータに対応するものを検索し、当該検索された確認ログデータに記録された判断結果によって、当該ログデータに関する処理で、前記貨幣端末が金額変更を行ったか否かを確認することを特徴とする電子マネーシステム。
An electronic money system configured using a money terminal, an electronic money terminal, a headquarters server, and an electronic money server,
The money terminal stores the amount of money value as electronic data, changes the amount of money value stored using amount change information,
The electronic money terminal is configured using an electronic money module and a POS unit, and the electronic money module transmits amount change information to the money terminal, and the amount related to the amount change information and the amount from the money terminal. Whether or not the notification of the change has been received, and generating and transmitting log data to the electronic money server, the POS unit, when the electronic money module has not received the notification, It is determined whether or not the money terminal has changed the amount by comparing the balance before and after sending the amount change information in the money terminal, including the determination result, and generating confirmation log data corresponding to the log data Sent to the headquarters server,
The headquarter server receives the confirmation log data from the POS unit, aggregates the received plurality of confirmation log data into a single confirmation log data, and transmits it to the electronic money server,
The electronic money server receives log data from the electronic money module, receives confirmation log data from the headquarter server, and the received log data has not received a notification that the amount has been changed from the money terminal If it is a thing, the thing corresponding to the log data is searched from the received confirmation log data, and the monetary terminal performs processing related to the log data according to the determination result recorded in the searched confirmation log data. An electronic money system characterized by confirming whether or not the amount has been changed.
貨幣価値の金額を電子データとして記憶し、受信した金額変更情報を用いて前記記憶した貨幣価値の金額を変更する貨幣端末に対し、金額変更情報を送信する金額変更情報送信装置であって、
変更に係る金額を取得して金額変更情報を生成する金額変更情報生成手段と、
金額変更情報を送信する前の残高を前記貨幣端末から取得する第1の残高取得手段と、
前記貨幣端末に前記生成した金額変更情報を送信する金額変更情報送信手段と、
前記貨幣端末から前記送信した金額変更情報によって金額を変更した旨の通知を受ける通知受信手段と、
前記通知を受信しなかった場合に、前記貨幣端末から現在の残高を取得する第2の残高取得手段と、
を具備したことを特徴とする金額変更情報送信装置。
A money amount change information transmitting device for storing money amount money as electronic data and sending money amount change information to a money terminal for changing the stored money value amount using received money amount change information,
Amount change information generating means for acquiring the amount related to the change and generating the amount change information;
First balance acquisition means for acquiring a balance before sending the amount change information from the money terminal;
Amount change information transmitting means for transmitting the generated amount change information to the money terminal;
Notification receiving means for receiving a notification that the amount has been changed by the transmitted amount change information from the money terminal;
A second balance acquisition means for acquiring a current balance from the money terminal when the notification is not received;
An amount change information transmitting device characterized by comprising:
前記第1の残高取得手段で取得した残高と、前記第2の残高取得手段で取得した残高と、を比較する比較手段と、
前記比較手段による比較結果から、前記貨幣端末で前記金額変更情報による金額変更が行われたか否かを判断する判断手段と、を具備したことを特徴とする請求項2に記載の金額変更情報送信装置。
Comparison means for comparing the balance acquired by the first balance acquisition means with the balance acquired by the second balance acquisition means;
The amount change information transmission according to claim 2, further comprising: a determination unit that determines whether or not an amount change by the amount change information has been performed at the money terminal based on a comparison result by the comparison unit. apparatus.
前記判断手段が、金額変更が行われていないと判断した場合に、前記金額変更情報送信手段は、再度前記貨幣端末に金額変更情報を送信することを特徴とする請求項3に記載の金額変更情報送信装置。   4. The amount change according to claim 3, wherein when the determination unit determines that the amount change has not been performed, the amount change information transmission unit transmits the amount change information to the money terminal again. Information transmission device. 前記貨幣端末との処理内容を記録したログデータを生成するログデータ生成手段と、
前記生成したログデータを所定のサーバ装置に送信するログデータ送信手段と、を具備し、
前記ログデータ生成手段は、前記判断手段で判断を行った場合は、判断結果を前記ログデータに記録することを特徴とする請求項3、又は請求項4に記載の金額変更情報送信装置。
Log data generating means for generating log data recording the processing content with the money terminal;
Log data transmission means for transmitting the generated log data to a predetermined server device,
5. The money amount change information transmitting apparatus according to claim 3, wherein the log data generation unit records a determination result in the log data when the determination unit makes a determination.
前記金額変更情報に係る金額と、前記貨幣端末から金額を変更した旨の通知を受けたか受けなかったかの区別と、を記録したログデータを生成して所定のサーバに送信する第1のログデータ送信手段と、
前記生成したログデータに対応させて、前記判断手段で判断を行った場合の判断結果を記録した確認ログデータを生成して所定のサーバに送信する第2のログデータ送信手段と、
を具備したことを特徴とする請求項3、又は請求項4に記載の金額変更情報送信装置。
First log data transmission for generating log data in which the amount related to the amount change information and the distinction of whether or not a notification of change of amount has been received from the money terminal is generated and transmitted to a predetermined server Means,
Second log data transmission means for generating confirmation log data in which a determination result in the case where the determination is made in correspondence with the generated log data is recorded and transmitted to a predetermined server;
5. The money amount change information transmitting apparatus according to claim 3, wherein the money amount changing information transmitting apparatus is provided.
前記第2のログデータ送信手段が前記確認ログデータを送信する所定のサーバは、複数の確認ログデータを1つの確認ログデータに集約して、前記第1のログデータ送信手段の送信先である所定のサーバに送信する集約サーバであることを特徴とする請求項6に記載の金額変更情報送信装置。   The predetermined server to which the second log data transmission means transmits the confirmation log data is a transmission destination of the first log data transmission means by aggregating a plurality of confirmation log data into one confirmation log data. The money amount change information transmitting apparatus according to claim 6, wherein the money amount changing information transmitting apparatus is an aggregation server that transmits the data to a predetermined server. 請求項6、又は請求項7に記載の金額変更情報送信装置が生成したログデータを受信する第1のログデータ受信手段と、
当該金額変更情報送信装置が生成した確認ログデータを受信する第2のログデータ受信手段と、
前記受信したログデータが、前記貨幣端末から金額を変更した旨の通知を受けなかったものであった場合、前記受信した確認ログデータから当該ログデータに対応するものを検索する検索手段と、
前記検索された確認ログデータに記録された判断結果によって、当該ログデータに関する処理で、前記貨幣端末が金額変更を行ったか否かを確認する確認手段と、
を具備したことを特徴とするサーバ。
First log data receiving means for receiving log data generated by the money amount change information transmitting device according to claim 6 or 7;
Second log data receiving means for receiving the confirmation log data generated by the money amount change information transmitting device;
If the received log data has not been notified from the money terminal that the amount has been changed, search means for searching the received confirmation log data corresponding to the log data;
Confirming means for confirming whether or not the money terminal has changed the amount in the processing related to the log data according to the determination result recorded in the retrieved confirmation log data;
A server comprising:
貨幣価値の金額を電子データとして記憶し、受信した金額変更情報を用いて前記記憶した貨幣価値の金額を変更する貨幣端末に対し、金額変更情報を送信する金額変更情報送信装置が行う金額変更情報送信方法であって、
前記金額変更情報送信装置は、金額変更情報生成手段と、第1の残高取得手段と、金額変更情報送信手段と、通知受信手段と、第2の残高取得手段と、を備え、
前記金額変更情報生成手段によって、変更に係る金額を取得して金額変更情報を生成する金額変更情報生成ステップと、
前記第1の残高取得手段によって、金額変更情報を送信する前の残高を前記貨幣端末から取得する第1の残高取得ステップと、
前記金額変更情報送信手段によって、前記貨幣端末に前記生成した金額変更情報を送信する金額変更情報送信ステップと、
前記通知受信手段によって、前記貨幣端末から前記送信した金額変更情報によって金額を変更した旨の通知を受ける通知受信ステップと、
前記第2の残高取得手段によって、前記通知を受信しなかった場合に、前記貨幣端末から現在の残高を取得する第2の残高取得ステップと、
から構成されたことを特徴とする金額変更情報送信方法。
Amount change information transmitted by the amount change information transmitting device that stores the amount change information to the money terminal that stores the amount of money value as electronic data and changes the stored amount of money value using the received amount change information. A transmission method,
The money amount change information transmitting device includes a money amount change information generating means, a first balance acquisition means, an amount change information transmission means, a notification receiving means, and a second balance acquisition means,
Amount change information generating step of generating amount change information by acquiring the amount related to the change by the amount change information generating means;
A first balance acquisition step of acquiring, from the money terminal, a balance before sending money amount change information by the first balance acquisition means;
Amount change information transmission step of transmitting the generated amount change information to the money terminal by the amount change information transmitting means;
A notification receiving step of receiving notification that the amount has been changed from the money terminal by the transmitted amount change information by the notification receiving unit;
A second balance acquisition step of acquiring a current balance from the money terminal when the notification is not received by the second balance acquisition means;
An amount change information transmitting method characterized by comprising:
JP2012211594A 2012-09-25 2012-09-25 Information processing apparatus, information processing apparatus control method, and information processing apparatus control program Active JP5588487B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012211594A JP5588487B2 (en) 2012-09-25 2012-09-25 Information processing apparatus, information processing apparatus control method, and information processing apparatus control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012211594A JP5588487B2 (en) 2012-09-25 2012-09-25 Information processing apparatus, information processing apparatus control method, and information processing apparatus control program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006336291A Division JP5396001B2 (en) 2006-12-13 2006-12-13 Information processing apparatus, information processing apparatus control method, and information processing apparatus control program

Publications (2)

Publication Number Publication Date
JP2013016197A true JP2013016197A (en) 2013-01-24
JP5588487B2 JP5588487B2 (en) 2014-09-10

Family

ID=47688764

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012211594A Active JP5588487B2 (en) 2012-09-25 2012-09-25 Information processing apparatus, information processing apparatus control method, and information processing apparatus control program

Country Status (1)

Country Link
JP (1) JP5588487B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5871347B1 (en) * 2015-03-11 2016-03-01 株式会社Orb Virtual currency management program and virtual currency management method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11104344A (en) * 1997-10-07 1999-04-20 Ace Denken:Kk Game medium management device
JP2002367016A (en) * 2001-06-08 2002-12-20 Fuji Electric Co Ltd Automatic vending system
JP2004062240A (en) * 2002-07-24 2004-02-26 East Japan Railway Co Ic card using system and method of using ic card
JP2004272560A (en) * 2003-03-07 2004-09-30 Bitwallet Inc Portable terminal device, portable terminal method, portable terminal program, currency information issuing server device, currency information issuing method and currency information issuing program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11104344A (en) * 1997-10-07 1999-04-20 Ace Denken:Kk Game medium management device
JP2002367016A (en) * 2001-06-08 2002-12-20 Fuji Electric Co Ltd Automatic vending system
JP2004062240A (en) * 2002-07-24 2004-02-26 East Japan Railway Co Ic card using system and method of using ic card
JP2004272560A (en) * 2003-03-07 2004-09-30 Bitwallet Inc Portable terminal device, portable terminal method, portable terminal program, currency information issuing server device, currency information issuing method and currency information issuing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5871347B1 (en) * 2015-03-11 2016-03-01 株式会社Orb Virtual currency management program and virtual currency management method
JP2016170530A (en) * 2015-03-11 2016-09-23 株式会社Orb Virtual currency management program and virtual currency management method

Also Published As

Publication number Publication date
JP5588487B2 (en) 2014-09-10

Similar Documents

Publication Publication Date Title
JP5396001B2 (en) Information processing apparatus, information processing apparatus control method, and information processing apparatus control program
US10740764B2 (en) Financial server, IC card terminal, and financial information processing method
US11238437B2 (en) Prepaid chip card exception processing
KR101652840B1 (en) Information processing server, information processing method, recording medium containing information processing program, handheld terminal, information processing method using handheld computer, and recording medium containing handheld-computer program
US20070226135A1 (en) Monetary Terminal Processing Server, Monetary Terminal Processing Method, Monetary Terminal, Arithmetic Instruction Input and Amount Change Information Input Unit
JP5076122B2 (en) Information processing apparatus and information processing method
JP5780366B2 (en) Payment system, server device, terminal device, recording medium, method, and program
US20140129358A1 (en) Financial transaction routing
CN101107621A (en) Electronic money settling system, and electronic money settling method
CN113781027A (en) Wallet server, wallet system, and non-transitory computer-readable storage medium
JP5282339B2 (en) Amount change information transmitting apparatus, information processing method, and information processing program
JP5588487B2 (en) Information processing apparatus, information processing apparatus control method, and information processing apparatus control program
JP2008107891A (en) Amount change information sending apparatus, money terminal, amount change information sending method and amount change method
KR102085083B1 (en) Method for providing charge saving uby using crypto-currency and server thereof
JP5090784B2 (en) Value information transaction system, value information storage device, value information transaction device, value information transaction method and value information transaction program
JP2014164435A (en) Electronic settlement system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131220

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140218

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140725

R150 Certificate of patent or registration of utility model

Ref document number: 5588487

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

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250