JP2011192147A - Relay server device, system, method and program for charging of electronic money - Google Patents

Relay server device, system, method and program for charging of electronic money Download PDF

Info

Publication number
JP2011192147A
JP2011192147A JP2010059185A JP2010059185A JP2011192147A JP 2011192147 A JP2011192147 A JP 2011192147A JP 2010059185 A JP2010059185 A JP 2010059185A JP 2010059185 A JP2010059185 A JP 2010059185A JP 2011192147 A JP2011192147 A JP 2011192147A
Authority
JP
Japan
Prior art keywords
transaction
server device
relay server
mobile terminal
request
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
JP2010059185A
Other languages
Japanese (ja)
Other versions
JP5482337B2 (en
Inventor
Mototaka Ishii
基隆 石井
Toshinori Suzuki
寿紀 鈴木
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2010059185A priority Critical patent/JP5482337B2/en
Publication of JP2011192147A publication Critical patent/JP2011192147A/en
Application granted granted Critical
Publication of JP5482337B2 publication Critical patent/JP5482337B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform charging of electronic money from a portable terminal without modifying a financial institution system. <P>SOLUTION: The relay server device 500 for charging of electronic money includes: a portable terminal 100 which transmits a charging request; a financial institution system 300 which secures funds in response to the charging request; a communication unit 501 which transmits and receives information to/from an electronic money agent system 400 which issues a value corresponding to the funds; a conversion unit 505 which converts a part or all of information to be transmitted from the communication unit 501 to the financial institution system 300 to a format to be processed in the system 300; and a control unit 503 which controls the communication unit 501 and the conversion unit 505. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、電子マネーのチャージを行うための中継サーバ装置、システム、方法およびプログラムに関する。   The present invention relates to a relay server device, system, method, and program for charging electronic money.

携帯電話機などの携帯端末のIC(Integrated Circuit)チップに電子マネーのバリュー(金銭的な価値)情報を格納し、携帯端末を使って電子マネーを利用することが近年普及している。かかる電子マネーのチャージ(入金)は、現金入金機によって行うこともできるが、ネットワークを介した通信が可能な携帯端末の特性を活かして、銀行等の金融機関の口座から電子マネーのチャージを行うことも一般的である。   In recent years, electronic money value information (money value) is stored in an IC (Integrated Circuit) chip of a mobile terminal such as a mobile phone, and the electronic money is used using the mobile terminal. Such electronic money can be charged (deposited) with a cash deposit machine. However, the electronic money is charged from the account of a financial institution such as a bank by utilizing the characteristics of a portable terminal capable of communication via a network. It is also common.

図11は、金融機関の口座から携帯端末に電子マネーのチャージを行うシステムの一般的な構成を示す図である。携帯端末10は、ネットワーク20を介して、金融機関システム30および電子マネー事業者システム40と接続されている。   FIG. 11 is a diagram showing a general configuration of a system for charging electronic money from a financial institution account to a mobile terminal. The mobile terminal 10 is connected to the financial institution system 30 and the electronic money business operator system 40 via the network 20.

ここで、携帯端末10は、ネットワーク20に接続可能で、内蔵したICチップにバリュー情報を書き込むことで電子マネーとして利用可能なものである。ネットワーク20は、携帯端末10と金融機関システム30、電子マネー事業者システム40を相互に接続する、無線または有線の通信網である。   Here, the portable terminal 10 can be connected to the network 20 and can be used as electronic money by writing value information in a built-in IC chip. The network 20 is a wireless or wired communication network that connects the mobile terminal 10, the financial institution system 30, and the electronic money business operator system 40 to each other.

金融機関システム30は、インタフェース31およびホストコンピュータ33を含む。インタフェース31は、口座情報等の管理および操作を行うホストコンピュータ33と外部のネットワークとの間に介され、金融機関システム30の外部との情報の送受信を行う。電子マネー事業者システム40は、金融機関システム30での資金確保に基づき電子マネーのバリュー発行を行うシステムである。   The financial institution system 30 includes an interface 31 and a host computer 33. The interface 31 transmits / receives information to / from the outside of the financial institution system 30 via a host computer 33 that manages and operates account information and the like and an external network. The electronic money business system 40 is a system that issues value of electronic money based on securing funds in the financial institution system 30.

上記のシステムを用いた電子マネーのチャージ処理の一般的な手順について説明する。まず、携帯端末10は、利用者の操作に基づき、携帯端末10の識別情報、チャージ金額、利用者の口座情報等を含むチャージ要求を、金融機関システム30に向けて送信する。   A general procedure of electronic money charging processing using the above system will be described. First, the mobile terminal 10 transmits a charge request including identification information of the mobile terminal 10, a charge amount, user account information, and the like to the financial institution system 30 based on a user operation.

チャージ要求は、金融機関システム30のインタフェース31によって受信される。インタフェース31は、チャージ要求に含まれる利用者の口座情報およびチャージ金額に基づいて、利用者から電子マネー事業者へのチャージ金額分の資金確保を、ホストコンピュータ33に依頼する。ホストコンピュータ33が資金確保に成功した場合、インタフェース31は、携帯端末10の識別情報、チャージ金額等を含むバリュー発行要求を、電子マネー事業者システム40に向けて送信する。   The charge request is received by the interface 31 of the financial institution system 30. The interface 31 requests the host computer 33 to secure funds for the charge amount from the user to the electronic money business based on the user account information and the charge amount included in the charge request. When the host computer 33 succeeds in securing funds, the interface 31 transmits a value issuance request including identification information of the mobile terminal 10, a charge amount, and the like to the electronic money business operator system 40.

電子マネー事業者システム40は、バリュー発行要求に基づき、携帯端末10用に、チャージ金額分のバリューを発行する。バリューの発行に成功した場合、電子マネー事業者システム40は、バリュー発行応答を携帯端末10に向けて送信する。   The electronic money business operator system 40 issues a value corresponding to the charge amount for the mobile terminal 10 based on the value issue request. When the value issuance is successful, the electronic money business operator system 40 transmits a value issuance response to the mobile terminal 10.

バリュー発行応答を受信した携帯端末10は、バリュー受取要求を電子マネー事業者システム40に向けて送信する。バリュー受取要求を受信した電子マネー事業者システム40は、発行されたバリューのデータを携帯端末に向けて送信し、携帯端末は受信したバリューのデータをICチップに書き込む。以上の手順により、電子マネーのチャージ処理が完了する。   The mobile terminal 10 that has received the value issuance response transmits a value receipt request to the electronic money business operator system 40. The electronic money business operator system 40 that has received the value reception request transmits the issued value data to the mobile terminal, and the mobile terminal writes the received value data to the IC chip. The electronic money charging process is completed by the above procedure.

上記のような携帯端末を用いた電子マネーのチャージシステムは既に多く知られている。例えば、金融機関システム30のインタフェース31として、銀行のインターネットバンキングシステムを用いる技術が、特許文献1において開示されている。   Many electronic money charging systems using such portable terminals are already known. For example, Patent Document 1 discloses a technique that uses a bank Internet banking system as the interface 31 of the financial institution system 30.

特開2009−98852号公報JP 2009-98852 A

しかし、上記のようなシステムによって電子マネーのチャージを行う場合、金融機関システムのインタフェースを、携帯端末からのチャージ要求を処理できるよう改修する必要がある。金融機関システムにおいてはシステムの高い信頼性が要求されることから、インタフェースの改修には多大な時間と費用を要するという問題があった。   However, when electronic money is charged by the system as described above, it is necessary to modify the interface of the financial institution system so that a charge request from a portable terminal can be processed. In a financial institution system, since high reliability of the system is required, there has been a problem that renovation of the interface requires a lot of time and cost.

また、自由に移動し、電池によって駆動される携帯端末の特性上、携帯端末との無線通信が切断されたり、処理中に携帯端末の電池が切れたりして、電子マネーのチャージ処理が中断される可能性がある。チャージ処理が中断された場合、バリューの二重発行や消失を防ぐため、システムのオペレータにより、どこで通信が中断されたか調査してから復旧する必要がある。このため、処理中断時には復旧までに時間がかかるという問題があった。   In addition, due to the characteristics of mobile terminals that move freely and are driven by batteries, the wireless communication with mobile terminals is cut off, or the battery of mobile terminals runs out during processing, and the electronic money charging process is interrupted. There is a possibility. When the charging process is interrupted, it is necessary for the system operator to investigate where the communication is interrupted and then recover in order to prevent double issuance or loss of value. For this reason, there is a problem that it takes time to recover when the process is interrupted.

そこで、本発明は、上記問題に鑑みてなされたものであり、本発明が1つの目的とするところは、金融機関システムに改修を加えることなく、携帯端末から電子マネーのチャージを行うことができる、新規かつ改良された中継サーバ装置、システムおよび方法を提供することにある。   Accordingly, the present invention has been made in view of the above problems, and one object of the present invention is to allow electronic money to be charged from a portable terminal without modifying the financial institution system. It is an object of the present invention to provide a new and improved relay server device, system and method.

また、本発明が別の目的とするところは、電子マネーのチャージ処理が中断された場合に、迅速かつ確実に復旧を行うことが可能な、新規かつ改良された中継サーバ装置、システム、方法およびプログラムを提供することにある。   Another object of the present invention is to provide a new and improved relay server device, system, method and method capable of promptly and reliably recovering when electronic money charging processing is interrupted. To provide a program.

上記課題を解決するために、本発明のある観点によれば、電子マネーのチャージを行うための中継サーバ装置であって、チャージ要求を送信する携帯端末、上記チャージ要求に応じて資金を確保する金融機関システム、および上記資金に相当するバリューを発行する電子マネー事業者システムと情報の送受信を行う通信部と、上記通信部から上記金融機関システムへ送信される上記情報の一部または全部を、上記金融機関システムにおいて処理可能な形式に変換する変換部と、上記通信部および変換部を制御する制御部と、を備えることを特徴とする中継サーバ装置が提供される。   In order to solve the above-described problem, according to an aspect of the present invention, a relay server device for charging electronic money, a mobile terminal that transmits a charge request, and securing funds according to the charge request A financial institution system, a communication unit that transmits / receives information to / from an electronic money business operator system that issues a value corresponding to the funds, and a part or all of the information transmitted from the communication unit to the financial institution system, There is provided a relay server device comprising: a conversion unit that converts to a format that can be processed by the financial institution system; and a control unit that controls the communication unit and the conversion unit.

かかる構成により、金融機関システムに汎用的なインタフェースが備えられてさえいれば、金融機関システムにそれ以上の改修を加えることなく、より少ない時間と費用で、携帯端末から電子マネーのチャージを行うシステムを構築することが可能となる。   With this configuration, as long as a general-purpose interface is provided in the financial institution system, a system for charging electronic money from a portable terminal with less time and cost without any further modification to the financial institution system. Can be built.

ここで、上記中継サーバ装置は、上記通信部が行う上記情報の一連の送受信を識別するトランザクションIDおよび上記トランザクションIDに対応する処理状況が格納される記憶部をさらに備え、上記制御部は、上記携帯端末から上記通信部を介して受信したID発行要求に応じて上記トランザクションIDを発行し、上記記憶部に上記トランザクションIDおよび上記処理状況を格納するとともに、上記トランザクションIDを、上記通信部を介して上記携帯端末に送信し、上記通信部が上記一連の送受信を行うときに、上記記憶部に格納された上記処理状況を更新し、上記一連の送受信が中断した場合、上記携帯端末から上記通信部を介して受信した再開要求および上記トランザクションIDと、上記記憶部から読み出した上記トランザクションIDおよび上記処理状況とに基づいて、上記通信部に上記一連の送受信を再開させてもよい。   Here, the relay server device further includes a storage unit for storing a transaction ID for identifying a series of transmission / reception of the information performed by the communication unit and a processing state corresponding to the transaction ID, and the control unit includes: The transaction ID is issued in response to the ID issuance request received from the mobile terminal via the communication unit, the transaction ID and the processing status are stored in the storage unit, and the transaction ID is transmitted via the communication unit. When the communication unit performs the series of transmission / reception, the processing status stored in the storage unit is updated and the communication from the portable terminal is interrupted when the series of transmission / reception is interrupted. The restart request and the transaction ID received via the storage unit and the transaction read from the storage unit. Transfection ID and based on the above processing conditions, it may be resumed the series of transmission and reception in the communication unit.

かかる構成により、中断された電子マネーチャージ処理を、中継サーバ装置側でのオペレータによる操作を待つことなく、携帯端末からの起動による処理で自動的かつ迅速に復旧させることが可能となる。   With this configuration, the interrupted electronic money charge process can be automatically and quickly restored by the process of activation from the mobile terminal without waiting for an operation by the operator on the relay server device side.

また、上記課題を解決するために、本発明の別の観点によれば、電子マネーのチャージを行うためのシステムであって、携帯端末からのチャージ要求に応じて資金を確保する金融機関システムと、上記資金に相当するバリューを発行する電子マネー事業者システムと、上記携帯端末と、上記金融機関システムと、上記電子マネー事業者システムとの間に介されてそれぞれと情報の送受信を行う中継サーバ装置と、を含み、上記中継サーバ装置は、上記中継サーバ装置から上記金融機関システムへ送信される上記情報の一部または全部を、上記金融機関システムにおいて処理可能な形式に変換することを特徴とするシステムが提供される。   In order to solve the above problem, according to another aspect of the present invention, there is provided a system for charging electronic money, and a financial institution system for securing funds in response to a charge request from a mobile terminal; A relay server that transmits and receives information to and from the electronic money business operator system that issues a value corresponding to the funds, the mobile terminal, the financial institution system, and the electronic money business operator system. And the relay server device converts a part or all of the information transmitted from the relay server device to the financial institution system into a format that can be processed by the financial institution system. A system is provided.

ここで、上記中継サーバ装置は、上記携帯端末から受信した発行要求に応じて、上記中継サーバ装置が行う上記情報の一連の送受信を識別するトランザクションIDを発行し、上記トランザクションIDおよび上記トランザクションIDに対応する処理状況を上記中継サーバ装置に備えられた記憶部に格納し、上記トランザクションIDを上記携帯端末に送信し、上記一連の送受信を行うときに、上記記憶部に上記処理状況を格納し、上記一連の送受信が中断した場合、上記携帯端末から受信した再開要求および上記トランザクションIDと、上記記憶部から読み出した上記トランザクションIDおよび上記処理状況とに基づいて上記一連の送受信を再開してもよい。   Here, the relay server apparatus issues a transaction ID for identifying a series of transmission / reception of the information performed by the relay server apparatus in response to the issuance request received from the mobile terminal, and includes the transaction ID and the transaction ID. The corresponding processing status is stored in the storage unit provided in the relay server device, the transaction ID is transmitted to the mobile terminal, and when the series of transmission / reception is performed, the processing status is stored in the storage unit, When the series of transmission / reception is interrupted, the series of transmission / reception may be resumed based on the restart request and the transaction ID received from the mobile terminal, and the transaction ID and the processing status read from the storage unit. .

また、上記課題を解決するために、本発明の別の観点によれば、電子マネーのチャージを行うための方法であって、携帯端末が、中継サーバ装置にチャージ要求を送信するステップと、上記中継サーバ装置が、上記チャージ要求を金融機関システムにおいて処理可能な形式の資金確保要求に変換して、上記金融機関システムに送信するステップと、上記金融機関システムが、上記資金確保要求に応じて資金の確保を行い、資金確保応答を上記中継サーバ装置に送信するステップと、上記中継サーバ装置が、上記資金確保応答を受信した後、電子マネー事業者システムに上記資金に相当するバリュー発行要求を送信するステップと、上記電子マネー事業者システムが、上記バリュー発行要求に応じて上記資金に相当するバリューを発行し、バリュー発行応答を上記中継サーバ装置に送信するステップと、上記中継サーバ装置が、上記バリュー発行応答を受信した後、上記携帯端末にチャージ応答を送信するステップと、を含むことを特徴とする方法が提供される。   In order to solve the above problem, according to another aspect of the present invention, there is provided a method for charging electronic money, in which a mobile terminal transmits a charge request to a relay server device; The relay server device converts the charge request into a fund securing request in a format that can be processed by the financial institution system, and transmits the request to the financial institution system; the financial institution system responds to the fund securing request Securing a fund securing response to the relay server device, and after the relay server device receives the fund securing response, the value issuing request corresponding to the fund is transmitted to the electronic money business operator system. And the electronic money business operator system issues a value corresponding to the funds in response to the value issuance request, -A method comprising: transmitting an issue response to the relay server device; and the relay server device transmitting a charge response to the mobile terminal after receiving the value issue response. Provided.

ここで、上記方法は、上記携帯端末が、上記中継サーバ装置に、情報の一連の送受信を識別するトランザクションIDの発行要求を送信するステップと、上記中継サーバ装置が、上記発行要求に応じて、上記トランザクションIDを発行し、上記中継サーバ装置に備えられた記憶部に上記トランザクションIDおよび上記トランザクションIDに対応する処理状況を格納するとともに、上記携帯端末に上記トランザクションIDを送信するステップと、上記携帯端末が、上記トランザクションIDを受信し、上記携帯端末に備えられる記憶部に上記トランザクションIDおよび上記トランザクションIDに対応する処理状況を格納するステップと、をさらに含み、上記携帯端末が上記チャージ要求を送信するステップは、上記携帯端末が上記トランザクションIDを格納するステップの後に実行され、上記各ステップにおいて、上記携帯端末に備えられた記憶部および上記中継サーバ装置に備えられた記憶部に格納された、上記トランザクションIDに対応する処理状況が更新され、上記各ステップのいずれかが中断された場合、上記携帯端末が、上記携帯端末に備えられた記憶部から読み出した上記トランザクションIDおよび上記処理状況に基づいて、上記中継サーバ装置に、上記一連の送受信の再開要求および上記トランザクションIDを送信するステップと、上記中継サーバ装置が、上記再開要求および上記トランザクションIDと、上記中継サーバ装置に備えられた記憶部から読み出した上記トランザクションIDおよび上記処理状況とに基づいて、上記中断されたステップを再開するステップと、がさらに実行されてもよい。   Here, in the method, the mobile terminal transmits a transaction ID issuance request for identifying a series of information transmission / reception to the relay server device, and the relay server device responds to the issuance request, Issuing the transaction ID, storing the transaction ID and a processing status corresponding to the transaction ID in a storage unit provided in the relay server device, and transmitting the transaction ID to the portable terminal; The terminal receiving the transaction ID, and storing the transaction ID and a processing status corresponding to the transaction ID in a storage unit provided in the portable terminal, wherein the portable terminal transmits the charge request In the step of the mobile terminal The processing status corresponding to the transaction ID stored in the storage unit provided in the mobile terminal and the storage unit provided in the relay server device is executed after the step of storing the transaction ID. Is updated and any one of the above steps is interrupted, the mobile terminal is connected to the relay server device based on the transaction ID read from the storage unit provided in the mobile terminal and the processing status. A step of transmitting the series of transmission / reception resumption requests and the transaction ID; and the relay server device, the resumption request and the transaction ID, the transaction ID read from the storage unit provided in the relay server device, and the Based on the processing status, And resuming flop, but may be further performed.

また、上記課題を解決するために、本発明の別の観点によれば、携帯端末に備えられるコンピュータに電子マネーのチャージ処理を実行させるためのプログラムであって、中継サーバ装置に、情報の一連の送受信を識別するトランザクションIDの発行要求を送信するステップと、上記中継サーバ装置から上記トランザクションIDを受信し、上記携帯端末に備えられる記憶部に上記トランザクションIDおよび上記トランザクションIDに対応する処理状況を格納するステップと、上記中継サーバ装置にチャージ要求を送信するステップと、上記中継サーバ装置からチャージ応答を受信するステップと、を上記コンピュータに実行させ、上記各ステップにおいては、上記記憶部に格納された上記処理状況が更新され、上記各ステップのいずれかが中断された場合、上記記憶部から上記トランザクションIDおよび上記処理状況を読み出すステップと、上記トランザクションIDおよび上記処理状況に基づいて、上記一連の送受信の再開要求および上記トランザクションIDを上記中継サーバ装置に送信するステップと、をさらに上記コンピュータに実行させることを特徴とするプログラムが提供される。   In order to solve the above-described problem, according to another aspect of the present invention, there is provided a program for causing a computer provided in a mobile terminal to execute a process of charging electronic money. Transmitting a transaction ID issuance request for identifying transmission / reception of the transaction, receiving the transaction ID from the relay server device, and storing the transaction ID and the processing status corresponding to the transaction ID in a storage unit provided in the portable terminal. A step of storing, a step of transmitting a charge request to the relay server device, and a step of receiving a charge response from the relay server device are caused to be executed by the computer, and each step is stored in the storage unit. The processing status has been updated and any of the above steps If the transaction ID is interrupted, the step of reading out the transaction ID and the processing status from the storage unit, and the series of transmission / reception restart requests and the transaction ID based on the transaction ID and the processing status are sent to the relay server device. And transmitting the program to the computer.

以上説明したように本発明によれば、金融機関システムに改修を加えることなく、携帯端末から電子マネーのチャージを行うことができ、また、電子マネーのチャージ処理が中断された場合に、迅速かつ確実に復旧を行うことができる。   As described above, according to the present invention, it is possible to charge electronic money from a mobile terminal without modifying the financial institution system, and when the electronic money charging process is interrupted, Recovery can be performed reliably.

本発明の実施形態を適用した電子マネーチャージシステムの構成図である。1 is a configuration diagram of an electronic money charge system to which an embodiment of the present invention is applied. 本発明の実施形態に係る中継サーバ装置のブロック図である。It is a block diagram of the relay server apparatus which concerns on embodiment of this invention. 本発明の第1の実施形態に係るシステムの構成と通信手順を示す図である。It is a figure which shows the structure and communication procedure of the system which concern on the 1st Embodiment of this invention. 本発明の第2の実施形態に係るシステムの構成と通信手順を示す図である。It is a figure which shows the structure and communication procedure of the system which concern on the 2nd Embodiment of this invention. 同実施形態に係る携帯端末のメモリに格納されたデータの模式図である。It is a schematic diagram of the data stored in the memory of the mobile terminal according to the embodiment. 同実施形態に係る中継サーバ装置のデータベースに格納されたデータの模式図である。It is a schematic diagram of the data stored in the database of the relay server device according to the embodiment. 同実施形態に係る情報の送受信と、携帯端末および中継サーバ装置に格納されるステータスとの関係を示す図である。It is a figure which shows the relationship between transmission / reception of the information which concerns on the embodiment, and the status stored in a portable terminal and a relay server apparatus. 本実施形態に係る携帯端末が行う処理を示すフローチャートである。It is a flowchart which shows the process which the portable terminal which concerns on this embodiment performs. 本実施形態に係る携帯端末が行う処理を示すフローチャートである。It is a flowchart which shows the process which the portable terminal which concerns on this embodiment performs. 本実施形態に係る中継サーバ装置が行う処理を示すフローチャートである。It is a flowchart which shows the process which the relay server apparatus concerning this embodiment performs. 本実施形態に係る中継サーバ装置が行う処理を示すフローチャートである。It is a flowchart which shows the process which the relay server apparatus concerning this embodiment performs. 従来の電子マネーチャージシステムの構成図である。It is a block diagram of the conventional electronic money charge system.

以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。   Exemplary embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In addition, in this specification and drawing, about the component which has the substantially same function structure, duplication description is abbreviate | omitted by attaching | subjecting the same code | symbol.

<ハードウェアの構成例>
図1は、本発明の実施形態を適用した、電子マネーのチャージを行うシステムの構成の一例を示す図である。携帯端末100は、ネットワーク200を介して、中継サーバ装置500および電子マネー事業者システム400と接続される。
<Example of hardware configuration>
FIG. 1 is a diagram illustrating an example of a configuration of a system for charging electronic money to which an embodiment of the present invention is applied. The mobile terminal 100 is connected to the relay server device 500 and the electronic money business operator system 400 via the network 200.

中継サーバ装置500は、さらに、金融機関システム300および電子マネー事業者システム400と接続される。中継サーバ装置500と、金融機関システム300および電子マネー事業者システム400との間の接続は、図示したように専用線によるものでもよく、ネットワーク200と同様に公衆網によるものでもよい。   Relay server device 500 is further connected to financial institution system 300 and electronic money business operator system 400. The connection between the relay server device 500 and the financial institution system 300 and the electronic money business operator system 400 may be via a dedicated line as shown, or may be via a public network as with the network 200.

図2は、本発明の実施形態に係る、中継サーバ装置500の構成の一例を示す図である。中継サーバ装置500は、通信部501、制御部503、変換部505を備え、必要に応じて記憶部507を備える。   FIG. 2 is a diagram illustrating an example of the configuration of the relay server device 500 according to the embodiment of the present invention. The relay server device 500 includes a communication unit 501, a control unit 503, and a conversion unit 505, and includes a storage unit 507 as necessary.

通信部501は、通信デバイス、通信回路などにより構成され、携帯端末100、金融機関システム300および電子マネー事業者システム400と情報の送受信をすることができる。制御部503および変換部505は、図示したようにCPU(Central Processing Unit)510が記憶部507に格納されたプログラムを読み出して実行することによってソフトウェアとして実現されてもよく、専用の制御デバイスを設けることによってハードウェアとして実現されてもよい。   The communication unit 501 includes a communication device, a communication circuit, and the like, and can exchange information with the mobile terminal 100, the financial institution system 300, and the electronic money business operator system 400. The control unit 503 and the conversion unit 505 may be realized as software by a CPU (Central Processing Unit) 510 reading and executing a program stored in the storage unit 507 as illustrated, and a dedicated control device is provided. It may be realized as hardware.

記憶部507には、必要に応じて、ハードディスクドライブやフラッシュメモリ等が適宜組み合わせて用いられる。また、中継サーバ装置500は、上記の他に必要に応じて、オペレータによる操作を受け付けるためのキーボード、マウス等の入力装置や、オペレータに対して処理の状態を表示するためのモニタ等の表示装置等を適宜備える。   In the storage unit 507, a hard disk drive, a flash memory, or the like is appropriately combined as necessary. In addition to the above, the relay server device 500 includes an input device such as a keyboard and a mouse for accepting an operation by the operator, and a display device such as a monitor for displaying the processing status to the operator. Etc. as appropriate.

以下、図1および図2を適時参照しながら、本発明の第1の実施形態および第2の実施形態について説明する。   The first and second embodiments of the present invention will be described below with reference to FIGS. 1 and 2 as appropriate.

<第1の実施形態>
[第1の実施形態に係るシステムの構成]
図3は、本発明の第1の実施形態に係る、電子マネーのチャージを行うシステムの構成と通信手順を示す図である。以下、図3を参照して本実施形態における電子マネーチャージの通信手順を説明する。
<First Embodiment>
[Configuration of System According to First Embodiment]
FIG. 3 is a diagram showing a configuration of a system for charging electronic money and a communication procedure according to the first embodiment of the present invention. Hereinafter, the electronic money charge communication procedure in the present embodiment will be described with reference to FIG.

[第1の実施形態に係る通信手順]
本実施形態において、利用者の操作に基づき、電子マネーのチャージを行おうとする携帯端末100は、携帯端末100の識別情報、チャージ金額および利用者の口座情報等を含むチャージ要求を、中継サーバ装置500に向けて送信する(1)。
[Communication Procedure According to First Embodiment]
In the present embodiment, the mobile terminal 100 that is to charge electronic money based on a user's operation sends a charge request including identification information of the mobile terminal 100, a charge amount, user account information, and the like to the relay server device. Transmit to 500 (1).

中継サーバ装置500では、通信部501が、携帯端末100からチャージ要求を受信する。次に、変換部505が、受信されたチャージ要求を、金融機関システム300において処理可能な資金確保要求に変換し、通信部501が資金確保要求を金融機関システム300に送信する(2)。   In relay server device 500, communication unit 501 receives a charge request from mobile terminal 100. Next, the conversion unit 505 converts the received charge request into a fund securing request that can be processed by the financial institution system 300, and the communication unit 501 transmits the fund securing request to the financial institution system 300 (2).

ここで、中継サーバ装置500において変換部505が行う変換処理について、例を挙げて説明する。例えば、金融機関システム300のインタフェース310が、httpプロトコルを用いた汎用的な(電子マネーのチャージを目的としていない)インターネットバンキングシステムである場合、変換部505は、チャージ要求に含まれるチャージ金額および利用者の口座情報等に基づいて、金融機関システム300における利用者の口座からの資金確保要求を、インタフェース310に合わせてhttpプロトコルで作成し、インタフェース310に送信する。なお、この資金確保要求は、インタフェース310の仕様に合わせて、複数回の手順によって行われるものであってもよい。   Here, the conversion process performed by the conversion unit 505 in the relay server device 500 will be described with an example. For example, when the interface 310 of the financial institution system 300 is a general-purpose Internet banking system using the http protocol (not for the purpose of charging electronic money), the conversion unit 505 includes the charge amount and usage included in the charge request. A request for securing funds from the user's account in the financial institution system 300 is created using the http protocol in accordance with the interface 310 and transmitted to the interface 310 based on the account information of the user. The fund securing request may be made by a plurality of procedures in accordance with the specifications of the interface 310.

金融機関システム300では、インタフェース310が、中継サーバ装置500からの資金確保要求を受信する。インタフェース310は、受信された資金確保要求に基づいて、ホストコンピュータ330に利用者の口座からの資金確保の実行を依頼し、ホストコンピュータ330から返された処理結果を、資金確保応答として中継サーバ装置500に送信する(3)。   In the financial institution system 300, the interface 310 receives a fund securing request from the relay server device 500. The interface 310 requests the host computer 330 to execute funds securing from the user's account based on the received fund securing request, and uses the processing result returned from the host computer 330 as a fund securing response as a relay server device. (3).

中継サーバ装置500では、通信部501が、金融機関システム300からの資金確保応答を受信する。制御部503は、受信された資金確保応答を読み取り、処理結果が「成功」であれば、携帯端末100から受信したチャージ要求に含まれる携帯端末100の識別情報、チャージ金額等に基づいてバリュー発行要求を生成し、通信部501がバリュー発行要求を電子マネー事業者システム400に送信する(4)。   In relay server device 500, communication unit 501 receives a fund securing response from financial institution system 300. The control unit 503 reads the received funds securing response, and if the processing result is “success”, the control unit 503 issues a value based on the identification information of the mobile terminal 100, the charge amount, etc. included in the charge request received from the mobile terminal 100 The request is generated, and the communication unit 501 transmits a value issue request to the electronic money business operator system 400 (4).

一方、利用者の口座の資金不足等により資金確保応答の処理結果が「失敗」であった場合、制御部503は、「資金確保失敗」のチャージ応答を生成し、通信部501がチャージ応答を携帯端末100に送信し、携帯端末100は電子マネーのチャージ処理を終了する。この場合、電子マネーのチャージは例えば「資金不足のためチャージ不能」等のメッセージを携帯端末100に表示して終了する。   On the other hand, when the processing result of the fund securing response is “failure” due to lack of funds in the user's account, the control unit 503 generates a charge response “fund securing failure”, and the communication unit 501 sends the charge response. Transmitting to the portable terminal 100, the portable terminal 100 ends the electronic money charging process. In this case, the charging of the electronic money is terminated by displaying a message such as “cannot be charged due to insufficient funds” on the portable terminal 100, for example.

電子マネー事業者システム400は、中継サーバ装置500からのバリュー発行要求を受信する。電子マネー事業者システム400は、バリュー発行要求に基づいてバリューの発行処理を行い、処理結果をバリュー発行応答として中継サーバ装置500に送信する(5)。   The electronic money business operator system 400 receives the value issuance request from the relay server device 500. The electronic money business operator system 400 performs value issuance processing based on the value issuance request, and transmits the processing result to the relay server device 500 as a value issuance response (5).

中継サーバ装置500では、通信部501が、電子マネー事業者システム400からのバリュー発行応答を受信する。制御部503は、受信されたバリュー発行応答を読み取り、処理結果が「成功」であれば、「バリュー発行成功」のチャージ応答を生成し、通信部501がチャージ応答を携帯端末100に送信する(6)。   In relay server device 500, communication unit 501 receives a value issuance response from electronic money business operator system 400. The control unit 503 reads the received value issuance response. If the processing result is “success”, the control unit 503 generates a charge response of “value issuance success”, and the communication unit 501 transmits the charge response to the mobile terminal 100 ( 6).

一方、利用者のバリュー受取件数の規定件数超過等によりバリュー発行応答の処理結果が「失敗」であった場合、制御部503は、「バリュー発行失敗」のチャージ応答を生成し、通信部501がチャージ応答を携帯端末100に送信し、携帯端末100は電子マネーのチャージ処理を終了する。この場合、電子マネーのチャージは例えば「受取件数超過のためバリュー発行不能」等のメッセージを携帯端末100に表示して終了する。   On the other hand, when the processing result of the value issuance response is “failure” due to the excess of the number of value received by the user or the like, the control unit 503 generates a charge response of “value issuance failure”, and the communication unit 501 The charge response is transmitted to the mobile terminal 100, and the mobile terminal 100 ends the electronic money charging process. In this case, the charging of the electronic money is terminated by displaying, for example, a message such as “value cannot be issued due to excess number of receipts” on the mobile terminal 100.

携帯端末100は、中継サーバ装置500から受信したチャージ応答が「バリュー発行成功」である場合、電子マネー事業者システム400にバリュー受取要求を送信する(7)。   When the charge response received from the relay server device 500 is “value issuance success”, the portable terminal 100 transmits a value reception request to the electronic money business operator system 400 (7).

電子マネー事業者システム400は、携帯端末100から受信したバリュー受取要求に応じて、発行されたバリューのデータを携帯端末100に送信する(8)。携帯端末100は、受信したバリューのデータをICチップに書き込み、電子マネーのチャージ処理を終了する。この場合、電子マネーのチャージは例えば「チャージ成功」等のメッセージと、チャージ金額、バリュー残高等を携帯端末100に表示して終了する。   In response to the value reception request received from the mobile terminal 100, the electronic money business operator system 400 transmits the issued value data to the mobile terminal 100 (8). The portable terminal 100 writes the received value data to the IC chip, and ends the electronic money charging process. In this case, the charging of the electronic money is terminated by displaying a message such as “charge successful”, a charge amount, a value balance, etc. on the portable terminal 100, for example.

[第1の実施形態による効果]
本実施形態においては、電子マネーのチャージ処理における一連の情報の送受信を、中継サーバ装置500を介して行う。金融機関システム300との通信において、中継サーバ装置500の変換部505によって、携帯端末100からのチャージ要求は、金融機関システム300の汎用的なインタフェース310で処理可能な資金確保要求に変換して送信される。
[Effects of First Embodiment]
In the present embodiment, transmission / reception of a series of information in the electronic money charging process is performed via the relay server device 500. In communication with the financial institution system 300, the conversion unit 505 of the relay server device 500 converts the charge request from the portable terminal 100 into a fund securing request that can be processed by the general-purpose interface 310 of the financial institution system 300 and transmits the request. Is done.

上記の構成により、金融機関システム300に汎用的なインタフェース310が備えられてさえいれば、金融機関システム300にそれ以上の改修を加えることなく、より少ない時間と費用で、携帯端末100から電子マネーのチャージを行うシステムを構築することが可能となる。   With the above configuration, as long as the general-purpose interface 310 is provided in the financial institution system 300, the electronic money can be transferred from the mobile terminal 100 with less time and cost without further modification of the financial institution system 300. It is possible to construct a system for charging

<第2の実施形態>
[第2の実施形態に係るシステムの構成]
図4は、本発明の第2の実施形態に係る、電子マネーのチャージを行うシステムの構成と通信手順を示す図である。以下、図4を参照して本実施形態における電子マネーチャージの通信手順を説明する。
<Second Embodiment>
[Configuration of System According to Second Embodiment]
FIG. 4 is a diagram showing a configuration of a system for charging electronic money and a communication procedure according to the second embodiment of the present invention. The electronic money charge communication procedure in the present embodiment will be described below with reference to FIG.

本実施形態においては、第1の実施形態に係るシステムの構成に加えて、携帯端末100のメモリ120および中継サーバ装置500のデータベース520を使用する。メモリ120は、携帯端末100に備えられている、フラッシュメモリ等の不揮発性メモリである。データベース520は、中継サーバ装置500の記憶部507に構築される。   In this embodiment, in addition to the system configuration according to the first embodiment, the memory 120 of the mobile terminal 100 and the database 520 of the relay server device 500 are used. The memory 120 is a non-volatile memory such as a flash memory provided in the mobile terminal 100. The database 520 is constructed in the storage unit 507 of the relay server device 500.

[第2の実施形態に係る通信手順]
本実施形態において、利用者の操作に基づき、電子マネーのチャージを行おうとする携帯端末100は、トランザクションIDを発行するためのID発行要求を、中継サーバ装置500に向けて送信する(1)。
[Communication Procedure According to Second Embodiment]
In the present embodiment, the mobile terminal 100 that wants to charge electronic money based on a user operation transmits an ID issue request for issuing a transaction ID to the relay server device 500 (1).

ここで、トランザクションIDとは、電子マネーのチャージのために、携帯端末100、中継サーバ装置500、金融機関システム300および電子マネー事業者システム400の間で行われる情報の一連の送受信を識別するIDである。トランザクションIDは、1回の電子マネーのチャージ手続に対して一意となるように与えられ、例えば、携帯端末100の識別情報およびID生成時の時刻情報を表す文字列に、1日の中で割り振られるシーケンス番号を結合した文字列が用いられる。   Here, the transaction ID is an ID for identifying a series of transmission / reception of information performed between the portable terminal 100, the relay server device 500, the financial institution system 300, and the electronic money business operator system 400 for charging electronic money. It is. The transaction ID is given so as to be unique for one electronic money charging procedure. For example, the transaction ID is assigned to a character string representing identification information of the portable terminal 100 and time information at the time of generating the ID in one day. A character string in which sequence numbers are combined is used.

中継サーバ装置500では、制御部503が、通信部501を介して携帯端末100からのID発行要求を受け取る。ID発行要求を受け取った制御部503は、トランザクションIDを生成し、生成したトランザクションIDをデータベース520に格納するとともに、通信部501を介して携帯端末100に送信する(2)   In relay server device 500, control unit 503 receives an ID issue request from portable terminal 100 via communication unit 501. Receiving the ID issue request, the control unit 503 generates a transaction ID, stores the generated transaction ID in the database 520, and transmits the transaction ID to the portable terminal 100 via the communication unit 501 (2).

以下、チャージ要求(3)、資金確保要求(4)、資金確保応答(5)、バリュー発行要求(6)、バリュー発行応答(7)、チャージ応答(8)、バリュー受取要求(9)、受取応答(10)で送受信される情報ついては、第1の実施形態で説明した処理と同様であるため説明を省略する。   Hereinafter, charge request (3), fund securing request (4), fund securing response (5), value issuing request (6), value issuing response (7), charge response (8), value receiving request (9), receiving The information transmitted / received in the response (10) is the same as the processing described in the first embodiment, and a description thereof will be omitted.

ただし、本実施形態においては、上記の情報の送受信時に、携帯端末100のメモリ120および中継サーバ装置500のデータベース520に、トランザクションIDとステータス(処理状況)を対応させたデータレコードが格納される。   However, in the present embodiment, a data record in which a transaction ID and a status (processing state) are associated is stored in the memory 120 of the mobile terminal 100 and the database 520 of the relay server device 500 when the above information is transmitted and received.

図5は、携帯端末100のメモリ120に格納されたデータレコードを模式的に表す図である。図6は、中継サーバ装置500のデータベース520に格納されたデータレコードを模式的に表す図である。それぞれのデータレコードは、1つのトランザクションIDについて1レコードが格納され、一連の送受信が進行する過程で順次ステータスが更新される。これにより、現在の送受信の進行状況のステータスが把握できるようになる。データレコードは、この他に処理に必要な列を適宜含んでもよく、また必ずしも図示されているようにテーブル形式で構成されなくてもよい。   FIG. 5 is a diagram schematically illustrating a data record stored in the memory 120 of the mobile terminal 100. FIG. 6 is a diagram schematically illustrating data records stored in the database 520 of the relay server device 500. Each data record stores one record for one transaction ID, and the status is sequentially updated in the course of a series of transmission and reception. Thereby, the status of the current transmission / reception progress status can be grasped. In addition to this, the data record may appropriately include columns necessary for processing, and may not necessarily be configured in a table format as shown in the figure.

また、ひとつのトランザクションIDに対して複数の履歴を記録するのではなく、ひとつのトランザクションIDに対して1レコードを割り当てて、都度更新するようにしてもよい。   Also, instead of recording a plurality of histories for one transaction ID, one record may be assigned to one transaction ID and updated each time.

図7は、本実施形態に係る電子マネーのチャージ処理のための情報の一連の送受信を表すシーケンス図と、それぞれのステップにおいて携帯端末100のメモリ120および中継サーバ装置500のデータベース520に格納されているステータスとの関係を表した図である。以下、図7を参照しながら、電子マネーのチャージ処理のための情報の一連の送受信のステップと、携帯端末100のメモリ120および中継サーバ装置500のデータベース520にそれぞれ格納されるステータスとの関係について説明する。   FIG. 7 is a sequence diagram showing a series of transmission / reception of information for electronic money charging processing according to the present embodiment, and is stored in the memory 120 of the portable terminal 100 and the database 520 of the relay server device 500 at each step. It is a figure showing the relationship with a status. Hereinafter, with reference to FIG. 7, the relationship between a series of steps for transmitting and receiving information for electronic money charging processing and the statuses stored in the memory 120 of the mobile terminal 100 and the database 520 of the relay server device 500, respectively. explain.

なお、ここでの説明は正常ケースについてのみ概略的に行い、エラーケースも含めた詳細な説明は、後に携帯端末100および中継サーバ装置500のそれぞれの処理の説明において行う。   Note that the description here will be given only for the normal case only, and the detailed description including the error case will be given later in the description of the processing of the mobile terminal 100 and the relay server device 500.

初期状態では、トランザクションIDとステータスとを対応させたデータレコードは、メモリ120にもデータベース520にも格納されていない。この状態で、携帯端末100は中継サーバ装置500に対してトランザクションID発行要求を送信する(ステップS101)。   In the initial state, the data record in which the transaction ID is associated with the status is not stored in the memory 120 or the database 520. In this state, the mobile terminal 100 transmits a transaction ID issue request to the relay server device 500 (step S101).

トランザクションID発行要求を受信した中継サーバ装置500は、トランザクションIDを生成し、生成したトランザクションIDとステータス「ID発行済み」を対応させたデータレコードをデータベース520に格納する。中継サーバ装置500はさらに、生成したトランザクションIDを携帯端末100に送信する(ステップS103)。   The relay server device 500 that has received the transaction ID issue request generates a transaction ID, and stores a data record in which the generated transaction ID is associated with the status “ID issued” in the database 520. The relay server device 500 further transmits the generated transaction ID to the mobile terminal 100 (step S103).

トランザクションIDを受信した携帯端末100は、受信したトランザクションIDとステータス「ID取得済み」を対応させたデータレコードをメモリ120に格納する。携帯端末100はさらに、メモリ120に格納されているデータレコードのステータスを「チャージ要求中」に更新した後、トランザクションIDを含むチャージ要求を中継サーバ装置500に送信する(ステップS105)。   The mobile terminal 100 that has received the transaction ID stores a data record in which the received transaction ID is associated with the status “ID acquired” in the memory 120. The portable terminal 100 further updates the status of the data record stored in the memory 120 to “charging request”, and then transmits a charge request including the transaction ID to the relay server device 500 (step S105).

チャージ要求を受信した中継サーバ装置500は、データベース520に格納されているデータレコードのステータスを「資金確保中」に更新した後、資金確保要求を金融機関システム300に送信する(ステップS107)。   The relay server apparatus 500 that has received the charge request updates the status of the data record stored in the database 520 to “fund securing”, and then transmits the fund securing request to the financial institution system 300 (step S107).

中継サーバ装置500はこの後、金融機関システム300からの資金確保応答を受信する(ステップS109)。中継サーバ装置500は、データベース520に格納されているデータレコードのステータスを「バリュー発行中」に更新した後、バリュー発行要求を電子マネー事業者システム400に送信する(ステップS111)。   The relay server device 500 thereafter receives a fund securing response from the financial institution system 300 (step S109). The relay server device 500 updates the status of the data record stored in the database 520 to “value issuance”, and then transmits a value issuance request to the electronic money business operator system 400 (step S111).

中継サーバ装置500はこの後、電子マネー事業者システム400からのバリュー発行応答を受信する(ステップS113)。中継サーバ装置500は、データベース520に格納されているデータレコードのステータスを「バリュー発行済み」に更新した後、携帯端末100にチャージ応答を送信する(ステップS115)。   Thereafter, the relay server device 500 receives the value issuance response from the electronic money business operator system 400 (step S113). The relay server device 500 updates the status of the data record stored in the database 520 to “value issued”, and then transmits a charge response to the mobile terminal 100 (step S115).

バリュー発行応答を受信した携帯端末100は、メモリ120に格納されたデータレコードのステータスを「受取中」に更新した後、電子マネー事業者システム400に対してバリュー受取要求を送信する(ステップS117)。電子マネー事業者システム400は、携帯端末100から受信したバリュー受取要求に応じて、携帯端末100に受取応答とともに電子マネーのデータを送信する(ステップS119)。   The mobile terminal 100 that has received the value issue response updates the status of the data record stored in the memory 120 to “receiving”, and then transmits a value reception request to the electronic money business operator system 400 (step S117). . In response to the value reception request received from the mobile terminal 100, the electronic money business operator system 400 transmits electronic money data together with a reception response to the mobile terminal 100 (step S119).

ここまでの情報の送受信のステップが終了し、バリューデータの受信およびICチップへの書き込みが終了した後、携帯端末100はメモリ120に格納されたデータレコードを削除し、電子マネーのチャージ処理を終了する。   After the information transmission / reception steps so far are completed and the reception of the value data and the writing to the IC chip are completed, the mobile terminal 100 deletes the data record stored in the memory 120 and ends the electronic money charging process. To do.

[第2の実施形態に係る携帯端末における処理]
図8Aおよび図8Bは、本実施形態に係る電子マネーのチャージにおいて、携帯端末100が行う処理を示すフローチャートである。以下、図8Aおよび図8Bを参照しながら、本実施形態に係る携帯端末100の処理について、詳細に説明する。
[Processing in Mobile Terminal According to Second Embodiment]
8A and 8B are flowcharts showing processing performed by the mobile terminal 100 in charging electronic money according to the present embodiment. Hereinafter, the processing of the mobile terminal 100 according to the present embodiment will be described in detail with reference to FIGS. 8A and 8B.

本実施形態に係る携帯端末100は、利用者の操作に基づき、電子マネーチャージ処理を開始(ステップS201)した後、まず、メモリ120からトランザクションIDを含むデータレコードの取得を試みる(ステップS203)。   The mobile terminal 100 according to the present embodiment starts an electronic money charge process based on a user's operation (step S201), and first attempts to acquire a data record including a transaction ID from the memory 120 (step S203).

メモリ120からデータレコードが取得できず、従ってトランザクションIDも取得できなかった場合(ステップS205)、携帯端末100は、中断された電子マネーチャージ処理はないと判断し、新たなチャージ処理を開始する。この場合、携帯端末100は、中継サーバ装置500に対しID発行要求を送信する(ステップS207)。   If the data record cannot be acquired from the memory 120 and therefore the transaction ID cannot be acquired (step S205), the mobile terminal 100 determines that there is no interrupted electronic money charging process and starts a new charging process. In this case, the mobile terminal 100 transmits an ID issue request to the relay server device 500 (step S207).

ID発行要求に対して、中継サーバ装置500から何らかの原因(ネットワークの切断、中継サーバ装置500のダウン、等)で正常応答が返されなかった場合(ステップS209)、携帯端末100は、電子マネーチャージ処理をエラー終了する(ステップS211)。   When the normal response is not returned from the relay server device 500 for some reason (network disconnection, relay server device 500 down, etc.) in response to the ID issuance request (step S209), the mobile terminal 100 receives the electronic money charge. The process ends with an error (step S211).

上記以外、すなわちID発行要求に対して、中継サーバ装置500から正常応答とともにトランザクションIDが返された場合(ステップS209)、携帯端末100は、受信したトランザクションIDにステータス「ID取得済み」を対応させたデータレコードを、メモリ120に格納する(ステップS213)。その後、携帯端末100は、当該データレコードのステータスを「チャージ要求中」に更新(ステップS215)し、中継サーバ装置500に対してチャージ要求を送信する(ステップS217)。   Other than the above, that is, when a transaction ID is returned together with a normal response from the relay server device 500 in response to the ID issuance request (step S209), the portable terminal 100 associates the status “ID acquired” with the received transaction ID. The stored data record is stored in the memory 120 (step S213). Thereafter, the mobile terminal 100 updates the status of the data record to “charging requested” (step S215), and transmits a charge request to the relay server device 500 (step S217).

チャージ要求に対して、中継サーバ装置500から正常応答が返されなかった場合(ステップS219)で、「バリュー発行失敗」または「資金確保失敗」のエラー応答が返された場合(ステップS221)、携帯端末100は、電子マネーチャージ処理を終了する。   When a normal response is not returned from the relay server device 500 in response to the charge request (step S219), an error response of “value issue failure” or “fund securing failure” is returned (step S221). The terminal 100 ends the electronic money charge process.

この場合、送受信は中断せずに完結しているため、エラー終了ではなく通常終了とする。携帯端末100は、メモリ120からトランザクションIDを含むデータレコードを削除し(ステップS225)、例えば「資金不足のためチャージ不能」「受取件数超過のためバリュー発行不能」等のメッセージを表示してチャージ処理を終了する(ステップS227)。   In this case, since the transmission / reception is completed without interruption, the normal end is made instead of the error end. The mobile terminal 100 deletes the data record including the transaction ID from the memory 120 (step S225), and displays a message such as “impossible to charge due to lack of funds” or “impossible to issue value due to excessive number of receipts”. Is finished (step S227).

上記以外で、チャージ要求に対して、何らかの原因(ネットワークの切断、中継サーバ装置500のダウン、等)で正常応答が返されなかった場合(ステップS221)、携帯端末100は電子マネーチャージ処理を終了する(ステップS223)。   Other than the above, when a normal response is not returned in response to the charge request for some reason (network disconnection, relay server device 500 down, etc.) (step S221), the mobile terminal 100 ends the electronic money charging process (Step S223).

この場合、送受信が中断していると推定されるため、エラー終了とする。利用者により携帯端末100に対して再度のチャージ操作が行われた際に処理を再開するために、データレコードはメモリ120に残される。   In this case, since it is estimated that transmission / reception is interrupted, the process ends in error. The data record is left in the memory 120 in order to resume processing when the user performs a charge operation on the mobile terminal 100 again.

上記以外、すなわちチャージ要求に対して、中継サーバ装置500から正常応答が返された場合(ステップS219)、携帯端末100は、メモリ120に格納されたデータレコードで、ステータスを「受取中」に更新(ステップS229)した後、バリュー受取要求を電子マネー事業者システム400に送信する(ステップS231)。   Other than the above, that is, when a normal response is returned from the relay server device 500 in response to the charge request (step S219), the mobile terminal 100 updates the status to “receiving” with the data record stored in the memory 120 After (Step S229), a value reception request is transmitted to the electronic money business operator system 400 (Step S231).

バリュー受取要求に対して、何らかの原因(ネットワークの切断、電子マネー事業者システム400のダウン、等)で正常応答が返されなかった場合(ステップS233)、携帯端末100は電子マネーチャージ処理を終了する(ステップS235)。   When a normal response is not returned for some reason (network disconnection, electronic money business operator system 400 down, etc.) in response to the value receiving request (step S233), the mobile terminal 100 ends the electronic money charging process. (Step S235).

この場合、送受信が中断していると推定されるため、エラー終了とする。利用者により携帯端末100に対して再度のチャージ操作が行われた際に処理を再開するために、データレコードはメモリ120に残される。   In this case, since it is estimated that transmission / reception is interrupted, the process ends in error. The data record is left in the memory 120 in order to resume processing when the user performs a charge operation on the mobile terminal 100 again.

上記以外、すなわちバリュー受取要求に対して、電子マネー事業者システム400から正常応答が返された場合(ステップS233)、携帯端末100は、電子マネーチャージ処理を正常終了する。携帯端末100は、メモリ120からトランザクションIDを含むデータレコードを削除し(ステップS237)、例えば「チャージ成功」等のメッセージと、チャージ金額、バリュー残高等を表示してチャージ処理を終了する(ステップS239)。   Other than the above, that is, when a normal response is returned from the electronic money business operator system 400 in response to the value receiving request (step S233), the mobile terminal 100 normally ends the electronic money charging process. The mobile terminal 100 deletes the data record including the transaction ID from the memory 120 (step S237), displays a message such as “charge successful”, the charge amount, the value balance, etc., and ends the charge process (step S239). ).

一方、トランザクションIDの取得(ステップS203)において、メモリ120からデータレコードが取得でき、そこからトランザクションIDが取得できた場合(ステップS205)、携帯端末100は、中断された電子マネーチャージ処理があると判断し、中断されたチャージ処理を再開する。   On the other hand, in the acquisition of the transaction ID (step S203), if the data record can be acquired from the memory 120 and the transaction ID can be acquired therefrom (step S205), the mobile terminal 100 has an interrupted electronic money charge process. Determine and restart the interrupted charge process.

データレコードからトランザクションIDとともに取得されたステータスが「ID取得済み」であった場合(ステップS241)、携帯端末100は、前回のチャージ処理において、中継サーバ装置500からトランザクションIDを受け取った後、チャージ応答を送信する前に、携帯端末100の電源が切れる等して処理の中断が発生したと判断する。この場合、携帯端末100は、メモリ120からデータレコードを削除し(ステップS243)、中継サーバ装置500へのID発行要求の送信(ステップS207)から処理を再開する。   When the status acquired together with the transaction ID from the data record is “ID acquired” (step S241), the mobile terminal 100 receives the transaction ID from the relay server device 500 in the previous charging process, and then receives the charge response. Before transmitting, it is determined that the processing has been interrupted due to, for example, the mobile terminal 100 being powered off. In this case, the mobile terminal 100 deletes the data record from the memory 120 (step S243), and resumes the process from transmission of the ID issue request to the relay server device 500 (step S207).

上記以外で、データレコードからトランザクションIDとともに取得されたステータスが「チャージ要求中」であった場合(ステップS245)、携帯端末100は、前回のチャージ処理において、中継サーバ装置500にチャージ要求を送信した後、チャージ応答を受信する前に中断が発生したと判断する。この場合、携帯端末100は、中継サーバ装置500へのチャージ要求の送信(ステップS217)から処理を再開する。   Other than the above, when the status acquired together with the transaction ID from the data record is “charging request” (step S245), the mobile terminal 100 transmits a charge request to the relay server device 500 in the previous charging process. Thereafter, it is determined that an interruption has occurred before receiving the charge response. In this case, the mobile terminal 100 resumes processing from transmission of a charge request to the relay server device 500 (step S217).

上記以外の場合、すなわちトランザクションIDとともに取得されたステータスが「受取中」であった場合(ステップS245)、携帯端末100は、前回のチャージ処理において、電子マネー事業者システム400にバリュー受取要求を送信した後、電子マネーデータを受信する前に中断が発生したと判断する。この場合、携帯端末100は、電子マネー事業者システム400へのバリュー受取要求の送信(ステップS231)から処理を再開する。   In other cases, that is, when the status acquired together with the transaction ID is “receiving” (step S245), the mobile terminal 100 transmits a value receiving request to the electronic money business operator system 400 in the previous charging process. After that, it is determined that the interruption has occurred before the electronic money data is received. In this case, the mobile terminal 100 resumes the process from the transmission of the value reception request to the electronic money business operator system 400 (step S231).

[第2の実施形態に係る中継サーバ装置における処理]
図9および図10は、本実施形態に係る電子マネーチャージ処理において、中継サーバ装置500が行う処理を示すフローチャートである。図9は、携帯端末100からID発行要求を受信した際の処理を、図10は、携帯端末100からチャージ要求を受信したときの処理をそれぞれ示している。以下、図9および図10を参照しながら、本実施形態に係る中継サーバ装置500の処理について、詳細に説明する。
[Processing in Relay Server Device According to Second Embodiment]
9 and 10 are flowcharts showing processing performed by the relay server device 500 in the electronic money charge processing according to the present embodiment. FIG. 9 shows a process when an ID issue request is received from the mobile terminal 100, and FIG. 10 shows a process when a charge request is received from the mobile terminal 100. Hereinafter, the processing of the relay server device 500 according to the present embodiment will be described in detail with reference to FIGS. 9 and 10.

本実施形態において、携帯端末100からID発行要求が送信された場合、中継サーバ装置500の制御部503は、通信部501を介して、携帯端末100からのID発行要求を受け付ける(ステップS301)と、新たなトランザクションIDを生成する(ステップS303)。次に、制御部503は、生成したトランザクションIDとステータス「ID発行済み」とを対応させたデータレコードをデータベース520に格納する(ステップS305)。その後、制御部503は、通信部501を介して携帯端末100にトランザクションIDを正常応答とともに送信する(ステップS307)。   In this embodiment, when an ID issue request is transmitted from the mobile terminal 100, the control unit 503 of the relay server device 500 receives the ID issue request from the mobile terminal 100 via the communication unit 501 (step S301). A new transaction ID is generated (step S303). Next, the control unit 503 stores a data record in which the generated transaction ID is associated with the status “ID issued” in the database 520 (step S305). Thereafter, the control unit 503 transmits a transaction ID together with a normal response to the mobile terminal 100 via the communication unit 501 (step S307).

本実施形態において、携帯端末100からチャージ要求が送信された場合、中継サーバ装置500の制御部503は、通信部501を介して、携帯端末100からのトランザクションIDを伴ったチャージ要求を受け付ける(ステップS401)。この後まず、制御部503は、データベース520から、受信したトランザクションIDをキーにしてデータレコードを取得し、そこからステータスを取得する(ステップS403)。   In the present embodiment, when a charge request is transmitted from the mobile terminal 100, the control unit 503 of the relay server device 500 accepts a charge request accompanied by a transaction ID from the mobile terminal 100 via the communication unit 501 (step S401). Thereafter, first, the control unit 503 acquires a data record from the database 520 using the received transaction ID as a key, and acquires a status therefrom (step S403).

取得したステータスが「資金確保中」であった場合(ステップS405)、制御部503は、前回のチャージ処理において、金融機関システム300に資金確保要求を送信した後、資金確保応答を受信する前に中断が発生したと判断する。この場合、金融機関システム300内での処理状況が不明であるため、制御部503は自動的に復旧処理を行わず、例えば、中継サーバ装置500が備える表示部へのメッセージ表示、オペレータ端末へのメッセージ送信等の手段で、オペレータに調査・対応を指示する(ステップS407)。   When the acquired status is “finance securing” (step S405), the control unit 503 transmits a fund securing request to the financial institution system 300 in the previous charge process and before receiving a fund securing response. It is determined that an interruption has occurred. In this case, since the processing status in the financial institution system 300 is unknown, the control unit 503 does not automatically perform recovery processing. For example, the message display on the display unit included in the relay server device 500, the display to the operator terminal The operator is instructed to investigate and respond by means of message transmission or the like (step S407).

取得したステータスが「ID発行済み」であった場合(ステップS409)、制御部503は、中断された前回のチャージ処理は存在しないか、チャージ要求が制御部503に受けるけられる前に中断されたと判断する。この場合、チャージ要求受け付け以降の処理は開始されていないため、制御部503は、通常のチャージ手順に入る。制御部503はまず、データベース520に格納されたデータレコードのステータスを「資金確保中」に更新し(ステップS411)、金融機関システム300に資金確保要求を送信する(ステップS413)。   When the acquired status is “ID issued” (step S409), the control unit 503 determines that there is no previous charge processing that has been interrupted, or has been interrupted before the charge request is received by the control unit 503. to decide. In this case, since the process after acceptance of the charge request is not started, the control unit 503 enters a normal charge procedure. First, the control unit 503 updates the status of the data record stored in the database 520 to “finance securing” (step S411), and transmits a fund securing request to the financial institution system 300 (step S413).

資金確保要求に対して、何らかの原因(ネットワークの切断、金融機関システム300内の障害、等)で正常応答が返されなかった場合(ステップS415)、制御部503は、データベースに格納されたデータレコードのステータスを「資金確保失敗」に更新(ステップS417)した後、通信部501を介して、携帯端末100に「資金確保失敗」のエラー応答を送信し、処理を終了する(ステップS419)。   When a normal response is not returned for some reason (network disconnection, failure in the financial institution system 300, etc.) in response to the fund securing request (step S415), the control unit 503 stores the data record stored in the database. Is updated to “fund securing failure” (step S 417), an error response “fund securing failure” is transmitted to the mobile terminal 100 via the communication unit 501, and the process ends (step S 419).

上記以外、すなわち資金確保要求に対して、金融機関システム300から正常応答が返された場合(ステップS415)、制御部503は、データベース520に格納されたデータレコードのステータスを「バリュー発行中」に更新し(ステップS421)、電子マネー事業者システム400にバリュー発行依頼を送信する(ステップS423)。   Other than the above, that is, when a normal response is returned from the financial institution system 300 to the fund securing request (step S415), the control unit 503 sets the status of the data record stored in the database 520 to “value issuance” It updates (step S421) and transmits a value issuance request to the electronic money business operator system 400 (step S423).

バリュー発行要求に対して、何らかの原因(ネットワークの切断、電子マネー事業者システム400のダウン、等)で正常応答が返されなかった場合(ステップS425)、制御部503は、データベース520に格納されたデータレコードのステータスを「バリュー発行失敗」に更新(ステップS427)した後、通信部501を介して、携帯端末100に「バリュー発行失敗」のエラー応答を送信し、処理を終了する(ステップS429)。   When a normal response is not returned for some reason (network disconnection, electronic money business operator system 400 down, etc.) in response to the value issuance request (step S425), the control unit 503 is stored in the database 520. After the status of the data record is updated to “value issue failure” (step S427), an error response “value issue failure” is transmitted to the mobile terminal 100 via the communication unit 501, and the process is terminated (step S429). .

上記以外、すなわちバリュー発行要求に対して、電子マネー事業者から正常応答が返された場合(ステップS425)、制御部503は、データベース520に格納されたデータレコードのステータスを「バリュー発行成功」に更新し(ステップS431)、通信部501を介して、携帯端末100に、正常応答を送信する(ステップS433)。   Other than the above, that is, when a normal response is returned from the electronic money business in response to the value issue request (step S425), the control unit 503 sets the status of the data record stored in the database 520 to “value issue successful”. Update (step S431), and transmit a normal response to the mobile terminal 100 via the communication unit 501 (step S433).

一方、取得したステータスが「資金確保失敗」であった場合(ステップS435)、制御部503は、前回のチャージ処理において、携帯端末100に「資金確保失敗」のエラー応答を送信中に中断が発生したと判断し、通信部501を介して、携帯端末100に「資金確保失敗」のエラー応答を送信し、処理を終了する(ステップS419)。   On the other hand, when the acquired status is “fund securing failure” (step S435), the control unit 503 interrupts while transmitting an error response of “fund securing failure” to the mobile terminal 100 in the previous charging process. It is determined that it has been made, an error response of “fund securing failure” is transmitted to the mobile terminal 100 via the communication unit 501, and the process is terminated (step S419).

取得したステータスが「バリュー発行中」または「バリュー発行失敗」であった場合(ステップS437)、制御部503は、前回のチャージ処理において、資金確保要求に対して金融機関システム300から正常応答が返された後、携帯端末100にエラー応答を送信するまでのどこかのタイミングで中断が発生したと判断し、電子マネー事業者システム400へのバリュー発行依頼送信(ステップS423)から処理を再開する。   When the acquired status is “value issuance” or “value issuance failure” (step S437), the control unit 503 returns a normal response from the financial institution system 300 to the fund securing request in the previous charge process. After that, it is determined that an interruption has occurred at some timing until an error response is transmitted to the mobile terminal 100, and the process is restarted from the value issuance request transmission to the electronic money business operator system 400 (step S423).

取得したステータスが上記以外、すなわち「バリュー発行成功」の場合、制御部503は、携帯端末に正常応答を送信中に中断が発生したと判断し、通信部501を介して、携帯端末100に、正常チャージ応答を送信する(ステップS433)。   When the acquired status is other than the above, that is, “value issuance success”, the control unit 503 determines that an interruption has occurred during transmission of a normal response to the mobile terminal, and sends the mobile terminal 100 to the mobile terminal 100 via the communication unit 501. A normal charge response is transmitted (step S433).

[第2の実施形態に係る中断復旧処理]
上記のとおり、本実施形態に係る復旧処理は、携帯端末100および中継サーバ装置500が、それぞれメモリ120およびデータベース520が保持しているステータスに基づいて、チャージ処理の再開を試みることにより実行される。表1、および通信手順を示す図4を参照して、携帯端末100および中継サーバ装置500の処理の結果、システム全体として実行される復旧処理について、処理再開時に携帯端末100および中継サーバ装置500が保持しているステータスごとに説明する。
[Interruption and recovery processing according to the second embodiment]
As described above, the recovery process according to the present embodiment is executed by the mobile terminal 100 and the relay server device 500 attempting to restart the charge process based on the statuses held in the memory 120 and the database 520, respectively. . With reference to Table 1 and FIG. 4 showing the communication procedure, as a result of the processing of the mobile terminal 100 and the relay server device 500, the recovery processing executed as the entire system is performed by the mobile terminal 100 and the relay server device 500 when the processing is resumed. Each status is explained.

Figure 2011192147
Figure 2011192147

(パターン1)
中継サーバ装置500から携帯端末100へのトランザクションIDの送信の際に、通信の切断等により中断が発生したと考えられる。この場合、携帯端末100のメモリ120にはまだデータレコードが格納されておらず、初期状態と同じであるため、最初の携帯端末100から中継サーバ装置500へのID発行要求送信(1)から処理が再実行される。
(Pattern 1)
When the transaction ID is transmitted from the relay server device 500 to the mobile terminal 100, it is considered that an interruption has occurred due to communication disconnection or the like. In this case, since the data record is not yet stored in the memory 120 of the mobile terminal 100 and is the same as the initial state, the process from the first ID issue request transmission (1) from the mobile terminal 100 to the relay server device 500 is performed. Is re-executed.

(パターン2)
携帯端末100がトランザクションIDを受信してデータレコードをメモリ120に格納した後、中継サーバ装置500にチャージ要求を送信するまでの間に、携帯端末100の電源が切れるなどして中断が発生したと考えられる。この場合、チャージ要求はまだ送信されておらず、実質的なチャージ処理は開始されていないため、携帯端末100はデータレコードを一旦削除し、携帯端末100から中継サーバ装置500へのID発行要求送信(1)から処理が再実行される。
(Pattern 2)
After the mobile terminal 100 receives the transaction ID and stores the data record in the memory 120 and before transmitting the charge request to the relay server device 500, the mobile terminal 100 is turned off or the like is interrupted. Conceivable. In this case, since the charge request has not yet been transmitted and the substantial charge process has not started, the mobile terminal 100 once deletes the data record and transmits the ID issue request from the mobile terminal 100 to the relay server device 500. The processing is re-executed from (1).

(パターン3)
携帯端末100から中継サーバ装置500へのチャージ要求の送信の際に、通信の切断等により中断が発生したと考えられる。この場合、中継サーバ装置500においてチャージ要求が受信されていないため、携帯端末100から中継サーバ装置500へのチャージ要求送信(3)から処理が再実行される。
(Pattern 3)
When transmitting a charge request from the mobile terminal 100 to the relay server device 500, it is considered that an interruption occurred due to disconnection of communication or the like. In this case, since the charge request is not received in the relay server device 500, the process is re-executed from the charge request transmission (3) from the mobile terminal 100 to the relay server device 500.

(パターン4)
中継サーバ装置500から金融機関システム300への資金確保要求の送信から資金確保応答の受信までの間に、通信の切断または金融機関システム300内での障害等により中断が発生したと考えられる。この場合、金融機関システム300内で処理状況が不明であるため、中継サーバ装置500の判断で自動的に復旧処理を行うことができない。そのため、中継サーバ装置500がオペレータに障害の発生を通知するか、またはエラー応答を受信した携帯端末100が、利用者にオペレータに連絡をすることを促すメッセージを表示する。
(Pattern 4)
It is considered that an interruption occurred due to a disconnection of communication or a failure in the financial institution system 300 between the transmission of the funds securing request from the relay server device 500 to the financial institution system 300 and the reception of the fund securing response. In this case, since the processing status is unknown in the financial institution system 300, the recovery processing cannot be automatically performed based on the determination of the relay server device 500. Therefore, the relay server device 500 notifies the operator of the occurrence of the failure, or the mobile terminal 100 that has received the error response displays a message prompting the user to contact the operator.

(パターン5)
中継サーバ装置500が、携帯端末100に「資金確保失敗」のエラー応答を送信する際に、通信の切断等により中断が発生したと考えられる。この場合、利用者の口座に資金を入金しないと処理は成功しないため、金融機関システム300への資金確保要求(4)の再実行はせずに、中継サーバ装置500から携帯端末100への「資金確保失敗」のチャージ応答送信から処理が再実行される。
(Pattern 5)
When the relay server device 500 transmits an error response of “failure to secure funds” to the mobile terminal 100, it is considered that an interruption has occurred due to communication disconnection or the like. In this case, since the processing is not successful unless the funds are deposited in the user's account, the re-execution of the fund securing request (4) to the financial institution system 300 is not performed, and “ The processing is re-executed from the charge response transmission of “fund securing failure”.

(パターン6)
中継サーバ装置500から電子マネー事業者システム400へのバリュー発行要求の送信からバリュー発行応答の受信までの間に、通信の切断またはシステム障害等により処理が中断されたと考えられる。この場合、中継サーバ装置500から電子マネー事業者システム400へのバリュー発行要求送信(6)から処理が再実行される。
(Pattern 6)
It is considered that the processing was interrupted due to a disconnection of communication or a system failure between the transmission of the value issuance request from the relay server device 500 to the electronic money business operator system 400 and the reception of the value issuance response. In this case, the processing is re-executed from the value issuance request transmission (6) from the relay server device 500 to the electronic money business operator system 400.

(パターン7)
中継サーバ装置500が、携帯端末100に「バリュー発行成功」のチャージ応答を送信する際に、通信の切断等により中断が発生したと考えられる。この場合、中継サーバ装置500から携帯端末100への「バリュー発行成功」のチャージ応答送信(8)から処理が再実行される。
(Pattern 7)
When the relay server device 500 transmits a charge response of “value issuance success” to the mobile terminal 100, it is considered that an interruption has occurred due to communication disconnection or the like. In this case, the process is re-executed from the charge response transmission (8) of “value issue success” from the relay server device 500 to the mobile terminal 100.

(パターン8)
中継サーバ装置500が、携帯端末100に「バリュー発行失敗」のチャージ応答を送信する際に、通信の切断等により中断が発生したと考えられる。この場合、中継サーバ装置500から携帯端末100への「バリュー発行失敗」のチャージ応答送信(8)から処理が再実行される。
(Pattern 8)
When the relay server device 500 transmits a charge response of “value issue failure” to the mobile terminal 100, it is considered that an interruption has occurred due to communication disconnection or the like. In this case, the process is re-executed from the charge response transmission (8) of “value issue failure” from the relay server device 500 to the mobile terminal 100.

(パターン9)
携帯端末100から電子マネー事業者システム400へのバリュー受取要求の送信からバリュー受取応答の受信までの間に、通信の切断またはシステム障害等により処理が中断されたと考えられる。この場合、携帯端末100から電子マネー事業者システム400へのバリュー受取要求送信(9)から処理が再実行される。
(Pattern 9)
It is considered that the processing was interrupted due to a disconnection of communication or a system failure between the transmission of the value reception request from the mobile terminal 100 to the electronic money business operator system 400 and the reception of the value reception response. In this case, the processing is re-executed from the value reception request transmission (9) from the portable terminal 100 to the electronic money business operator system 400.

[第2の実施形態による効果]
本実施形態においては、電子マネーのチャージ処理における一連の情報の送受信を、中継サーバ装置500を介して行う。この中継サーバ装置500が備えるデータベース520において処理のステータスを保持することによって、一部の例外を除き、中断された電子マネーチャージ処理を自動的に復旧させることが可能になった。
[Effects of Second Embodiment]
In the present embodiment, transmission / reception of a series of information in the electronic money charging process is performed via the relay server device 500. By holding the processing status in the database 520 provided in the relay server device 500, the interrupted electronic money charging process can be automatically recovered with some exceptions.

また、携帯端末100が備えるメモリ120においても処理のステータスを保持することによって、上記の復旧処理を携帯端末100からの起動により行うことが可能になった。これにより、中継サーバ装置500側でのオペレータによる操作を待つことなく、携帯端末100の操作により迅速に、中断された電子マネーチャージ処理を復旧させることが可能になった。   Further, by holding the processing status in the memory 120 included in the mobile terminal 100, it is possible to perform the above-described recovery processing by starting from the mobile terminal 100. As a result, the suspended electronic money charge process can be quickly restored by the operation of the mobile terminal 100 without waiting for the operation by the operator on the relay server device 500 side.

[第2の実施形態の変形例]
ここまでの本実施形態の説明では、電子マネー事業者システム400が、中継サーバ装置500からのバリュー発行要求に応答してバリューを発行した後、バリュー発行結果を送信するシステムを想定しているが、一部の電子マネー事業者システム400にはバリュー発行結果を送信する機能がないものもある。
[Modification of Second Embodiment]
In the description of the present embodiment so far, it is assumed that the electronic money provider system 400 transmits a value issuance result after issuing a value in response to a value issuance request from the relay server device 500. Some electronic money business operator systems 400 do not have a function of transmitting a value issuance result.

その場合、例えば、中継サーバ装置500における処理の最初(例えば図9のステップS303の前)に、電子マネー事業者システム400に対して未受取バリューの存在確認を行い、未受取バリューが存在する場合はそのまま処理成功とする(例えば図10のステップS433にジャンプする)ことで、バリュー発行後の処理の中断に対応することができる。   In this case, for example, at the beginning of processing in the relay server device 500 (for example, before step S303 in FIG. 9), the presence of unreceived value is confirmed with respect to the electronic money business operator system 400, and there is an unreceived value. Can be processed as it is (for example, jump to step S433 in FIG. 10) to cope with interruption of processing after value issuance.

以上、添付図面を参照しながら本発明の好適な実施形態について詳細に説明したが、本発明はかかる例に限定されない。本発明の属する技術の分野における通常の知識を有する者であれば、特許請求の範囲に記載された技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、これらについても、当然に本発明の技術的範囲に属するものと了解される。   The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the present invention is not limited to such examples. It is obvious that a person having ordinary knowledge in the technical field to which the present invention pertains can come up with various changes or modifications within the scope of the technical idea described in the claims. Of course, it is understood that these also belong to the technical scope of the present invention.

100 携帯端末
120 メモリ
200 ネットワーク
300 金融機関システム
310 インタフェース
330 ホストコンピュータ
400 電子マネー事業者システム
500 中継サーバ装置
501 通信部
503 制御部
505 変換部
507 記憶部
520 データベース
DESCRIPTION OF SYMBOLS 100 Mobile terminal 120 Memory 200 Network 300 Financial institution system 310 Interface 330 Host computer 400 Electronic money business operator system 500 Relay server apparatus 501 Communication part 503 Control part 505 Conversion part 507 Storage part 520 Database

Claims (10)

電子マネーのチャージを行うための中継サーバ装置であって、
チャージ要求を送信する携帯端末、前記チャージ要求に応じて資金を確保する金融機関システム、および前記資金に相当するバリューを発行する電子マネー事業者システムと情報の送受信を行う通信部と、
前記通信部から前記金融機関システムへ送信される前記情報の一部または全部を、前記金融機関システムにおいて処理可能な形式に変換する変換部と、
前記通信部および変換部を制御する制御部と、
を備えることを特徴とする、中継サーバ装置。
A relay server device for charging electronic money,
A mobile terminal that transmits a charge request, a financial institution system that secures funds in response to the charge request, and a communication unit that transmits and receives information to and from an electronic money business operator system that issues a value corresponding to the funds;
A conversion unit that converts part or all of the information transmitted from the communication unit to the financial institution system into a format that can be processed by the financial institution system;
A control unit for controlling the communication unit and the conversion unit;
A relay server device comprising:
前記通信部が行う前記情報の一連の送受信を識別するトランザクションIDおよび前記トランザクションIDに対応する処理状況が格納される記憶部をさらに備え、
前記制御部は、
前記携帯端末から前記通信部を介して受信したID発行要求に応じて前記トランザクションIDを発行し、前記記憶部に前記トランザクションIDおよび前記処理状況を格納するとともに、前記トランザクションIDを、前記通信部を介して前記携帯端末に送信し、前記通信部が前記一連の送受信を行うときに、前記記憶部に格納された前記処理状況を更新し、
前記一連の送受信が中断した場合、
前記携帯端末から前記通信部を介して受信した再開要求および前記トランザクションIDと、前記記憶部から読み出した前記トランザクションIDおよび前記処理状況とに基づいて、前記通信部に前記一連の送受信を再開させることを特徴とする、請求項1に記載の中継サーバ装置。
A storage unit for storing a transaction ID for identifying a series of transmission / reception of the information performed by the communication unit and a processing status corresponding to the transaction ID;
The controller is
The transaction ID is issued in response to an ID issue request received from the mobile terminal via the communication unit, the transaction ID and the processing status are stored in the storage unit, and the transaction ID is set to the communication unit. And when the communication unit performs the series of transmission / reception, the processing status stored in the storage unit is updated,
When the series of transmission / reception is interrupted,
Causing the communication unit to resume the series of transmission and reception based on the restart request and the transaction ID received from the portable terminal via the communication unit, and the transaction ID and the processing status read from the storage unit. The relay server device according to claim 1, wherein:
前記携帯端末の処理状況としてトランザクションID取得済みまたはチャージ要求中を、前記中継サーバ装置の処理状況としてトランザクションID発行済み、資金確保中、資金確保失敗、バリュー発行中、バリュー発行成功またはバリュー発行失敗をそれぞれ管理し、これらの処理状況の組み合わせに応じて送受信の再開の処理を変化させる、請求項2に記載の中継サーバ装置。   Transaction ID has been acquired or charge request is being processed as the processing status of the mobile terminal, and transaction ID has been issued as processing status of the relay server device, funds are being secured, funds have been failed, value is being issued, value issuance success or value issuance failure The relay server device according to claim 2, wherein the relay server device manages each of them and changes the transmission / reception restart process according to a combination of the processing states. 電子マネーのチャージを行うためのシステムであって、
携帯端末からのチャージ要求に応じて資金を確保する金融機関システムと、
前記資金に相当するバリューを発行する電子マネー事業者システムと、
前記携帯端末と、前記金融機関システムと、前記電子マネー事業者システムとの間に介されてそれぞれと情報の送受信を行う中継サーバ装置と、
を含み、
前記中継サーバ装置は、
前記中継サーバ装置から前記金融機関システムへ送信される前記情報の一部または全部を、前記金融機関システムにおいて処理可能な形式に変換することを特徴とするシステム。
A system for charging electronic money,
A financial institution system that secures funds in response to charge requests from mobile devices,
An electronic money business operator system that issues a value corresponding to the funds;
A relay server device that transmits / receives information to / from each of the mobile terminal, the financial institution system, and the electronic money business operator system;
Including
The relay server device
A system that converts part or all of the information transmitted from the relay server device to the financial institution system into a format that can be processed by the financial institution system.
前記中継サーバ装置は、
前記携帯端末から受信した発行要求に応じて、前記中継サーバ装置が行う前記情報の一連の送受信を識別するトランザクションIDを発行し、前記トランザクションIDおよび前記トランザクションIDに対応する処理状況を前記中継サーバ装置に備えられた記憶部に格納し、前記トランザクションIDを前記携帯端末に送信し、前記一連の送受信を行うときに、前記記憶部に前記処理状況を格納し、前記一連の送受信が中断した場合、前記携帯端末から受信した再開要求および前記トランザクションIDと、前記記憶部から読み出した前記トランザクションIDおよび前記処理状況とに基づいて前記一連の送受信を再開することを特徴とする、請求項4に記載のシステム。
The relay server device
In response to the issue request received from the mobile terminal, the relay server device issues a transaction ID for identifying a series of transmission / reception of the information performed by the relay server device, and displays the transaction ID and the processing status corresponding to the transaction ID in the relay server device. Stored in the storage unit, and when the transaction ID is transmitted to the mobile terminal and the series of transmission / reception is performed, the processing state is stored in the storage unit, and the series of transmission / reception is interrupted, 5. The series of transmission / reception is resumed based on the resume request and the transaction ID received from the portable terminal, and the transaction ID and the processing status read from the storage unit. system.
前記中継サーバ装置は、前記携帯端末の処理状況としてトランザクションID取得済みまたはチャージ要求中を、前記中継サーバ装置の処理状況としてトランザクションID発行済み、資金確保中、資金確保失敗、バリュー発行中、バリュー発行成功またはバリュー発行失敗をそれぞれ格納し、これらの処理状況の組み合わせに応じて送受信の再開の処理を変化させる、請求項5に記載のシステム。   The relay server device has a transaction ID acquired or charge request as the processing status of the mobile terminal, a transaction ID has been issued as the processing status of the relay server device, funds are being secured, funds have been failed, value is being issued, value issuance 6. The system according to claim 5, wherein success or value issuance failure is stored respectively, and transmission / reception restart processing is changed according to a combination of these processing statuses. 電子マネーのチャージを行うための方法であって、
携帯端末が、中継サーバ装置にチャージ要求を送信するステップと、
前記中継サーバ装置が、前記チャージ要求を金融機関システムにおいて処理可能な形式の資金確保要求に変換して、前記金融機関システムに送信するステップと、
前記金融機関システムが、前記資金確保要求に応じて資金の確保を行い、資金確保応答を前記中継サーバ装置に送信するステップと、
前記中継サーバ装置が、前記資金確保応答を受信した後、電子マネー事業者システムに前記資金に相当するバリュー発行要求を送信するステップと、
前記電子マネー事業者システムが、前記バリュー発行要求に応じて前記資金に相当するバリューを発行し、バリュー発行応答を前記中継サーバ装置に送信するステップと、
前記中継サーバ装置が、前記バリュー発行応答を受信した後、前記携帯端末にチャージ応答を送信するステップと、
を含むことを特徴とする方法。
A method for charging electronic money,
A step in which the mobile terminal transmits a charge request to the relay server device;
The relay server device converts the charge request into a fund securing request in a format that can be processed in the financial institution system, and transmits the request to the financial institution system.
The financial institution system secures funds in response to the fund securing request, and sends a fund securing response to the relay server device;
The relay server device, after receiving the fund securing response, sending a value issuance request corresponding to the fund to an electronic money business operator system;
The electronic money business operator system issues a value corresponding to the funds in response to the value issuance request, and transmits a value issuance response to the relay server device;
After the relay server device receives the value issue response, transmits a charge response to the mobile terminal;
A method comprising the steps of:
前記携帯端末が、前記中継サーバ装置に、情報の一連の送受信を識別するトランザクションIDの発行要求を送信するステップと、
前記中継サーバ装置が、前記発行要求に応じて、前記トランザクションIDを発行し、前記中継サーバ装置に備えられた記憶部に前記トランザクションIDおよび前記トランザクションIDに対応する処理状況を格納するとともに、前記携帯端末に前記トランザクションIDを送信するステップと、
前記携帯端末が、前記トランザクションIDを受信し、前記携帯端末に備えられる記憶部に前記トランザクションIDおよび前記トランザクションIDに対応する処理状況を格納するステップと、
をさらに含み、
前記携帯端末が前記チャージ要求を送信するステップは、前記携帯端末が前記トランザクションIDを格納するステップの後に実行され、
前記各ステップにおいて、前記携帯端末に備えられた記憶部および前記中継サーバ装置に備えられた記憶部に格納された、前記トランザクションIDに対応する処理状況が更新され、
前記各ステップのいずれかが中断された場合、
前記携帯端末が、前記携帯端末に備えられた記憶部から読み出した前記トランザクションIDおよび前記処理状況に基づいて、前記中継サーバ装置に、前記一連の送受信の再開要求および前記トランザクションIDを送信するステップと、
前記中継サーバ装置が、前記再開要求および前記トランザクションIDと、前記中継サーバ装置に備えられた記憶部から読み出した前記トランザクションIDおよび前記処理状況とに基づいて、前記中断されたステップを再開するステップと、
がさらに実行されることを特徴とする、請求項7に記載の方法。
The portable terminal transmitting a request for issuing a transaction ID identifying a series of transmission / reception of information to the relay server device;
The relay server device issues the transaction ID in response to the issue request, stores the transaction ID and the processing status corresponding to the transaction ID in a storage unit provided in the relay server device, and Transmitting the transaction ID to a terminal;
The mobile terminal receives the transaction ID, and stores the transaction ID and a processing status corresponding to the transaction ID in a storage unit provided in the mobile terminal;
Further including
The step of transmitting the charge request by the mobile terminal is executed after the step of storing the transaction ID by the mobile terminal,
In each step, the processing status corresponding to the transaction ID stored in the storage unit provided in the mobile terminal and the storage unit provided in the relay server device is updated,
If any of the above steps are interrupted,
The mobile terminal transmits the series of transmission / reception restart requests and the transaction ID to the relay server device based on the transaction ID and the processing status read from the storage unit provided in the mobile terminal; ,
The relay server device restarting the interrupted step based on the restart request and the transaction ID, and the transaction ID and the processing status read from a storage unit provided in the relay server device; ,
The method according to claim 7, characterized in that is further performed.
前記携帯端末の処理状況としてトランザクションID取得済みまたはチャージ要求中を、前記中継サーバ装置の処理状況としてトランザクションID発行済み、資金確保中、資金確保失敗、バリュー発行中、バリュー発行成功またはバリュー発行失敗をそれぞれ格納し、
これらの処理状況の組み合わせに応じて送受信の再開の処理を変化させる、請求項8に記載の方法。
Transaction ID has been acquired or charge request is being processed as the processing status of the mobile terminal, and transaction ID has been issued as processing status of the relay server device, funds are being secured, funds have been failed, value is being issued, value issuance success or value issuance failure Store each,
The method according to claim 8, wherein the process of restarting transmission / reception is changed in accordance with a combination of these processing conditions.
携帯端末に備えられるコンピュータに電子マネーのチャージ処理を実行させるためのプログラムであって、
中継サーバ装置に、情報の一連の送受信を識別するトランザクションIDの発行要求を送信するステップと、
前記中継サーバ装置から前記トランザクションIDを受信し、前記携帯端末に備えられる記憶部に前記トランザクションIDおよび前記トランザクションIDに対応する処理状況を格納するステップと、
前記中継サーバ装置にチャージ要求を送信するステップと、
前記中継サーバ装置からチャージ応答を受信するステップと、
を前記コンピュータに実行させ、
前記各ステップにおいては、前記記憶部に格納された前記処理状況が更新され、
前記各ステップのいずれかが中断された場合、
前記記憶部から前記トランザクションIDおよび前記処理状況を読み出すステップと、
前記トランザクションIDおよび前記処理状況に基づいて、前記一連の送受信の再開要求および前記トランザクションIDを前記中継サーバ装置に送信するステップと、
をさらに前記コンピュータに実行させることを特徴とするプログラム。
A program for causing a computer provided in a portable terminal to execute electronic money charging processing,
Transmitting a transaction ID issuance request for identifying a series of transmission and reception of information to the relay server device;
Receiving the transaction ID from the relay server device, storing the transaction ID and the processing status corresponding to the transaction ID in a storage unit provided in the mobile terminal;
Transmitting a charge request to the relay server device;
Receiving a charge response from the relay server device;
To the computer,
In each step, the processing status stored in the storage unit is updated,
If any of the above steps are interrupted,
Reading the transaction ID and the processing status from the storage unit;
Transmitting the series of transmission / reception restart requests and the transaction ID to the relay server device based on the transaction ID and the processing status;
Is further executed by the computer.
JP2010059185A 2010-03-16 2010-03-16 Relay server device, system, method and program for charging electronic money Active JP5482337B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010059185A JP5482337B2 (en) 2010-03-16 2010-03-16 Relay server device, system, method and program for charging electronic money

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010059185A JP5482337B2 (en) 2010-03-16 2010-03-16 Relay server device, system, method and program for charging electronic money

Publications (2)

Publication Number Publication Date
JP2011192147A true JP2011192147A (en) 2011-09-29
JP5482337B2 JP5482337B2 (en) 2014-05-07

Family

ID=44796963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010059185A Active JP5482337B2 (en) 2010-03-16 2010-03-16 Relay server device, system, method and program for charging electronic money

Country Status (1)

Country Link
JP (1) JP5482337B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017154332A1 (en) * 2016-03-10 2017-09-14 日本電気株式会社 Electronic value management device, electronic value management system, electronic value management method, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002063520A (en) * 2000-08-22 2002-02-28 Oki Electric Ind Co Ltd Server and method for relaying and payment system
JP2007328424A (en) * 2006-06-06 2007-12-20 Bank Of Tokyo-Mitsubishi Ufj Ltd Information processor, information processing server, method for controlling information processor, method for controlling information processing server, and program
JP2009048308A (en) * 2007-08-15 2009-03-05 Ntt Data Corp Electronic money charging system, account information reading terminal, and financial institution server connection apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002063520A (en) * 2000-08-22 2002-02-28 Oki Electric Ind Co Ltd Server and method for relaying and payment system
JP2007328424A (en) * 2006-06-06 2007-12-20 Bank Of Tokyo-Mitsubishi Ufj Ltd Information processor, information processing server, method for controlling information processor, method for controlling information processing server, and program
JP2009048308A (en) * 2007-08-15 2009-03-05 Ntt Data Corp Electronic money charging system, account information reading terminal, and financial institution server connection apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017154332A1 (en) * 2016-03-10 2017-09-14 日本電気株式会社 Electronic value management device, electronic value management system, electronic value management method, and program
JPWO2017154332A1 (en) * 2016-03-10 2019-01-10 日本電気株式会社 Electronic value management apparatus, electronic value management system, electronic value management method, and program
JP7092027B2 (en) 2016-03-10 2022-06-28 日本電気株式会社 Electronic value management equipment, electronic value management system, electronic value management method and program

Also Published As

Publication number Publication date
JP5482337B2 (en) 2014-05-07

Similar Documents

Publication Publication Date Title
CN101000562A (en) Method and device for executing batch processing job
CN102591668A (en) Device, method and system for updating elastic computing cloud system
CN103890736A (en) Message reconciliation during disaster recovery
KR20170008649A (en) Operating method for payment information and electronic device supporting the same
JP5839598B2 (en) Smart card remote control method and system
JP5482337B2 (en) Relay server device, system, method and program for charging electronic money
JP5187958B2 (en) Automatic transaction equipment control system
JP2008027379A (en) Host device
JP4692446B2 (en) Electronic money system and control method thereof
JP2006235992A (en) Firmware rewriting system of printer, firmware rewriting method, and printer
JP2009110043A (en) Control system for automatic transaction device
JP5349104B2 (en) Electronic device and program update method
CN1680920B (en) Method and apparatus of basic inputting and outputting system in far-end updating data processing system
JP2008015783A (en) Electronic value exchange system, terminal device, restoration device, and electronic value exchange method used therefor
JP2000020619A (en) Transaction compensation system
CN103488549A (en) Roll-back processing system and roll-back processing method for multi-mirror-image data
JP2013037430A (en) Ic chip, processing method in ic chip, and processing program in ic chip
CN113742034A (en) Event processing method and device, computer readable storage medium and electronic equipment
JP2015102989A (en) Peripheral device control fault avoidance method, peripheral device control fault avoidance program, processing apparatus, and processing system
JP2010079663A (en) Automatic transaction apparatus control system
CN109255265B (en) Self-recovery method and device for reading abnormal identity card information
JP6115426B2 (en) Automatic transaction apparatus, automatic transaction system, and program
CN107679843A (en) A kind of method, apparatus, server and storage medium for lifting rate of drawing a bill
JP2006302081A (en) Service restart device and service restart program
JP2007104247A (en) Wireless communication apparatus and wireless communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120815

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131017

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131022

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140203

R150 Certificate of patent or registration of utility model

Ref document number: 5482337

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150