JP6611041B2 - Pin pad, settlement processing system, and settlement processing method - Google Patents

Pin pad, settlement processing system, and settlement processing method Download PDF

Info

Publication number
JP6611041B2
JP6611041B2 JP2015216077A JP2015216077A JP6611041B2 JP 6611041 B2 JP6611041 B2 JP 6611041B2 JP 2015216077 A JP2015216077 A JP 2015216077A JP 2015216077 A JP2015216077 A JP 2015216077A JP 6611041 B2 JP6611041 B2 JP 6611041B2
Authority
JP
Japan
Prior art keywords
payment
terminal
communication
information
payment terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015216077A
Other languages
Japanese (ja)
Other versions
JP2017090977A (en
Inventor
栄二 奥田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Solutions Inc.
Original Assignee
Seiko Solutions Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Solutions Inc. filed Critical Seiko Solutions Inc.
Priority to JP2015216077A priority Critical patent/JP6611041B2/en
Publication of JP2017090977A publication Critical patent/JP2017090977A/en
Application granted granted Critical
Publication of JP6611041B2 publication Critical patent/JP6611041B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

本発明は、ピンパッド、決済処理システム、及び決済処理方法に関する。   The present invention relates to a pin pad, a payment processing system, and a payment processing method.

複数の携帯端末間において無線通信を行う際に、通信する携帯端末同士の組み合わせを制御する技術や、通信接続中に別の携帯端末からの通信に応答しない技術が開示されている。すなわち、特許文献1には、ある無線通信装置との接続を確立した後、現在接続が確立している無線通信装置以外との接続確立を拒否し、現在接続が確立している無線通信装置間での通信を妨げないようにする技術が記載されている。また、特許文献2には、複数の携帯情報端末と複数の印刷装置とをそれぞれ1対1の関係となるように組み合わせて使用する場合において、誤った組み合わせによる使用を防止するようにする技術が記載されている。これにより、現在接続が確立している携帯端末同士の通信を妨げることを防止する。   When performing wireless communication between a plurality of portable terminals, a technique for controlling a combination of communicating portable terminals and a technique for not responding to communication from another portable terminal during communication connection are disclosed. That is, in Patent Literature 1, after establishing a connection with a certain wireless communication device, the wireless communication device refuses to establish a connection with a wireless communication device other than the currently established wireless communication device, and establishes a connection between the currently established wireless communication devices. A technique is described that does not hinder communication on the Internet. Patent Document 2 discloses a technique for preventing the use of an incorrect combination when a plurality of portable information terminals and a plurality of printing apparatuses are used in combination in a one-to-one relationship. Has been described. As a result, communication between mobile terminals that are currently connected is prevented from being hindered.

特開2003−102060号公報JP 2003-102060 A 特開2005−115678号公報JP 2005-115678 A

上述のように、特許文献1及び特許文献2に示される技術により、現在接続が確立している携帯端末同士については、他の携帯端末による接続を拒否して、接続が確立している携帯端末間での通信を妨げないようにすることができる。しかしながら、携帯端末が互いに接続して処理を行っている最中に、電波状況の悪化等により、接続を確立している携帯端末が通信不能になり、切断してしまう場合がある。上述の特許文献1及び特許文献2に開示されている技術では、ある携帯端末が通信不能になって切断している間に、他の携帯端末から接続要求が行われた場合は、拒否することができない。   As described above, with respect to the mobile terminals that are currently connected by the techniques disclosed in Patent Document 1 and Patent Document 2, the mobile terminals that are connected by refusing connection by other mobile terminals It is possible not to disturb the communication between them. However, while the mobile terminals are connected to each other and performing processing, the mobile terminals that have established the connection may become unable to communicate and may be disconnected due to deterioration of radio wave conditions or the like. In the technology disclosed in Patent Document 1 and Patent Document 2 described above, if a connection request is made from another mobile terminal while a mobile terminal is disconnected due to communication failure, it is rejected. I can't.

例えば、携帯端末Aと携帯端末Bとが接続され、携帯端末Aと携帯端末Bとの間で処理が行われているとする。そして、電波状況の悪化により、携帯端末Aと携帯端末Bとの間の通信が切断されてしまったとする。この場合、電波状況が回復すれば、携帯端末Aと携帯端末Bとが再び接続され、処理が再開できる。ところが、携帯端末Aと携帯端末Bとの通信が切断している間に、別の携帯端末Cから携帯端末Bに接続要求が発生すると、携帯端末Bと携帯端末Cとの間で接続が確立してしまう。この場合、携帯端末Bと携帯端末Cとの間の接続の確立により、携帯端末Aと携帯端末Bとの間の電波状況が回復しても、携帯端末Aと携帯端末Bとが接続できない。また、携帯端末Aと携帯端末Bとの通信が切断している間に、別の携帯端末Cと携帯端末Bとの間で処理が行われると、携帯端末Aと携帯端末Bとを再び接続したとき、処理を最初からやり直さなければならなくなる。また、携帯端末Aと携帯端末Bとの処理が中断している間に、別の携帯端末Cと携帯端末Bとの間で処理が行われると、セキュリティ等のリスクも発生する。特に、携帯端末を使って決済処理を行っている場合には、決済処理を行っている途中で通信が遮断され、別の決済処理が入り込むと、決済している情報が判別できなくなる。また、決済処理が他の端末に割り込まれることで、セキュリティ等のリスクも発生する。携帯端末を使って決済処理を行う場合には、他の割り込みによる処理が発生することがなく、素早く効率的に処理が行われる必要がある。   For example, it is assumed that the mobile terminal A and the mobile terminal B are connected and a process is being performed between the mobile terminal A and the mobile terminal B. Then, it is assumed that communication between the mobile terminal A and the mobile terminal B is disconnected due to the deterioration of the radio wave condition. In this case, if the radio wave condition is recovered, the portable terminal A and the portable terminal B are connected again, and the process can be resumed. However, when a connection request is generated from another mobile terminal C to the mobile terminal B while the communication between the mobile terminal A and the mobile terminal B is disconnected, the connection is established between the mobile terminal B and the mobile terminal C. Resulting in. In this case, even if the radio wave condition between the portable terminal A and the portable terminal B is recovered by establishing the connection between the portable terminal B and the portable terminal C, the portable terminal A and the portable terminal B cannot be connected. In addition, if processing is performed between another mobile terminal C and the mobile terminal B while the communication between the mobile terminal A and the mobile terminal B is disconnected, the mobile terminal A and the mobile terminal B are connected again. If you do, you will have to start over. Further, if processing is performed between another mobile terminal C and the mobile terminal B while the processing between the mobile terminal A and the mobile terminal B is interrupted, a risk such as security is also generated. In particular, when a payment process is performed using a portable terminal, communication is interrupted during the payment process, and if another payment process is entered, the information being settled cannot be determined. In addition, risks such as security also occur due to the payment processing being interrupted by another terminal. When a payment process is performed using a mobile terminal, it is necessary to perform the process quickly and efficiently without any other interruption process.

上述の課題を鑑み、本発明は、決済端末とピンパッドとの間が通信不能になった場合でも、ピンパッドが他の決済端末と接続されてしまうことを拒否できるようにしたピンパッド、決済処理システム、及び決済処理方法を提供することを目的とする。   In view of the above-described problems, the present invention provides a pin pad, a payment processing system, and a payment processing system that can refuse to connect the pin pad to another payment terminal even when communication between the payment terminal and the pin pad becomes impossible. It is another object of the present invention to provide a settlement processing method.

本発明の一態様は、複数の決済端末のうち、自装置との間で通信を確立した通信確立済み決済端末の情報を保持する記憶部と、複数の前記決済端末のうち、いずれかの決済端末が接続要求を行った場合に、前記いずれかの決済端末の情報と、前記記憶部に記憶されている前記通信確立済み決済端末の情報とを比較し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致する場合に成功と判定し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致しない場合に失敗と判定する認証処理を行う認証処理部と、前記認証処理において前記いずれかの決済端末の認証に失敗した場合に、前記いずれかの決済端末との通信を確立せず、前記認証処理において前記いずれかの決済端末の認証に成功した場合に、前記いずれかの決済端末を前記通信確立済み決済端末として通信を確立し、決済情報を送信するピンパッド通信処理部と、を備えるピンパッドである。 One aspect of the present invention is a storage unit that holds information on a communication-established payment terminal that has established communication with its own device among a plurality of payment terminals, and any one of the payment terminals. If the terminal makes a connection request the information of any payment terminal, compares the information of the communication established payment terminal stored in the storage unit, and the information of the one of the payment terminal When the information of the communication established payment terminal stored in the storage unit matches, it is determined to be successful, and the information of one of the payment terminals and the communication established payment terminal stored in the storage unit of the information and the authentication processing unit for performing determining authentication process fails if there is no match, if the authentication fails any one of the payment terminal in the authentication process, establishing communications with the one of the payment terminal Without the authentication Upon successful authentication of the any of the payment terminal in sense, the established communication as one of the settlement the communication established payment terminal device, and pin pad communication processing unit for transmitting payment information, with pin pad with a is there.

本発明の一態様は、上記のピンパッドであって、前記通信確立済み決済端末との通信が切断されてから所定時間経過した場合に、前記記憶部に記憶されている前記通信確立済み決済端末の情報を消去するリセット部をさらに備え、前記認証処理部は、前記記憶部に記憶される前記通信確立済み決済端末の情報が消去されている場合にも成功と判定するピンパッドであるOne aspect of the present invention is the above-described pin pads, when said communication with the communication established payment terminal has passed a predetermined time is disconnected, the communication established payment terminal stored in the storage unit The information processing device further includes a reset unit that erases information, and the authentication processing unit is a pin pad that determines success even when the information of the communication-established payment terminal stored in the storage unit is erased .

本発明の一態様は、複数の決済端末と、ピンパッドとを備える決済処理システムであって、前記決済端末は、前記ピンパッドに接続要求を行う決済端末通信処理部と、前記ピンパッドから取得する決済情報に基づいて、決済処理を実行する決済機能処理部と、を備え、前記ピンパッドは、複数の前記決済端末のうち、自装置との間で通信を確立した通信確立済み決済端末の情報を保持する記憶部と、複数の前記決済端末のうち、いずれかの決済端末が接続要求を行った場合に、前記いずれかの決済端末の情報と、前記記憶部に記憶されている前記通信確立済み決済端末の情報とを比較し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致する場合に成功と判定し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致しない場合に失敗と判定する認証処理を行う認証処理部と、前記認証処理において前記いずれかの決済端末の認証に失敗した場合に、前記いずれかの決済端末との通信を確立せず、前記認証処理において前記いずれかの決済端末の認証に成功した場合に、前記いずれかの決済端末を前記通信確立済み決済端末として通信を確立し、決済情報を送信するピンパッド通信処理部と、を備える決済処理システムである。 One aspect of the present invention is a payment processing system including a plurality of payment terminals and a pin pad, wherein the payment terminal is a payment terminal communication processing unit that makes a connection request to the pin pad, and payment information acquired from the pin pad. And a payment function processing unit that executes payment processing based on the information, and the pin pad holds information on a payment- established payment terminal that has established communication with its own device among the plurality of payment terminals When any one of the plurality of payment terminals makes a connection request, information on any of the payment terminals and the communication-established payment terminal stored in the storage unit of comparing the information, any one of the determined payment terminal information and the information of the storage unit the communication established payment terminal stored in the success if the match, the one of payment terminals And information and the authentication processing unit and the communication established settlement terminal information stored in the storage unit performs the determining authentication process fails if there is no match, authentication of the any of the payment terminal in the authentication process if it fails to, the not establish communications with any of the payment terminal, the authentication when authentication of said one of the payment terminal in the process, the one of the communication established settlement payment terminal A payment processing system including a pin pad communication processing unit that establishes communication as a terminal and transmits payment information.

本発明の一態様は、上記の決済処理システムにおいて、前記決済機能処理部は、前記通信確立済み決済端末との通信が切断された後に通信を再確立した場合に、通信の切断前の決済処理の続きを実行する。 One aspect of the present invention is the payment processing system according to the first aspect, wherein the payment function processing unit re-establishes communication after the communication with the communication-established payment terminal is disconnected, and the payment processing before the communication is disconnected. Continue the following.

本発明の一態様は、複数の決済端末と、複数の前記決済端末のうち、自装置との間で通信を確立した通信確立済み決済端末の情報を保持する記憶部を備えるピンパッドとを備える決済処理システムにおける決済処理方法であって、複数の前記決済端末のうち、いずれかの決済端末が、ピンパッドに接続要求を行う第1ステップと、前記ピンパッドが、複数の前記決済端末のうち、いずれかの決済端末が接続要求を行った場合に、前記いずれかの決済端末の情報と、前記通信確立済み決済端末の情報とを比較し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致する場合に成功と判定し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致しない場合に失敗と判定する認証処理を行う第2ステップと、前記ピンパッドが、前記認証処理において前記いずれかの決済端末の認証に失敗した場合に、前記いずれかの決済端末との通信を確立せず、前記認証処理において前記いずれかの決済端末の認証に成功した場合に、前記いずれかの決済端末を前記通信確立済み決済端末として通信を確立し、決済情報を送信する第3ステップと、前記決済端末が、前記ピンパッドから取得する決済情報に基づいて、決済処理を実行する第4ステップと、を含む決済処理方法である。 One aspect of the present invention is a payment including a plurality of payment terminals and a pin pad including a storage unit that holds information on a communication-established payment terminal that has established communication with the own device among the plurality of payment terminals. A payment processing method in a processing system , wherein one of the plurality of payment terminals makes a connection request to a pin pad, and the pin pad is one of the plurality of payment terminals . When one of the payment terminals makes a connection request, the information on any one of the payment terminals is compared with the information on the payment terminal that has already been established, and the information on any one of the payment terminals is stored in the storage unit. The communication established payment terminal information is determined to be successful, and the information of one of the payment terminals and the information of the communication established payment terminal stored in the storage unit are Establishing a second step of performing determining authentication process fails if no match, the pin pad is a failure in the authentication of any of the payment terminal in the authentication process, the communication with the one of the payment terminal Without any authentication, in the authentication process, if the authentication of any one of the payment terminals is successful, the third step of establishing communication as one of the payment terminals that have been established communication, and transmitting the payment information; And a fourth step in which the payment terminal executes a payment process based on the payment information acquired from the pin pad.

本発明によれば、ピンパッドは、通信の確立している決済端末の情報を保持する記憶部を備えており、複数の決済端末のうちの何れかの決済端末からの接続要求があると、接続要求を行っている決済端末の情報と、記憶部に保持されている決済端末の情報とを比較して、認証処理を行っている。これにより、電波状況の悪化、電源断等により、決済端末とピンパッドとの間が通信不能になった場合でも、ピンパッドが他の決済端末と接続されてしまうことを拒否できる。   According to the present invention, the pin pad includes a storage unit that holds information of a settlement terminal with which communication is established, and when there is a connection request from any of the plurality of settlement terminals, The authentication process is performed by comparing the information of the payment terminal making the request with the information of the payment terminal held in the storage unit. Thereby, even when communication between the payment terminal and the pin pad becomes impossible due to deterioration of radio wave conditions, power interruption, etc., it can be refused that the pin pad is connected to another payment terminal.

本発明の第1の実施形態に係る決済処理システムの全体構成を示す図である。It is a figure showing the whole payment processing system composition concerning a 1st embodiment of the present invention. 本発明の第1の実施形態に係る決済処理システムにおけるピンパッドの構成を示すブロック図である。It is a block diagram which shows the structure of the pin pad in the payment processing system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る決済処理システムにおける決済端末の構成を示すブロック図である。It is a block diagram which shows the structure of the payment terminal in the payment processing system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る決済処理システムにおける決済端末用上位サーバ13の構成を示すブロック図である。It is a block diagram which shows the structure of the high-order server 13 for payment terminals in the payment processing system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る決済処理システムにおける決済センターサーバの構成を示すブロック図である。It is a block diagram which shows the structure of the payment center server in the payment processing system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る決済処理システムにおけるピンパッドの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the pin pad in the payment processing system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る決済処理システムにおける決済端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the payment terminal in the payment processing system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る決済処理システムにおける決済端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the payment terminal in the payment processing system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る決済処理システムにおける決済端末用上位サーバの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the high-order server for payment terminals in the payment processing system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る決済処理システムにおける決済センターサーバの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the payment center server in the payment processing system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る決済処理システムの説明に用いるシーケンス図である。It is a sequence diagram used for description of the payment processing system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る決済処理システムの説明に用いるシーケンス図である。It is a sequence diagram used for description of the payment processing system which concerns on the 1st Embodiment of this invention.

以下、本発明の実施の形態について図面を参照しながら説明する。図1は、本発明の第1の実施形態に係る決済処理システム1の全体構成を示す図である。決済処理システム1は、クレジットカードやデビットカード等のMS(Magnetic Stripe)カードやIC(Integrated Circuit)カードを使って決済処理を行うシステムである。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing an overall configuration of a payment processing system 1 according to the first embodiment of the present invention. The payment processing system 1 is a system that performs payment processing using an MS (Magnetic Stripe) card such as a credit card or a debit card or an IC (Integrated Circuit) card.

同図に示すように、決済処理システム1は、ピンパッド11と、決済端末12(12−1、12−2、…、12−N(Nは任意の整数))と、決済端末用上位サーバ13と、決済センターサーバ14とを含んでいる。ピンパッド11と決済端末12(12−1、12−2、…、12−N)との間は、Bluetooth(登録商標)等の近距離無線通信15により、無線で接続される。決済端末12(12−1、12−2、…、12−N)と、決済端末用上位サーバ13及び決済センターサーバ14との間は、無線通信網16及びインターネット網(図示せず)により接続される。無線通信網16は、例えば3G回線やLTE(Long Term Evolution)、又は無線LAN(IEEE802.11)である。なお、この例では、ピンパッド11は、決済端末12(12−1、12−2、…、12−N)とのみ近距離無線通信15により接続されているが、ピンパッド11についても、無線通信網16と接続可能としてもよい。   As shown in the figure, the payment processing system 1 includes a pin pad 11, a payment terminal 12 (12-1, 12-2,..., 12-N (N is an arbitrary integer)), and an upper server 13 for payment terminal. And the settlement center server 14. The pin pad 11 and the payment terminal 12 (12-1, 12-2,..., 12-N) are wirelessly connected by short-range wireless communication 15 such as Bluetooth (registered trademark). The payment terminal 12 (12-1, 12-2,..., 12-N) is connected to the payment terminal host server 13 and the payment center server 14 by a wireless communication network 16 and the Internet network (not shown). Is done. The wireless communication network 16 is, for example, a 3G line, LTE (Long Term Evolution), or a wireless LAN (IEEE 802.11). In this example, the pin pad 11 is connected to the payment terminals 12 (12-1, 12-2,..., 12-N) only by the short-range wireless communication 15, but the pin pad 11 is also connected to the wireless communication network. 16 may be connectable.

ピンパッド11は、決済端末12(12−1、12−2、…、12−N)のうちの1つと無線で接続し、決済処理を行う。決済時には、ピンパッド11は、クレジットカードやデビットカードの情報を読み取り、暗証番号(PIN:Personal Identification Number)を入力する。また、ピンパッド11は、決済を完了すると、今回の決済についてのレシートを印字する。
決済端末12(12−1、12−2、…、12−N)は、例えば、スマートフォンやタブレット端末等の携帯端末であり、ピンパッド11と近距離無線通信15により接続して、クレジットカードやデビットカードによる決済処理を行う。
The pin pad 11 is wirelessly connected to one of the payment terminals 12 (12-1, 12-2,..., 12-N) and performs payment processing. At the time of settlement, the pin pad 11 reads information of a credit card or a debit card and inputs a PIN (Personal Identification Number). Further, when the payment is completed, the pin pad 11 prints a receipt for the current payment.
The settlement terminal 12 (12-1, 12-2,..., 12-N) is a mobile terminal such as a smartphone or a tablet terminal, and is connected to the pin pad 11 by the short-range wireless communication 15 to be used for a credit card or debit. Perform payment processing by card.

決済端末用上位サーバ13は、決済処理プログラム及び印字用の決済処理プログラムを提供する。決済処理を行う際に、決済端末12(12−1、12−2、…、12−N)は、決済処理プログラム及び印字用の決済処理プログラムを決済端末用上位サーバ13から無線通信網16を介してダウンロードし、決済処理プログラム及び印字用の決済処理プログラムを実行する。
決済センターサーバ14は、無線通信網16を介して決済端末12(12−1、12−2、…、12−N)と通信を行い、決済処理を実行する。
The payment terminal host server 13 provides a payment processing program and a payment processing program for printing. When performing the payment process, the payment terminal 12 (12-1, 12-2,..., 12-N) transmits the payment processing program and the payment processing program for printing from the payment terminal host server 13 to the wireless communication network 16. And executing a settlement processing program and a settlement processing program for printing.
The settlement center server 14 communicates with the settlement terminals 12 (12-1, 12-2,..., 12-N) via the wireless communication network 16 and executes settlement processing.

なお、ここでは、1台のピンパッド11と、N台の決済端末12(12−1〜12−N)を図示しているが、ピンパッド11の台数や決済端末12の台数はこれに限定されるものではない。また、同図においては、決済端末用上位サーバ13と決済センターサーバ14とを別々に示しているが、決済端末用上位サーバ13と決済センターサーバ14とを1つのサーバで実現しても良い。また、決済端末用上位サーバ13と決済センターサーバ14とは、同一の場所に設置しても良いし、別々の場所に設置しても良い。   Here, one pin pad 11 and N payment terminals 12 (12-1 to 12-N) are illustrated, but the number of pin pads 11 and the number of payment terminals 12 are limited to this. It is not a thing. Further, although the payment terminal upper server 13 and the payment center server 14 are separately shown in the figure, the payment terminal upper server 13 and the payment center server 14 may be realized by one server. Moreover, the payment terminal host server 13 and the payment center server 14 may be installed in the same place or in different places.

図2は、本発明の第1の実施形態に係る決済処理システム1におけるピンパッド11の構成を示すブロック図である。図2に示すように、ピンパッド11は、印字処理部101と、LCD(Liquid Crystal Display)表示処理部102と、MS/ICカード読み取り処理部103と、キー入力処理部104と、決済端末ID記憶部105と、決済端末用無線通信処理部106と、リセット部107とを備えている。   FIG. 2 is a block diagram showing a configuration of the pin pad 11 in the settlement processing system 1 according to the first embodiment of the present invention. As shown in FIG. 2, the pin pad 11 includes a print processing unit 101, an LCD (Liquid Crystal Display) display processing unit 102, an MS / IC card reading processing unit 103, a key input processing unit 104, and a settlement terminal ID storage. Unit 105, payment terminal wireless communication processing unit 106, and reset unit 107.

印字処理部101は、レシートの印字処理を行う。LCD表示処理部102は、LCD(Liquid Crystal Display)ディスプレイからなり、各種の情報を表示する。MS/ICカード読み取り処理部103は、クレジットカードやデビッドカード等の磁気カードやICカードの情報を読み取る。キー入力処理部104には、数字キーや実行キー等が配設されている。キー入力処理部104は、暗証番号等の入力を行う。決済端末ID記憶部105は、接続が確立した決済端末の端末IDを格納する。なお、端末IDは、各決済端末12(12−1、12−2、…、12−N)に固有の識別子である。決済端末用無線通信処理部106は、送信部106aと受信部106bを有し、Bluetooth(登録商標)等の近距離無線通信15により、ピンパッド11と決済端末12(12−1、12−2、…、12−N)とを無線で接続する。リセット部107は、決済端末ID記憶部105のリセット処理を行う。ここで、リセット処理とは、例えば、決済端末ID記憶部105に記憶されている端末IDを消去(クリア)したり、無効化したりすることである。   The print processing unit 101 performs receipt print processing. The LCD display processing unit 102 includes an LCD (Liquid Crystal Display) display, and displays various types of information. The MS / IC card reading processing unit 103 reads information on a magnetic card or IC card such as a credit card or a David card. The key input processing unit 104 is provided with numeric keys and execution keys. The key input processing unit 104 inputs a personal identification number and the like. The settlement terminal ID storage unit 105 stores the terminal ID of the settlement terminal with which connection has been established. The terminal ID is an identifier unique to each settlement terminal 12 (12-1, 12-2, ..., 12-N). The payment terminal wireless communication processing unit 106 includes a transmission unit 106a and a reception unit 106b, and the pin pad 11 and the payment terminal 12 (12-1, 12-2, 12-2, 12-2, ..., 12-N) are connected wirelessly. The reset unit 107 performs a reset process for the payment terminal ID storage unit 105. Here, the reset process is, for example, deleting (clearing) or invalidating the terminal ID stored in the payment terminal ID storage unit 105.

図3は、本発明の第1の実施形態に係る決済処理システム1における決済端末12の構成を示すブロック図である。図3に示すように、決済端末12は、決済機能処理部201と、プログラム処理部202と、決済情報記憶部203と、決済端末ID記憶部204と、ピンパッド用無線通信処理部205と、決済センターサーバ及び決済端末上位サーバ用無線通信処理部206とを備えている。   FIG. 3 is a block diagram showing the configuration of the payment terminal 12 in the payment processing system 1 according to the first embodiment of the present invention. As shown in FIG. 3, the payment terminal 12 includes a payment function processing unit 201, a program processing unit 202, a payment information storage unit 203, a payment terminal ID storage unit 204, a pinpad wireless communication processing unit 205, a payment And a wireless communication processing unit 206 for a center server and a payment terminal host server.

決済機能処理部201は、決済処理プログラムに基づいて、決済端末12側の決済処理を行う。プログラム処理部202は、決済端末用上位サーバ13から、決済処理プログラム及び印字用決済処理プログラムをダウンロードし、これら決済処理プログラム及び印字用決済処理プログラムを実行する。決済情報記憶部203は、クレジットカードやデビットカードの情報、暗証番号の情報等、決済処理により得られた決済情報を記憶する。決済端末ID記憶部204には、決済端末12毎に固有(すなわち、自装置に固有)の端末IDが記憶されている。ピンパッド用無線通信処理部205は、送信部205aと受信部205bを有し、Bluetooth(登録商標)等の近距離無線通信15により、ピンパッド11と無線で接続する。決済センターサーバ及び決済端末上位サーバ用無線通信処理部206は、送信部206aと受信部206bを有し、3G回線若しくはLTE、又は無線LAN等の無線通信網16により、決済端末用上位サーバ13及び決済センターサーバ14に接続する。   The payment function processing unit 201 performs payment processing on the payment terminal 12 side based on the payment processing program. The program processing unit 202 downloads the payment processing program and the printing payment processing program from the payment terminal host server 13 and executes the payment processing program and the printing payment processing program. The payment information storage unit 203 stores payment information obtained by the payment processing, such as information on a credit card or debit card, information on a personal identification number. The payment terminal ID storage unit 204 stores a terminal ID unique to each payment terminal 12 (that is, unique to the own device). The pinpad wireless communication processing unit 205 includes a transmission unit 205a and a reception unit 205b, and is connected to the pinpad 11 wirelessly by short-range wireless communication 15 such as Bluetooth (registered trademark). The settlement center server and settlement terminal host server wireless communication processing unit 206 includes a transmission unit 206a and a reception unit 206b. The settlement terminal host server 13 and Connect to the settlement center server 14.

図4は、本発明の第1の実施形態に係る決済処理システム1における決済端末用上位サーバ13の構成を示すブロック図である。図4に示すように、決済端末用上位サーバ13は、決済機能用プログラム記憶部301と、決済端末用動作パラメータ記憶部302と、決済端末用通信処理部303とを備えている。   FIG. 4 is a block diagram showing the configuration of the payment terminal host server 13 in the payment processing system 1 according to the first embodiment of the present invention. As shown in FIG. 4, the payment terminal host server 13 includes a payment function program storage unit 301, a payment terminal operation parameter storage unit 302, and a payment terminal communication processing unit 303.

決済機能用プログラム記憶部301は、決済端末12に提供する決済処理プログラム及び印字用の決済処理プログラムを記憶している。決済端末用動作パラメータ記憶部302は、決済端末用の各種の動作パラメータを記憶している。決済端末用通信処理部303は、送信部303aと受信部303bを有し、インターネット網(図示せず)及び無線通信網16により、決済端末12に接続する。   The payment function program storage unit 301 stores a payment processing program to be provided to the payment terminal 12 and a payment processing program for printing. The settlement terminal operation parameter storage unit 302 stores various operation parameters for the settlement terminal. The payment terminal communication processing unit 303 includes a transmission unit 303 a and a reception unit 303 b, and is connected to the payment terminal 12 through the Internet network (not shown) and the wireless communication network 16.

図5は、本発明の第1の実施形態に係る決済処理システム1における決済センターサーバ14の構成を示すブロック図である。図5に示すように、決済センターサーバ14は、決済処理部401と、決済端末用通信処理部402とを備えている。決済処理部401は、決済端末12から送られてきた決済情報に基づいて、決済センターサーバ14側の決済処理を実行する。決済端末用通信処理部402は、送信部402aと受信部402bを有し、インターネット網(図示せず)及び無線通信網16により、決済端末12に接続する。   FIG. 5 is a block diagram showing a configuration of the payment center server 14 in the payment processing system 1 according to the first embodiment of the present invention. As shown in FIG. 5, the payment center server 14 includes a payment processing unit 401 and a payment terminal communication processing unit 402. The payment processing unit 401 executes a payment process on the payment center server 14 side based on the payment information sent from the payment terminal 12. The payment terminal communication processing unit 402 includes a transmission unit 402 a and a reception unit 402 b, and is connected to the payment terminal 12 through the Internet network (not shown) and the wireless communication network 16.

次に、本発明の第1の実施形態に係る決済処理システム1における決済処理の概要について説明する。
本発明の第1の実施形態に係る決済処理システム1では、クレジットカードやデビットカードによる決済を行う際に、決済処理を行う任意の決済端末12−k(kは任意の整数)は、決済端末用上位サーバ13から、決済処理プログラムや印字用の決済処理プログラムをダウンロードする。前述したように、本実施形態では、決済端末12(12−1、12−2、…、12−N)としてスマートフォンやタブレット端末等の携帯端末を用いている。携帯端末では、プログラムの記憶容量に制限がある。また、携帯端末は、決済処理以外に各種の用途に使用され、携帯端末を決済端末として使用する場合には、十分なセキュリティを確保することが望まれる。そこで、本実施形態では、このように、決済処理を行う毎に、逐一、決済端末12−kは、決済端末用上位サーバ13から決済処理プログラム及び印字用の決済処理プログラムをダウンロードしている。これにより、記憶容量の負担が軽減できると共に、セキュリティの向上を図ることができる。
Next, an outline of the payment process in the payment processing system 1 according to the first embodiment of the present invention will be described.
In the payment processing system 1 according to the first embodiment of the present invention, when performing payment using a credit card or a debit card, an arbitrary payment terminal 12-k (k is an arbitrary integer) that performs payment processing is a payment terminal. The settlement processing program and the settlement processing program for printing are downloaded from the higher order server 13. As described above, in this embodiment, mobile terminals such as smartphones and tablet terminals are used as the payment terminals 12 (12-1, 12-2,..., 12-N). In a portable terminal, the program storage capacity is limited. Further, the mobile terminal is used for various purposes other than the payment processing, and it is desired to ensure sufficient security when the mobile terminal is used as a payment terminal. Therefore, in this embodiment, each time the payment process is performed, the payment terminal 12-k downloads the payment processing program and the printing payment processing program from the payment terminal host server 13 one by one. Thereby, the burden of storage capacity can be reduced and security can be improved.

決済端末12−kは、決済端末用上位サーバ13から決済処理プログラムをダウンロードすると、このダウンロードした決済処理プログラムを実行し、ピンパッド11と近距離無線通信15により、無線で接続する。なお、本実施形態では、近距離無線通信15として、Bluetooth(登録商標)を用いており、決済端末12−kとピンパッド11とは、ペアリングにより接続される。また、ピンパッド11に接続できる端末は、1つに制限される。そして、決済端末12−kとピンパッド11とが無線で接続されると、ピンパッド11は、決済端末ID記憶部105に記憶されている端末IDを用いて認証を行う。   When the payment terminal 12-k downloads the payment processing program from the payment terminal host server 13, the payment terminal 12-k executes the downloaded payment processing program and wirelessly connects to the pin pad 11 through the short-range wireless communication 15. In the present embodiment, Bluetooth (registered trademark) is used as the short-range wireless communication 15, and the payment terminal 12-k and the pin pad 11 are connected by pairing. Further, the number of terminals that can be connected to the pin pad 11 is limited to one. When the payment terminal 12-k and the pin pad 11 are wirelessly connected, the pin pad 11 performs authentication using the terminal ID stored in the payment terminal ID storage unit 105.

すなわち、認証を行う際には、接続を要求する決済端末12−kは端末IDをピンパッド11に送る。ピンパッド11は決済端末ID記憶部105を有している。このピンパッド11の決済端末ID記憶部105の端末IDは、決済端末12−kとピンパッド11との接続が確立すると記憶され、決済処理が完了するまで、保持される。つまり、電波状況の悪化、電源断等により、決済端末12ーkとピンパッド11との間が通信不能になっても、ピンパッド11の決済端末ID記憶部105には、それまで接続が確立していた携帯端末の端末IDがそのまま保持されている。   That is, when performing authentication, the settlement terminal 12-k requesting connection sends the terminal ID to the pin pad 11. The pin pad 11 has a settlement terminal ID storage unit 105. The terminal ID of the payment terminal ID storage unit 105 of the pin pad 11 is stored when the connection between the payment terminal 12-k and the pin pad 11 is established, and is held until the payment process is completed. That is, even if communication between the payment terminal 12-k and the pin pad 11 becomes impossible due to deterioration of radio wave conditions, power interruption, etc., the connection has been established in the payment terminal ID storage unit 105 of the pin pad 11 until then. The terminal ID of the portable terminal is held as it is.

決済端末12−kからの接続要求があると、ピンパッド11は、接続を要求している決済端末12−kの端末IDと、決済端末ID記憶部105に記憶されている端末IDとを比較する。そして、接続を要求している決済端末12−kの端末IDと決済端末ID記憶部105に記憶されている端末IDとが一致する場合には、ピンパッド11は認証が成功したと判定し、決済端末12−kとの接続を許可する。また、それまでの決済処理が完了していれば、決済端末ID記憶部105はクリアされているので、決済端末ID記憶部105がクリアされている場合にも、ピンパッド11は決済端末12−kとの接続を許可する。これに対して、接続を要求している決済端末12−kの端末IDと決済端末ID記憶部105に記憶されている端末IDとが異なる場合には、ピンパッド11は認証が失敗したと判定し、決済端末12−kとの接続を拒否する。これにより、電波状況の悪化、電源断等により、決済端末12−kとピンパッド11との間が通信不能になった場合でも、ピンパッド11が他の決済端末と接続されてしまうことが防止できる。   When there is a connection request from the payment terminal 12-k, the pin pad 11 compares the terminal ID of the payment terminal 12-k requesting connection with the terminal ID stored in the payment terminal ID storage unit 105. . If the terminal ID of the payment terminal 12-k requesting connection matches the terminal ID stored in the payment terminal ID storage unit 105, the pin pad 11 determines that the authentication is successful, and the payment is completed. The connection with the terminal 12-k is permitted. In addition, since the payment terminal ID storage unit 105 has been cleared if the payment processing up to that point has been completed, the pin pad 11 is also connected to the payment terminal 12-k even when the payment terminal ID storage unit 105 is cleared. Allow connection with. On the other hand, if the terminal ID of the payment terminal 12-k requesting connection is different from the terminal ID stored in the payment terminal ID storage unit 105, the pin pad 11 determines that the authentication has failed. The connection with the payment terminal 12-k is rejected. Thereby, even when communication between the payment terminal 12-k and the pin pad 11 becomes impossible due to deterioration of radio wave conditions, power interruption, etc., the pin pad 11 can be prevented from being connected to another payment terminal.

上述の認証処理により、決済端末12−kとピンパッド11との接続が成功すると、決済端末12−kとピンパッド11との間で、近距離無線通信15によりデータを送受することができる。クレジットカードやデビッドカードの情報は、ピンパッド11のMS/ICカード読み取り処理部103により読み取られる。また、ピンパッド11のキー入力処理部104により、暗証番号が入力される。これらクレジットカードやデビッドカードの情報、及び暗証番号等の情報は、近距離無線通信15を介して、決済端末12−kに送られる。   If the connection between the payment terminal 12-k and the pin pad 11 is successful by the authentication process described above, data can be transmitted and received between the payment terminal 12-k and the pin pad 11 by the short-range wireless communication 15. Information on the credit card or the David card is read by the MS / IC card reading processing unit 103 of the pin pad 11. Further, the code number is input by the key input processing unit 104 of the pin pad 11. Information on these credit cards and debit cards and information such as a password are sent to the settlement terminal 12-k via the short-range wireless communication 15.

決済端末12−kは、クレジットカードやデビッドカードの情報や暗証番号の情報を取得すると、これらの決済情報を決済情報記憶部203に記憶する。そして、決済端末12−kは、ピンパッド11との通信を一時的に遮断して、無線通信網16を介して、決済センターサーバ14と通信を行い、決済処理を行う。   When the payment terminal 12-k obtains the credit card or debit card information or the password information, the payment terminal 12-k stores the payment information in the payment information storage unit 203. Then, the settlement terminal 12-k temporarily interrupts communication with the pin pad 11, communicates with the settlement center server 14 via the wireless communication network 16, and performs settlement processing.

次に、決済端末12−kは、決済端末用上位サーバ13から印字用の決済処理プログラムをダウンロードする。そして、決済端末12−kは、この印字用の決済処理プログラムを実行し、近距離無線通信15によりピンパッド11と接続する。このとき、ピンパッド11は、決済端末ID記憶部105に記憶されている端末IDを用いて認証を行う。この場合、決済端末ID記憶部105には、決済端末12−kの端末IDが保持されており、接続を要求している決済端末12−kの端末IDと決済端末ID記憶部105に記憶されている端末IDとが一致する。このため、決済端末12−kとピンパッド11との接続が許可される。   Next, the payment terminal 12-k downloads a payment processing program for printing from the payment server host server 13. Then, the settlement terminal 12-k executes the settlement processing program for printing and connects to the pin pad 11 by the short-range wireless communication 15. At this time, the pin pad 11 performs authentication using the terminal ID stored in the settlement terminal ID storage unit 105. In this case, the terminal ID of the payment terminal 12-k is held in the payment terminal ID storage unit 105, and is stored in the terminal ID of the payment terminal 12-k requesting connection and the payment terminal ID storage unit 105. Matches the terminal ID. For this reason, the connection between the payment terminal 12-k and the pin pad 11 is permitted.

決済端末12−kは、ピンパッド11と接続すると、ピンパッド11に印字処理要求を行い、ピンパッド11の印字処理部101は、レシートの印字を行う。以上により、一連の決済処理が完了する。決済処理が完了すると、ピンパッド11は、決済端末ID記憶部105をクリアし、決済端末12−kとの近距離無線通信15による接続を切断する。   When the payment terminal 12-k is connected to the pin pad 11, it makes a print processing request to the pin pad 11, and the print processing unit 101 of the pin pad 11 prints a receipt. Thus, a series of payment processing is completed. When the payment process is completed, the pin pad 11 clears the payment terminal ID storage unit 105 and disconnects the short-distance wireless communication 15 with the payment terminal 12-k.

図6は、本発明の第1の実施形態に係る決済処理システム1におけるピンパッド11の動作を示すフローチャートである。
図6において、ピンパッド11は、決済端末12−kからの接続要求があると、近距離無線通信15による接続を行う(ステップS101)。近距離無線通信15がBluetooth(登録商標)の場合には、ペアリングされたピンパッド11と決済端末12−kとの間で無線通信が行われる。
FIG. 6 is a flowchart showing the operation of the pin pad 11 in the payment processing system 1 according to the first embodiment of the present invention.
In FIG. 6, when there is a connection request from the settlement terminal 12-k, the pin pad 11 performs a connection by the short-range wireless communication 15 (step S101). When the short-range wireless communication 15 is Bluetooth (registered trademark), wireless communication is performed between the paired pin pad 11 and the payment terminal 12-k.

ピンパッド11は、決済端末12−kからの認証要求により、認証を実施する(ステップS102)。認証要求を行う際、決済端末12−kは、決済端末ID記憶部204からその機器の固有の端末IDを読み出し、この端末IDをピンパッド11に送信する。そして、認証処理では、ピンパッド11は、決済端末ID記憶部105がクリアされているかどうかを判定する(ステップS103)。決済端末ID記憶部105がクリアされている場合には(ステップS103:Yes)、ピンパッド11は決済端末12−kとの接続を許可する(ステップS105)。   The pin pad 11 performs authentication in response to an authentication request from the payment terminal 12-k (step S102). When making the authentication request, the payment terminal 12-k reads the unique terminal ID of the device from the payment terminal ID storage unit 204 and transmits this terminal ID to the pin pad 11. In the authentication process, the pin pad 11 determines whether or not the payment terminal ID storage unit 105 has been cleared (step S103). When the payment terminal ID storage unit 105 is cleared (step S103: Yes), the pin pad 11 permits connection with the payment terminal 12-k (step S105).

決済端末ID記憶部105がクリアされていない場合には(ステップS103:No)、ピンパッド11は、接続を要求している決済端末12−kの端末IDと、決済端末ID記憶部105に記憶されている端末IDとを比較する(ステップS104)。接続を要求している決済端末12−kの端末IDと決済端末ID記憶部105に記憶されている端末IDとが一致する場合には(ステップS104:Yes)、ピンパッド11は決済端末12−kとの接続を許可する(ステップS105)。接続を要求している決済端末12−kの端末IDと決済端末ID記憶部105に記憶されている端末IDとが異なる場合には(ステップS104:No)、ピンパッド11は決済端末12−kとの接続を拒否し(ステップS106)、処理をステップS102にリターンする。ステップS105において、決済端末12−kとの接続が許可されると、ピンパッド11は、決済端末12−kから決済処理開始要求を受信し、接続が確立した決済端末12−kの端末IDを決済端末ID記憶部105に書き込む(ステップS107)。   When the settlement terminal ID storage unit 105 is not cleared (step S103: No), the pin pad 11 is stored in the settlement terminal ID storage unit 105 and the terminal ID of the settlement terminal 12-k that requests connection. The current terminal ID is compared (step S104). If the terminal ID of the payment terminal 12-k requesting connection matches the terminal ID stored in the payment terminal ID storage unit 105 (step S104: Yes), the pin pad 11 is set to the payment terminal 12-k. Is allowed to be connected (step S105). If the terminal ID of the payment terminal 12-k requesting connection is different from the terminal ID stored in the payment terminal ID storage unit 105 (step S104: No), the pin pad 11 is connected to the payment terminal 12-k. Connection is rejected (step S106), and the process returns to step S102. In step S105, when the connection with the payment terminal 12-k is permitted, the pin pad 11 receives the payment processing start request from the payment terminal 12-k, and sets the terminal ID of the payment terminal 12-k with which the connection has been established. It writes in the terminal ID storage unit 105 (step S107).

ピンパッド11と決済端末12−kとが接続されると、ピンパッド11は、決済端末12−kからの処理要求を受信し、決済処理を実行し、実行結果の応答を決済端末12−kに返す。すなわち、ピンパッド11は、決済端末12−kからLCDの表示要求があると、LCD表示処理部102への各種の文字表示を行い、カードの読み取り要求があると、MS/ICカード読み取り処理部103でクレジットカードやデビッドカードのデータの読み込み処理を行い、暗証番号の入力要求があると、キー入力処理部104からの暗証番号の入力処理を行い、印字処理の要求があると、印字処理部101で印字処理等を実行し、この実行結果の応答を決済端末12−kに返す(ステップS108)。   When the pin pad 11 and the payment terminal 12-k are connected, the pin pad 11 receives a processing request from the payment terminal 12-k, executes a payment process, and returns an execution result response to the payment terminal 12-k. . That is, when there is an LCD display request from the settlement terminal 12-k, the pin pad 11 displays various characters on the LCD display processing unit 102, and when there is a card reading request, the MS / IC card reading processing unit 103 The credit card or the debit card data is read, and if a password input request is received, the password input process is performed from the key input processing unit 104. If there is a print process request, the print processing unit 101 In step S108, a printing process or the like is executed, and a response of the execution result is returned to the settlement terminal 12-k.

決済処理を終了し、決済端末12−kから決済処理終了要求があると、ピンパッド11は、決済端末ID記憶部105の端末IDを消去する(ステップS109)。そして、ピンパッド11は、決済端末12−kからの通信切断要求により、決済端末12−kとの無線接続を切断する(ステップS110)。   When the settlement process is terminated and a settlement process end request is received from the settlement terminal 12-k, the pin pad 11 deletes the terminal ID in the settlement terminal ID storage unit 105 (step S109). And the pin pad 11 cut | disconnects the wireless connection with payment terminal 12-k by the communication cutting | disconnection request | requirement from payment terminal 12-k (step S110).

図7及び図8は、本発明の第1の実施形態に係る決済処理システム1における決済端末12−kの動作を示すフローチャートである。図7は、ピンパッド11と決済端末12−kとを接続して、決済処理を行うときの処理を示している。   7 and 8 are flowcharts showing the operation of the payment terminal 12-k in the payment processing system 1 according to the first embodiment of the present invention. FIG. 7 shows processing when the pin pad 11 and the payment terminal 12-k are connected to perform payment processing.

図7において、決済端末12−kは、無線通信網16を介して、決済端末用上位サーバ13に接続し、決済端末用上位サーバ13から、決済処理プログラムをダウンロードし、決済処理プログラムを実行する(ステップS201)。
決済端末12−kは、ピンパッド11に、近距離無線通信15による無線接続を行う(ステップS202)。
In FIG. 7, the payment terminal 12-k connects to the payment terminal host server 13 via the wireless communication network 16, downloads the payment processing program from the payment terminal host server 13, and executes the payment processing program. (Step S201).
The settlement terminal 12-k makes a wireless connection to the pin pad 11 by the short-range wireless communication 15 (step S202).

次に、決済端末12−kは、決済端末ID記憶部204に記憶している端末IDをピンパッド11に送り、認証処理を実施する(ステップS203)。前述のピンパッド11の動作で説明したように、ピンパッド11は、決済端末12−kからの接続要求があると、接続を要求している決済端末12−kの端末IDと決済端末ID記憶部105に記憶されている端末IDとを比較して、認証を行っている(ステップS102からS106)。決済端末ID記憶部105の端末IDがクリアされている又は接続を要求している決済端末12−kの端末IDと決済端末ID記憶部105に記憶されている端末IDとが一致する場合には、ピンパッド11は決済端末12−kとの接続を許可する。これに対して、接続を要求している決済端末12−kの端末IDと決済端末ID記憶部105に記憶されている端末IDとが異なる場合には、ピンパッド11は決済端末12−kとの接続を拒否する。   Next, the payment terminal 12-k sends the terminal ID stored in the payment terminal ID storage unit 204 to the pin pad 11 and performs an authentication process (step S203). As described in the operation of the pin pad 11 described above, when there is a connection request from the payment terminal 12-k, the pin pad 11 and the terminal ID of the payment terminal 12-k requesting connection and the payment terminal ID storage unit 105 Is compared with the terminal ID stored in the server (steps S102 to S106). When the terminal ID of the payment terminal ID storage unit 105 is cleared or the terminal ID of the payment terminal 12-k that is requesting connection matches the terminal ID stored in the payment terminal ID storage unit 105 The pin pad 11 permits connection with the payment terminal 12-k. On the other hand, when the terminal ID of the payment terminal 12-k requesting connection is different from the terminal ID stored in the payment terminal ID storage unit 105, the pin pad 11 is connected to the payment terminal 12-k. Reject the connection.

認証結果が接続拒否の場合には(ステップS204:No)、決済端末12−kは、ピンパッド11との近距離無線通信15による無線接続を切断する(ステップS205)。
認証結果が接続許可の場合には(ステップS204:Yes)、決済端末12−kは、ピンパッド11との間で、決済処理を実施する。すなわち、決済端末12−kはピンパッド11に、LCD表示処理部102への文字の表示要求、MS/ICカード読み取り処理部103でのクレジットカードやデビッドカードのデータの読み込み要求、キー入力処理部104からの暗証番号の入力要求等を行う。そして、決済端末12−kは、これらの決済処理の実行結果から、クレジットカードやデビッドカードの情報、暗証番号の情報等をピンパッド11から取得し、決済情報記憶部203に記憶する(ステップS206)。
When the authentication result is connection refusal (step S204: No), the settlement terminal 12-k disconnects the wireless connection by the short-range wireless communication 15 with the pin pad 11 (step S205).
If the authentication result is connection permission (step S204: Yes), the payment terminal 12-k performs a payment process with the pin pad 11. That is, the settlement terminal 12-k receives a character display request to the LCD display processing unit 102, a request to read credit / debit card data from the MS / IC card reading processing unit 103, and a key input processing unit 104 on the pin pad 11. Make a request to enter a PIN from. Then, the payment terminal 12-k acquires the credit card / david card information, the password information, and the like from the pin pad 11 from the execution results of these payment processes, and stores them in the payment information storage unit 203 (step S206). .

決済端末12−kは、ピンパッド11から決済情報を取得すると、ピンパッド11との無線接続を一旦切断する(ステップS207)。そして、決済端末12−kは、無線通信網16を介して、決済センターサーバ14に接続し、決済情報記憶部203に記憶した決済情報を用いて、決済処理を行う(ステップS208)。   When the payment terminal 12-k acquires the payment information from the pin pad 11, it temporarily disconnects the wireless connection with the pin pad 11 (step S207). Then, the payment terminal 12-k connects to the payment center server 14 via the wireless communication network 16, and performs payment processing using the payment information stored in the payment information storage unit 203 (step S208).

図8は、ピンパッド11と決済端末12−kとを接続して、印字処理を行うときの処理を示している。図8において、決済端末12−kは、無線通信網16を介して、決済端末用上位サーバ13に接続し、決済端末用上位サーバ13から、印字用の決済処理プログラムをダウンロードし、印字用の決済処理プログラムを実行する(ステップS210)。   FIG. 8 shows processing when the pin pad 11 and the payment terminal 12-k are connected to perform printing processing. In FIG. 8, the payment terminal 12-k connects to the payment terminal host server 13 via the wireless communication network 16, downloads the payment processing program for printing from the payment terminal host server 13, and prints it. A settlement processing program is executed (step S210).

決済端末12−kは、ピンパッド11に、近距離無線通信15による無線接続を行う(ステップS211)。次に、決済端末12−kは、決済端末ID記憶部204に記憶している端末IDをピンパッド11に送り、認証処理を実施する(ステップS212)。前述したように、決済端末ID記憶部105の端末IDがクリアされている又は接続を要求している決済端末12−kの端末IDと決済端末ID記憶部105に記憶されている端末IDとが一致する場合には、ピンパッド11は決済端末12−kとの接続を許可する。これに対して、接続を要求している決済端末12−kの端末IDと決済端末ID記憶部105に記憶されている端末IDとが異なる場合には、ピンパッド11は決済端末12−kとの接続を拒否する。   The settlement terminal 12-k makes a wireless connection to the pin pad 11 by the short-range wireless communication 15 (step S211). Next, the payment terminal 12-k sends the terminal ID stored in the payment terminal ID storage unit 204 to the pin pad 11 and performs an authentication process (step S212). As described above, the terminal ID of the payment terminal 12-k in which the terminal ID of the payment terminal ID storage unit 105 is cleared or the connection is requested and the terminal ID stored in the payment terminal ID storage unit 105 are If they match, the pin pad 11 permits connection with the payment terminal 12-k. On the other hand, when the terminal ID of the payment terminal 12-k requesting connection is different from the terminal ID stored in the payment terminal ID storage unit 105, the pin pad 11 is connected to the payment terminal 12-k. Reject the connection.

認証結果が接続拒否の場合には(ステップS213:No)、決済端末12−kは、ピンパッド11との近距離無線通信15による無線接続を切断する(ステップS214)。認証結果が接続許可の場合には(ステップS213:Yes)、決済端末12−kはピンパッド11に印字処理の要求を送り(ステップS215)、全ての印字が終了するまで、接続を維持する。印字処理が終了すると、決済端末12−kは、ピンパッド11との無線接続を完全に切断する(ステップS216)。   When the authentication result is connection refusal (step S213: No), the settlement terminal 12-k disconnects the wireless connection by the short-range wireless communication 15 with the pin pad 11 (step S214). If the authentication result is connection permission (step S213: Yes), the settlement terminal 12-k sends a print processing request to the pin pad 11 (step S215), and maintains the connection until all printing is completed. When the printing process is completed, the settlement terminal 12-k completely disconnects the wireless connection with the pin pad 11 (step S216).

図9は、本発明の第1の実施形態に係る決済処理システム1における決済端末用上位サーバ13の動作を示すフローチャートである。図9において、決済端末用上位サーバ13は、決済端末12−kからの決済処理プログラムの要求を受信すると(ステップS301)、決済端末12−kに決済処理プログラムを送信する(ステップS302)。また、決済端末用上位サーバ13は、決済端末12−kから印字用の決済処理プログラムの要求を受信すると(ステップS303)、決済端末12−kに印字用の決済処理プログラムを送信する(ステップS304)。   FIG. 9 is a flowchart showing the operation of the payment terminal host server 13 in the payment processing system 1 according to the first embodiment of the present invention. In FIG. 9, when the payment terminal host server 13 receives a payment processing program request from the payment terminal 12-k (step S301), it transmits the payment processing program to the payment terminal 12-k (step S302). In addition, when the payment terminal host server 13 receives a request for a payment processing program for printing from the payment terminal 12-k (step S303), the payment terminal host server 13 transmits the payment processing program for printing to the payment terminal 12-k (step S304). ).

図10は、本発明の第1の実施形態に係る決済処理システム1における決済センターサーバ14の動作を示すフローチャートである。図10において、決済センターサーバ14は、決済端末12−kから決済処理要求を受信すると(ステップS401)、決済処理を行い(ステップS402)、決済処理を完了すると、決済処理完了を決済端末12−kに送信する(ステップS403)。   FIG. 10 is a flowchart showing the operation of the payment center server 14 in the payment processing system 1 according to the first embodiment of the present invention. In FIG. 10, when the settlement center server 14 receives a settlement processing request from the settlement terminal 12-k (step S401), the settlement center server 14 performs a settlement process (step S402). k (step S403).

本発明の第1の実施形態に係る決済処理システム1では、決済端末12−kはピンパッド11と近距離無線通信15により接続して決済処理を行う。ここで、電波状況の悪化、電源断等により、決済端末12−kとピンパッド11との間が通信不能になる場合がある。その間に、他の決済端末12−j(jは任意の整数う)とピンパッド11とが接続されてしまうと、電波状況が改善しても、決済端末12−kはピンパッド11と接続できない。また、他の決済端末12−jとピンパッド11との決済処理が行われると、それまでの決済端末12−kとピンパッド11との間で行われていた決済処理が無効になってしまう。また、決済端末12−kとピンパッド11との間で決済処理が完了していない間に、他の決済端末12−jが接続されてしまうと、セキュリティの問題が発生する可能性がある。   In the payment processing system 1 according to the first embodiment of the present invention, the payment terminal 12-k is connected to the pin pad 11 by the short-range wireless communication 15 to perform payment processing. Here, there is a case where communication between the settlement terminal 12-k and the pin pad 11 becomes impossible due to deterioration of radio wave conditions, power interruption, and the like. In the meantime, if another payment terminal 12-j (j is an arbitrary integer) and the pin pad 11 are connected, the payment terminal 12-k cannot be connected to the pin pad 11 even if the radio wave condition is improved. In addition, when the settlement process between the other settlement terminal 12-j and the pin pad 11 is performed, the settlement process that has been performed between the settlement terminal 12-k and the pin pad 11 becomes invalid. Further, if another payment terminal 12-j is connected while the payment process is not completed between the payment terminal 12-k and the pin pad 11, a security problem may occur.

そこで、本実施形態では、図2に示したように、ピンパッド11に、決済端末ID記憶部105が設けられ、この決済端末ID記憶部105に、通信が確立した決済端末12の機器固有のIDが記憶される。ピンパッド11は、決済端末12と近距離無線通信15による接続を行う際に、接続を要求している決済端末12−kの端末IDと決済端末ID記憶部105に記憶されている端末IDとを比較して認証を行っている。これにより、電波状況の悪化、電源断等により、決済端末12−kとピンパッド11との間が通信不能になった場合でも、ピンパッド11が他の決済端末12と接続されてしまうことが防止できる。このことについて、以下のシーケンス図を用いて更に説明する。   Therefore, in the present embodiment, as shown in FIG. 2, a payment terminal ID storage unit 105 is provided in the pin pad 11, and a device-specific ID of the payment terminal 12 with which communication has been established is stored in the payment terminal ID storage unit 105. Is memorized. When the pin pad 11 is connected to the payment terminal 12 by the short-range wireless communication 15, the pin pad 11 obtains the terminal ID of the payment terminal 12-k requesting the connection and the terminal ID stored in the payment terminal ID storage unit 105. Authentication is performed by comparison. Thereby, even when communication between the payment terminal 12-k and the pin pad 11 becomes impossible due to deterioration of radio wave conditions, power interruption, etc., it is possible to prevent the pin pad 11 from being connected to another payment terminal 12. . This will be further described with reference to the following sequence diagram.

図11及び図12は、本発明の第1の実施形態に係る決済処理システム1の説明に用いるシーケンス図である。図11及び図12において、決済端末12−1は、無線通信網16を介して決済端末用上位サーバ13に接続し、決済端末用上位サーバ13に決済プログラム要求を送信する(ステップS501)。決済端末用上位サーバ13は、決済端末12−1に決済プログラムを送信し(ステップS502)、決済端末12−1はこの決済プログラムをダウンロードし、このダウンロードした決済プログラムを実行する。この決済プログラムにより、決済端末12−1はピンパッド11に接続要求を送る(ステップS503)。決済端末12−1はピンパッド11と、近距離無線通信15により接続される(ステップS504)。   11 and 12 are sequence diagrams used for explaining the settlement processing system 1 according to the first embodiment of the present invention. 11 and 12, the payment terminal 12-1 connects to the payment terminal host server 13 via the wireless communication network 16, and transmits a payment program request to the payment terminal host server 13 (step S501). The payment terminal host server 13 transmits a payment program to the payment terminal 12-1 (step S502), and the payment terminal 12-1 downloads the payment program and executes the downloaded payment program. With this payment program, the payment terminal 12-1 sends a connection request to the pin pad 11 (step S503). Payment terminal 12-1 is connected to pin pad 11 by short-range wireless communication 15 (step S504).

ここで、決済端末12−2がピンパッド11に接続要求を送ったとする。本実施形態では、ピンパッド11の近距離無線通信は、1台しか接続を認めないため、決済端末12−2の接続は拒否される(ステップS505)。決済端末12−1は、ピンパッド11に認証要求を送る(ステップS506)。ピンパッド11は、接続を要求している決済端末12−1の端末IDと決済端末ID記憶部105に記憶されている端末IDとを比較して認証を行う。ここでは、決済端末ID記憶部105に記憶されている端末IDはクリアされているので、ピンパッド11は決済端末12−1に接続許可の認証応答を送る(ステップS507)。   Here, it is assumed that the payment terminal 12-2 sends a connection request to the pin pad 11. In this embodiment, since the short-distance wireless communication of the pin pad 11 allows only one connection, the connection of the payment terminal 12-2 is rejected (step S505). The settlement terminal 12-1 sends an authentication request to the pin pad 11 (step S506). The pin pad 11 performs authentication by comparing the terminal ID of the payment terminal 12-1 requesting connection with the terminal ID stored in the payment terminal ID storage unit 105. Here, since the terminal ID stored in the payment terminal ID storage unit 105 has been cleared, the pin pad 11 sends a connection permission authentication response to the payment terminal 12-1 (step S507).

決済端末12−1は、ピンパッド11に決済処理開始要求を送り(ステップS508)、ピンパッド11は決済端末12−1に決済処理開始応答を送る(ステップS509)。これにより、決済処理が開始される。決済処理では、決済端末12−1はピンパッド11に、「カードを挿入して下さい」というような、LCD表示要求を送る(ステップS510)。ピンパッド11は、この表示要求に応じてLCD表示処理部102の表示を行い、表示を完了すると、決済端末12−1に、表示応答を返す(ステップS511)。   The settlement terminal 12-1 sends a settlement process start request to the pin pad 11 (step S508), and the pin pad 11 sends a settlement process start response to the settlement terminal 12-1 (step S509). Thereby, the settlement process is started. In the payment process, the payment terminal 12-1 sends an LCD display request such as “Please insert a card” to the pin pad 11 (step S510). The pin pad 11 displays the LCD display processing unit 102 in response to this display request, and when the display is completed, returns a display response to the settlement terminal 12-1 (step S511).

ここで、電波状況の悪化により、決済端末12−1とピンパッド11との通信が切断したとする。この間、決済端末ID記憶部105には、決済端末12−1の端末IDが保存されている。決済端末12−1とピンパッド11との通信が切断している間に、決済端末12−2がピンパッド11に、近距離無線通信での接続要求を行ったとする(ステップS512)。このとき、ピンパッド11は、どの機器とも接続していないので、決済端末12−2は、ピンパッド11と近距離無線通信で接続される(ステップS513)。そして、決済端末12−2はピンパッド11に認証要求を送り(ステップS514)、ピンパッド11は接続を要求している決済端末12−2の端末IDと決済端末ID記憶部105に記憶されている端末IDとを比較して認証を行う。このとき、ピンパッド11の決済端末ID記憶部105には、決済端末12−1の端末IDが保存されている。このため、決済端末ID記憶部105に保存されている端末IDと、接続要求を行っている端末の端末IDとが不一致となり、ピンパッド11は、認証拒否を決済端末12−2に送る(ステップS515)。このように、本実施形態では、電波状況の悪化により、決済端末12−1とピンパッド11との通信が切断したとしても、その間、ピンパッド11と他の決済端末とが接続されることが防止される。   Here, it is assumed that the communication between the payment terminal 12-1 and the pin pad 11 is disconnected due to the deterioration of the radio wave condition. During this time, the terminal ID of the payment terminal 12-1 is stored in the payment terminal ID storage unit 105. Assume that the payment terminal 12-2 makes a connection request for short-distance wireless communication to the pin pad 11 while the communication between the payment terminal 12-1 and the pin pad 11 is disconnected (step S512). At this time, since the pin pad 11 is not connected to any device, the payment terminal 12-2 is connected to the pin pad 11 by short-range wireless communication (step S513). Then, the payment terminal 12-2 sends an authentication request to the pin pad 11 (step S514), and the pin pad 11 stores the terminal ID of the payment terminal 12-2 requesting connection and the terminal stored in the payment terminal ID storage unit 105. Authentication is performed by comparing the ID. At this time, the terminal ID of the payment terminal 12-1 is stored in the payment terminal ID storage unit 105 of the pin pad 11. For this reason, the terminal ID stored in the payment terminal ID storage unit 105 does not match the terminal ID of the terminal making the connection request, and the pin pad 11 sends an authentication rejection to the payment terminal 12-2 (step S515). ). Thus, in this embodiment, even if communication between the payment terminal 12-1 and the pin pad 11 is disconnected due to deterioration of radio wave conditions, the connection between the pin pad 11 and another payment terminal is prevented during that time. The

ここで、決済端末12−1とピンパッド11との電波状況が回復し、決済端末12−1が再びピンパッド11に、近距離無線通信での接続要求を行ったとする(ステップS516)。このとき、ピンパッド11は、どの機器とも接続していないので、決済端末12−1はピンパッド11と近距離無線通信で接続される(ステップS517)。そして、決済端末12−1はピンパッド11に認証要求を送り(ステップS518)、ピンパッド11は、接続を要求している決済端末12−1の端末IDと決済端末ID記憶部105に記憶されている端末IDとを比較して認証を行う。このとき、ピンパッド11の決済端末ID記憶部105には、決済端末12−1の端末IDが保存されており、決済端末ID記憶部105に保存されている端末IDと、接続要求を行っている端末の端末IDとが一致する。このため、ピンパッド11は、認証許可を決済端末12−1に送る(ステップS519)。   Here, it is assumed that the radio wave condition between the payment terminal 12-1 and the pin pad 11 is recovered, and the payment terminal 12-1 makes a connection request for short-range wireless communication to the pin pad 11 again (step S516). At this time, since the pin pad 11 is not connected to any device, the payment terminal 12-1 is connected to the pin pad 11 by short-range wireless communication (step S517). Then, the payment terminal 12-1 sends an authentication request to the pin pad 11 (step S518), and the pin pad 11 is stored in the terminal ID of the payment terminal 12-1 requesting connection and the payment terminal ID storage unit 105. Authentication is performed by comparing the terminal ID. At this time, the terminal ID of the payment terminal 12-1 is stored in the payment terminal ID storage unit 105 of the pin pad 11, and a connection request is made with the terminal ID stored in the payment terminal ID storage unit 105. The terminal ID of the terminal matches. For this reason, the pin pad 11 sends an authentication permission to the settlement terminal 12-1 (step S519).

決済端末12−1は、ピンパッド11に決済処理開始要求を送り(ステップS520)、ピンパッド11は決済端末12−1に決済処理開始応答を送る(ステップS521)。これにより、決済処理が再開される。決済処理を再開したときには、中断している決済処理に続けて、処理を行うことができる。すなわち、ステップS510及びステップS511で、LCD表示処理部102への表示処理は、既に終了しており、終了した処理の情報は、例えば、決済情報記憶部203に記憶されている。したがって、決済端末12−1は、これに続く処理として、カードデータの読み込み要求を送る(ステップS522)。ピンパッド11は、このカードデータの読み込み要求に応じて、MS/ICカード読み取り処理部103で、クレジットカードやデビットカードの読み込み処理を行い、カードの読み込み処理が完了すると、ピンパッド11は決済端末12−1に、カードデータ読み込み応答を返す(ステップS523)。   The settlement terminal 12-1 sends a settlement process start request to the pin pad 11 (step S520), and the pin pad 11 sends a settlement process start response to the settlement terminal 12-1 (step S521). Thereby, the payment process is resumed. When the settlement process is resumed, the process can be performed following the suspended settlement process. That is, in step S510 and step S511, the display processing on the LCD display processing unit 102 has already been completed, and information on the completed processing is stored in the settlement information storage unit 203, for example. Accordingly, the settlement terminal 12-1 sends a card data read request as a subsequent process (step S522). In response to the card data reading request, the pin pad 11 performs a credit card or debit card reading process in the MS / IC card reading processing unit 103. When the card reading process is completed, the pin pad 11 receives the payment terminal 12- 1 returns a card data read response (step S523).

次に、決済端末12−1は、ピンパッド11に、暗証番号(PIN)の入力要求を送る(ステップS524)。これに応じて、キー入力処理部104に暗証番号が入力される。暗証番号の入力が完了されると、ピンパッド11は決済端末12−1に、PIN入力応答を返す(ステップS525)。   Next, the settlement terminal 12-1 sends an input request for a personal identification number (PIN) to the pin pad 11 (step S524). In response to this, a password is input to the key input processing unit 104. When the input of the password is completed, the pin pad 11 returns a PIN input response to the payment terminal 12-1 (step S525).

クレジットカードの読み取りが完了し、PINの入力が完了すると、決済端末12−1はピンパッド11に、近距離無線通信15の切断要求を行う(ステップS526)。これにより、決済端末12−1とピンパッド11とが一時的に切断される。なお、このとき、ピンパッド11は、決済端末ID記憶部105の端末IDを保存しておく。   When the reading of the credit card is completed and the input of the PIN is completed, the settlement terminal 12-1 requests the pin pad 11 to disconnect the short-range wireless communication 15 (step S526). Thereby, the payment terminal 12-1 and the pin pad 11 are temporarily disconnected. At this time, the pin pad 11 stores the terminal ID of the payment terminal ID storage unit 105.

決済端末12−1はピンパッド11との接続を一時的に解除すると、無線通信網16を介して決済センターサーバ14と接続し、決済センターサーバ14に、クレジットカードの読み取りデータや暗証番号のデータ等の決済情報を送り、決済処理要求を送信する(ステップS527)。決済センターサーバ14は、決済処理を行い、決済処理を完了すると、決済端末12−1に、決済処理応答を返す(ステップS528)。   When the payment terminal 12-1 is temporarily disconnected from the pin pad 11, it is connected to the payment center server 14 via the wireless communication network 16, and the payment center server 14 receives credit card read data, PIN code data, etc. The settlement information is sent and a settlement processing request is transmitted (step S527). The settlement center server 14 performs a settlement process, and upon completion of the settlement process, returns a settlement process response to the settlement terminal 12-1 (step S528).

ここで、決済端末12−2がピンパッド11に、近距離無線通信での接続要求を行ったとする(ステップS529)。決済端末12−2は、ピンパッド11と近距離無線通信で接続される(ステップS530)。そして、決済端末12−2はピンパッド11に認証要求を送り(ステップS531)、ピンパッド11は、接続を要求している決済端末12−2の端末IDと決済端末ID記憶部105に記憶されている端末IDとを比較して認証を行う。このとき、ピンパッド11の決済端末ID記憶部105には、決済端末12−1の端末IDが保存されている。このため、決済端末ID記憶部105に保存されている端末IDと、接続要求を行っている端末の端末IDとが不一致となり、ピンパッド11は、接続要求の拒否を決済端末12−2に送る(ステップS532)。   Here, it is assumed that the payment terminal 12-2 makes a connection request to the pin pad 11 by short-range wireless communication (step S529). Payment terminal 12-2 is connected to pin pad 11 by short-range wireless communication (step S530). Then, the payment terminal 12-2 sends an authentication request to the pin pad 11 (step S531), and the pin pad 11 is stored in the terminal ID of the payment terminal 12-2 requesting connection and the payment terminal ID storage unit 105. Authentication is performed by comparing the terminal ID. At this time, the terminal ID of the payment terminal 12-1 is stored in the payment terminal ID storage unit 105 of the pin pad 11. For this reason, the terminal ID stored in the payment terminal ID storage unit 105 and the terminal ID of the terminal requesting the connection do not match, and the pin pad 11 sends a rejection of the connection request to the payment terminal 12-2 ( Step S532).

決済端末12−1は、決済センターサーバ14での決済処理を完了すると、無線通信網16を介して決済端末用上位サーバ13に接続し、決済端末用上位サーバ13に印字用の決済プログラム要求を送信する(ステップS533)。決済端末用上位サーバ13は、決済端末12−1に印字用の決済プログラムを送信し(ステップS534)、決済端末12−1はこの印字用の決済プログラムをダウンロードし、このダウンロードした印字用の決済プログラムを実行する。この印字用の決済プログラムにより、決済端末12−1はピンパッド11に接続要求を送る(ステップS535)。決済端末12−1はピンパッド11と、近距離無線通信15により接続される(ステップS536)。   When the payment processing at the payment center server 14 is completed, the payment terminal 12-1 connects to the payment terminal host server 13 via the wireless communication network 16, and issues a payment payment program request to the payment terminal host server 13. Transmit (step S533). The payment terminal host server 13 transmits a printing payment program to the payment terminal 12-1 (step S534), the payment terminal 12-1 downloads the printing payment program, and the downloaded payment payment for printing. Run the program. With this printing settlement program, the settlement terminal 12-1 sends a connection request to the pin pad 11 (step S535). Settlement terminal 12-1 is connected to pin pad 11 by short-range wireless communication 15 (step S536).

決済端末12−1は、ピンパッド11に認証要求を送る(ステップS537)。ピンパッド11は、接続を要求している決済端末12−1の端末IDと決済端末ID記憶部105に記憶されている端末IDとを比較して認証を行う。このとき、ピンパッド11の決済端末ID記憶部105には、決済端末12−1の端末IDが保存されており、決済端末ID記憶部105に保存されている端末IDと、接続要求を行っている端末の端末IDとが一致する。このため、ピンパッド11は、認証許可を決済端末12−1に送る(ステップS538)。   The settlement terminal 12-1 sends an authentication request to the pin pad 11 (step S537). The pin pad 11 performs authentication by comparing the terminal ID of the payment terminal 12-1 requesting connection with the terminal ID stored in the payment terminal ID storage unit 105. At this time, the terminal ID of the payment terminal 12-1 is stored in the payment terminal ID storage unit 105 of the pin pad 11, and a connection request is made with the terminal ID stored in the payment terminal ID storage unit 105. The terminal ID of the terminal matches. For this reason, the pin pad 11 sends an authentication permission to the settlement terminal 12-1 (step S538).

決済端末12−1は、ピンパッド11に決済処理開始要求を送り(ステップS539)、ピンパッド11は決済端末12−1に決済処理開始応答を送る(ステップS540)。これにより、印字用の決済処理が開始される。決済端末12−1はピンパッド11に、今回の決済に関するレシートの印字要求を送る(ステップS541)。これに応じて、印字処理部101で、レシートの印字が行われる。印字処理が完了されると、ピンパッド11は決済端末12−1に、印字応答を返す(ステップS542)。そして、決済端末12−1はピンパッド11に、決済処理終了要求を送る(ステップS543)。決済処理が完了すれば、ピンパッド11は決済端末12−1に決済処理終了応答を返す(ステップS544)。   The settlement terminal 12-1 sends a settlement process start request to the pin pad 11 (step S539), and the pin pad 11 sends a settlement process start response to the settlement terminal 12-1 (step S540). Thereby, the settlement process for printing is started. The settlement terminal 12-1 sends a receipt print request regarding the current settlement to the pin pad 11 (step S541). In response to this, the print processing unit 101 prints a receipt. When the printing process is completed, the pin pad 11 returns a printing response to the settlement terminal 12-1 (step S542). Then, the payment terminal 12-1 sends a payment processing end request to the pin pad 11 (step S543). When the payment process is completed, the pin pad 11 returns a payment process end response to the payment terminal 12-1 (step S544).

決済処理を完了すると、決済端末12−1はピンパッド11に、近距離無線通信15の切断要求を行う(ステップS545)。このとき、ピンパッド11は、決済端末ID記憶部105に保存されている端末IDを消去する。これにより、決済端末12−1とピンパッド11とが完全に切断される。   When the payment process is completed, the payment terminal 12-1 requests the pin pad 11 to disconnect the short-range wireless communication 15 (step S545). At this time, the pin pad 11 deletes the terminal ID stored in the payment terminal ID storage unit 105. Thereby, the payment terminal 12-1 and the pin pad 11 are completely disconnected.

なお、本実施形態の場合には、決済端末12−kとピンパッド11との間が通信不能になり切断されると、ピンパッド11の決済端末ID記憶部105には、決済端末12−kの端末IDが保存され続ける。このため、決済端末12−kとピンパッド11との通信が再開しない限り、ピンパッド11は他の端末と通信を行えない。そこで、図2に示したように、ピンパッド11にはリセット部107が設けられており、決済端末ID記憶部105をクリアできるようにしている。また、ピンパッド11にタイマーを設け、決済端末12−kとピンパッド11との通信が所定時間経過しても再開しなければ、決済端末ID記憶部105をクリアするようにしても良い。   In the case of the present embodiment, when the payment terminal 12-k and the pin pad 11 cannot be communicated and disconnected, the payment terminal ID storage unit 105 of the pin pad 11 stores the terminal of the payment terminal 12-k. The ID continues to be saved. For this reason, unless the communication between the settlement terminal 12-k and the pin pad 11 is resumed, the pin pad 11 cannot communicate with other terminals. Therefore, as shown in FIG. 2, the pin pad 11 is provided with a reset unit 107 so that the settlement terminal ID storage unit 105 can be cleared. Also, a timer may be provided in the pin pad 11 so that the payment terminal ID storage unit 105 may be cleared if communication between the payment terminal 12-k and the pin pad 11 does not resume even after a predetermined time has elapsed.

なお、決済処理システム1の全部または一部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
A program for realizing all or part of the functions of the payment processing system 1 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into the computer system and executed. You may perform the process of each part. Here, the “computer system” includes an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.

また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。   The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

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

1:決済処理システム
11:ピンパッド
12:決済端末
13:決済端末用上位サーバ
14:決済センターサーバ
15:近距離無線通信
16:無線通信網
101:印字処理部
102:LCD表示処理部
103:MS/ICカード読み取り処理部
104:キー入力処理部
105:決済端末ID記憶部
106:決済端末用無線通信処理部
107:リセット部
201:決済機能処理部
202:プログラム処理部
203:決済情報記憶部
204:決済端末ID記憶部
205:ピンパッド用無線通信処理部
206:決済端末上位サーバ用無線通信処理部
301:決済機能用プログラム記憶部
302:決済端末用動作パラメータ記憶部
303:決済端末用通信処理部
401:決済処理部
402:決済端末用通信処理部
1: payment processing system 11: pin pad 12: payment terminal 13: payment server host server 14: payment center server 15: short-range wireless communication 16: wireless communication network 101: print processing unit 102: LCD display processing unit 103: MS / IC card reading processing unit 104: key input processing unit 105: payment terminal ID storage unit 106: wireless communication processing unit for payment terminal 107: reset unit 201: payment function processing unit 202: program processing unit 203: payment information storage unit 204: Payment terminal ID storage unit 205: Pinpad wireless communication processing unit 206: Payment terminal host server wireless communication processing unit 301: Payment function program storage unit 302: Payment terminal operation parameter storage unit 303: Payment terminal communication processing unit 401 : Payment processing unit 402: Communication processing unit for payment terminal

Claims (5)

複数の決済端末のうち、自装置との間で通信を確立した通信確立済み決済端末の情報を保持する記憶部と、
複数の前記決済端末のうち、いずれかの決済端末が接続要求を行った場合に、前記いずれかの決済端末の情報と、前記記憶部に記憶されている前記通信確立済み決済端末の情報とを比較し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致する場合に成功と判定し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致しない場合に失敗と判定する認証処理を行う認証処理部と、
前記認証処理において前記いずれかの決済端末の認証に失敗した場合に、前記いずれかの決済端末との通信を確立せず、前記認証処理において前記いずれかの決済端末の認証に成功した場合に、前記いずれかの決済端末を前記通信確立済み決済端末として通信を確立し、決済情報を送信するピンパッド通信処理部と、
を備えるピンパッド。
A storage unit that holds information of a communication-established payment terminal that has established communication with its own device among a plurality of payment terminals;
When any one of the plurality of payment terminals makes a connection request, information on any one of the payment terminals and information on the communication established payment terminal stored in the storage unit The information of any one of the payment terminals and the information of the payment terminal that has been established in communication stored in the storage unit are determined to be successful, and the information of any one of the payment terminals and the storage An authentication processing unit for performing an authentication process for determining a failure when the information of the settlement terminal for which communication has been established does not match ,
If authentication of any one of the payment terminals fails in the authentication process, communication with any of the payment terminals is not established, and if any of the payment terminals is successfully authenticated in the authentication process, Establishing communication as any one of the payment terminals as the communication-established payment terminal, and a pinpad communication processing unit for transmitting payment information;
Pin pad with.
前記通信確立済み決済端末との通信が切断されてから所定時間経過した場合に、前記記憶部に記憶されている前記通信確立済み決済端末の情報を消去するリセット部をさらに備え
前記認証処理部は、前記記憶部に記憶される前記通信確立済み決済端末の情報が消去されている場合にも成功と判定する
請求項1に記載のピンパッド。
If the communication with the communication established payment terminal has passed a predetermined time since the cut, further comprising a reset unit for erasing the information of the communication established payment terminal stored in the storage unit,
The pin pad according to claim 1, wherein the authentication processing unit determines that the communication is successful even when the information of the communication established payment terminal stored in the storage unit is deleted .
複数の決済端末と、ピンパッドとを備える決済処理システムであって、
前記決済端末は、
前記ピンパッドに接続要求を行う決済端末通信処理部と、
前記ピンパッドから取得する決済情報に基づいて、決済処理を実行する決済機能処理部と、
を備え、
前記ピンパッドは、
複数の前記決済端末のうち、自装置との間で通信を確立した通信確立済み決済端末の情報を保持する記憶部と、
複数の前記決済端末のうち、いずれかの決済端末が接続要求を行った場合に、前記いずれかの決済端末の情報と、前記記憶部に記憶されている前記通信確立済み決済端末の情報とを比較し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致する場合に成功と判定し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致しない場合に失敗と判定する認証処理を行う認証処理部と、
前記認証処理において前記いずれかの決済端末の認証に失敗した場合に、前記いずれかの決済端末との通信を確立せず、前記認証処理において前記いずれかの決済端末の認証に成功した場合に、前記いずれかの決済端末を前記通信確立済み決済端末として通信を確立し、決済情報を送信するピンパッド通信処理部と、
を備える決済処理システム。
A payment processing system comprising a plurality of payment terminals and a pin pad,
The payment terminal is
A payment terminal communication processing unit for making a connection request to the pin pad;
A payment function processing unit for executing payment processing based on payment information acquired from the pin pad;
With
The pin pad is
Among the plurality of payment terminals, a storage unit that holds information of a communication-established payment terminal that has established communication with its own device;
When any one of the plurality of payment terminals makes a connection request, information on any one of the payment terminals and information on the communication established payment terminal stored in the storage unit The information of any one of the payment terminals and the information of the payment terminal that has been established in communication stored in the storage unit are determined to be successful, and the information of any one of the payment terminals and the storage An authentication processing unit for performing an authentication process for determining a failure when the information of the settlement terminal for which communication has been established does not match ,
If authentication of any one of the payment terminals fails in the authentication process, communication with any of the payment terminals is not established, and if any of the payment terminals is successfully authenticated in the authentication process, Establishing communication as any one of the payment terminals as the communication-established payment terminal, and a pinpad communication processing unit for transmitting payment information;
A payment processing system comprising:
前記決済機能処理部は、
前記通信確立済み決済端末との通信が切断された後に通信を再確立した場合に、通信の切断前の決済処理の続きを実行する
請求項3に記載の決済処理システム。
The payment function processing unit
The payment processing system according to claim 3, wherein when communication is reestablished after communication with the payment terminal with communication established is disconnected, the continuation of the payment processing before disconnection of communication is executed.
複数の決済端末と、複数の前記決済端末のうち、自装置との間で通信を確立した通信確立済み決済端末の情報を保持する記憶部を備えるピンパッドとを備える決済処理システムにおける決済処理方法であって、
複数の前記決済端末のうち、いずれかの決済端末が、ピンパッドに接続要求を行う第1ステップと、
前記ピンパッドが、複数の前記決済端末のうち、いずれかの決済端末が接続要求を行った場合に、前記いずれかの決済端末の情報と、前記通信確立済み決済端末の情報とを比較し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致する場合に成功と判定し、前記いずれかの決済端末の情報と前記記憶部に記憶されている前記通信確立済み決済端末の情報とが一致しない場合に失敗と判定する認証処理を行う第2ステップと、
前記ピンパッドが、前記認証処理において前記いずれかの決済端末の認証に失敗した場合に、前記いずれかの決済端末との通信を確立せず、前記認証処理において前記いずれかの決済端末の認証に成功した場合に、前記いずれかの決済端末を前記通信確立済み決済端末として通信を確立し、決済情報を送信する第3ステップと、
前記決済端末が、前記ピンパッドから取得する決済情報に基づいて、決済処理を実行する第4ステップと、
を含む決済処理方法。
A payment processing method in a payment processing system comprising: a plurality of payment terminals; and a pin pad provided with a storage unit that holds information of a communication-established payment terminal that has established communication with its own device among the plurality of payment terminals. There,
A first step in which any one of the plurality of payment terminals makes a connection request to the pin pad;
Said pin pad is among the plurality of the settlement terminal, if any of the payment terminal makes a connection request, compares the information of any payment terminal, and information of the communication established payment terminal, wherein If the information of any payment terminal and the information of the payment terminal with communication established stored in the storage unit match, it is determined to be successful, and the information of any payment terminal is stored in the storage unit A second step of performing authentication processing for determining failure when the information of the communication-established payment terminal does not match ;
Said pin pad is a failure in the authentication of any of the payment terminal in the authentication process, the not establish communications with any of the payment terminal, successfully authenticates said one of the payment terminal in the authentication process A third step of establishing communication by using any one of the payment terminals as the communication established payment terminal, and transmitting payment information;
A fourth step in which the payment terminal executes payment processing based on payment information acquired from the pin pad;
Payment processing method.
JP2015216077A 2015-11-02 2015-11-02 Pin pad, settlement processing system, and settlement processing method Active JP6611041B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015216077A JP6611041B2 (en) 2015-11-02 2015-11-02 Pin pad, settlement processing system, and settlement processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015216077A JP6611041B2 (en) 2015-11-02 2015-11-02 Pin pad, settlement processing system, and settlement processing method

Publications (2)

Publication Number Publication Date
JP2017090977A JP2017090977A (en) 2017-05-25
JP6611041B2 true JP6611041B2 (en) 2019-11-27

Family

ID=58768694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015216077A Active JP6611041B2 (en) 2015-11-02 2015-11-02 Pin pad, settlement processing system, and settlement processing method

Country Status (1)

Country Link
JP (1) JP6611041B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019057086A (en) * 2017-09-20 2019-04-11 株式会社寺岡精工 Commodity sales data management device, commodity sales data management system, and program

Also Published As

Publication number Publication date
JP2017090977A (en) 2017-05-25

Similar Documents

Publication Publication Date Title
US11575802B2 (en) Communication apparatus and printer for performing wireless communication of image data representing image of print target
US8625796B1 (en) Method for facilitating authentication using proximity
US9678693B2 (en) Method of setting wireless connection via near field communication function and image forming apparatus for performing the method
JP5377674B2 (en) Mobile radio telephone management system
TWI231130B (en) Method and apparatus for authentication using remote multiple access SIM technology
US20180192291A1 (en) Communication Apparatus
US10757555B2 (en) Communication apparatus and non-transitory computer-readable medium storing computer-readable instructions for communication apparatus
JP5910886B2 (en) Information processing system, wireless terminal, and electronic payment method
JP2006345451A (en) Management system and control method
JP6201039B2 (en) Communication system and communication method
CN104202744A (en) Operation authentication method for intelligent terminal, terminal and system
JP6708958B2 (en) Information processing terminal, information processing system, program, and control method
JP6132037B1 (en) Wireless communication method and program
JP2007006320A (en) Radio lan system and communication method
JP2008124810A (en) Information display device, communication method and program
CN107006066B (en) Communication device, control method of communication device, and program
US10582547B2 (en) Communication apparatus that registers access point information received from terminal device
JP6611041B2 (en) Pin pad, settlement processing system, and settlement processing method
KR100766020B1 (en) Mobile communication terminal, control method thereof, and method for controlling a mobile communication service
JP2015197891A (en) Terminal device, electronic settlement control method, and program
CN112292845B (en) Information processing apparatus, information processing method, and program
JP2008257365A (en) Transaction system
JP6182421B2 (en) Relay device, communication system, communication method, and program
JP6717068B2 (en) Information processing terminal, information processing system, program, and control method
JP2017130971A (en) Radio communication method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180910

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20181102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190716

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190712

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190911

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191018

R150 Certificate of patent or registration of utility model

Ref document number: 6611041

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250