JP2008065619A - Settlement terminal equipment - Google Patents
Settlement terminal equipment Download PDFInfo
- Publication number
- JP2008065619A JP2008065619A JP2006243095A JP2006243095A JP2008065619A JP 2008065619 A JP2008065619 A JP 2008065619A JP 2006243095 A JP2006243095 A JP 2006243095A JP 2006243095 A JP2006243095 A JP 2006243095A JP 2008065619 A JP2008065619 A JP 2008065619A
- Authority
- JP
- Japan
- Prior art keywords
- card
- settlement
- payment
- transaction
- storage unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
本発明は、プリペイド式電子マネーの決済端末装置に関し、更に詳しくは決済処理が中断された場合でも、装置が復旧する際には取引明細の整合性を保って復旧することが可能な決済端末装置に関する。 The present invention relates to a payment terminal apparatus for prepaid electronic money, and more specifically, a payment terminal apparatus capable of recovering with the consistency of transaction details when the apparatus recovers even when the payment processing is interrupted. About.
近年、電子マネーが社会的なインフラとして認知されはじめている。
ICカードに貨幣価値を表す残額データを記録しておき、商店等での支払いや銀行口座からの引き出しに連動して、残額データを連動させるプリペイド(前払い)方式の電子マネーは急速に普及している。
In recent years, electronic money has been recognized as a social infrastructure.
Prepaid electronic money that records the remaining amount data representing the monetary value on an IC card and links the remaining amount data in conjunction with payment at a store or withdrawal from a bank account is rapidly spreading. Yes.
図8にプリペイド方式の電子マネーシステムの構成を示す。
決済処理は、電子マネーを記録した非接触ICカード4と、決済端末装置1との間で行われ、また決済端末装置1はネットワーク6を介してICカード事業者が保有するセンタサーバ5に接続している。
FIG. 8 shows the configuration of a prepaid electronic money system.
Payment processing is performed between the contactless IC card 4 on which electronic money is recorded and the payment terminal device 1, and the payment terminal device 1 is connected via a network 6 to a center server 5 owned by the IC card business. is doing.
非接触ICカード4としては、ICチップを搭載したカード型のものやICチップを搭載した携帯電話などの携帯端末が相当する。非接触ICカード4には電子マネーチャージ端末において現金が電子マネーに換金されてチャージされるか、またはインターネットに接続した電子マネーチャージ端末または無線通信等によりインターネットに接続した携帯端末から銀行口座に接続し、電子マネーがチャージされている。 The non-contact IC card 4 corresponds to a card-type card equipped with an IC chip or a portable terminal such as a mobile phone equipped with an IC chip. The contactless IC card 4 is charged with cash converted to electronic money at an electronic money charge terminal, or connected to a bank account from an electronic money charge terminal connected to the Internet or a mobile terminal connected to the Internet by wireless communication or the like. Electronic money is charged.
利用者が非接触ICカード4により支払いをする場合、非接触ICカード4を決済端末装置1に読み取らせると、決済端末装置1は該非接触ICカード4に記録された電子マネーの金額から支払いに相当する利用額を減算し、残金を非接触ICカード4に上書きする。 When the user pays with the contactless IC card 4, when the payment terminal device 1 is read by the payment terminal device 1, the payment terminal device 1 pays from the amount of electronic money recorded in the contactless IC card 4. The corresponding usage amount is subtracted, and the balance is overwritten on the non-contact IC card 4.
このような電子マネーシステムにおける決済端末装置1は、上位コントローラである主局2とカード制御ユニットである従局3とから構成されている。更に、従局3のハードウェア構成は図8に示したように、通信制御部(対主局)3−1、通信制御部(対センタ)3−2、主制御部3−3、記憶装置3−4、通信制御部(対カード)3−5、カード読出/書込み(R/W)部3−6とから構成される。通信制御部(対主局)3−1、通信制御部(対センタ)3−2、カードR/W部3−6、は相手との通信を行うための通信用ハードウェアである。また主制御部3−3および通信制御部(対カード)3−5は不図示のROM(Read Only Memory)等に記録されたプログラムを読み込み、不図示のメモリ領域を用いて制御を実行する処理部である。記憶装置3−4には取引明細などの情報が格納され、センタサーバ5に定期的に送信される。 The settlement terminal device 1 in such an electronic money system is composed of a master station 2 that is a host controller and a slave station 3 that is a card control unit. Further, as shown in FIG. 8, the hardware configuration of the slave station 3 includes a communication control unit (vs. main station) 3-1, a communication control unit (vs. center) 3-2, a main control unit 3-3, and a storage device 3. -4, a communication control unit (for card) 3-5, and a card read / write (R / W) unit 3-6. The communication control unit (vs. main station) 3-1, the communication control unit (vs. center) 3-2, and the card R / W unit 3-6 are communication hardware for communicating with the other party. The main control unit 3-3 and the communication control unit (for card) 3-5 read a program recorded in a ROM (Read Only Memory) or the like (not shown) and execute control using a memory area (not shown). Part. Information such as transaction details is stored in the storage device 3-4 and is periodically transmitted to the center server 5.
図9に、図8に示した電子マネーシステムの決済端末装置1内の従局3における決済処理の際のフローを示す。
先ずS50、S51で主制御部3−3、通信制御部(対カード)3−5の処理が開始され、また、S52で利用者が非接触ICカード4を決済端末装置1に翳す、タッチするなどの提示動作を始める。
FIG. 9 shows a flow at the time of payment processing in the slave station 3 in the payment terminal device 1 of the electronic money system shown in FIG.
First, in S50 and S51, the processing of the main control unit 3-3 and the communication control unit (to the card) 3-5 is started, and in S52, the user puts the non-contact IC card 4 on the settlement terminal device 1, touch. Start the presentation operation such as.
S53で、主制御部3−3は決済条件を生成し、S54で通信制御部(対カード)3−5に対し決済指示を送信する。S55で通信制御部(対カード)3−5は主制御部3−3から送信された決済指示を受信し、S56、S57でカードを捕捉しカード情報を読み取る。S58で読み取ったカード情報を基に利用金額を差し引くなどの処理を行い、新たに書込む情報を生成し、カードに情報を書き込む。そして、S59で決済結果を主制御部3−3に送信し、S61で通信制御部(対カード)3−5は処理を終了する。 In S53, the main control unit 3-3 generates a settlement condition, and transmits a settlement instruction to the communication control unit (for card) 3-5 in S54. In S55, the communication control unit (to the card) 3-5 receives the settlement instruction transmitted from the main control unit 3-3, and captures the card and reads the card information in S56 and S57. Based on the card information read in S58, processing such as subtracting the usage amount is performed, information to be newly written is generated, and information is written on the card. Then, in S59, the settlement result is transmitted to the main control unit 3-3, and in S61, the communication control unit (for card) 3-5 ends the process.
主制御部3−3は、S62で通信制御部(対カード)3−5から決済結果を受信すると、S63で取引明細を生成し、S64で記憶装置3−4に格納し、同時に取引結果を決済端末装置1の表示部に表示したり、印字部を用いて印字を行ったりし、S65で処理を終了する。そして、この一連の決済処理が終了すると、商店の店員などは、利用者に商品あるいはサービスを提供している。 When the main control unit 3-3 receives the settlement result from the communication control unit (to card) 3-5 in S62, the main control unit 3-3 generates a transaction detail in S63, stores it in the storage device 3-4 in S64, and simultaneously stores the transaction result. The information is displayed on the display unit of the settlement terminal device 1 or printed using the printing unit, and the process ends in S65. When this series of payment processing is completed, the store clerk or the like provides goods or services to the user.
尚、ICカードへの書込み処理においては、ICカードに書き込んだ状態が不明な場合は書込みが正しく完了するまでICカードへの書込み処理をリトライ(有限時間)する。しかし、ハードウェア故障や利用者のICカードの提示方法などにより、リトライ処理時間内に書き込みが完了しない場合がある。このような場合は、店員および利用者間ではその取引は「無かったこと」とし、店員は利用者に商品等は渡さない、というのが一般的である。但し、実際には利用者のICカードから利用額が引かれている可能性があり、実際に引かれていた場合には、利用者からのクレーム(苦情)となり返金する必要がある。この返金作業は商店では取引が成立していないため、ICカード事業者が行うことになる。この際、返金該当取引を特定するために、ICカードへの書込み不明明細が必要となる。よって決済端末装置1では、正常な取引明細とともに、ICカードへの書込み不明な取引明細も正式な取引明細として記録しておき、定期的にICカード事業者の保有するセンタサーバ5に送信するように構成されている。
ところで、図9において、主制御部3−3で決済結果を受信し(S62)、取引明細を生成して格納する(S63、S64)前に、決済端末装置1の電源が切断されるなどにより、決済処理が中断された場合、取引明細が保存されず、処理切断タイミングによっては、利用者のICカードから利用額を差し引いているのにも関わらず明細が保存されない、あるいは商品を引き渡せない状態が発生してしまう。 By the way, in FIG. 9, before the settlement result is received by the main control unit 3-3 (S62), and the transaction details are generated and stored (S63, S64), the power of the settlement terminal device 1 is turned off. If the payment process is interrupted, the transaction details will not be saved, and depending on the processing disconnection timing, the details will not be saved even if the usage amount is deducted from the user's IC card, or the product cannot be delivered A situation will occur.
すなわち、決済端末装置のカード制御ユニットである従局内において、ICカード書き込み処理中、あるいはICカード書込み完了後その決済結果を主制御部が受け取るまでの間、などクリティカルなタイミングにおいて、電源切断などの意図しない決済処理の強制中断が発生した場合、正常な明細、ICカードへの書込み不明な明細いずれの明細も保存されずに決済端末装置はダウンしてしまう。よってその取引自体行われたか否かの記録が決済端末装置に一切存在せず、決済端末装置の復旧または利用者からのクレーム対応などにおいて様々な不都合が生じていた。 That is, in the slave station which is the card control unit of the payment terminal device, the power is turned off at a critical timing such as during the IC card writing process or until the main control unit receives the payment result after the completion of the IC card writing. When an unintentional settlement process is forcibly interrupted, the settlement terminal device goes down without saving any details of normal details and details that are unknown to the IC card. Accordingly, there is no record of whether or not the transaction itself has been performed in the payment terminal device, and various inconveniences have occurred in the recovery of the payment terminal device or the handling of complaints from users.
以上のことから、決済端末装置において決済処理の中断が発生した場合において、ICカードから利用額を差し引いた可能性がある場合には必ず取引明細を格納するための決済処理方法および、決済端末装置が復旧する際にICカードの決済結果と決済端末装置内のカード制御ユニット内の取引明細との間に不整合が生じている場合は整合性をとって復旧する復旧方法が求められる。 From the above, in the case where payment processing is interrupted in the payment terminal device, the payment processing method for storing the transaction details whenever there is a possibility that the usage amount has been subtracted from the IC card, and the payment terminal device When there is an inconsistency between the settlement result of the IC card and the transaction details in the card control unit in the settlement terminal device at the time of restoration, there is a need for a restoration method that restores the consistency.
そこで本発明の課題は、プリペイド方式の電子マネーシステムにおける決済端末装置であって、決済処理が中断された場合でもICカードから利用額を差し引いた可能性がある場合には必ず取引明細を記録するための決済処理および、決済処理中断の後、ICカードの決済結果と決済端末装置内のカード制御ユニット内の取引明細との間に整合性を図って復旧することが可能となる決済端末装置を提供することにある。 Accordingly, an object of the present invention is a payment terminal device in a prepaid electronic money system, and records transaction details whenever there is a possibility that the usage amount has been deducted from an IC card even when payment processing is interrupted. A settlement terminal device that can be restored with a consistency between the settlement result of the IC card and the transaction details in the card control unit in the settlement terminal device after the settlement process and settlement processing for It is to provide.
上述の課題を解決するために、本発明ではプリペイド式電子マネーの決済端末装置におけるカード制御ユニットである従局において、決済処理の状況を示すフラグを格納する記憶領域を該従局の記憶部に設け、主制御部および対カード通信制御部がそれぞれ処理の進度に応じて該フラグを変更することによって決済処理がどの状態まで完了したかを記録するようにした。また、決済処理の際に、主局からの決済指示に基づいて生成される仮明細、ICカードに書き込み前に生成される決済結果の理論値、ICカードに書き込んだ情報である決済結果、正式な取引明細を前記記憶部に記憶しておくようにした。そして、決済処理が中断された後に決済端末装置が復旧する際に、前記フラグを参照し、ICカードの決済結果と決済端末装置内の取引明細との間に整合性がとれないタイミングで中断が起こったと判断された場合には、記憶部に格納された前記仮明細、決済結果、決済結果の理論値などから、適した取引明細を生成して記憶部に格納するようにした。 To solve the problems described above, the slave station is card control unit in the settlement terminal device prepaid electronic money in the present invention, provided a storage area for storing a flag indicating the status of the payment processing in the storage unit of the driven station, The main control unit and the card communication control unit each change the flag according to the progress of the process to record to what state the settlement process is completed. In addition, provisional details generated based on the payment instruction from the main station, the theoretical value of the payment result generated before writing to the IC card, the payment result that is information written to the IC card, Detailed transaction details are stored in the storage unit. Then, when the payment terminal device recovers after the payment processing is interrupted, the flag is referred to, and the interruption is stopped at a timing when consistency between the IC card payment result and the transaction details in the payment terminal device cannot be obtained. When it is determined that the transaction has occurred, a suitable transaction description is generated from the provisional specification stored in the storage unit, the settlement result, the theoretical value of the settlement result, etc., and stored in the storage unit.
これにより決済処理の中断の後、決済端末装置が復旧する際には中断が起こったタイミングを検知することが可能で、これによりICカードの決済結果と決済端末装置内の取引明細との間に整合性が取れていないと判断された場合には適した取引明細を生成して記憶部に格納することができる。すなわち従来は決済処理の中断によって取引明細が抜けてしまっていたような場合でも、取引明細を確実に残すことが可能である。 As a result, when the payment terminal device recovers after the payment processing is interrupted, it is possible to detect the timing at which the interruption has occurred, and thereby, between the payment result of the IC card and the transaction details in the payment terminal device. When it is determined that consistency is not achieved, a suitable transaction statement can be generated and stored in the storage unit. In other words, even when the transaction details have been lost due to the interruption of the settlement process, it is possible to reliably leave the transaction details.
本発明の一態様によれば、プリペイド方式の電子マネーシステムの決済端末装置に用いられ、主制御部と対カード通信制御部とデータを記憶する記憶部とを備えるカード制御ユニットであって、前記主制御部は、上位コントローラから決済指示を受信すると決済条件を生成し、該決済条件に基づいて仮明細を生成し前記記憶部に格納するとともに前記対カード通信制御部に決済指示を送信する仮明細生成手段と、前記記憶部の予め決められた記憶領域に格納される、決済処理の状況を示す取引状況フラグを、自身の処理のタイミングに合わせて変更する第1の取引状況フラグ読出/書込手段と、前記対カード通信制御部から決済結果を受信すると、該決済結果に基づいて正式な取引明細を生成し、前記記憶部に格納する正式明細生成手段と、を備えることを特徴とする。また更に、前記対カード通信制御部は、前記主制御部から決済指示を受信すると、決済の対象となるICカードを捕捉し、該ICカードからカード情報を読出し、該読み出したカード情報から決済結果の理論値を生成し、前記記憶部に格納する決済結果理論値生成手段と、前記記憶部の予め決められた記憶領域に格納される、決済処理の状況を示す取引状況フラグを、自身の処理のタイミングに合わせて変更する第2の取引状況フラグ読出/書込手段と、前記ICカードに書き込んだ実際の決済結果を前記記憶部に格納するとともに該決済結果を前記主制御部に送信する決済結果生成手段と、を備えることを特徴とする。これにより本発明の決済端末装置では、決済処理の中断後、取引状況フラグを参照することによって、中断が起こったタイミングを検知することが可能で、該フラグ参照してICカードの決済結果と決済端末装置内の取引明細との間に整合性が取れていないと判断された場合には適した取引明細を生成して記憶部に格納することが可能である。よって、従来は決済処理の中断によって取引明細が抜けてしまっていたような場合でも取引明細を確実に残すことが可能である。 According to one aspect of the present invention, there is provided a card control unit that is used in a payment terminal device of a prepaid electronic money system, and includes a main control unit, a card communication control unit, and a storage unit that stores data. When receiving a payment instruction from the host controller, the main control unit generates a payment condition, generates a provisional specification based on the payment condition, stores it in the storage unit, and transmits a payment instruction to the card communication control unit. The first transaction status flag reading / writing for changing the transaction status flag indicating the status of the settlement process stored in a predetermined storage area of the specification generation means and the storage unit in accordance with the timing of its own processing Receiving the payment result from the card communication control unit, generating a formal transaction description based on the payment result, and storing the formal specification in the storage unit; Characterized in that it comprises. Still further, upon receiving a payment instruction from the main control unit, the card-to-card communication control unit captures an IC card to be settled, reads the card information from the IC card, and sets the payment result from the read card information. The settlement result theoretical value generation means for generating the theoretical value of the transaction and the transaction status flag indicating the status of the settlement process stored in a predetermined storage area of the storage unit, A second transaction status flag reading / writing unit that changes in accordance with the timing of the transaction, and a settlement for storing the actual settlement result written in the IC card in the storage unit and transmitting the settlement result to the main control unit And a result generating means. Thereby, in the payment terminal device of the present invention, after the payment process is interrupted, it is possible to detect the timing when the interruption has occurred by referring to the transaction status flag. When it is determined that consistency with the transaction details in the terminal device is not achieved, a suitable transaction details can be generated and stored in the storage unit. Therefore, it is possible to reliably leave the transaction details even when the transaction details have been lost due to the interruption of the settlement process.
本発明によれば、決済端末装置とICカードとの間で行われる決済処理が中断された場合でも、決済端末装置の記憶部には仮明細、決済結果の理論値、決済結果など、必ず取引の痕跡となるものが格納されている。また決済処理の中断の後、決済端末装置が復旧する際には中断が起こったタイミングを検知することが可能で、これによりICカードの決済結果と決済端末装置の取引明細との間に整合性がとれるところまで処理が進んでいたか否かを判断することが可能である。整合性が取れていないと判断された場合には、記憶部に格納されている仮明細、決済結果の理論値、決済結果などから、正式な取引明細を生成し記憶部に格納することが可能である。 According to the present invention, even when the payment process performed between the payment terminal device and the IC card is interrupted, the storage unit of the payment terminal device always stores transactions such as provisional details, theoretical values of payment results, payment results, and the like. The thing that becomes the trace of is stored. In addition, after the settlement process is interrupted, when the settlement terminal device is restored, it is possible to detect the timing at which the suspension occurred, whereby consistency between the settlement result of the IC card and the transaction details of the settlement terminal device can be detected. It is possible to determine whether the process has progressed to the point where If it is determined that consistency is not achieved, formal transaction details can be generated from the provisional details stored in the storage unit, theoretical values of settlement results, settlement results, etc., and stored in the storage unit It is.
よって、従来は決済端末装置の電源切断など、意図しない決済処理の強制中断が発生した場合に取引明細が抜けてしまっていたような場合でも、決済端末装置の確実に取引明細を残すことが可能となった。 Therefore, even if the transaction details have been lost in the past when an unintended settlement process was forcibly interrupted, such as when the payment terminal device was turned off, it is possible to reliably leave the transaction details in the payment terminal device. It became.
以下、図面を参照して、本発明の実施の形態について説明する。
図1に本発明の実施例である決済端末装置1のカード制御ユニットである従局3内の機能ブロック図を示す。図1は、図8の従局3部分のみを示したもので、図8と同一な部分に関しては同じ番号を付してある。尚、図8はハードウェア構成を示したものであるが、図1の主制御部11、通信制御部(対カード)13の内部はソフトウェアとハードウェアが協働して実現される機能を、説明のためにまとめて示したものである。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 shows a functional block diagram in a slave station 3 which is a card control unit of a payment terminal device 1 which is an embodiment of the present invention. FIG. 1 shows only the slave 3 part of FIG. 8, and the same parts as those in FIG. FIG. 8 shows the hardware configuration, but the inside of the main control unit 11 and the communication control unit (to card) 13 in FIG. 1 has functions realized by cooperation of software and hardware. They are shown together for explanation.
従局3は、主局2との通信を行う部分である通信制御部(対主局)3−1と、センタサーバ5との通信を行う部分である通信制御部(対センタ)3−2と、主制御部11と、記憶部12と、通信制御部(対カード)13とから構成される。 The slave station 3 includes a communication control unit (vs. master station) 3-1 that is a part that communicates with the master station 2, and a communication control unit (vs. center) 3-2 that is a part that communicates with the center server 5. The main control unit 11, the storage unit 12, and the communication control unit (counter card) 13.
主制御部11は、仮明細生成部111と、取引状況フラグ読出/書込(R/W)部112と、正式明細生成部113と、送受信部114とを含む。
仮明細生成部111は、上位コントローラである主局2から決済指示を受信すると決済条件を生成し、当該決済条件に基づいて仮明細を生成し、記憶部12に格納し、同時に通信制御部(対カード)13に決済指示を送信する。
The main control unit 11 includes a provisional detail generation unit 111, a transaction status flag reading / writing (R / W) unit 112, a formal specification generation unit 113, and a transmission / reception unit 114.
The provisional detail generation unit 111 generates a settlement condition when receiving a settlement instruction from the master station 2 which is a host controller, generates a provisional detail based on the settlement condition, stores it in the storage unit 12, and simultaneously transmits a communication control unit ( The payment instruction is transmitted to the card 13).
取引状況フラグR/W部112は、記憶部12の予め決められた記憶領域に格納された決済処理の状況を示す取引状況フラグを処理の進度に合わせて更新する。
正式明細生成部113は、通信制御部(対カード)13から非接触ICカード4に実際に書きこんだ決済結果を受信すると、当該決済結果に基づいて正式な取引明細を生成し、記憶部12に格納する。
The transaction status flag R / W unit 112 updates the transaction status flag indicating the status of the settlement process stored in a predetermined storage area of the storage unit 12 according to the progress of the process.
When receiving the settlement result actually written on the non-contact IC card 4 from the communication control unit (counter card) 13, the formal specification generation unit 113 generates a formal transaction detail based on the settlement result, and the storage unit 12. To store.
送受信部114は、主制御部11からの決済指示を通信制御部(対カード)13に伝達したり、通信制御部(対カード)13から伝達される決済結果を受信したりするなど、外部との命令等のやり取りを行う部分である。 The transmission / reception unit 114 transmits the settlement instruction from the main control unit 11 to the communication control unit (to the card) 13 or receives the settlement result transmitted from the communication control unit (to the card) 13. This is a part for exchanging commands.
また、通信制御部(対カード)13は、決済結果の理論値生成部131と、取引状況フラグ読出/書込(R/W)部132と、決済結果生成部133と、カード読出/書込(R/W)部134と、送受信部135とを含む。 Further, the communication control unit (vs. card) 13 includes a settlement result theoretical value generation unit 131, a transaction status flag reading / writing (R / W) unit 132, a settlement result generation unit 133, and a card reading / writing. (R / W) unit 134 and transmission / reception unit 135 are included.
決済結果の理論値生成部131は、主制御部11から決済指示を受信すると、決済の対象となる非接触ICカード4を捕捉し、カード情報を読出し、該読出したカード情報と決済指示とから決済結果の理論値を算出して、記憶部12に格納する。 When receiving the payment instruction from the main control unit 11, the theoretical value generation unit 131 for the payment result captures the contactless IC card 4 that is the object of payment, reads the card information, and uses the read card information and the payment instruction. The theoretical value of the settlement result is calculated and stored in the storage unit 12.
取引状況フラグR/W部132は、記憶部12の予め決められた記憶領域に用意された決済処理の状況を示す取引状況フラグを処理の進度に合わせて更新する。
決済結果生成部133は、非接触ICカード4に書き込んだ実際の決済結果を記憶部12に格納するとともに該決済結果を主制御部11に送信する。
The transaction status flag R / W unit 132 updates a transaction status flag indicating the status of the settlement process prepared in a predetermined storage area of the storage unit 12 according to the progress of the process.
The settlement result generation unit 133 stores the actual settlement result written in the non-contact IC card 4 in the storage unit 12 and transmits the settlement result to the main control unit 11.
カードR/W制御部134は、カードR/W部3−6を介して非接触ICカード4の情報を読出したり、非接触ICカード4に情報を書きこんだりする制御を行う部分である。
送受信部135は、主制御部11から伝達される決済指示を受信したり、通信制御部(対カード)13からの決済結果を主制御部11に伝達したりするなど、外部との命令等のやり取りを行う部分である。
The card R / W control unit 134 is a part that performs control of reading information from the non-contact IC card 4 and writing information to the non-contact IC card 4 via the card R / W unit 3-6.
The transmission / reception unit 135 receives a settlement instruction transmitted from the main control unit 11, transmits a settlement result from the communication control unit (for card) 13 to the main control unit 11, etc. This is the part that communicates.
また、記憶部12は、図2に示すとおりであり、次のようなデータを格納するための領域がそれぞれ格納されている。
図2の上から順に説明する。
Further, the storage unit 12 is as shown in FIG. 2, and stores the following areas for storing data.
Description will be made in order from the top of FIG.
まず「取引状況フラグ」であるが、これは決済処理の取引の状況を示すフラグが格納される領域である。フラグの状態としては、“取引開始”、“カード捕捉完”、“カード書込完”、“取引完”の4状態ある。 First, a “transaction status flag” is an area in which a flag indicating a transaction status of the settlement process is stored. There are four flag states: “transaction start”, “card capture complete”, “card write complete”, and “transaction complete”.
次に、「決済結果」であるが、これは非接触ICカード4に実際に書き込まれた決済結果が書き込まれる領域で、決済結果生成部133によって書き込みが行われる。また「決済結果」は、非接触ICカード4の顧客識別番号である「カードID」,決済処理終了後の「取引後カード残高」、カードの取引通し番号である「取引後カード通番」、からなる。 Next, “payment result” is an area where the payment result actually written to the non-contact IC card 4 is written, and is written by the payment result generation unit 133. The “payment result” includes a “card ID” that is a customer identification number of the contactless IC card 4, a “post-transaction card balance” after completion of the payment process, and a “post-transaction card serial number” that is a transaction number of the card. .
「決済結果の理論値」であるが、これは非接触ICカード4に書き込み前に決済結果の理論値生成部131によって算出され、書き込まれる領域である。「決済結果の理論値」は、非接触ICカード4の顧客識別番号であるカードID,取引後の予定カード残高である「予定の取引後カード残高」、取引後の予定カード取引通し番頭である「予定の取引後カード取引通番」からなる。 The “settlement result theoretical value” is an area that is calculated and written by the settlement result theoretical value generation unit 131 before being written to the non-contact IC card 4. The “theoretical value of the settlement result” is the card ID that is the customer identification number of the non-contact IC card 4, the “scheduled post-transaction card balance” that is the post-transaction planned card balance, and the post-transaction planned card transaction serial number. Consists of "scheduled post-transaction card transaction serial number".
次に、「仮取引明細」であるが、仮明細生成部111によって生成される仮明細が格納される領域である。この領域は取引明細1レコード分のみ確保されており、現在処理されている取引の内容に随時更新される領域である。尚、取引明細の詳細は図3に後述する。 Next, “provisional transaction details” is an area in which provisional details generated by the provisional specification generation unit 111 are stored. This area is reserved for only one record of transaction details, and is an area that is updated as needed with the contents of the transaction currently being processed. Details of the transaction details will be described later with reference to FIG.
次に「取引明細」であるが、正式な取引明細が格納される領域である。数千レコード分の取引明細を記憶可能な領域で、時系列に明細が格納される。この「取引明細」領域には、処理が正常に行われた場合の明細はもちろんのこと、非接触ICカード4に書き込み不明である明細についても格納される。この「取引明細」領域部分が非接触ICカード事業者が保有するセンタサーバ5に送信される。各取引明細の詳細は図3に後述する。 Next, “transaction details” is an area where formal transaction details are stored. Details are stored in time series in an area where transaction details for several thousand records can be stored. In the “description of transaction” area, not only the details when the processing is normally performed but also the details that are not written to the non-contact IC card 4 are stored. This “description of transaction” area portion is transmitted to the center server 5 owned by the non-contact IC card business. Details of each transaction will be described later with reference to FIG.
図3に取引明細の1レコード分の詳細なデータ構造を示す。データの内容としては、主局2から通知される取引番号である「主局取引通番」、従局3で管理する取引番号である「従局取引通番」、取引が行われた日時を示す「取引日時」、取引における利用額であり、主局2から通知される決済額である「取引金額」、顧客識別番号である「カードID」、カード書込み後のカード残高である「取引後カード残高」、カードで管理される、取引後の取引番号である「取引後カード番号」、正常な処理(カードへの書込みが成功している)による明細であるか、カードへの書込みが成功しているか否かが不明である不明明細であるかを示す「明細種別」とからなる。 FIG. 3 shows a detailed data structure for one record of the transaction details. The contents of the data include a “master station transaction number” that is a transaction number notified from the master station 2, a “slave station transaction number” that is a transaction number managed by the slave station 3, and a “transaction date and time that indicates the date and time when the transaction was performed. ”, The amount used in the transaction,“ transaction amount ”that is the settlement amount notified from the main station 2,“ card ID ”that is the customer identification number,“ card balance after transaction ”that is the card balance after the card is written, "Post-transaction card number", which is the transaction number after the transaction, managed by the card, details by normal processing (successful writing to the card), or whether writing to the card is successful It consists of a “detail type” indicating whether the details are unknown.
以上、図1〜図3に本発明の実施例の決済端末装置の構成について示した。
次に本発明の実施例における決済処理フローについて図4を用いて説明する。
まず、S1で主制御部11が処理を開始し、またS2で通信制御部(対カード)13が処理を開始し、S3で利用者が非接触ICカード4の提示動作を開始する。
The configuration of the settlement terminal device according to the embodiment of the present invention is shown in FIGS.
Next, the settlement processing flow in the embodiment of the present invention will be described with reference to FIG.
First, the main control unit 11 starts processing in S1, the communication control unit (counter card) 13 starts processing in S2, and the user starts the presenting operation of the non-contact IC card 4 in S3.
主制御部11は、S4で主局2から決済指示を受け、それに基づいて仮明細生成部111が決済条件を定め、さらに該決済条件をもとに仮の取引明細を生成して(S5)記憶部12に格納する(S6)。
決済条件のデータ例を図5(a)に示す。決済条件は主局取引通番、従局取引通番、取引日時、取引金額とからなり、図5(a)のデータ例では、それぞれ順に「0005」、「0003」、「20060113203625」(2006年1月13日20時36分25秒)、「3980」(取引金額が3980円)である。
The main control unit 11 receives a settlement instruction from the main station 2 in S4, the provisional detail generation unit 111 determines settlement conditions based on the instruction, and further generates a provisional transaction detail based on the settlement conditions (S5). The data is stored in the storage unit 12 (S6).
An example of payment condition data is shown in FIG. The settlement condition includes a master station transaction number, a slave station transaction number, a transaction date and time, and a transaction amount. In the data example of FIG. 5A, “0005”, “0003”, and “20060111336325” (January 13, 2006), respectively. 20:36:25), “3980” (the transaction amount is 3980 yen).
更に仮明細のデータ例を図5(b)に示す。仮明細は、主局取引通番、従局取引通番、取引日時、取引金額、カードIC,取引後カード残高、取引後カード取引通番、明細種別、とからなり、図5(b)は図5(a)の決済条件に基づいて生成されたデータ例を示している。すなわち、主局取引通番、従局取引通番、取引日時、取引金額は決済条件と同一のもので、カードID,取引後カード残高、取引後カード取引通番は仮にデータ0として生成される。また明細の種別としては、非接触ICカード4への書込みが行われたか否か不明であることを示す、書込み不明明細を示す値となっている。 Further, an example of provisional data is shown in FIG. The provisional details consist of a master transaction number, a slave transaction number, transaction date and time, transaction amount, card IC, post-transaction card balance, post-transaction card transaction number, and item type. FIG. ) Shows an example of data generated based on the settlement condition. That is, the master transaction serial number, the slave transaction serial number, the transaction date and time, and the transaction amount are the same as the settlement conditions, and the card ID, post-transaction card balance, and post-transaction card transaction serial number are temporarily generated as data 0. Further, the type of specification is a value indicating a write-unknown detail indicating that it is unclear whether or not writing to the non-contact IC card 4 has been performed.
次に、S7で、取引状況フラグR/W部112が、記憶部12の取引状況フラグ格納領域の値を“取引開始”状態を示す値に更新する。
そして、S8で主制御部11から通信制御部(対カード)13に対して決済指示が送信される。
Next, in S7, the transaction status flag R / W unit 112 updates the value of the transaction status flag storage area of the storage unit 12 to a value indicating the “transaction start” state.
In S8, a settlement instruction is transmitted from the main control unit 11 to the communication control unit (to card) 13.
S9で、通信制御部(対カード)13の送受信部135は決済指示を受信し、カードR/W制御部134により、非接触ICカード4の捕捉処理を行う。捕捉した場合に非接触ICカード4のカード情報を読み取る(S10)。図5(c)にカード情報のデータ例を示す。カード情報は、顧客識別番号であるカードIDとカードの残高、カードの取引通番からなり、データ例として、それぞれ順に「1234567890123456」、「26910」、「0364」である。 In S <b> 9, the transmission / reception unit 135 of the communication control unit (to-card) 13 receives the settlement instruction, and the card R / W control unit 134 performs the capturing process for the non-contact IC card 4. When captured, the card information of the non-contact IC card 4 is read (S10). FIG. 5C shows an example of card information data. The card information includes a card ID, which is a customer identification number, a card balance, and a card transaction serial number, which are “12345678890123456”, “26910”, and “0364”, respectively, as data examples.
次に、S12で、決済結果の理論値生成部131が、主制御部11から指示された決済条件と非接触ICカード4から読み取ったカード情報とから、決済後の非接触ICカード4のカード情報を理論計算し、S13で、それを決済結果の理論値として記憶部12の決済結果の理論値を格納する領域に格納する。図5(d)に決済結果の理論値のデータ例を示す。決済結果の理論値は、カードID,取引後カード残高、取引後カード取引通番とからなる。カードIDは図5(c)のカード情報のカードIDのコピーであり、取引後カード残高は、読み出したカード情報のカード残高から決済条件の取引金額を差し引いたものであり、取引後カード取引通番は、読み出したカード取引通番を1インクリメントしたものである。すなわち、
取引後カード残高=(読み出した)カード残高−取引金額
取引後カード取引通番=(読み出した)カード取引通番+1
である。データ例は図5(a)図5(c)をもとに生成された決済結果の理論値を示しており、取引後カード残高は、22930(=26910−3980)、取引後カード取引通番は、0365(=0364+1)である。
Next, in S 12, the settlement result theoretical value generation unit 131 uses the settlement conditions instructed from the main control unit 11 and the card information read from the contactless IC card 4 to store the card of the contactless IC card 4 after settlement. The information is theoretically calculated, and in S13, it is stored in the area for storing the theoretical value of the settlement result in the storage unit 12 as the theoretical value of the settlement result. FIG. 5D shows a data example of the theoretical value of the settlement result. The theoretical value of the settlement result includes a card ID, a post-transaction card balance, and a post-transaction card transaction serial number. The card ID is a copy of the card ID of the card information in FIG. 5C, and the post-transaction card balance is obtained by subtracting the transaction amount of the settlement condition from the card balance of the read card information. Is obtained by incrementing the read card transaction serial number by one. That is,
Post-transaction card balance = (read) card balance-transaction amount Post-transaction card transaction serial number = (read) card transaction serial number + 1
It is. The data example shows the theoretical value of the settlement result generated based on FIG. 5 (a) and FIG. 5 (c), the post-transaction card balance is 22930 (= 26910-3980), and the post-transaction card transaction serial number is , 0365 (= 0364 + 1).
そして、次にS14で、通信制御部(対カード)13内の取引状況フラグR/W部132が記憶部12の取引状況フラグ格納領域の値を“カード捕捉完”状態を示す値に更新する。 Then, in S14, the transaction status flag R / W unit 132 in the communication control unit (to the card) 13 updates the value of the transaction status flag storage area of the storage unit 12 to a value indicating the “card capture complete” state. .
次にS15で、カードR/W制御部134がカードR/W部3−6を介して実際に非接触ICカード4から取引金額を差し引き、S16で決済結果生成部133が実際の決済結果を記憶部12の決済結果を格納する領域に格納する。図5(e)に決済結果のデータ例を示す。 Next, in S15, the card R / W control unit 134 actually deducts the transaction amount from the non-contact IC card 4 via the card R / W unit 3-6, and in S16, the settlement result generation unit 133 displays the actual settlement result. The result is stored in an area for storing the settlement result in the storage unit 12. FIG. 5E shows an example of payment result data.
そして、S17で取引状況フラグR/W部132が記憶部12の取引状況フラグ格納領域の値を“カード書込み完”状態を示す値に更新する。そして、S18で、通信制御部(対カード)13から主制御部11に対して決済結果を送信する。通信制御部(対カード)13はS19で処理を終了する。 In S <b> 17, the transaction status flag R / W unit 132 updates the value of the transaction status flag storage area of the storage unit 12 to a value indicating the “card writing complete” state. Then, in S18, the settlement result is transmitted from the communication control unit (to the card) 13 to the main control unit 11. The communication control unit (for card) 13 ends the process in S19.
次にS21で主制御部11は決済結果を受信し、S22で正式明細生成部113は、その内容から正式な明細を生成して、S23で記憶部12の正式な取引明細を格納する領域に格納する。図5(f)に正式な取引明細のデータ例を示す。すなわち、正式な取引明細は、図5(a)の決済条件と図5(e)の決済結果を合体させ、更に、明細種別を追加したものである。ここでは明細種別は、正常に取引が終了した明細であるため、正常明細を示す値となっている。 In step S21, the main control unit 11 receives the settlement result. In step S22, the formal specification generation unit 113 generates a formal specification from the contents, and in step S23, stores the formal transaction details in the storage unit 12. Store. FIG. 5F shows an example of formal transaction details. That is, the formal transaction details are obtained by combining the settlement conditions of FIG. 5A and the settlement results of FIG. 5E, and further adding a detail type. Here, since the detail type is a detail in which the transaction is normally completed, it is a value indicating a normal detail.
そして、S24で取引状況フラグR/W部112が記憶部12の取引状況フラグ格納領域の値を“取引完”状態を示す値に更新する。これにより一連の決済処理は終了する(S25)。 In S24, the transaction status flag R / W unit 112 updates the value of the transaction status flag storage area of the storage unit 12 to a value indicating the “transaction complete” state. As a result, the series of payment processing ends (S25).
以上のように、本発明の実施例における決済処理のフローについて説明したが、この決済処理中に電源切断等により処理が中断された場合について検討する。図4に示した(1)、(2)、(3)の時間内に中断が起こった場合に分けて検討する。 As described above, the flow of the settlement process in the embodiment of the present invention has been described, but a case where the process is interrupted due to power-off or the like during the settlement process will be considered. Consideration will be divided into cases where an interruption occurs within the times (1), (2) and (3) shown in FIG.
まず、(1)の期間内のいずれのタイミングで処理が中断したとしても、非接触ICカード4から利用金額の差し引き処理は行われておらず、利用金額の徴収は行われていない。 First, even if the processing is interrupted at any timing within the period (1), the usage amount is not deducted from the non-contact IC card 4 and the usage amount is not collected.
(2)の期間内のタイミングでの処理中断では、非接触ICカード4からの利用額差し引き処理の完了有無が不明な状態となり、仮に書込みが完了している場合でも、正式な取引明細は作成されておらず、ICカード残高と記憶部12に格納される取引明細との間には不整合が生じる。 If the process is interrupted at the timing of (2), it is unclear whether or not the usage deduction processing from the contactless IC card 4 has been completed, and even if the writing is completed, a formal transaction statement is created. Inconsistency occurs between the IC card balance and the transaction details stored in the storage unit 12.
(3)の期間内のタイミングでの処理中断では、非接触ICカード4から利用額の差し引き処理が完了しているが、取引明細は生成されず、ICカード残高と記憶部12に格納される取引明細との間には不整合が生じる。 In the process interruption at the timing in the period of (3), the deduction processing of the usage amount from the non-contact IC card 4 is completed, but the transaction details are not generated and stored in the IC card balance and the storage unit 12. There is a discrepancy with the transaction details.
このように決済処理の中断によりICカード残高と記憶部12に記憶される取引明細との間には不整合が生じる可能性があるが、次に、上述の(1)〜(3)のすべての場合に対応した、本発明の決済端末装置1の復旧のフローについて説明する。 As described above, there is a possibility that inconsistency occurs between the IC card balance and the transaction details stored in the storage unit 12 due to the interruption of the settlement process. Next, all of the above (1) to (3) A recovery flow of the settlement terminal device 1 of the present invention corresponding to the case will be described.
図7に本発明の実施例における復旧処理のフローを示す。
まず、S30で主制御部11の起動処理が開始される。S31で、取引状況フラグR/W部112が、記憶部12の取引状況フラグ格納領域の値を読み出す。フラグの値が“取引完”であれば正常に決済処理が完了している状態で中断が起こったと判断し、なにも行わずに処理を終了する(S40)。
FIG. 7 shows a flow of restoration processing in the embodiment of the present invention.
First, the starting process of the main control unit 11 is started in S30. In S31, the transaction status flag R / W unit 112 reads the value of the transaction status flag storage area of the storage unit 12. If the value of the flag is “transaction complete”, it is determined that an interruption has occurred in a state in which the payment process is normally completed, and the process is terminated without performing anything (S40).
S31でフラグの値が“取引完”でない場合はS33に進み、更にフラグの値が“カード書込み完”であるか否かが判断される。フラグの値が“カード書込み完”であれば、カード書込み処理後、取引明細を記憶部12に格納する前に決済処理の中断があったことを示すので、明細を生成して格納する処理を行う。すなわち、正式明細生成部113が、S34で記憶部12の決済結果領域に格納されたデータを読出し、更にS37で記憶部12の仮明細領域に格納されたデータを読出し、S38でこれらを合体させて取引明細を生成し、記憶部12に格納する。この際、明細種別は、正常に書込みが行われた明細を示す値とする。その後、S39で、取引状況フラグR/W部112が記憶部12の取引状況フラグ格納領域の値を“取引完”状態を示す値に更新し、1を起動させる。 If the flag value is not “transaction complete” in S31, the process proceeds to S33, and it is further determined whether or not the flag value is “card writing complete”. If the value of the flag is “card writing complete”, it indicates that the settlement process has been interrupted before the transaction details are stored in the storage unit 12 after the card writing processing. Do. That is, the formal specification generation unit 113 reads the data stored in the settlement result area of the storage unit 12 in S34, reads the data stored in the temporary specification area of the storage unit 12 in S37, and combines them in S38. Transaction details are generated and stored in the storage unit 12. At this time, the detail type is a value indicating a detail in which writing is normally performed. Thereafter, in S39, the transaction status flag R / W unit 112 updates the value of the transaction status flag storage area of the storage unit 12 to a value indicating the “transaction complete” state, and activates 1.
また、S33でフラグの値が“カード書込み完”ではない場合、S35に進み、さらにフラグの値が“カード捕捉完”であるか否かが判断される。“カード捕捉完”である場合には、カード捕捉後、非接触ICカード4に書込みが行われる前に決済処理の中断があったことを示すので、明細の生成/格納処理を実施する。正式明細生成部113は、S36で記憶部12の決済結果の理論値領域に格納されたデータを読出し、更にS37で記憶部12の仮明細領域に格納されたデータを読出し、S38でこれらを合体させて取引明細を生成し、記憶部12に格納する。この際、明細種別は、カードに正常に書き込みが行われたか否かが不明なので、書込み不明明細を示す値とする。その後、S39で、取引状況フラグR/W部112が記憶部12の取引状況フラグ格納領域の値を“取引完”状態を示す値に更新し、決済端末装置1を起動させる。 If the flag value is not “card writing complete” in S33, the process proceeds to S35, and it is further determined whether or not the flag value is “card capture complete”. In the case of “card capture complete”, it indicates that the settlement process has been interrupted after the card is captured and before the writing to the non-contact IC card 4 is performed. The formal specification generation unit 113 reads the data stored in the theoretical value area of the settlement result of the storage unit 12 in S36, further reads the data stored in the temporary specification region of the storage unit 12 in S37, and combines them in S38. The transaction details are generated and stored in the storage unit 12. At this time, since it is unclear whether or not the writing has been normally performed on the card, the item type is set to a value indicating the item with unknown writing. Thereafter, in S39, the transaction status flag R / W unit 112 updates the value of the transaction status flag storage area of the storage unit 12 to a value indicating the “transaction complete” state, and activates the payment terminal device 1.
S35で、フラグの値が“カード捕捉完”ではない場合、フラグの値が“取引開始”であることを意味しており、これはすなわち、カード捕捉前に決済処理の中断があったことを示すため、これは取引処理前として、明細生成/格納処理は行わずに、S39で、取引状況フラグR/W部112が記憶部12の取引状況フラグ格納領域の値を“取引完”状態を示す値に更新して決済端末装置1を起動させる。 If the flag value is not “card capture complete” in S35, it means that the flag value is “start of transaction”, which means that the settlement process was interrupted before the card capture. In order to show this, before the transaction process, the detail generation / storage process is not performed, and in S39, the transaction status flag R / W unit 112 sets the value of the transaction status flag storage area of the storage unit 12 to the “transaction complete” state. The settlement terminal device 1 is activated by updating to the indicated value.
以上のように、図7に示すように決済端末装置1が復旧することにより、非接触ICカード4から利用額を差し引いた可能性がある場合には必ず取引明細を記録して、再起動することが可能である。 As described above, if the payment terminal device 1 is restored as shown in FIG. 7 and there is a possibility that the usage amount has been deducted from the non-contact IC card 4, the transaction details are always recorded and restarted. It is possible.
以上、図1〜図7を参照して、本発明の実施例である決済端末装置について詳細に説明した。
本発明によれば、決済処理の中断の後、決済端末装置が復旧する際には中断が起こったタイミングを検知することが可能で、これによりICカードの決済結果と決済端末装置内の取引明細との間に整合性が取れていないと判断された場合には適した取引明細を生成して記憶部に格納することができる。すなわち従来は決済処理の中断によって取引明細が抜けてしまっていたような場合でも、取引明細を確実に残すことが可能である。
In the above, with reference to FIGS. 1-7, the payment terminal device which is an Example of this invention was demonstrated in detail.
According to the present invention, it is possible to detect the timing when the interruption occurs when the payment terminal device is restored after the interruption of the payment processing, whereby the payment result of the IC card and the transaction details in the payment terminal device can be detected. If it is determined that there is no consistency between them, a suitable transaction description can be generated and stored in the storage unit. In other words, even when the transaction details have been lost due to the interruption of the settlement process, it is possible to reliably leave the transaction details.
以上のように本発明の決済端末装置について詳細に説明したが、本発明は以上に述べたことに限定されるものではなく、その他、本発明の要旨を逸脱しない範囲で様々の構成、または形状をつくることができることはいうまでもない。 As described above, the settlement terminal device of the present invention has been described in detail. However, the present invention is not limited to the above description, and various other configurations or shapes are possible without departing from the spirit of the present invention. Needless to say, you can make.
1 決済端末装置
2 主局(上位コントローラ)
3 従局(カード制御ユニット)
4 非接触ICカード
5 センタサーバ
6 ネットワーク
3−1 通信制御部(対主局)
3−2 通信制御部(対センタ)
3−3 主制御部
3−4 記憶装置
3−5 通信制御部(対カード)
3−6 カードR/W
11 主制御部
12 記憶部
13 通信制御部(対カード)
111 仮明細生成部
112 取引状況フラグR/W部
113 正式明細生成部
114 送受信部(主制御部)
131 決済結果の理論値生成部
132 取引状況フラグR/W部
133 決済結果生成部
134 カードR/W制御部
135 送受信部(対カード通信制御部)
1 Payment terminal device 2 Master station (high-order controller)
3 Slave station (card control unit)
4 Non-contact IC card 5 Center server 6 Network 3-1 Communication control unit (to main station)
3-2 Communication control unit (to center)
3-3 Main control unit 3-4 Storage device 3-5 Communication control unit (for card)
3-6 Card R / W
11 Main Control Unit 12 Storage Unit 13 Communication Control Unit (for Card)
111 Provisional Detail Generation Unit 112 Transaction Status Flag R / W Unit 113 Formal Detail Generation Unit 114 Transmission / Reception Unit (Main Control Unit)
131 Settlement result theoretical value generating unit 132 Transaction status flag R / W unit 133 Settlement result generating unit 134 Card R / W control unit 135 Transmission / reception unit (for card communication control unit)
Claims (9)
前記主制御部は、
上位コントローラから決済指示を受信すると決済条件を生成し、該決済条件に基づいて仮明細を生成し前記記憶部に格納するとともに前記対カード通信制御部に決済指示を送信する仮明細生成手段と、
前記記憶部の予め決められた記憶領域に格納される、決済処理の状況を示す取引状況フラグを、自身の処理のタイミングに合わせて変更する第1の取引状況フラグ読出/書込手段と、
前記対カード通信制御部から決済結果を受信すると、該決済結果に基づいて正式な取引明細を生成し、前記記憶部に格納する正式明細生成手段と、
を備えることを特徴とするカード制御ユニット。 A card control unit used in a payment terminal device of a prepaid electronic money system, comprising a main control unit, a card communication control unit, and a storage unit for storing data,
The main control unit
Temporary settlement generation means for generating a settlement condition upon receiving a settlement instruction from the host controller, generating a provisional detail based on the settlement condition and storing it in the storage unit, and transmitting a settlement instruction to the card communication control unit;
A first transaction status flag reading / writing means for changing a transaction status flag indicating a status of a settlement process, which is stored in a predetermined storage area of the storage unit, in accordance with a timing of its own processing;
Upon receiving the settlement result from the card-communication control unit, a formal transaction detail is generated based on the settlement result and stored in the storage unit;
A card control unit comprising:
前記主制御部から決済指示を受信すると、決済の対象となるICカードを捕捉し、該ICカードからカード情報を読出し、該読み出したカード情報から決済結果の理論値を生成し、前記記憶部に格納する決済結果理論値生成手段と、
前記記憶部の予め決められた記憶領域に格納される、決済処理の状況を示す取引状況フラグを、自身の処理のタイミングに合わせて変更する第2の取引状況フラグ読出/書込手段と、
前記ICカードに書き込んだ実際の決済結果を前記記憶部に格納するとともに該決済結果を前記主制御部に送信する決済結果生成手段と、
を備えることを特徴とする請求項1記載のカード制御ユニット。 The card communication control unit
Upon receiving a payment instruction from the main control unit, the IC card to be settled is captured, the card information is read from the IC card, a theoretical value of the payment result is generated from the read card information, and stored in the storage unit A settlement result theoretical value generation means for storing;
A second transaction status flag reading / writing means for changing a transaction status flag indicating the status of the settlement process stored in a predetermined storage area of the storage unit in accordance with the timing of its own processing;
Payment result generation means for storing the actual payment result written in the IC card in the storage unit and transmitting the payment result to the main control unit;
The card control unit according to claim 1, further comprising:
決済処理の際に決済状況を示す情報を記録する決済状況記録手段を備えることを特徴とする決済端末装置。 In a prepaid electronic money system, a payment terminal device that reads the electronic money from an IC card in which electronic money is recorded, and subtracts the usage amount to write to the IC card,
A payment terminal apparatus comprising payment status recording means for recording information indicating a payment status at the time of payment processing.
決済処理の中断が発生したタイミングを示す情報を参照し、前記決済端末装置の記憶部に適切な取引明細が記録される前に中断が起こったか否かを判断するステップと、
適切な取引明細が記録される前に中断が起こったと判断された場合に、決済処理の際に前記決済端末装置の記憶部に記録された仮明細や前記ICカードに書き込まれた決済結果や前記ICカードに書き込む前の決済結果の理論値などに基づいて適切な取引明細を生成するステップと、
を含むことを特徴とする決済端末装置の処理方法。 A processing method of a payment terminal device that reads electronic money from an IC card in which prepaid electronic money is recorded, writes the money to the IC card after subtracting the amount of money to be used,
Determining whether or not an interruption has occurred before an appropriate transaction details are recorded in the storage unit of the payment terminal device with reference to information indicating a timing at which the interruption of the payment process has occurred;
When it is determined that an interruption has occurred before the appropriate transaction details are recorded, the provisional details recorded in the storage unit of the settlement terminal device during the settlement process, the settlement results written in the IC card, and the Generating an appropriate transaction statement based on the theoretical value of the settlement result before writing to the IC card;
A processing method for a payment terminal device.
前記決済端末装置の上位コントローラから決済指示を受信すると決済条件を生成し、該決済条件に基づいて仮明細を生成して該決済端末装置の記憶部に格納するとともに、決済処理の状況を示す取引状況フラグを取引開始状態に変更するステップと、
前記仮明細が生成された後、決済の対象となるICカードを捕捉し、該ICカードからカード情報を読出し、該情報から決済結果の理論値を生成して前記記憶部に格納すると共に、前記取引状況フラグをカード捕捉完状態に変更するステップと、
前記ICカードに前記決済結果の理論値を書き込むとともに実際の決済結果を前記記憶部に格納し、また、前記取引状況フラグをカード書き込み完状態に変更するステップと、
ICカードへの決済結果の理論値の書き込みがなされた後、正式な取引明細を生成して前記記憶部に格納するステップと、
を含むことを特徴とする決済端末装置の処理方法。 A processing method of a payment terminal device that reads the electronic money from an IC card in which prepaid electronic money is recorded, and deducts the usage amount and writes it to the IC card,
A transaction that generates a payment condition upon receipt of a payment instruction from the host controller of the payment terminal apparatus, generates a provisional specification based on the payment condition, stores it in the storage unit of the payment terminal apparatus, and indicates a transaction processing status Changing the status flag to a transaction start state;
After the provisional details are generated, the IC card to be settled is captured, the card information is read from the IC card, the theoretical value of the settlement result is generated from the information and stored in the storage unit, and Changing the transaction status flag to the card capture complete state;
Writing a theoretical value of the settlement result to the IC card and storing an actual settlement result in the storage unit; and changing the transaction status flag to a card writing completion state;
After writing the theoretical value of the settlement result to the IC card, generating a formal transaction statement and storing it in the storage unit;
A processing method for a payment terminal device.
前記取引状況フラグを参照して、処理がどのタイミングで中断されたのかを検知するステップと、
前記検知の結果、前記記憶部に適切な取引明細が格納される前に中断が起こったと判断された場合には、前記記憶部に格納された前記仮明細または前記決済結果の理論値または前記決済結果から取引明細を生成して前記記憶部に格納するステップと、
を含むことを特徴とする請求項8記載の決済端末装置の処理方法。 After processing interruption, when the payment terminal device is restored,
Referring to the transaction status flag to detect when the process is interrupted;
As a result of the detection, if it is determined that an interruption has occurred before the appropriate transaction details are stored in the storage unit, the provisional specification stored in the storage unit or the theoretical value of the settlement result or the settlement Generating a transaction statement from the result and storing it in the storage unit;
The processing method of the payment terminal device according to claim 8, comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006243095A JP4770649B2 (en) | 2006-09-07 | 2006-09-07 | Payment terminal device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006243095A JP4770649B2 (en) | 2006-09-07 | 2006-09-07 | Payment terminal device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008065619A true JP2008065619A (en) | 2008-03-21 |
| JP4770649B2 JP4770649B2 (en) | 2011-09-14 |
Family
ID=39288283
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006243095A Expired - Fee Related JP4770649B2 (en) | 2006-09-07 | 2006-09-07 | Payment terminal device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4770649B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018110024A (en) * | 2018-03-05 | 2018-07-12 | 任天堂株式会社 | Payment system, sales server device, payment server device and server program |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0916727A (en) * | 1995-06-30 | 1997-01-17 | Toshiba Eng Co Ltd | Integral skiing ground managing system |
| JP2002251524A (en) * | 2001-02-23 | 2002-09-06 | Sony Corp | Communication system, card, control server, communication method, program, and recording medium recorded with program |
| WO2005103975A1 (en) * | 2004-04-27 | 2005-11-03 | Bitwallet, Inc. | Money terminal processing server, money terminal processing method, money terminal, calculation instruction input device, and price modification information input device |
-
2006
- 2006-09-07 JP JP2006243095A patent/JP4770649B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0916727A (en) * | 1995-06-30 | 1997-01-17 | Toshiba Eng Co Ltd | Integral skiing ground managing system |
| JP2002251524A (en) * | 2001-02-23 | 2002-09-06 | Sony Corp | Communication system, card, control server, communication method, program, and recording medium recorded with program |
| WO2005103975A1 (en) * | 2004-04-27 | 2005-11-03 | Bitwallet, Inc. | Money terminal processing server, money terminal processing method, money terminal, calculation instruction input device, and price modification information input device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018110024A (en) * | 2018-03-05 | 2018-07-12 | 任天堂株式会社 | Payment system, sales server device, payment server device and server program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4770649B2 (en) | 2011-09-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5258124B2 (en) | Offline terminal, offline terminal control method, and offline terminal control program | |
| JP5595434B2 (en) | Information processing server, information processing method, information processing program, and recording medium on which information processing program is recorded | |
| US10546286B2 (en) | Information processing server, information processing method, information processing program product, recording medium on which information processing program product is recorded, portable terminal, information processing method executed by handheld computer, program product for portable terminal, and recording medium on which program product for portable terminal is recorded | |
| US20140012414A1 (en) | System and method of telemetry applied to vending machines | |
| JP2005128675A (en) | Electronic money charger | |
| US20160283922A1 (en) | Information processing device, information processing method, information processing program, and storage medium storing information processing program | |
| US20150186853A1 (en) | Payment terminal, information processing server, payment terminal control method, and program product | |
| CN102750788A (en) | Information processing device and method, program and information processing system | |
| JP6455863B2 (en) | Reception device, control method of reception device, and program | |
| JP5780366B2 (en) | Payment system, server device, terminal device, recording medium, method, and program | |
| CN109561169B (en) | Detection system of Bluetooth water meter and use method | |
| JP2008146594A (en) | Electronic money system, money amount change information transmitter, server and money amount change information transmission method | |
| JP4770649B2 (en) | Payment terminal device | |
| JP4692446B2 (en) | Electronic money system and control method thereof | |
| JP2005316521A (en) | Depreciation type electronic currency system, electronic currency management device, program for payment device, and electronic currency recording device | |
| JP2008171249A (en) | Amount change information transmission device, amount change information transmission method, coin terminal and amount change method | |
| JP2017111667A (en) | Management device, terminal device, program and settlement system | |
| CN109598493A (en) | For transferring accounts to the method and apparatus of bank card, storage medium and electronic equipment | |
| US20220058612A1 (en) | Method of electronic receipt capture for real-time transacted expenditures | |
| WO2022009963A1 (en) | Information processing device, information processing method, program, and information processing system | |
| JP2006119739A (en) | Apparatus and method for processing amount of money | |
| JP7558585B2 (en) | Remote Management System | |
| JP7615115B2 (en) | Payment system, processing execution method, and program | |
| JP5588487B2 (en) | Information processing apparatus, information processing apparatus control method, and information processing apparatus control program | |
| JP5611610B2 (en) | Control device, service providing device, reading device, control method, service providing method, reading method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090515 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100622 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100818 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110125 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110216 |
|
| 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: 20110524 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110606 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140701 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4770649 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140701 Year of fee payment: 3 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140701 Year of fee payment: 3 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140701 Year of fee payment: 3 |
|
| 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 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |