KR101639865B1 - Card terminal and Method for processing payment information thereof - Google Patents

Card terminal and Method for processing payment information thereof Download PDF

Info

Publication number
KR101639865B1
KR101639865B1 KR1020140080420A KR20140080420A KR101639865B1 KR 101639865 B1 KR101639865 B1 KR 101639865B1 KR 1020140080420 A KR1020140080420 A KR 1020140080420A KR 20140080420 A KR20140080420 A KR 20140080420A KR 101639865 B1 KR101639865 B1 KR 101639865B1
Authority
KR
South Korea
Prior art keywords
server
payment
settlement
communication
payment agent
Prior art date
Application number
KR1020140080420A
Other languages
Korean (ko)
Other versions
KR20160002429A (en
Inventor
김정환
이장혁
Original Assignee
한국정보통신주식회사
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 한국정보통신주식회사 filed Critical 한국정보통신주식회사
Priority to KR1020140080420A priority Critical patent/KR101639865B1/en
Publication of KR20160002429A publication Critical patent/KR20160002429A/en
Application granted granted Critical
Publication of KR101639865B1 publication Critical patent/KR101639865B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/347Passive cards

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

본 발명은 카드 결제를 위한 단말기 및 그를 이용한 결제 정보 처리 방법에 관한 것으로, 카드 단말기는 카드사 서버와 연결된 결제 대행 서버와의 통신을 통해 결제를 처리하며, 제1 결제 대행 서버와의 통신 전문 형식에 따라 카드 결제를 위한 승인 요청 전문을 생성하는 제1 결제 모듈; 제2 결제 대행 서버와의 통신 전문 형식에 따라 승인 요청 전문을 생성하는 제2 결제 모듈; 생성된 승인 요청 전문을 제1, 2 결제 대행 서버들 중 적어도 하나로 전송하는 통신부; 및 제1 결제 모듈에서 생성된 승인 요청 전문이 통신부를 통해 제1 결제 대행 서버로 전송되도록 하고 제1 결제 대행 서버와의 통신에 장애가 발생하는 경우 제2 결제 모듈에서 생성된 승인 요청 전문이 통신부를 통해 상기 제2 결제 대행 서버로 전송되도록 하는 제어부를 포함한다.The present invention relates to a terminal for payment of a card and a payment information processing method using the same, and the card terminal processes payment through communication with a payment agent server connected to a card issuer server, A first payment module for generating an approval request telegram for payment of a card according to the first payment module; A second payment module for generating an approval request special according to a communication professional format with the second settlement agency server; A communication unit for transmitting the generated approval request message to at least one of the first and second payment proxy servers; And the approval request message generated by the first payment module is transmitted to the first payment agent server through the communication unit, and when a failure occurs in the communication with the first payment agent server, the approval request message generated by the second payment module is transmitted to the communication unit To the second settlement agency server through the second settlement agency server.

Description

카드 단말기 및 그를 이용한 결제 정보 처리 방법{Card terminal and Method for processing payment information thereof} Technical Field The present invention relates to a card terminal and a payment information processing method using the card terminal,

본 발명은 카드 결제를 위한 단말기에서 결제 관련 정보를 처리하는 방법에 관한 것이다.The present invention relates to a method for processing settlement related information in a terminal for card settlement.

전자결제 인프라가 확충되면서 신용 카드, 체크카드, 직불카드 등(이하, "신용 카드")의 카드결제를 기반으로 하는 신용 결제 서비스가 일반화되었다. 상기 신용 결제 서비스는 사용자가 가맹점에서 물품 또는 서비스를 카드 결제로 구매한 후, 대금 결제일에 카드사 등에 상기 물품 또는 서비스의 이용대금을 납부하며, 가맹점은 상기 물품 또는 서비스의 판매대금을 상기 카드사 등으로부터 지불 받는 전자결제 인프라를 이용한 결제방식을 말한다.With the expansion of the electronic payment infrastructure, credit payment services based on credit card, check card, and debit card payment (hereinafter "credit card") settlement became common. After the user purchases the goods or services from the merchant through card payment, the credit payment service pays a fee for use of the goods or services to the credit card company on the payment date, and the merchant pays the sales price of the goods or services from the credit card company or the like The payment method using the payment settlement electronic payment infrastructure.

상기 신용 결제 서비스를 제공하는 시스템은 다수의 가맹점들에 구비된 다수의 카드 단말기들과, 다수의 가맹점들과 카드사 사이에서 카드 결제와 관련된 결제 대행 서비스를 제공하는 밴(Value Added Network : VAN) 사의 서버(이하, "결제 대행 서버"), 사용자에게 신용 카드를 발행한 카드사의 서버가 통신망을 통해 연결되어 구성된다. 상기 밴은 카드 단말기들과 카드사 서버 사이에서 결제 트랜잭션(transaction)을 위한 결제 네트워크를 의미한다.The system for providing the credit settlement service includes a plurality of card terminals provided at a plurality of merchant stores, and a Value Added Network (VAN) company providing a settlement agency service relating to card settlement between a plurality of merchants and card companies Server (hereinafter referred to as "settlement proxy server"), and a server of a card company who issued a credit card to the user are connected through a communication network. The vans mean a payment network for a payment transaction between the card terminals and the card issuer server.

위와 같은 카드 단말기와 카드사 서버 사이의 결제 대행 서버를 이용한 결제 시스템에서, 결제 대행 서버와 카드 단말기 사이 또는 결제 대행 서버와 카드 단말기 사이의 통신 네트워크에 장애가 발생하여 데이터(또는 메시지) 송수신이 원활하지 않는 경우, 해당 카드 결제가 정상적으로 이루어지지 않을 수 있다.In the billing system using the payment agent server between the card terminal and the card issuer server as described above, in the case where a failure occurs in the communication network between the payment agent server and the card terminal or between the payment agent server and the card terminal, , The card settlement may not be normally performed.

또한, 최근 들어 카드 결제 건수의 급증에 따른 통신 지연 등으로 인해 위와 같은 통신 장애 상황이 더욱 빈번하게 발생되고 있으며, 그에 따라 결제 시스템의 신뢰도가 저하되는 문제가 있었다.Also, in recent years, the above communication troubles have occurred more frequently due to the communication delay due to the surge of the number of card settlement, and thus the reliability of the settlement system is lowered.

본 발명은 결제 시스템의 통신 장애에 효율적으로 대처하여 결제를 정상적으로 처리할 수 있도록 하는 카드 단말기 및 그를 이용한 결제 정보 처리 방법을 제공하는 것을 목적으로 한다.Disclosure of Invention Technical Problem [8] The present invention provides a card terminal capable of efficiently handling a communication failure of a payment system and processing the settlement normally, and a payment information processing method using the card terminal.

본 발명의 실시예에 따른 카드 단말기는 카드사 서버와 연결된 결제 대행 서버와의 통신을 통해 결제를 처리하며, 제1 결제 대행 서버와의 통신 전문 형식에 따라, 카드 결제를 위한 승인 요청 전문을 생성하는 제1 결제 모듈; 제2 결제 대행 서버와의 통신 전문 형식에 따라, 상기 승인 요청 전문을 생성하는 제2 결제 모듈; 상기 생성된 승인 요청 전문을 상기 제1, 2 결제 대행 서버들 중 적어도 하나로 전송하는 통신부; 및 상기 제1 결제 모듈에서 생성된 승인 요청 전문이 상기 통신부를 통해 상기 제1 결제 대행 서버로 전송되도록 하고, 상기 제1 결제 대행 서버와의 통신에 장애가 발생하는 경우 상기 제2 결제 모듈에서 생성된 승인 요청 전문이 상기 통신부를 통해 상기 제2 결제 대행 서버로 전송되도록 하는 제어부를 포함한다.The card terminal according to the embodiment of the present invention processes payment through communication with a payment agent server connected to a card issuer server and generates an approval request telegram for card payment according to a communication professional format with the first payment agent server A first payment module; A second payment module for generating the approval request telegram in accordance with a communication professional format with the second payment proxy server; A communication unit for transmitting the generated approval request message to at least one of the first and second payment agent servers; And an authorization request message generated in the first payment module is transmitted to the first payment agent server through the communication unit, and when a failure occurs in communication with the first payment agent server, And a control unit for allowing the approval request telegram to be transmitted to the second settlement proxy server through the communication unit.

또한, 본 발명의 일실시예에 따른 결제 정보 처리 방법은 카드사 서버와 연결된 결제 대행 서버와의 통신을 통해 결제를 처리하는 카드 단말기에서 결제 정보를 처리하며, 제1 결제 대행 서버와의 통신 전문 형식에 따라, 카드 결제를 위한 제1 승인 요청 전문을 생성하는 단계; 상기 생성된 제1 승인 요청 전문을 상기 제1 결제 대행 서버로 전송하는 단계; 상기 제1 결제 대행 서버와의 통신 과정에서 장애가 발생하는 경우, 제2 결제 대행 서버와의 통신 전문 형식에 따라 제2 승인 요청 전문을 생성하는 단계; 및 상기 생성된 제2 승인 요청 전문을 상기 제2 결제 대행 서버로 전송하는 단계를 포함한다.According to another aspect of the present invention, there is provided a payment information processing method for processing payment information in a card terminal for processing a payment through communication with a payment agent server connected to a card issuer server, Creating a first approval request telegram for card settlement, Transmitting the generated first approval request message to the first payment agent server; Generating a second approval request text based on a communication professional format with the second settlement proxy server when a failure occurs in a communication process with the first settlement agency server; And transmitting the generated second approval request message to the second payment agent server.

한편, 상기 결제 정보 처리 방법은 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체로 구현될 수 있다.The payment information processing method may be embodied as a computer-readable recording medium on which a program for execution by a computer is recorded.

본 발명의 일실시예에 따르면, 카드 단말기에 복수의 결제 모듈을 구비하여 기존 결제 대행 서버와의 통신 장애시 또 다른 결제 대행 서버에 따른 전문 형식 및 암호화 방식에 맞추어 결제를 위한 전문을 송수신함으로써, 특정 밴 네트워크의 오류 등으로 인한 통신 장애시에도 결제가 정상적으로 처리되도록 하여 사용자의 불편을 감소시킬 수 있다.According to an embodiment of the present invention, a plurality of payment modules are provided in a card terminal to transmit / receive a message for payment according to a professional format and an encryption method according to another payment agency server in case of a communication failure with an existing payment agent server, The settlement can be normally processed even in the case of a communication failure due to an error of a specific van network or the like, thereby reducing the inconvenience of the user.

또한, 본 발명의 또 다른 실시예에 따르면, 카드 단말기에는 통신 장애시 이용하는 또 다른 결제 대행 서버와 관련된 최소한의 정보만을 저장하고, 기존 결제 대행 서버와의 통신 장애시 상기 또 다른 결제 대행 서버를 이용해 결제를 수행하기 위한 데이터들을 수신하도록 하여, 카드 단말기의 출시 시점부터 이용 가능한 모든 결제 대행 서버와 관련된 데이터가 저장되어 있어야 하는 불편을 해소할 수 있다.According to another embodiment of the present invention, the card terminal stores only minimum information related to another payment agency server used for communication failure, and when the communication failure occurs with the existing payment agent server, It is possible to eliminate the inconvenience that data related to all settlement agencies available from the time of release of the card terminal must be stored.

도 1은 본 발명의 일실시예에 따른 카드 결제 시스템의 구성을 나타내는 블록도이다.
도 2는 본 발명에 따른 카드 단말기의 구성에 대한 일실시예를 나타내는 블록도이다.
도 3은 본 발명의 일실시예에 따른 카드 단말기의 결제 정보 처리 방법을 나타내는 흐름도이다.
도 4는 본 발명의 일실시예에 따른 카드 결제 시스템에서 통신 장애시 결제를 수행하는 방법에 대한 제1 실시예를 설명하기 위한 타이밍도이다.
도 5는 본 발명의 일실시예에 따른 카드 결제 시스템에서 통신 장애시 결제를 수행하는 방법에 대한 제2 실시예를 설명하기 위한 타이밍도이다.
도 6은 본 발명의 일실시예에 따른 카드 결제 시스템에서 통신 장애시 결제를 수행하는 방법에 대한 제3 실시예를 설명하기 위한 타이밍도이다.
도 7은 제1 결제 대행 서버와의 통신 장애시 제2 결제 대행 서버로 승인 요청 전문을 전송하는 방법에 대한 일실시예를 나타내는 흐름도이다.
도 8은 제2 결제 대행 서버로부터 수신한 승인 결과 전문을 통신 장애 해제후 제1 결제 대행 서버로 전달하는 방법에 대한 일실시예를 나타내는 흐름도이다.
1 is a block diagram illustrating a configuration of a card settlement system according to an embodiment of the present invention.
2 is a block diagram showing an embodiment of a configuration of a card terminal according to the present invention.
3 is a flowchart illustrating a method of processing payment information of a card terminal according to an exemplary embodiment of the present invention.
4 is a timing chart for explaining a first embodiment of a method for performing settlement in the case of a communication failure in a card settlement system according to an embodiment of the present invention.
5 is a timing chart for explaining a second embodiment of a method for performing settlement in the case of a communication failure in a card settlement system according to an embodiment of the present invention.
FIG. 6 is a timing diagram for explaining a third embodiment of a method for performing settlement in case of a communication failure in a card settlement system according to an embodiment of the present invention.
7 is a flowchart illustrating an exemplary method of transmitting an approval request message to a second settlement proxy server in the event of a communication failure with the first settlement proxy server.
8 is a flowchart illustrating an example of a method of transferring the approval result received from the second settlement proxy server to the first settlement proxy server after the communication failure is canceled.

이하, 첨부한 도면을 참조하여 본 발명의 실시예에 따른 카드 단말기 및 그를 이용한 결제 정보 처리 방법에 대해 상세히 설명하고자 한다.Hereinafter, a card terminal and a payment information processing method using the card terminal according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

먼저, 본 발명의 명세서에서 사용되는 용어를 간략히 정의한 후, 본 발명의 실시 예를 설명하기로 한다.First, the terms used in the specification of the present invention will be briefly defined, and then an embodiment of the present invention will be described.

본 명세서에서 설명되는 "단말기"에는 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 데스크탑 컴퓨터(desktop computer), 디지털방송용 단말기, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 네비게이션 등이 포함될 수 있으나, 본 발명은 이에 한정되지 아니하며 그 이외에 사용자 입력 및 정보 표시 등이 가능한 다양한 장치일 수 있다.The term " terminal "described in this specification includes a mobile phone, a smart phone, a laptop computer, a desktop computer, a digital broadcast terminal, a PDA (Personal Digital Assistants), a PMP (Portable Multimedia Player) Navigation, and the like. However, the present invention is not limited thereto, and may be various devices capable of user input and information display.

또한, "결제 대행 서버"라 함은 신용 카드 전자 결제를 중계하는 밴(VAN) 사 측 서버를 일례로 지칭하였으나, 신용카드 전자 결제와 관련된 다양한 형태의 서버도 이에 해당할 수 있으며, 특정 기능에 따라서 실제 결제 중계 기능과 다른 부가 기능을 별도의 서버 형태로 분리하는 형태도 가능하다.The "payment proxy server" refers to a server of a VAN company that relays a credit card electronic payment. However, various types of servers related to credit card electronic payment may also be applicable. Therefore, it is possible to separate the actual payment relay function and other additional functions into separate server types.

도 1은 본 발명에 따른 카드 결제 시스템의 구성에 대한 일실시예를 블록도로 도시한 것으로, 도시된 결제 시스템은 카드 단말기(100), 결제 대행 서버(200) 및 카드사 서버(300)를 포함하여 구성될 수 있다.FIG. 1 is a block diagram of an embodiment of a card settlement system according to the present invention. The settlement system includes a card terminal 100, a payment agent server 200, and a card issuer server 300 Lt; / RTI >

도 1을 참조하면, 카드 단말기(100)가 구비된 가맹점에서 신용 카드를 이용한 카드 결제가 있는 경우, 카드 단말기(100)는 구매자의 신용 카드로부터 카드 정보를 읽어 들인 후 해당 카드 결제에 대한 승인 요청 전문을 생성하여 결제 대행 서버(200)로 전송한다.Referring to FIG. 1, if there is a card payment using a credit card at an affiliated store provided with the card terminal 100, the card terminal 100 reads card information from the buyer's credit card, And transmits it to the payment proxy server 200. [

카드 단말기(100)는 구매자의 카드로부터 카드 정보를 읽어들이기 위한 수단(예를 들어, 마그네틱 리더, IC 카드 리더 또는 NFC 리더 등)을 포함하며, 유선 또는 무선 인터넷을 이용하여 결제 대행 서버(200)와 통신 가능한 개인용 컴퓨터(PC), 휴대폰 또는 태블릿 등과 같은 장치일 수 있으나, 본 발명은 이에 한정되지 아니한다.The card terminal 100 includes a means for reading card information from a buyer's card (for example, a magnetic reader, an IC card reader, or an NFC reader), and transmits the card information to the payment agent server 200 using a wired or wireless Internet, A personal computer (PC) capable of communicating with a mobile phone, a mobile phone or a tablet, but the present invention is not limited thereto.

본 발명의 일실시예에 따르면, 상기 카드 단말기(100)는 상기한 바와 같은 기능 이외에 점포 판매 시스템과 결합되어 POS(Point Of Sales) 시스템의 형태로 구현되거나, 또는 무선 인터넷이나 공중전화망 등을 이용해 결제 대행 서버(200)와 통신하는 CAT(Card Authorization Terminal)의 형태로 구현될 수 있다.According to one embodiment of the present invention, the card terminal 100 may be implemented in the form of a POS (point of sale) system in combination with the store sales system in addition to the functions described above, or may be implemented using a wireless Internet or a public telephone network And may be implemented in the form of a CAT (Card Authorization Terminal) communicating with the payment agent server 200.

도 1에서는, 결제 대행 서버(200)를 편의상 하나의 서버 형태로 이루어지는 것으로 도시하여 본 발명의 기술적 특징으로 설명하고 있으나, 이에 의해 본 발명이 한정되는 것은 결코 아니며, 결제 대행 서버(200)는 각 구성요소(또는 수단) 별로 두개 이상의 서버 군 형태로 실시되는 것이 가능하며, 본 발명은 상기 유추 가능한 모든 실시 방법을 포함하여 이루어지는 것을 특징으로 한다.1, the settlement proxy server 200 is described as being a single server type and is described as a technical feature of the present invention. However, the present invention is not limited thereto, The present invention can be implemented in two or more server groups for each component (or means), and the present invention is characterized in that it includes all the methods that can be inferred.

예를 들어, 상기 결제 대행 서버(200)는 밴(VAN)사에서 운영하는 서버일 수 있으며, 카드 단말기(100)는 밴사의 망을 이용해 결제 대행 서버(200)를 통하여 카드사 서버(300)에서 카드 결제 승인을 받아 거래를 완성할 수 있다.For example, the payment agent server 200 may be a server operated by a VAN company, and the card terminal 100 may be connected to the card issuer server 300 through a payment agent server 200 The transaction can be completed with the approval of the card payment.

카드 단말기(100)와 밴사의 결제 대행 서버(200)는 소정의 네트워크망(예컨대, 전화 인터넷 등)으로 연결되고 있고, 상기 밴사의 결제 대행 서버(200)와 해당 신용카드사의 거래 승인 시스템인 카드사 서버(300)는 전용 패킷망으로 연결되어 있을 수 있다.The card terminal 100 and the settlement proxy server 200 of the bank are connected to a predetermined network network (e.g., telephone Internet, etc.), and the settlement agency server 200 and the credit card company The server 300 may be connected to a dedicated packet network.

상기와 같은 결제 대행 서버(200)는 상기 승인 요청 전문을 카드사 서버(300)로 전송하고, 해당 카드 결제를 승인한 카드사 서버(300)로부터 승인 결과 전문을 수신한다.The settlement proxy server 200 transmits the approval request telegram to the card company server 300 and receives the approval result telegram from the card issuer server 300 that approved the card acceptance.

예를 들어, 결제 대행 서버(200)는 카드 결제 승인 요청을 위해, 상기 승인 요청 전문 내의 이용자 정보에 수록된 신용카드사 정보를 독출하여 해당 신용카드사의 카드사 서버(300)로 거래 승인 요구와 관련된 데이터를 전송한다.For example, the payment proxy server 200 reads the credit card company information included in the user information in the approval request text for the credit card approval request, and transmits the data related to the transaction approval request to the credit card company server 300 of the credit card company send.

상기 거래 승인 요구와 관련된 데이터를 수신한 카드사 서버(300)는 거래 승인 요구와 관련된 데이터에 포함된 이용자정보, 상품주문정보, 결제금액, 가맹점정보를 각각 자사의 회원자료 또는 가맹점 자료와 비교하여 신용카드 이용자와 가맹점간에 발생되는 거래가 타당한지를 확인한다.Upon receiving the data related to the transaction approval request, the card company server 300 compares the user information, the product order information, the payment amount, and the merchant information included in the data related to the transaction approval request with its own membership data or merchant data, Confirm whether the transaction between the card user and the merchant is valid.

한편, 카드사 서버(300)는 상기 거래 승인 요구에 대한 거래 승인 결과를 결제승인 요구를 중계한 밴사의 결제 대행 서버(200)로 전송하며, 결제 대행 서버(200)는 승인번호 데이터를 저장한 후 해당 가맹점의 카드 단말기(100)로 전송할 수 있다.Meanwhile, the card issuer server 300 transmits the transaction approval result for the transaction approval request to the payment agent server 200 of the relaying agency of the payment approval request, and the payment agent server 200 stores the authorization number data To the card terminal 100 of the corresponding merchant.

그러면, 결제 대행 서버(200)는 상기 승인 결과 전문을 카드 단말기(100)로 전송하고, 상기 승인 결과 전문을 정상적으로 수신한 카드 단말기(100)는 확인(ACK) 메시지를 결제 대행 서버(200)로 전송할 수 있다.Then, the settlement proxy server 200 transmits the approval result telegram to the card terminal 100, and the card terminal 100 that has normally received the approval result telegram transmits an acknowledgment (ACK) message to the payment proxy server 200 Lt; / RTI >

한편, 카드 단말기(100)로부터 상기 확인 메시지를 정상적으로 수신한 결제 대행 서버(200)는, 카드 단말기(100)로 상기 확인 메시지가 정상적으로 수신되었음을 알리는 완료 메시지를 전송할 수 있다.On the other hand, the payment proxy server 200 that has normally received the confirmation message from the card terminal 100 may transmit a completion message to the card terminal 100 to notify that the confirmation message has been normally received.

그 후, 상기한 절차에 따라 완료 메시지를 정상적으로 수신한 카드 단말기(100)는 해당 결제 승인에 따른 매출 전표를 출력할 수 있다.Thereafter, the card terminal 100 that has normally received the completion message according to the above-described procedure can output the sales slip according to the payment approval.

이와 같은 신용카드를 이용한 결제방식은 신용카드 이용자가 신용카드 결제승인에 필요한 카드번호, 유효기간, 카드 발급사 등의 정보를 가맹점에 설치된 카드 단말기(100)에 제공하면 가맹점에서 밴사의 결제 대행 서버(200)를 통하여 해당 카드사의 서버(300)에 거래 승인을 요청하고 승인된 결과를 근거로 하여 결제가 이루어지는 방식이다.In the payment method using the credit card, when the credit card user provides the card number, the expiration date, the card issuer, and the like necessary for credit card payment approval to the card terminal 100 installed in the merchant, A transaction approval is requested to the server 300 of the corresponding card company through the payment server 200 and payment is made based on the approved result.

그러나, 카드 단말기(100)와 결제 대행 서버(200) 사이에 통신 장애가 발생된 경우, 상기 승인 요청 전문, 승인 결과 전문, 확인 메시지 및 완료 메시지 중 적어도 하나가 정상적으로 송신 또는 수신되지 않는 상황이 있을 수 있으며, 이 경우 카드 단말기(100)는 해당 카드 결제가 정상적으로 완료되지 않은 것으로 판단하여 결제에 오류가 있음을 표시하여 가맹점 및 구매자에게 알릴 수 있다.However, when a communication failure occurs between the card terminal 100 and the payment proxy server 200, there may be a situation where at least one of the approval request telegram, the approval result telegram, the confirmation message, and the completion message is not normally transmitted or received In this case, the card terminal 100 judges that the card settlement has not been normally completed, and can notify the merchant and the buyer of the error in payment.

상기에서는, 카드 단말기(100)와 결제 대행 서버(200) 사이에 통신 장애에 따라 결제가 수행되지 않는 경우를 예로 들어 설명하였으나, 카드 단말기(100) 자체의 동작 오류 또는 결제 대행 서버(200)와 카드사 서버(300) 사이의 통신 장애 등 다양한 원인에 따라 결제 대행 서버(200)를 통한 카드 결제가 정상적으로 수행되지 않을 수 있다.In the above description, it is assumed that the settlement is not performed due to a communication failure between the card terminal 100 and the settlement proxy server 200. However, an operation error of the card terminal 100 itself or an error in the settlement proxy server 200 The card settlement through the payment agent server 200 may not be normally performed depending on various causes such as a communication failure between the card issuer server 300 and the like.

도 1에 도시된 바와 같이, 본 발명의 일실시예에 따른 카드 결제 시스템은 카드 단말기(100)와 카드사 서버(300) 사이에 연결되는 복수의 결제 대행 서버들(200 내지 260)을 포함하여 구성될 수 있으며, 결제 대행 서버들(200 내지 260)은 각각 카드 단말기(100)와 카드사 서버(300) 사이에서 상기한 바와 같은 결제 대행 서버(200)의 동작을 수행할 수 있다.1, a card settlement system according to an embodiment of the present invention includes a plurality of settlement proxy servers 200 to 260 connected between a card terminal 100 and a card issuer server 300, And the payment agency servers 200 to 260 can perform the operations of the payment agent server 200 as described above between the card terminal 100 and the card issuer server 300 respectively.

카드 단말기(100)는 카드 결제를 위한 상기 승인 요청 전문, 승인 결과 전문, 확인 메시지 및 완료 메시지 중 적어도 하나가 제1 결제 대행 서버(200)와 정상적으로 송신 또는 수신되지 않는 경우, 제2 결제 대행 서버(210) 내지 제n 결제 대행 서버(260) 중 어느 하나를 통해 도 1을 참조하여 상기에서 설명한 바와 같은 방법에 따라 결제를 수행되도록 할 수 있다.If at least one of the approval request message, the approval result message, the confirmation message, and the completion message for card settlement is not normally transmitted or received with the first payment agent server 200, The settlement may be performed according to the method described above with reference to Fig. 1 through any one of the first to eighth settlement servers 210 to 260.

좀 더 구체적으로, 카드 단말기(100)는 결제 대행 서버들(200 내지 260) 또는 그들 중 일부에 각각 대응되는 복수의 결제 모듈들을 구비하여, 각각의 결제 모듈이 그에 대응되는 결제 대행 서버를 통해 결제가 수행되도록 하기 위한 동작(예를 들어, 대응되는 결제 대행 서버와의 통신 전문 형식에 따른 전문 생성 또는 변환)을 수행 가능토록 함으로써, 통신 장애 발생 시 기존에 접속하던 제1 결제 대행 서버(210) 이외에 다른 결제 대행 서버와의 통신을 통해 정상적으로 결제가 수행되도록 할 수 있다.More specifically, the card terminal 100 includes a plurality of payment modules corresponding to the payment agency servers 200 to 260 or a part of them, respectively, so that each of the payment modules can receive payment through the corresponding payment agent server (For example, special creation or conversion according to the communication professional format with the corresponding payment agent server) can be performed, so that the first payment agent server 210, In addition, the settlement can be normally performed through communication with another settlement agency server.

도 2는 본 발명에 따른 카드 단말기의 구성에 대한 일실시예를 블록도로 도시한 것으로, 도시된 카드 단말기(100)는 통신부(110), 제어부(120), 복수의 결제 모듈들(130 내지 132) 및 메모리(140)를 포함할 수 있다.The card terminal 100 includes a communication unit 110, a control unit 120, a plurality of payment modules 130 to 132, And a memory 140. [0033]

도 2를 참조하면, 카드 단말기(100)에 구비된 통신부(110)는 밴사의 통신망을 통해 복수의 결제 대행 서버들(200 내지 260)과 연결되어 카드 결제를 위한 인증 및 승인 등과 관련된 다양한 정보를 송수신할 수 있다.2, the communication unit 110 included in the card terminal 100 is connected to a plurality of payment service servers 200 through 260 through a communication network of a broadband company to provide various information related to authentication and approval for card settlement It can transmit and receive.

한편, 복수의 결제 모듈들(130 내지 132)은 각각 그에 대응되는 결제 대행 서버를 이용하여 결제를 수행하기 위해 필요한 동작을 수행할 수 있으며, 해당 결제 모듈의 동작을 위한 정보(예를 들어, 대응되는 결제 대행 서버에 대한 주소 정보, 통신 전문 형식 및 암호화 방식 정보 등)은 메모리(140)에 저장되어 있거나 또는 필요시 외부 서버로부터 다운로드될 수 있다.Meanwhile, the plurality of payment modules 130 to 132 may perform an operation necessary to perform settlement using the settlement agent server corresponding thereto, and may store information (for example, corresponding information The address information for the payment agent server, the communication professional format and the encryption scheme information, etc.) are stored in the memory 140 or downloaded from an external server if necessary.

제1 결제 모듈(130)은 제1 결제 대행 서버(200)를 통해 결제를 수행하기 위한 것으로, 그에 필요한 동작들이 하드웨어 또는 소프트웨어로서 구현되어 있을 수 있다.The first settlement module 130 is for performing settlement through the first settlement agency server 200, and operations necessary for the settlement can be implemented as hardware or software.

예를 들어, 결제 대행 서버를 운영하는 결제 대행사인 밴사 마다 승인 요청 전문이나 승인 결과 전문 등과 같은 결제 관련 전문의 형식과 암호화 방식이 상이할 수 있으므로, 제1 결제 모듈(130)은 제1 결제 대행 서버(200)와의 통신 전문 형식 및 암호화 방식(즉, VAN1의 전문 형식 및 암호화 방식)에 따라 결제에 필요한 동작들을 수행할 수 있다.For example, since the format and the encryption method of the payment related specialties such as the approval request specialization or the approval result specialization may be different for each of the payment agencies that operate the payment agency server, the first payment module 130 may use the first payment agent It is possible to perform operations necessary for settlement according to the communication professional format and the encryption method with the server 200 (i.e., the professional format and the encryption method of the VAN 1).

좀 더 구체적으로, 제1 결제 모듈(130)은 카드 결제를 위한 승인 요청 전문을 제1 결제 대행 서버(200)와의 통신 전문 형식에 따라 생성하고, 상기 생성된 승인 요청 전문을 해당 밴사(VAN1)의 암호화 방식에 따라 암호화하여, 상기 암호화된 승인 요청 전문이 통신부(110)를 통해 제1 결제 대행 서버(200)로 전송되도록 할 수 있다.More specifically, the first payment module 130 generates an approval request telegram for card payment according to a communication professional format with the first payment proxy server 200, and transmits the generated approval request telegram to the corresponding VAN 1, And transmits the encrypted authorization request message to the first payment agent server 200 through the communication unit 110. [

그를 위해, 제1 결제 모듈(130)은 제1 결제 대행 서버(200)와의 통신 전문 형식에 따라 결제 관련 전문을 생성 또는 변환하기 위한 전문 생성 모듈(미도시)와, 상기 생성 또는 변환된 전문을 해당 밴사(VAN1)의 암호화 방식에 따라 암호화하기 위한 암호화 모듈(미도시)을 포함할 수 있다.For this purpose, the first settlement module 130 includes a professional creation module (not shown) for creating or converting a settlement related specialty according to a communication professional format with the first settlement proxy server 200, And an encryption module (not shown) for encrypting according to the encryption scheme of the corresponding VAN 1.

한편, 제2 결제 모듈(131)은 제2 결제 대행 서버(210)를 통해 결제를 수행하기 위한 것으로, 그에 필요한 동작들이 하드웨어 또는 소프트웨어로서 구현되어 있을 수 있다.Meanwhile, the second settlement module 131 is for performing settlement through the second settlement proxy server 210, and operations necessary for the settlement can be implemented as hardware or software.

예를 들어, 제2 결제 모듈(131)은 제2 결제 대행 서버(210)와의 통신 전문 형식 및 암호화 방식(즉, VAN2의 전문 형식 및 암호화 방식)에 따라 결제에 필요한 동작들을 수행할 수 있으며, 좀 더 구체적으로 승인 요청 전문을 제2 결제 대행 서버(210)와의 통신 전문 형식에 따라 생성하고, 상기 생성된 승인 요청 전문을 해당 밴사(VAN2)의 암호화 방식에 따라 암호화할 수 있다.For example, the second payment module 131 may perform operations necessary for payment according to the communication professional format and the encryption method (i.e., the professional format and the encryption method of the VAN 2) with the second payment agent server 210, More specifically, the approval request telegram can be generated according to the communication professional format with the second payment proxy server 210, and the generated approval request telegram can be encrypted according to the encryption scheme of the corresponding VAN2.

그를 위해, 제2 결제 모듈(131)은 제2 결제 대행 서버(210)와의 통신 전문 형식에 따라 결제 관련 전문을 생성 또는 변환하기 위한 전문 생성 모듈(미도시)와, 상기 생성 또는 변환된 전문을 해당 밴사(VAN2)의 암호화 방식에 따라 암호화하기 위한 암호화 모듈(미도시)을 포함할 수 있다.For this purpose, the second settlement module 131 includes a professional creation module (not shown) for creating or converting a settlement related specialty according to a communication professional format with the second settlement proxy server 210, And an encryption module (not shown) for encrypting according to the encryption scheme of the corresponding VAN 2.

제어부(120)는 결제 대행 서버(200)와의 통신 장애 발생 여부에 따라 상기 복수의 결제 모듈들(130 내지 132) 중 하나를 이용하여 결제가 수행되도록 제어하며, 그 밖에 카드 단말기(100)의 전체적인 동작을 제어하는 역할을 수행할 수 있다.The controller 120 controls the payment to be performed using one of the plurality of payment modules 130 to 132 depending on whether a communication failure has occurred with the payment agent server 200, And can control the operation.

예를 들어, 제어부(120)는 제1 결제 모듈(130)에서 생성된 승인 요청 전문이 통신부(110)를 통해 제1 결제 대행 서버(200)로 전송되도록 하고, 제1 결제 대행 서버(200)와의 통신에 장애가 발생하는 경우 제2 결제 모듈(131)에서 생성된 승인 요청 전문이 통신부(110)를 통해 제2 결제 대행 서버(210)로 전송되도록 할 수 있다.For example, the control unit 120 causes the first payment transaction server 200 to transmit the approval request message generated by the first payment module 130 to the first payment agent server 200 through the communication unit 110, The authentication request message generated by the second payment module 131 may be transmitted to the second payment agent server 210 through the communication unit 110. [

제어부(120)는 상기 결제 대행 서버(200)로 전송된 승인 요청 전문에 대한 응답 메시지 또는 승인 결과 전문이 일정 시간동안 상기 결제 대행 서버(200)로부터 수신되지 않는 경우, 상기 결제 대행 서버(200)와의 통신에 장애가 발생한 것으로 판단할 수 있다.If the response message to the approval request telegram or the approval result message transmitted to the payment agent server 200 is not received from the payment agent server 200 for a predetermined time, It can be determined that a failure has occurred in the communication with the base station.

메모리(140)는 플래시 롬(Flash ROM)이나 SRAM(262) 등을 포함하여, 상기한 바와 같은 카드 단말기(100)의 동작을 위해 필요한 운영체제(OS), 펌웨어(firmware) 및 소프트웨어(software)를 저장하고 있으며, 그 이외에 복수의 결제 모듈들(130 내지 132)의 동작을 위해 필요한 정보를 저장할 수 있다.The memory 140 includes an operating system (OS), firmware, and software necessary for the operation of the card terminal 100, such as the flash ROM and the SRAM 262, And may store information necessary for operation of the plurality of payment modules 130 to 132 in addition to the information.

이하, 도 3 내지 도 8을 참조하여, 본 발명에 따른 카드 단말기의 결제 정보 처리 방법에 대한 실시예들에 대해 보다 상세히 설명하기로 한다.Hereinafter, with reference to FIG. 3 to FIG. 8, embodiments of a method for processing payment information of a card terminal according to the present invention will be described in detail.

도 3은 본 발명의 일실시예에 따른 카드 단말기의 결제 정보 처리 방법을 흐름도로 도시한 것으로, 도시된 결제 정보 처리 방법을 도 2에 도시된 카드 단말기(100)의 구성에 대한 일실시예를 나타내는 블록도와 결부시켜 설명하기로 한다.FIG. 3 is a flowchart illustrating a payment information processing method of a card terminal according to an embodiment of the present invention. Referring to FIG. 3, Will be described with reference to the block diagram shown in FIG.

도 3을 참조하면, 카드 단말기(100)의 제1 결제 모듈(130)은 제1 결제 대행 서버(200)와의 통신 전문 형식에 따라 카드 결제를 위한 제1 승인 요청 전문을 생성하고(S300 단계), 통신부(110)는 상기 생성된 제1 승인 요청 전문을 제1 결제 대행 서버(200)로 전송한다(S310 단계).Referring to FIG. 3, the first payment module 130 of the card terminal 100 generates a first approval request message for card settlement according to the communication professional format with the first payment agent server 200 (step S300) , The communication unit 110 transmits the generated first approval request message to the first payment agent server 200 (step S310).

그를 위해, 카드 단말기(100)에 구비된 메모리(140)에는 제1 결제 대행 서버(200)에 접속하기 위한 서버 주소에 대한 정보, 제1 결제 대행 서버(200)와 송수신하는 데이터의 프로토콜인 통신 전문 형식에 대한 정보를 포함할 수 있다.For this purpose, in the memory 140 provided in the card terminal 100, information on a server address to be connected to the first settlement proxy server 200, information on the communication with the first settlement proxy server 200 It may contain information about the professional format.

한편, 상기 제1 승인 요청 전문은 제1 결제 대행 서버(200)에서 복호화될 수 있도록 미리 지정된 암호화 방식에 따라 제1 결제 모듈(130)에 의해 암호화된 후 제1 결제 대행 서버(200)로 전송될 수 있으며, 그를 위해 상기 암호화 방식 또는 암호화를 위해 필요한 암호화 키(key) 등의 정보가 메모리(140)에 저장되어 있을 수 있다.The first approval request message is encrypted by the first payment module 130 according to a predetermined encryption scheme so that the first approval request message can be decrypted by the first payment agent server 200 and then transmitted to the first payment agent server 200 And information such as an encryption key or key necessary for encryption may be stored in the memory 140 for that purpose.

제어부(120)는 상기 제1 승인 요청 전문을 전송한 제1 결제 대행 서버(200)와의 통신에 장애가 발생하였는지 여부를 확인한다(S320 단계).The controller 120 determines whether a failure has occurred in the communication with the first payment agent server 200 that transmitted the first approval request message (operation S320).

예를 들어, 제어부(120)는 제1 결제 대행 서버(200)로 상기 승인 요청 전문 또는 상기 승인 결과 전문에 대한 확인(ACK) 메시지를 전송한 후, 정해진 일정 시간 내에 또는 정해진 재전송 회수 내에 상기 결제 대행 서버(200)로부터 상기 승인 요청 전문에 대한 승인 결과 전문 또는 상기 확인 메시지에 대한 응답인 완료 메시지가 수신되지 않는 경우, 상기 결제 대행 서버(200)와 통신 장애가 발생한 것으로 판단할 수 있다.For example, the controller 120 transmits an acknowledgment (ACK) message to the first payment agent server 200 for the approval request message or the approval result message, and then transmits the acknowledgment message to the first settlement proxy server 200 within a predetermined period of time, It is possible to determine that a communication failure has occurred with the payment agent server 200 when the approval server 200 does not receive the approval result message or the completion message in response to the confirmation message.

제1 결제 대행 서버(200)와의 통신에 장애가 발생한 경우, 제2 결제 모듈(131)은, 제어부(120)의 제어를 받아, 제2 결제 대행 서버(210)와의 통신 전문 형식에 따라 카드 결제를 위한 제2 승인 요청 전문을 생성하고(S330 단계), 통신부(110)는 상기 생성된 제2 승인 요청 전문을 제2 결제 대행 서버(210)로 전송한다(S340 단계).The second payment module 131 receives the control of the card settlement in accordance with the communication professional format with the second settlement agency server 210 under the control of the controller 120 (Step S330). The communication unit 110 transmits the generated second approval request message to the second payment agent server 210 (step S340).

그를 위해, 카드 단말기(100)에 구비된 메모리(140)에는 제2 결제 대행 서버(210)에 접속하기 위한 서버 주소에 대한 정보, 제2 결제 대행 서버(210)와 송수신하는 데이터의 프로토콜인 통신 전문 형식에 대한 정보를 포함할 수 있다.For this purpose, the memory 140 provided in the card terminal 100 stores information on the server address to be connected to the second settlement proxy server 210, information on the communication with the second settlement proxy server 210, It may contain information about the professional format.

한편, 상기 제2 승인 요청 전문은 제2 결제 대행 서버(210)에서 복호화될 수 있도록 미리 지정된 암호화 방식에 따라 제2 결제 모듈(131)에 의해 암호화된 후 제2 결제 대행 서버(210)로 전송될 수 있으며, 그를 위해 상기 암호화 방식 또는 암호화를 위해 필요한 암호화 키(key) 등의 정보가 메모리(140)에 저장되어 있을 수 있다.Meanwhile, the second authorization request message is encrypted by the second payment module 131 according to a predetermined encryption method so that the second authorization request server 210 can decrypt the second authorization request message, and then transmitted to the second payment agent server 210 And information such as an encryption key or key necessary for encryption may be stored in the memory 140 for that purpose.

본 발명의 또 다른 실시예에 따르면, 상기 제2 결제 모듈(131)의 동작에 필요한 정보, 예를 들어 제2 결제 대행 서버(210)의 주소, 상기 제2 승인 요청 전문의 형식 및 암호화 방식/암호화 키 중 적어도 일부는 메모리(140)에 미리 저장되어 있지 않고, 제1 결제 대행 서버(200)와의 통신 장애 발생시 제어부(120)의 제어를 받아 통신부(110)를 통해 외부의 다운로드 서버에 요청하여 그로부터 다운로드될 수 있다.According to another embodiment of the present invention, information necessary for the operation of the second payment module 131, for example, the address of the second payment agent server 210, the format of the second approval request message, At least some of the encryption keys are not stored in the memory 140 in advance and are requested by the external download server through the communication unit 110 under the control of the control unit 120 when a communication failure occurs with the first payment agent server 200 It can be downloaded from it.

도 4는 본 발명의 일실시예에 따른 카드 결제 시스템에서 통신 장애시 결제를 수행하는 방법에 대한 제1 실시예를 설명하기 위한 타이밍도이다.4 is a timing chart for explaining a first embodiment of a method for performing settlement in the case of a communication failure in a card settlement system according to an embodiment of the present invention.

도 4를 참조하면, 출시 시점에서의 카드 단말기(100)에는 도 1 내지 도 3을 참조하여 설명한 바와 같은 제1 결제 모듈(130)의 동작을 위한 정보(예를 들어, 제1 결제 대행 서버(200)를 운영하는 VAN1의 전문 형식 정보 및 암호화 정보)와 함께, 제1 다운로드 서버(201)의 주소 정보가 메모리(140)에 저장되어 있을 수 있다.4, information on the operation of the first payment module 130 (for example, the first payment agent server 130 (see FIG. 1) 200), and the address information of the first download server 201 may be stored in the memory 140 together with the encrypted format information.

가맹점에서는 카드 단말기(100)에 기기 및 가맹점 식별 정보를 입력하여 상기 제1 다운로드 서버(201)에 가맹점 다운로드를 요청하며(S401 단계), 제1 다운로드 서버(201)는 상기 가맹점 다운로드 요청에 응답하여 제1 결제 대행 서버(200)에 대한 주소 정보(또는 결제 전화번호) 등의 정보를 카드 단말기(100)로 전송한다(S402 단계).The merchant receives the device and merchant identification information from the card terminal 100 and requests the merchant store download to the first download server 201 in step S401. The first download server 201 responds to the merchant store download request And transmits information such as address information (or a settlement phone number) to the first settlement proxy server 200 to the card terminal 100 (step S402).

예를 들어, 상기 가맹점 다운로드를 위하여, 단말 ID(Terminal ID), 사업자 등록 번호, 가입자 전화 번호 및 대리점 코드 등이 카드 단말기(100)에 입력될 수 있다.For example, a terminal ID, a business registration number, a subscriber telephone number, a dealer code, and the like may be input to the card terminal 100 for downloading the merchant.

한편, 제1 다운로드 서버(201)는 상기 입력된 정보를 포함하는 가맹점 다운로드 요청을 카드 단말기(100)로부터 수신한 후, 상기 입력된 식별 정보를 확인하여 가맹점을 확인한 후, 상기 카드 단말기(100)가 결제를 수행하기 위해 접속해야 하는 제1 결제 대행 서버(200)의 주소를 카드 단말기(100)로 전송할 수 있다.The first download server 201 receives a merchant store download request including the input information from the card terminal 100 and checks the input identification information to identify the merchant, To the card terminal 100, the address of the first settlement proxy server 200 that the first settlement proxy server 200 needs to access in order to perform settlement.

상기와 같은 카드 단말기(100)의 가맹점 다운로드 과정이 완료된 후, 카드 단말기(100)는 구매자의 신용 카드로부터 읽어들인 카드 정보와 결제 금액 정보 등을 포함하는 승인 요청 전문을 제1 결제 모듈(130)을 통해 VAN1의 전문 형식에 따라 생성하여 제1 결제 대행 서버(200)로 전송한다(S403 단계).After the merchant downloading process of the card terminal 100 is completed, the card terminal 100 transmits the approval request message including the card information and the payment amount information read from the credit card of the purchaser to the first payment module 130, And transmits it to the first payment agent server 200 (step S403).

제1 결제 대행 서버(200)는 상기 승인 요청 전문을 카드사 서버(300)로 전송하고(S404 단계), 카드사 서버(300)는 해당 카드 결제에 대한 승인 과정을 거친 후 승인 결과 전문을 제1 결제 대행 서버(200)로 전송한다(S405 단계).The first payment agent server 200 transmits the approval request telegram to the card company server 300 in step S404. After the card issuer server 300 receives approval for the card payment, To the proxy server 200 (S405).

그러면, 제1 결제 대행 서버(200)는 상기 승인 결과 전문을 해당 가맹점의 카드 단말기(100)로 전송하고(S406 단계), 카드 단말기(100)는 상기 승인 결과 전문을 정상적으로 수신하였음을 알리는 확인(ACK) 메시지를 제1 결제 대행 서버(200)로 전송한다(S407 단계).Then, the first payment agent server 200 transmits the approval result message to the card terminal 100 of the corresponding merchant (step S406), and the card terminal 100 confirms that the approval result message is normally received ACK message to the first payment agent server 200 (step S407).

상기 확인(ACK) 메시지를 수신한 제1 결제 대행 서버(200)는 카드 단말기(100)로 상기 확인(ACK) 메시지가 정상적으로 수신되었음을 알리는 완료 메시지를 전송한다(S408 단계).Upon receiving the acknowledgment message, the first payment agent server 200 transmits a completion message indicating that the acknowledgment message is normally received to the card terminal 100 in step S408.

도 4를 참조하여 설명한 바와 같은 카드 결제 시스템의 결제 수행 방법은 제1 결제 대행 서버(200)와 카드 단말기(100) 사이에 통신 장애가 발생하지 않는 경우 결제가 수행되는 방법을 나타낸 것으로, 상기 제1 결제 대행 서버(200)를 운영하는 밴사(즉, VAN1)이 카드 단말기(100)의 메인(main) VAN으로 설정되어 있어, 카드 단말기(100)는 제1 결제 대행 서버(200)와의 통신 장애가 발생하지 않는 한 승인 요청 전문을 VAN1의 제1 결제 대행 서버(200)로 전송할 수 있다.The method of performing payment in the card settlement system as described with reference to FIG. 4 shows a method in which settlement is performed when a communication failure does not occur between the first settlement proxy server 200 and the card terminal 100, The VAN 1 that operates the settlement server 200 is set as the main VAN of the card terminal 100 so that the card terminal 100 can not communicate with the first settlement agency server 200 The authorization request message can be transmitted to the first settlement proxy server 200 of the VAN 1.

도 5를 참조하면, 카드 단말기(100)는 제1 결제 대행 서버(200)로 상기 승인 요청 전문을 전송하고(S501 단계), 그 후 일정 시간 동안 제1 결제 대행 서버(200)로부터의 응답 메시지 또는 승인 결과 전문이 수신되지 않는 경우 통신 장애가 발생하였음을 확인한다(S502 단계).5, the card terminal 100 transmits the approval request message to the first payment agent server 200 (step S501), and then transmits a response message from the first payment agent server 200 for a certain period of time Or if the approval result telegram is not received, it is confirmed that a communication failure has occurred (step S502).

이 경우, 카드 단말기(100)는 제2 결제 대행 서버(210)를 통해 카드 결제를 수행하기 위한 정보의 다운로드를 제2 다운로드 서버(211)에 요청한다(S503 단계).In this case, the card terminal 100 requests the second download server 211 to download information for performing card settlement through the second settlement proxy server 210 (step S503).

예를 들어, 상기 제2 다운로드 서버(211)에 다운로드를 요청하는 정보는 제2 결제 모듈(131)의 동작을 위한 데이터를 포함하며, 좀 더 구체적으로 제2 결제 대행 서버(210)의 주소, 제2 결제 대행 서버(210)를 운영하는 밴사(VAN2)의 통신 전문 형식 및 암호화 방식(또는 암호화 키)에 대한 정보를 제2 다운로드 서버(210)에 요청할 수 있다.For example, the information requesting download to the second download server 211 includes data for the operation of the second settlement module 131, more specifically, the address of the second settlement proxy server 210, The second download server 210 can request information on the communication professional format and the encryption method (or encryption key) of the VAN 2 operating the second payment agent server 210.

카드 단말기(100)의 메모리(140)에는 메인 VAN인 VAN1을 통해 결제를 수행하기 위한 정보로서 제1 결제 대행 서버(200)의 주소, VAN1의 전문 형식 정보 및 암호화 정보가 저장되어 있으나, 서브(sub) VAN인 VAN2에 대한 정보는 제2 다운로드 서버(211)의 주소만이 저장되어 있을 수 있다.The memory 140 of the card terminal 100 stores the address of the first payment agent server 200, the professional format information of the VAN1, and the encryption information as information for performing settlement through the VAN1 which is the main VAN, information on the VAN 2, which is the sub-VAN, may be stored only in the address of the second download server 211.

그에 따라, 상기와 같이 제1 결제 대행 서버(200)와의 통신에 장애가 발생하면, 카드 단말기(100)는 메모리(140)에 저장된 주소 정보로 제2 다운로드 서버(211)에 접속하여 제2 결제 모듈(131)을 이용해 제2 결제 대행 서버(210)로 승인 요청 전문을 전송하기 위해 필요한 데이터를 전송받는다(S504 단계).Accordingly, when the communication with the first payment agent server 200 fails, the card terminal 100 accesses the second download server 211 with the address information stored in the memory 140, (Step S504). In step S504, the second settlement proxy server 210 receives data necessary for transmitting the approval request message to the second settlement proxy server 210 using the request message 131.

한편, 상기 S503 단계에서, 카드 단말기(100)는 상기 다운로드 요청과 함께 제1 결제 대행 서버(200) 또는 그를 운영하는 밴사(VAN1)에 대한 식별 정보(이하, VAN 식별 정보)를 제2 다운로드 서버(211)로 전송할 수 있으며, 제2 다운로드 서버(211)는 상기 수신되는 VAN 식별 정보를 확인한 후 상기 요청된 필요 데이터를 카드 단말기(100)로 전송할 수 있다.In step S503, the card terminal 100 transmits identification information (hereinafter referred to as VAN identification information) about the first payment agent server 200 or the VAN1 that operates the first payment agent server 200 to the second download server 200 And the second download server 211 may confirm the received VAN identification information and transmit the requested data to the card terminal 100. [

예를 들어, 제1 결제 대행 서버(200)를 운영하는 밴사(VAN1)는 통신 장애시 결제를 수행하기 위한 서브 밴으로서 제2 결제 대행 서버(210)를 운영하는 밴사(VAN2)와 제휴를 맺고 있을 수 있으며, 제2 다운로드 서버(211)는 상기 수신되는 VAN 식별 정보를 이용해 카드 단말기(100)의 메인 밴과 제휴 관계에 있는지 여부를 확인할 수 있다.For example, the VAN 1 operating the first settlement proxy server 200 alliances with the VAN 2 operating the second settlement proxy server 210 as a sub-van for settlement in case of a communication failure And the second download server 211 can confirm whether or not the second download server 211 is in an affiliation relationship with the main vans of the card terminal 100 using the received VAN identification information.

상기와 같은 카드 단말기(100)의 서브 밴에 대한 필요 데이터 다운로드 과정이 완료된 후, 카드 단말기(100)는 승인 요청 전문을 제2 결제 모듈(131)을 통해 VAN2의 전문 형식에 따라 생성하여 제2 결제 대행 서버(210)로 전송한다(S505 단계).After the necessary data downloading process for the sub-van of the card terminal 100 is completed, the card terminal 100 generates the approval request telegram according to the professional format of the VAN 2 through the second payment module 131, To the settlement proxy server 210 (step S505).

한편, 상기 S505 단계에서, 카드 단말기(100)는 상기 승인 요청 전문의 전송과 함께 제1 결제 대행 서버(200) 또는 그를 운영하는 밴사(VAN1)에 대한 식별 정보(이하, VAN 식별 정보)를 제2 결제 대행 서버(210)로 전송할 수 있으며, 상기 전송된 결제 대행사 식별 정보인 VAN 식별 정보는 추후 해당 결제에 대한 확인, 청구, 취소 또는 정산 등의 과정에 이용될 수 있다.In step S505, the card terminal 100 transmits identification information (hereinafter referred to as VAN identification information) to the first payment agent server 200 or the VAN 1 operating the agent, together with the transmission of the approval request message 2 settlement proxy server 210, and the VAN identification information, which is the payment agency identification information, can be used for checking, charging, cancellation or settlement of the payment in the future.

제2 결제 대행 서버(210)는 상기 승인 요청 전문을 카드사 서버(300)로 전송하고(S506 단계), 카드사 서버(300)는 해당 카드 결제에 대한 승인 과정을 거친 후 승인 결과 전문을 제2 결제 대행 서버(210)로 전송한다(S507 단계).The second settlement proxy server 210 transmits the approval request telegram to the card company server 300 in step S506. After the card issuer server 300 receives approval for the corresponding card payment, To the proxy server 210 (S507).

그러면, 제2 결제 대행 서버(210)는 상기 승인 결과 전문을 해당 가맹점의 카드 단말기(100)로 전송하고(S508 단계), 카드 단말기(100)는 상기 승인 결과 전문을 정상적으로 수신하였음을 알리는 확인(ACK) 메시지를 제2 결제 대행 서버(210)로 전송한다(S509 단계).Then, the second settlement proxy server 210 transmits the approval result telegram to the card terminal 100 of the corresponding merchant (Step S508), and the card terminal 100 confirms that the approval result telegram has been normally received ACK message to the second payment agent server 210 (S509).

상기 확인(ACK) 메시지를 수신한 제2 결제 대행 서버(210)는 카드 단말기(100)로 상기 확인(ACK) 메시지가 정상적으로 수신되었음을 알리는 완료 메시지를 전송한다(S510 단계).Upon receiving the acknowledgment message, the second payment agent server 210 transmits a completion message to the card terminal 100 indicating that the acknowledgment message is normally received in step S510.

본 발명의 또 다른 실시예에 따르면, 카드 단말기(100)의 메모리(140)에는 메인 VAN인 VAN1을 통해 결제를 수행하기 위한 정보로서 제1 결제 대행 서버(200)의 주소, VAN1의 전문 형식 정보 및 암호화 정보 뿐 아니라, 서브(sub) VAN인 VAN2를 통해 결제를 수행하기 위한 정보로서 제2 결제 대행 서버(210)의 주소, VAN2의 전문 형식 정보 및 암호화 정보가 모두 저장되어 있을 수 있다.According to another embodiment of the present invention, the memory 140 of the card terminal 100 stores the address of the first payment agent server 200 as the information for performing settlement via the VAN 1 which is the main VAN, And the encryption information, as well as the address of the second settlement proxy server 210, the professional format information of the VAN2, and the encryption information as information for performing settlement through the VAN2 which is a sub VAN.

이 경우, 도 6에 도시된 바와 같이, 카드 단말기(100)는 카드 단말기(100)는 제1 결제 대행 서버(200)로 상기 승인 요청 전문을 전송한 후(S601 단계), 통신 장애가 확인되면(S602 단계), 바로 제2 결제 모듈(131)을 이용해 서브 밴인 VAN2의 전문 형식에 따라 승인 요청 전문을 생성하거나 또는 변환하여 제2 결제 대행 서버(210)로 전송할 수 있다.In this case, as shown in FIG. 6, the card terminal 100 transmits the approval request message to the first payment agent server 200 (Step S601) In step S602, the second payment module 131 may be used to generate or convert an approval request message according to the professional format of the sub-vane VAN2, and may transmit the approval request message to the second payment agent server 210. [

도 7은 제1 결제 대행 서버(200)와의 통신 장애시 제2 결제 대행 서버(210)로 승인 요청 전문을 전송하는 방법에 대한 일실시예를 흐름도로 도시한 것으로, 도시된 방법 중 도 1 내지 도 6을 참조하여 설명한 것과 동일한 것에 대한 설명은 이하 생략하기로 한다.FIG. 7 is a flowchart illustrating an exemplary method of transmitting an approval request message to the second settlement proxy server 210 in the case of a communication failure with the first settlement proxy server 200. In the method shown in FIG. 1 to FIG. Description about the same things as those described with reference to Fig. 6 will be omitted below.

도 7을 참조하면, 카드 단말기(100)의 제2 결제 모듈(131)은 제1 결제 대행 서버(200)로 전송하였던 승인 요청 전문을 서브 밴인 VAN2의 전문 형식 또는 미리 설정된 공통 전문 형식으로 변환한다(S700 단계).Referring to FIG. 7, the second payment module 131 of the card terminal 100 converts the approval request message transmitted to the first payment agent server 200 into a professional format of the sub-vane VAN2 or a preset common format (Step S700).

상기 공통 전문 형식은 메인 밴인 VAN1과 서브 밴인 VAN2 (또는 그들을 포함하는 복수의 밴사들) 사이에서 처리 가능하도록 설정된 전문 형식을 나타낼 수 있으며, 통신 장애시 사용을 위해 협의된 프로토콜에 따른 것일 수 있다.The common professional format may represent a professional format that is settable between the main vans VAN1 and the sub-vans VAN2 (or a plurality of the vans including them), and may conform to a negotiated protocol for use in the case of communication failure.

그 후, 제2 결제 모듈(131)은 상기 변환된 승인 요청 전문을 공통 암호화 방식으로 암호화하고(S710 단계), 통신부(110)는 상기 암호화된 승인 요청 전문을 제2 결제 대행 서버(210)로 전송한다(S720 단계).Thereafter, the second payment module 131 encrypts the converted approval request message with the common encryption method (step S710), and the communication unit 110 transmits the encrypted approval request message to the second payment agent server 210 (S720).

상기 공통 암호화 방식은 메인 밴인 VAN1과 서브 밴인 VAN2 (또는 그들을 포함하는 복수의 밴사들) 사이에서 복호화 가능하도록 설정된 암호화 방식을 나타낼 수 있으며, 통신 장애시 사용하도록 협의된 암호화 방식일 수 있다.The common encryption scheme may indicate an encryption scheme that is set to be decryptable between the main vane VAN1 and the sub-vane VAN2 (or a plurality of vans including the sub-vans), and may be a cryptographic scheme negotiated for use in a communication failure.

본 발명의 또 다른 실시예에 따르면, 도 5에 도시된 S508 단계 또는 도 6에 도시된 S605 단계에서 제2 결제 대행 서버(210)로부터 수신된 승인 결과 전문은 제1, 2 결제 모듈들(130, 131) 중 적어도 하나를 이용해 제1 결제 대행 서버(200)와의 통신 전문 형식에 따라 변환되고, 상기 변환된 승인 결과 전문은 제1 결제 대행 서버(200)와의 통신 장애가 복구된 후 제1 결제 대행 서버(200)로 전송될 수 있다.According to another embodiment of the present invention, the approval result message received from the second settlement proxy server 210 in step S508 shown in FIG. 5 or step S605 shown in FIG. 6 is transmitted to the first and second payment modules 130 , 131), and is converted according to a communication professional format with the first settlement proxy server (200), and the converted approval result confidential message is transmitted to the first settlement agency server (200) after the communication failure with the first settlement agency server And transmitted to the server 200.

도 8은 제2 결제 대행 서버(210)로부터 수신한 승인 결과 전문을 통신 장애 해제후 제1 결제 대행 서버(200)로 전달하는 방법에 대한 일실시예를 흐름도로 도시한 것이다.FIG. 8 is a flowchart illustrating an embodiment of a method for transferring the approval result received from the second settlement proxy server 210 to the first settlement proxy server 200 after the communication failure is canceled.

도 8을 참조하면, 제2 결제 대행 서버(210)로부터 승인 결과 전문이 수신되면(S800 단계), 카드 단말기(100)의 제2 결제 모듈(131)은 상기 수신된 승인 결과 전문을 복호화하여 메모리(140)에 저장한다(S810 단계).8, when the approval result telegram is received from the second payment agent server 210 in step S800, the second payment module 131 of the card terminal 100 decrypts the received approval result telegram, (Step S810).

예를 들어, 상기 제2 결제 모듈(131)은 상기 제2 결제 대행 서버(210)로부터 수신된 승인 결과 전문을 상기한 바와 같은 공통 암호화 방식에 따라 복호화할 수 있다.For example, the second settlement module 131 may decrypt the approval result message received from the second settlement proxy server 210 according to the common encryption method as described above.

그 후, 제1 결제 대행 서버(200)와의 통신 장애가 해제되면(S820 단계), 제1 결제 모듈(130)은 상기 메모리(140)에 저장된 승인 결과 전문을 메인 밴사인 VAN1d의 전문 형식에 따라 변환하고 VAN2의 암호화 방식에 따라 재암호화한 후(S830 단계), 통신부(110)는 상기 재암호화된 승인 결과 전문을 제1 결제 대행 서버(200)로 전송한다(S840 단계).Thereafter, when the communication failure with the first settlement proxy server 200 is released (step S820), the first settlement module 130 converts the approval result result stored in the memory 140 according to the professional format of the main exchange VAN1d (Step S830), and the communication unit 110 transmits the re-encrypted approval result to the first payment agent server 200 (step S840).

상기와 같이 통신 장애 복구 후, 제1 결제 대행 서버(200)로 전송된 승인 결과 전문은 추후 메인 밴사인 VAN1을 통한 해당 결제에 대한 확인, 청구, 취소 또는 정산 등의 과정에 이용될 수 있다.After the communication failure is recovered as described above, the approval result message transmitted to the first settlement proxy server 200 may be used for checking, requesting, canceling or adjusting settlement of the corresponding settlement through the main bank VAN1.

상술한 본 발명에 따른 결제 정보 처리 방법은 컴퓨터에서 실행되기 위한 프로그램으로 제작되어 컴퓨터가 읽을 수 있는 기록 매체에 저장될 수 있으며, 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다.The above-described payment information processing method according to the present invention may be stored in a computer-readable recording medium. The computer-readable recording medium may be a ROM, a RAM, a CD-ROM , A magnetic tape, a floppy disk, an optical data storage device, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet).

컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고, 상기 방법을 구현하기 위한 기능적인(function) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다.The computer readable recording medium may be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner. And, functional programs, codes and code segments for implementing the above method can be easily inferred by programmers of the technical field to which the present invention belongs.

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형 실시가 가능한 것은 물론이고, 이러한 변형 실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention.

Claims (19)

카드사 서버와 연결된 결제 대행 서버와의 통신을 통해 결제를 처리하는 카드 단말기에 있어서,
제1 결제 대행 서버의 송수신 데이터 프로토콜인 제1 통신 전문 형식 정보 및 제1 암호화 정보를 저장하며, 제2 결제 대행 서버에 대한 다운로드 서버의 주소 정보를 저장하는 메모리;
상기 제1 결제 대행 서버와의 상기 제1 통신 전문 형식 정보 및 상기 제1 암호화 정보에 따라, 카드 결제를 위한 승인 요청 전문을 생성하는 제1 결제 모듈;
상기 제1 결제 대행 서버와의 통신에 장애가 발생하는 경우, 상기 다운로드 서버의 주소 정보를 이용하여 상기 다운로드 서버로 상기 제1 결제 대행 서버의 식별 정보를 전송하고, 상기 다운로드 서버로부터 상기 제2 결제 대행 서버의 송수신 데이터 프로토콜인 제2 전문 형식 정보 및 제2 암호화 정보를 다운로드하며, 상기 제2 전문 형식 정보 및 제2 암호화 정보에 기초하여 상기 승인 요청 전문을 생성하는 제2 결제 모듈;
상기 생성된 승인 요청 전문을 상기 제1, 2 결제 대행 서버들 중 적어도 하나로 전송하는 통신부; 및
상기 제1 결제 모듈에서 생성된 승인 요청 전문이 상기 통신부를 통해 상기 제1 결제 대행 서버로 전송되도록 하고, 상기 제1 결제 대행 서버와의 통신에 장애가 발생하는 경우 상기 제2 결제 모듈에서 생성된 승인 요청 전문이 상기 통신부를 통해 상기 제2 결제 대행 서버로 전송되도록 하는 제어부를 포함하고,
상기 다운로드 서버는 상기 제1 결제 대행 서버의 식별 정보로부터 상기 제2 결제 대행 서버가 제휴 관계에 있는지 여부에 따라, 상기 제2 결제 대행 서버의 제2 전문 형식 정보 및 상기 제2 암호화 정보를 포함하며 상기 카드 단말기가 상기 제2 결제 모듈을 이용해 상기 제2 결제 대행 서버로 승인 요청을 전송하기 위해 필요한 필요 데이터를, 상기 제2 결제 모듈로 전송하는 카드 단말기.
A card terminal for processing a payment through communication with a payment agency server connected to a card issuer server,
A memory for storing first communication format information and first encryption information, which are transmission / reception data protocols of a first payment agent, and storing address information of a download server for a second payment agent;
A first payment module for generating an approval request message for card settlement in accordance with the first communication professional format information and the first encryption information with the first settlement proxy server;
When the failure occurs in the communication with the first settlement agency server, transmits the identification information of the first settlement agency server to the download server by using the address information of the download server, A second payment module for downloading second professional format information and second encryption information which are transmission / reception data protocols of the server, and generating the approval request telegram based on the second professional format information and the second encryption information;
A communication unit for transmitting the generated approval request message to at least one of the first and second payment agent servers; And
Wherein the second payment module transmits the approval request message generated by the first payment module to the first payment agent server through the communication unit, and when a failure occurs in communication with the first payment agent server, And a controller for transmitting the request telegram to the second settlement proxy server through the communication unit,
Wherein the download server includes second professional format information of the second settlement proxy server and the second cryptographic information according to whether the second settlement proxy server is in an affiliation relationship from the identification information of the first settlement proxy server And transmits to the second payment module necessary data necessary for the card terminal to transmit an approval request to the second payment agent server using the second payment module.
제1항에 있어서, 상기 제어부는
상기 제1 결제 대행 서버와의 통신에 장애가 발생하는 경우, 상기 제2 결제 모듈의 동작을 위한 상기 필요 데이터의 전송을 상기 통신부를 통해 상기 다운로드 서버에 요청하는 카드 단말기.
The apparatus of claim 1, wherein the control unit
And requests the download server via the communication unit to transmit the necessary data for operation of the second payment module if a failure occurs in communication with the first payment agent server.
제2항에 있어서, 상기 통신부는
상기 제2 결제 대행 서버에 대한 주소 정보, 상기 제2 전문 형식 정보 및 상기 제2 암호화 정보 중 적어도 하나를 상기 다운로드 서버로부터 수신하는 카드 단말기.
The communication device according to claim 2,
From the download server, at least one of address information of the second settlement proxy server, the second professional format information, and the second encryption information.
삭제delete 제1항에 있어서, 상기 통신부는
상기 제1 결제 대행 서버와의 통신에 장애가 발생하는 경우, 상기 제2 결제 모듈에서 생성된 승인 요청 전문과 함께 상기 제1 결제 대행 서버와 관련된 결제 대행사 식별 정보를 상기 제2 결제 대행 서버로 전송하는 카드 단말기.
The communication device according to claim 1,
When a failure occurs in communication with the first settlement agency server, transmits the settlement agency identification information associated with the first settlement agency server to the second settlement agency server together with the approval request message generated in the second settlement module Card terminal.
제1항에 있어서, 상기 통신부는
상기 승인 요청 전문에 응답하여 상기 제2 결제 대행 서버로부터 전송되는 승인 결과 전문을 수신하고,
상기 제2 결제 대행 서버로부터 수신된 승인 결과 전문은 상기 제1, 2 결제 모듈들 중 적어도 하나를 이용해 상기 제1 결제 대행 서버와의 제1 통신 전문 형식에 따라 변환되는 카드 단말기.
The communication device according to claim 1,
Receiving an approval result message transmitted from the second payment agent server in response to the approval request message,
Wherein the approval result received from the second payment agent server is converted according to a first communication professional format with the first payment agent server using at least one of the first and second payment modules.
제6항에 있어서, 상기 변환된 승인 결과 전문은
상기 제1 결제 대행 서버와의 통신 장애가 복구된 후 상기 제1 결제 대행 서버로 전송되는 카드 단말기.
7. The method according to claim 6,
Wherein the card terminal is transmitted to the first payment agent server after a communication failure with the first payment agent server is recovered.
제1항에 있어서, 상기 제어부는
상기 제1 결제 대행 서버와의 통신에 장애가 발생하는 경우, 상기 승인 요청 전문이 기설정된 공통 전문 형식에 따라 생성되도록 제어하는 카드 단말기.
The apparatus of claim 1, wherein the control unit
And controls the generation of the approval request telegram according to a predetermined common professional format when a failure occurs in communication with the first settlement agency server.
제1항에 있어서, 상기 제어부는
상기 제1 결제 대행 서버와의 통신에 장애가 발생하는 경우, 상기 승인 요청 전문이 기설정된 공통 암호화 방식에 따라 암호화된 후 상기 제2 결제 대행 서버로 전송되도록 제어하는 카드 단말기.
The apparatus of claim 1, wherein the control unit
When the failure occurs in communication with the first payment agent server, the approval request message is encrypted according to a predetermined common encryption method and then transmitted to the second payment agent server.
제9항에 있어서, 상기 통신부는
상기 승인 요청 전문에 응답하여 상기 제2 결제 대행 서버로부터 전송되는 승인 결과 전문을 수신하고,
상기 제2 결제 대행 서버로부터 수신된 승인 결과 전문은 상기 공통 암호화 방식에 따라 복호화되고, 상기 복호화된 승인 결과 전문은 상기 제1 결제 대행 서버와의 통신을 위한 상기 제1 암호화 정보에 따라 재암호화되며,
상기 재암호화된 승인 결과 전문은 상기 제1 결제 대행 서버와의 통신 장애가 복구된 후 상기 제1 결제 대행 서버로 전송되는 카드 단말기.
10. The apparatus according to claim 9, wherein the communication unit
Receiving an approval result message transmitted from the second payment agent server in response to the approval request message,
The approval result message received from the second settlement proxy server is decrypted according to the common encryption method and the decrypted approval result message is re-encrypted according to the first encryption information for communication with the first payment agent server ,
Wherein the re-encrypted approval result telegram is transmitted to the first payment agent server after the communication failure with the first payment agent server is restored.
제1항에 있어서, 상기 제어부는
상기 전송된 승인 요청 전문에 대한 응답 메시지 또는 승인 결과 전문이 일정 시간동안 상기 제1 결제 대행 서버로부터 수신되지 않는 경우, 상기 제1 결제 대행 서버와의 통신에 장애가 발생한 것으로 판단하는 카드 단말기.
The apparatus of claim 1, wherein the control unit
And determines that a failure has occurred in communication with the first payment agent server if the response message or the approval result message to the transmitted approval request message is not received from the first payment agent server for a predetermined period of time.
카드사 서버와 연결된 결제 대행 서버와의 통신을 통해 결제를 처리하는 카드 단말기에서 결제 정보를 처리하는 방법에 있어서,
제1 결제 모듈이 제1 결제 대행 서버의 송수신 데이터 프로토콜인 제1 통신 전문 형식 정보 및 제1 암호화 정보를 저장하며, 제2 결제 대행 서버에 대한 다운로드 서버의 주소를 저장하는 단계;
상기 제1 결제 모듈이 상기 제1 결제 대행 서버와의 상기 제1 통신 전문 형식 및 상기 제1 암호화 정보에 따라, 카드 결제를 위한 제1 승인 요청 전문을 생성하는 단계;
상기 제1 결제 모듈이 상기 생성된 제1 승인 요청 전문을 상기 제1 결제 대행 서버로 전송하는 단계;
제2 결제 모듈이 상기 제1 결제 대행 서버와의 통신 과정에서 장애가 발생하는 경우, 상기 다운로드 서버의 주소 정보를 이용하여 상기 다운로드 서버로 상기 제1 결제 대행 서버의 식별 정보를 전송하는 단계;
상기 제2 결제 모듈이 상기 다운로드 서버로부터 상기 제2 결제 대행 서버의 송수신 데이터 프로토콜인 제2 전문 형식 정보 및 제2 암호화 정보를 다운로드하는 단계;
상기 제2 결제 모듈이 상기 제2 결제 대행 서버의 상기 제2 전문 형식 정보 및 상기 제2 암호화 정보에 기초하여 제2 승인 요청 전문을 생성하는 단계; 및
상기 제2 결제 모듈이 상기 생성된 제2 승인 요청 전문을 상기 제2 결제 대행 서버로 전송하는 단계를 포함하고,
상기 다운로드 서버는 상기 제1 결제 대행 서버의 식별 정보로부터 상기 제2 결제 대행 서버가 상기 제1 결제 대행 서버와 제휴 관계에 있는지 여부에 따라, 상기 제2 결제 대행 서버의 제2 전문 형식 정보 및 상기 제2 암호화 정보를 포함하며 상기 카드 단말기가 상기 제2 결제 모듈을 이용해 상기 제2 결제 대행 서버로 승인 요청을 전송하기 위해 필요한 필요 데이터를, 상기 제2 결제 모듈로 전송하는 서버인
카드 단말기의 결제 정보 처리 방법.
A method for processing payment information in a card terminal that processes payment through communication with a payment agent server connected to a card issuer server,
The first payment module storing first communication format information and first encryption information which are transmission / reception data protocols of the first payment agent server and storing an address of a download server to the second payment agent server;
The first payment module generating a first approval request text for card settlement in accordance with the first communication professional format and the first encryption information with the first settlement proxy server;
The first payment module transmitting the generated first approval request message to the first payment agent server;
Transmitting the identification information of the first settlement agency server to the download server using the address information of the download server when the second settlement module fails in communication with the first settlement agency server;
Downloading second professional format information and second encryption information, which are transmission / reception data protocols of the second payment agent server, from the download server;
The second payment module generating a second approval request telegram based on the second professional format information and the second encryption information of the second payment agent server; And
And the second payment module transmits the generated second approval request message to the second payment agent server,
Wherein the download server extracts, based on the identification information of the first settlement proxy server, second professional format information of the second settlement agency server and the second professional format information of the second settlement proxy server based on whether the second settlement proxy server is in an affiliation relationship with the first settlement agency server A server for transmitting to the second payment module necessary data necessary for transmitting the approval request to the second payment agent server using the second payment module including the second encryption information,
A method of processing payment information of a card terminal.
삭제delete 삭제delete 제12항에 있어서,
상기 제1 결제 대행 서버와의 통신에 장애가 발생하는 경우, 상기 제2 승인 요청 전문과 함께 상기 제1 결제 대행 서버와 관련된 결제 대행사 식별 정보가 상기 제2 결제 대행 서버로 전송되는 카드 단말기의 결제 정보 처리 방법.
13. The method of claim 12,
When a failure occurs in the communication with the first payment agent server, the payment agent identification information associated with the first payment agent server together with the second approval request message is transmitted to the second payment agent server Processing method.
제12항에 있어서,
상기 제2 승인 요청 전문에 응답하여 상기 제2 결제 대행 서버로부터 전송되는 승인 결과 전문을 수신하는 단계;
상기 제2 결제 대행 서버로부터 수신된 승인 결과 전문을 상기 제1 결제 대행 서버와의 상기 제1 통신 전문 형식에 따라 변환하는 단계; 및
상기 제1 결제 대행 서버와의 통신 장애가 복구된 후, 상기 변환된 승인 결과 전문을 상기 제1 결제 대행 서버로 전송하는 단계를 더 포함하는 카드 단말기의 결제 정보 처리 방법.
13. The method of claim 12,
Receiving an approval result message transmitted from the second payment agent server in response to the second approval request message;
Converting the approval result telegram received from the second payment agent server according to the first communication professional format with the first payment agent server; And
Further comprising: after the communication failure with the first payment agent server is restored, transmitting the converted approval result message to the first payment agent server.
제16항에 있어서,
상기 제2 결제 대행 서버로부터 수신된 승인 결과 전문을 상기 제1 결제 대행 서버와의 통신을 위한 상기 제1 암호화 정보에 따라 암호화하는 단계; 및
상기 제1 결제 대행 서버와의 통신 장애가 복구된 후, 상기 암호화된 승인 결과 전문을 상기 제1 결제 대행 서버로 전송하는 단계를 더 포함하는 카드 단말기의 결제 정보 처리 방법.
17. The method of claim 16,
Encrypting the approval result message received from the second settlement proxy server according to the first encryption information for communication with the first settlement agency server; And
And transmitting the encrypted approval result message to the first payment agent server after the communication failure with the first payment agent server is restored.
제12항에 있어서,
상기 전송된 승인 요청 전문에 대한 응답 메시지 또는 승인 결과 전문이 일정 시간동안 상기 제1 결제 대행 서버로부터 수신되지 않는 경우, 상기 제1 결제 대행 서버와의 통신에 장애가 발생한 것으로 판단하는 단계를 더 포함하는 카드 단말기의 결제 정보 처리 방법.
13. The method of claim 12,
Further comprising the step of determining that a failure has occurred in the communication with the first settlement agency server if the response message or the approval result message to the transmitted approval request message is not received from the first settlement agent server for a predetermined period of time A method of processing payment information of a card terminal.
제12항, 제15항 내지 제18항 중 어느 한 항의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록 매체.A program for causing a computer to execute the method according to any one of claims 12, 15 to 18.
KR1020140080420A 2014-06-30 2014-06-30 Card terminal and Method for processing payment information thereof KR101639865B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140080420A KR101639865B1 (en) 2014-06-30 2014-06-30 Card terminal and Method for processing payment information thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140080420A KR101639865B1 (en) 2014-06-30 2014-06-30 Card terminal and Method for processing payment information thereof

Publications (2)

Publication Number Publication Date
KR20160002429A KR20160002429A (en) 2016-01-08
KR101639865B1 true KR101639865B1 (en) 2016-07-25

Family

ID=55170343

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140080420A KR101639865B1 (en) 2014-06-30 2014-06-30 Card terminal and Method for processing payment information thereof

Country Status (1)

Country Link
KR (1) KR101639865B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102599647B1 (en) * 2021-04-14 2023-11-06 주식회사 신세계아이앤씨 Method for card payment, system for card payment, and computer program stored in a recording medium to execute the method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050098341A (en) * 2004-04-06 2005-10-12 주식회사 비즈모델라인 System and method for alternative payment in mobile, information storing medium and recording medium for it
KR100973553B1 (en) * 2008-04-17 2010-08-03 한국정보통신주식회사 Method for Processing Payment Statement of Affiliate Payment Terminal, and Affiliate Store Payment Terminal
KR20140050168A (en) * 2012-10-18 2014-04-29 주식회사 비즈모델라인 Multiple payment method and terminal for payment

Also Published As

Publication number Publication date
KR20160002429A (en) 2016-01-08

Similar Documents

Publication Publication Date Title
DK2622585T5 (en) PIN verification for hubs and spokes
EP3466032B1 (en) Multi-level communication encryption
AU2018222938A1 (en) Transaction Processing
TW201545086A (en) System and method for electronic ticket peer to peer secure transfer on mobile devices by near field communication (NFC) technology
KR20140070648A (en) Method of paying for a product or service on a commercial website via an internet connection and a corresponding terminal
JP2017513167A (en) Remote transaction system, method and POS terminal
EP2779069A1 (en) Method and system for managing a transaction
KR20170004339A (en) Payment system. card reader, terminal for payment and method for processing card information thereof
KR20160002430A (en) Payment agency server, card terminal and accounting system for card payment, and method for processing payment information thereof
KR101751887B1 (en) Method for generating one-time card code, approving card payment, reader and server thereof
KR101699032B1 (en) Service providing system and method for payment using electronic tag
KR101639865B1 (en) Card terminal and Method for processing payment information thereof
KR101583726B1 (en) Apparatus and method for proccesing card transaction in a payment system
KR101511194B1 (en) METHOD AND SYSTEM OF MANAGING PAYMENT CHANNEL AND Recording Medium
KR101710950B1 (en) Method for distributing encrypt key, card reader and system for distributing encrypt key thereof
KR101639866B1 (en) Card terminal, communication server and Method for processing payment information thereof
TWI722333B (en) Card reading transaction system and method for operating a card reading transaction system
KR101583718B1 (en) Apparatus and method for proccesing card transaction in a payment system
US10685192B2 (en) Card reading transaction system with an intermediate server
KR101691169B1 (en) Method for distributing encrypt key, card reader, authentification server and system for distributing encrypt key thereof
KR20190081192A (en) A server for precessing approvals of payments, a payment terminal apparatus and a method of operating it
TWI841835B (en) Payment system and method for controlling area payment terminal through mobile device and computer readable medium thereof
KR20180064234A (en) Payment system using inaudible sound wave, server and method for processing payment thereof
KR101701461B1 (en) Method for distributing encrypt key, terminal, card reader and system for distributing encrypt key thereof
CN113014400B (en) Secure authentication of users and mobile devices

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant