KR20180117334A - Automatic test system for testing operation logic of traffic card payment terminal and test method for the same - Google Patents

Automatic test system for testing operation logic of traffic card payment terminal and test method for the same Download PDF

Info

Publication number
KR20180117334A
KR20180117334A KR1020170050311A KR20170050311A KR20180117334A KR 20180117334 A KR20180117334 A KR 20180117334A KR 1020170050311 A KR1020170050311 A KR 1020170050311A KR 20170050311 A KR20170050311 A KR 20170050311A KR 20180117334 A KR20180117334 A KR 20180117334A
Authority
KR
South Korea
Prior art keywords
computing device
payment terminal
communication
sam module
card
Prior art date
Application number
KR1020170050311A
Other languages
Korean (ko)
Other versions
KR102008219B1 (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 KR1020170050311A priority Critical patent/KR102008219B1/en
Publication of KR20180117334A publication Critical patent/KR20180117334A/en
Application granted granted Critical
Publication of KR102008219B1 publication Critical patent/KR102008219B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • 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/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/06Arrangements for road pricing or congestion charging of vehicles or vehicle users, e.g. automatic toll systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention relates to a technology related to an automatic test system for verifying the operation logic of a payment terminal for the payment of a card such as a transportation card. The automatic test system includes a card, a SAM module, and a PC. It is possible to test the business end of a SAM module region and the card.

Description

교통카드 결제단말기 운영로직에 대한 자동 시험시스템 및 방법{Automatic test system for testing operation logic of traffic card payment terminal and test method for the same} BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic test system and method for a traffic card payment terminal operation logic,

본 발명은 교통카드 결제단말기의 기능을 자동으로 시험하는 자동 시험시스템 기술에 관한 것으로서, 다양한 오류 케이스들을 기반으로 교통카드 결제단말기 운영로직을 시험하는 기술에 관한 것이다.The present invention relates to an automatic test system technology for automatically testing the function of a traffic card payment terminal and a technique for testing the operation logic of a traffic card payment terminal based on various error cases.

현대의 교통카드는 명함 크기의 일반카드 형태 및 액세서리 카드 형태를 거쳐 스마트폰과 같은 NFC(Near Field Communication) 지원 기기 내에 장착되는 형태로까지 발전하고 있다. 교통카드 사용자의 연령층에 따라 선택할 수 있는 다양한 형태의 교통카드가 제공되고 있다. 또한, 교통카드를 사용할 수 있는 인프라가 점차 확대되어, 교통카드 사용범위는 종래의 버스나 지하철과 같은 대중교통 결제 서비스뿐만 아니라, 근래의 편의점, 마트, 및 프랜차이즈를 거쳐 무인기기를 위한 결제 서비스까지 확대되고 있다.Hyundai traffic cards are being developed in the form of ordinary card-sized card and accessory card-sized business cards, and are installed in NFC (Near Field Communication) supporting devices such as smart phones. Various types of transportation cards can be selected according to the age group of the transportation card users. In addition, the infrastructure that can use the transportation card has been expanded so that the range of the transportation card usage extends not only to the public transportation payment service such as the conventional bus or the subway, but also to the settlement service for the unmanned airplane through the convenience store, mart, and franchise .

교통카드 결제서비스는 온라인 승인방식인 신용카드 서비스와는 달리 빠른 시간 내에 인증이 완료되어야 한다. 이를 위하여, 교통카드 결제방법은 SAM 인증을 사용하는 오프라인 승인방식을 이용할 수 있다. 또한, 교통카드 결제방법은 접촉방식인 신용카드 서비스와는 달리 HF(High Frequency) 대역의 주파수를 활용한 비접촉방식을 이용할 수 있다. 상기 오프라인 및 비접촉방식을 이용하는 사용 환경에서는, 신용카드 서비스를 위한 온라인 및 접촉방식을 이용하는 사용 환경에 비하여 더 다양한 오류상황이 발생할 수 있다. 결제단말기의 운영로직은 상기 오류상황을 처리할 수 있어야 한다. 결제단말기의 오류상황 처리 능력은 사용자 경험품질과 직결되기 때문에, 결제단말기의 운영로직은 매우 중요한 요소 중 하나이다.Unlike the credit card service, which is an online approval method, the transportation card payment service should be completed within a short time. For this purpose, the offline payment method using the SAM authentication can be used as the transportation card payment method. Also, unlike the contact credit card service, the transportation card payment method can use the non-contact method using the frequency of the HF (High Frequency) band. In the use environment using the offline and non-contact methods, more various error conditions may occur as compared with the usage environment using the online and contact methods for the credit card service. The operating logic of the payment terminal must be able to handle the error situation. Since the error handling capability of the payment terminal is directly related to the user experience quality, the operation logic of the payment terminal is one of the most important factors.

이에 따라, 개발된 결제단말기가 어떠한 운영로직을 통해 교통카드 결제서비스가 구현되어 있는지, 카드, SAM, 및 통신채널 중 어느 것에서든지 임의의 오류 상황이 발생되었을 때 어떻게 상기 오류를 보정하는지 현장 설치 이전에 검증할 수 있는 시험환경이 필요하다.Accordingly, when the developed payment terminal performs a transaction card settlement service through any operational logic, or if an arbitrary error situation occurs in any of the card, the SAM, and the communication channel, A test environment that can be verified is required.

본 발명에서는 상술한 필요성을 인지하여, 개발된 결제단말기가 교통카드 및 SAM과의 정상적 통신 외 비정상적인 오류 상황에서 어떠한 운영로직을 통해 구현되어있는지를 검증할 수 있는 자동 시험시스템 및 방법을 제공하고자 한다. The present invention provides an automatic test system and method that can verify whether the developed payment terminal is implemented through an operational logic in abnormal communication situations other than normal communication with a traffic card and a SAM .

본 발명의 일 관점에 따른 결제단말기 테스트 방법으로서, 컴퓨팅장치가, 상기 컴퓨팅장치와 SAM모듈 간에 통신채널을 수립하여, 상기 SAM모듈에서 실행되어야 하는 애플릿을 설정하는 초기화 프로세스; 상기 컴퓨팅장치가, 상기 컴퓨팅장치와 결제단말기 간의 통신을 위한 통신자원을 설정하는 자원할당 프로세스; 상기 컴퓨팅장치가, 상기 컴퓨팅장치와 상기 결제단말기 간에 준수해야 할 통신 파라미터를 설정하는 통신 파라미터 설정 프로세스; 상기 컴퓨팅장치가, 상기 컴퓨팅장치에서 제공하는 교통카드의 기능이 제공하는 서비스를 구현하기 위한 제1정보를 상기 결제단말기에 대하여 송수신하는 ISO 14443-4 파트 비즈니스 명령/응답 프로세스; 상기 SAM모듈이, 상기 서비스를 구현하기 위한 제2정보를 상기 결제단말기에 대하여 송수신하고, 상기 제2정보에 관한 로그를 상기 SAM모듈에 저장하는 테스트로그 저장 프로세스; 및 상기 컴퓨팅장치가, 상기 컴퓨팅장치와 SAM모듈 간에 통신채널을 수립하여, 상기 로그를 획득하는 테스트로그 획득 프로세스를 포함할 수 있다.There is provided a payment terminal testing method according to one aspect of the present invention, comprising: an initialization process of a computing device establishing a communication channel between the computing device and a SAM module to set an applet to be executed in the SAM module; The computing device comprising: a resource allocation process for setting communication resources for communication between the computing device and the payment terminal; A communication parameter setting process for setting a communication parameter that the computing device should comply with between the computing device and the payment terminal; An ISO 14443-4 part business command / response process for transmitting / receiving first information for implementing a service provided by a function of a traffic card provided by the computing device to the payment terminal; A test log storing process in which the SAM module transmits and receives second information for implementing the service to the payment terminal and stores a log relating to the second information in the SAM module; And a test log acquisition process in which the computing device establishes a communication channel between the computing device and the SAM module to obtain the log.

이때, 상기 SAM모듈은 상기 결제단말기로부터 상기 ISO 7816 비즈니스 명령을 수신하면, 상기 ISO 7816 비즈니스 명령에 대한 테스트 로그를 저장하도록 되어 있을 수 있다.At this time, the SAM module may be configured to store a test log for the ISO 7816 business command upon receiving the ISO 7816 business command from the payment terminal.

이때, 테스트로그 획득 프로세스에서, 상기 컴퓨팅장치가 PSAM 기능을 테스트하기 위하여, 상기 컴퓨팅장치와 상기 SAM모듈 간의 통신채널을 수립하도록 되어 있으며, 상기 컴퓨팅장치가 상기 SAM모듈에게 상기 로그를 요청하여 상기 로그를 전달받은 후 상기 컴퓨팅장치와 상기 SAM모듈 간의 통신채널을 해제하도록 되어 있을 수 있다.Wherein in the test log acquisition process, the computing device is configured to establish a communication channel between the computing device and the SAM module to test the PSAM functionality, wherein the computing device requests the log to the SAM module, And to release the communication channel between the computing device and the SAM module.

이때, 상기 자원할당 프로세스와 상기 통신 파라미터 설정 프로세서에서, 상기 컴퓨팅장치와 상기 결제단말기 간의 통신은 통신 중계용 중계장치를 통해 이루어질 수 있다.At this time, in the resource allocation process and the communication parameter setting processor, communication between the computing device and the payment terminal may be performed through a relay device for communication relay.

이때, 상기 초기화 프로세스는, 상기 컴퓨팅장치와 상기 SAM모듈 간에 통신채널을 수립하는 단계; 상기 컴퓨팅장치가 상기 SAM모듈에게 동작 애플릿 설정을 요청하는 단계; 상기 컴퓨팅장치가 상기 SAM모듈부터 상기 동작 애플릿 설정에 대한 응답을 수신하는 단계; 및 상기 컴퓨팅장치와 상기 SAM모듈 간의 통신채널을 해제하는 단계를 포함할 수 있다.Wherein the initialization process comprises: establishing a communication channel between the computing device and the SAM module; The computing device requesting the SAM module to configure an operational applet; The computing device receiving a response to the operational applet configuration from the SAM module; And releasing a communication channel between the computing device and the SAM module.

이때, 상기 컴퓨팅장치와 상기 통신 중계용 중계장치 간의 통신은 실시간 무선통신기술을 통해 이루어지며, 상기 통신 중계용 중계장치와 상기 결제단말기 간의 통신은 ISO14443 통신규격을 이용하며, 상기 SAM모듈과 상기 결제단말기 간의 통신은 ISO7816 통신규격을 이용할 수 있다.In this case, communication between the computing device and the relay device for communication relay is performed through real-time wireless communication technology, and communication between the relay device for communication relay and the payment terminal uses the ISO14443 communication standard, The communication between terminals can use ISO7816 communication standard.

본 발명의 일 관점에 따라 컴퓨팅장치 및 SAM모듈을 포함하는 결제단말기 테스트 시스템을 제공할 수 있다. 이때, 상기 컴퓨팅장치는, 상기 컴퓨팅장치와 상기 SAM모듈 간에 통신채널을 수립하여, 상기 SAM모듈에서 실행되어야 하는 애플릿을 설정하는 초기화 프로세스; 상기 컴퓨팅장치와 결제단말기 간의 통신을 위한 통신자원을 설정하는 자원할당 프로세스; 상기 컴퓨팅장치와 상기 결제단말기 간에 준수해야 할 통신 파라미터를 설정하는 통신 파라미터 설정 프로세스; 및 상기 컴퓨팅장치에서 제공하는 교통카드의 기능이 제공하는 서비스를 구현하기 위한 제1정보를 상기 결제단말기에 대하여 송수신하는 ISO 14443-4 파트 비즈니스 명령/응답 프로세스를 실행하도록 되어 있을 수 있다. 그리고 상기 SAM모듈은, 상기 서비스를 구현하기 위한 제2정보를 상기 결제단말기에 대하여 송수신하고, 상기 제2정보에 관한 로그를 상기 SAM모듈에 저장하는 테스트로그 저장 프로세스를 실행하도록 되어 있으며, 상기 컴퓨팅장치는, 상기 컴퓨팅장치와 SAM모듈 간에 통신채널을 수립하여, 상기 로그를 획득하는 테스트로그 획득 프로세스를 더 실행하도록 되어 있을 수 있다.According to an aspect of the present invention, a payment terminal test system including a computing device and a SAM module can be provided. The computing device may include: an initialization process of establishing a communication channel between the computing device and the SAM module and setting an applet to be executed in the SAM module; A resource allocation process for setting a communication resource for communication between the computing device and the payment terminal; A communication parameter setting process for setting communication parameters to be complied with between the computing device and the payment terminal; And an ISO 14443-4 part business command / response process for transmitting / receiving first information for implementing a service provided by a function of a traffic card provided in the computing device to the payment terminal. The SAM module is configured to execute a test log storing process of transmitting and receiving second information for implementing the service to the payment terminal and storing a log of the second information in the SAM module, The apparatus may be adapted to establish a communication channel between the computing device and the SAM module to further execute a test log acquisition process to obtain the log.

본 발명에 따르면, 교통카드에 대한 결제서비스를 제공하는 결제단말기에 인스톨된 운영로직에 오류가 있는지 여부를 확인하기 위한 자동 시험시스템로서, 다양한 오류 케이스를 이용하여 상기 결제단말기를 시험할 수 있는 자동 시험시스템을 제공할 수 있다. 상기 자동 시험시스템을 통해 상기 운영로직을 다양하고 정확하게 시험할 수 있다. According to the present invention, there is provided an automatic test system for verifying whether or not an operation logic installed in a payment terminal providing a payment service for a traffic card has an error, and an automatic test system for automatically testing the payment terminal using various error cases A test system can be provided. The operating logic can be tested variously and accurately through the automated test system.

예컨대, 본 발명에 따르면 교통카드 결제 도중 발생할 수 있는 다양한 돌발상황을 재현할 수 있다. For example, according to the present invention, it is possible to reproduce various unexpected situations that may occur during payment of a transportation card.

또한, 본 발명에 따르면 교통카드 결제오류상황에 대처하는 결제단말기 운영로직을 검증할 수 있다. In addition, according to the present invention, it is possible to verify the settlement terminal operation logic to cope with a traffic card settlement error situation.

또한, 본 발명에 따르면 자동 시험시스템을 구성하는 각 기능부, 즉 각 도메인 간의 무선통신방식을 활용하여 테스트 유동성을 강화할 수 있다. 즉, PC, SAM, 결제단말기, 및 카드 간의 무선통신방식을 활용하여 테스트 유동성을 강화할 수 있다. Further, according to the present invention, the test fluidity can be enhanced by utilizing each functional unit constituting the automatic test system, that is, the wireless communication method between each domain. That is, the test fluidity can be enhanced by utilizing the wireless communication method between the PC, the SAM, the payment terminal, and the card.

본 발명에 따른 자동 시험시스템을 이용하여, 결제단말기의 운영로직을 시험함으로써, 결제단말기를 실제 사용할 때에 사용자가 느끼는 결제품질수준을 확보할 수 있다. By testing the operation logic of the payment terminal using the automatic test system according to the present invention, it is possible to secure the level of payment quality that the user feels when actually using the payment terminal.

또한, 본 발명을 교통카드 결제단말기 성능평가에 적용할 경우, 교통카드에 대한 정상적인 결제케이스 외 무선통신환경에서 발생될 수 있는 다양한 오류 케이스들을 현장 적용 이전에 확인해볼 수 있다. In addition, when the present invention is applied to the performance evaluation of a transportation card payment terminal, various error cases that may occur in a wireless communication environment other than a normal payment case for a transportation card can be checked before application to the field.

또한, 상기 자동 시험시스템을 통해, 카드 외 서비스에 대한 인증키를 가지고 있는 SAM(Secure Access Module)에 대한 오류 케이스를 시험할 수 있다. 이에 따라, 결제단말기에 있어서, SAM에 대한 접촉 환경과 카드에 대한 비접촉 환경 모두를 온전히 시험할 수 있다.In addition, through the automatic test system, an error case for a SAM (Secure Access Module) having an authentication key for a non-card service can be tested. Accordingly, the payment terminal can fully test both the contact environment for the SAM and the non-contact environment for the card.

또한, 본 발명에 따른 자동 시험시스템은, 시험에 필요한 구성이 가볍고 간단하여 휴대가 용이하여 유사 시 현장에서도 활용이 쉽고, 시험환경 구성을 위해 소요되는 비용이 동일한 목적의 기 상용화 되어있는 제품들에 비해 낮아 가격 경쟁력을 갖출 수 있다.In addition, the automatic test system according to the present invention is easy to use because it is light and simple to carry and easy to use even in a similar situation, and the cost required for constructing a test environment is equal to that of a commercially available product The price competitiveness can be achieved.

도 1은 종래의 기 상용화 되어 있는 에뮬레이터에 대한 연결구성을 나타낸 것이다.
도 2는 본 발명의 일 실시예에 따른 자동 시험시스템의 구성을 나타낸 것이다.
도 3은 본 발명의 일 실시예에 따른 자동 시험시스템의 구동 순서도를 나타낸 것이다.
FIG. 1 shows a connection configuration to a conventional emulator used in a gas phase.
2 shows a configuration of an automatic test system according to an embodiment of the present invention.
FIG. 3 shows a driving sequence of an automatic test system according to an embodiment of the present invention.

이하, 본 발명의 실시예를 첨부한 도면을 참고하여 설명한다. 그러나 본 발명은 본 명세서에서 설명하는 실시예에 한정되지 않으며 여러 가지 다른 형태로 구현될 수 있다. 본 명세서에서 사용되는 용어는 실시예의 이해를 돕기 위한 것이며, 본 발명의 범위를 한정하고자 의도된 것이 아니다. 또한, 이하에서 사용되는 단수 형태들은 문구들이 이와 명백히 반대의 의미를 나타내지 않는 한 복수 형태들도 포함한다.Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. However, the present invention is not limited to the embodiments described herein, but may be implemented in various other forms. The terminology used herein is for the purpose of understanding the embodiments and is not intended to limit the scope of the present invention. Also, the singular forms as used below include plural forms unless the phrases expressly have the opposite meaning.

도 1은 종래의 기 상용화 되어 있는 에뮬레이터에 대한 연결구성을 나타낸 것이다.FIG. 1 shows a connection configuration to a conventional emulator used in a gas phase.

종래의 카드 에뮬레이터(120)는, 컴퓨터에서 동작하는 테스팅 플랫폼(Testing Platform)(110)을 기반으로 결제단말기(140)를 테스트할 수 있다. 이때, 카드 에뮬레이터(120)에는 결제단말기(140)와의 통신을 지원하는 NFC 인터페이스 장치(130)가 연결될 수 있다. 즉, 카드 에뮬레이터(120)는 NFC를 지원하는 카드를 모사하는 것인데, 카드 에뮬레이터(120)에 NFC를 위한 코일이 제공되어 있지 않다면, 코일 기능을 제공하는 별도의 NFC 인터페이스 장치(130)를 카드 에뮬레이터(120)에 제공할 수 있는 것이다.The conventional card emulator 120 can test the payment terminal 140 based on a testing platform 110 operating on the computer. At this time, the card emulator 120 may be connected to an NFC interface device 130 that supports communication with the payment terminal 140. That is, the card emulator 120 simulates a card supporting NFC. If the card emulator 120 is not provided with a coil for NFC, a separate NFC interface device 130, which provides a coil function, (120).

카드 에뮬레이터(120)는 국제표준 기반으로 프로토콜 테스트가 가능하며, ISO 14443 표준에 대하여 ISO 10373-6 표준대로 프로토콜 테스트가 가능하도록 구성될 수 있다.The card emulator 120 can be protocol tested based on international standards and configured to be protocol tested according to ISO 10373-6 standard for the ISO 14443 standard.

종래의 카드 에뮬레이터(120)는 결제단말기를 개발하는 개발사가 제공하는 프레임워크 안에서 ISO 표준에 정의되어 있는 공통적 사항에 대한 에뮬레이션만 가능하다는 단점이 있다. 즉, 무선통신채널 형성과정에서의 오류상황만 테스트가 가능하다. The conventional card emulator 120 has a disadvantage in that it can only emulate common items defined in the ISO standard within a framework provided by a developer developing a payment terminal. That is, it is possible to test only the error condition in the process of forming the wireless communication channel.

또한, 상기 카드 에뮬레이터(120)에는 상기 카드 교통카드 서비스에 대한 어플리케이션이 구현되어 있지 않기 때문에 카드 및 SAM 영역의 비즈니스 로직의 테스트이 불가능하다. In addition, since the application for the card transportation card service is not implemented in the card emulator 120, it is impossible to test the business logic of the card and the SAM area.

본 명세서에서 말하는 비즈니스 로직이란, 예컨대 교통카드 서비스를 제공하는 두 개의 독립적인 회사인 A사와 B사가 있을 때에, A사가 제공하는 제1교통카드 서비스는 B사가 제공하는 제2교통카드 서비스와는 서로 다를 수 있다. 이때, 상기 제1교통카드 서비스를 제공하기 위한 논리적인 순서의 흐름을 제1비즈니스 로직이라고 지칭한다면, 상기 제2교통카드 서비스를 제공하기 위한 논리적인 순서의 흐름을 제2비즈니스 로직이라고 지칭할 수 있다. 즉, 본 명세서에서 비즈니스 로직은 각 카드발행사별로 가지고 있는 고유한 서비스를 지칭하는 것일 수 있다.The business logic referred to in the present specification is a business logic in which, for example, there are two independent companies, A and B, which provide a transportation card service, the first traffic card service provided by A company is different from the second traffic card service provided by B company can be different. Herein, if a logical sequence flow for providing the first traffic card service is referred to as a first business logic, a flow of a logical sequence for providing the second traffic card service may be referred to as a second business logic have. That is, in this specification, the business logic may refer to a unique service possessed by each card issuer.

마지막으로, 상기 카드 에뮬레이터(120)의 사용은 장비의 구현환경이 유선을 기본으로 하고 있기 때문에 휴대성 및 편의성이 떨어진다는 단점이 있다.Finally, the use of the card emulator 120 is disadvantageous in terms of portability and convenience because the implementation environment of the device is based on a wired network.

도 2는 본 발명의 일 실시예에 따른 자동 시험시스템의 구성을 나타낸 것이다.2 shows a configuration of an automatic test system according to an embodiment of the present invention.

자동 시험시스템은 PC(또는 Tablet)(10), 카드(20), 및 SAM모듈(Secure Access Module)(30)을 포함할 수 있다. 상기 자동 시험시스템을 통해 결제단말기(TUT, Terminal Under Test)(40)를 테스트할 수 있다.The automated test system may include a PC (or Tablet) 10, a card 20, and a SAM (Secure Access Module) 30. The terminal under test (TUT) 40 can be tested through the automatic test system.

PC(10)는 정상적인 교통카드 기능 및/또는 비정상적인 교통카드 기능을 제공할 수 있다. 즉, PC(10)는 다양한 교통카드(선불, 후불, 정기권, 관광권 등)가 제공하는 기능을 제공할 수 있다. 또한, PC(10)는, 카드(20) 및/또는 SAM모듈(30)을 위한 정상 테스트 스크립트 및 비정상 테스트 스크립트를 저장하고 실행할 수 있으며, 상기 정상 테스트 스크립트 및 비정상 테스트 스크립트의 실행결과를 확인할 수 있다. 카드(20)와 SAM모듈(30)은 결제단말기(40)와 통신을 위한 통신 매개체로서, PC(10)가 요청하는 대로 동작하도록 되어있다. The PC 10 may provide normal traffic card functions and / or abnormal traffic card functions. That is, the PC 10 can provide functions provided by various transportation cards (prepaid, postpaid, commuter pass, sightseeing pass, etc.). In addition, the PC 10 can store and execute normal test scripts and abnormal test scripts for the card 20 and / or the SAM module 30, and can confirm the execution results of the normal test scripts and abnormal test scripts have. The card 20 and the SAM module 30 are communication media for communication with the payment terminal 40 and are designed to operate as requested by the PC 10.

상기 정상 테스트 스크립트는 에뮬레이터로서 기능하는 카드(20) 또는 SAM모듈(30)이 시중에서 사용되고 있는 일반 카드나 SAM과 동일하게 동작할 수 있도록 구현된 시나리오를 실행하기 위한 것이다. 그리고 상기 비정상 테스트 스크립트는 에뮬레이터로서 기능하는 카드(20) 또는 SAM모듈(30)이 테스터가 원하는 특정시점 또는 구간에서 원하는 오류를 발생시키는 시나리오를 실행하기 위한 것이다.The normal test script is for executing a scenario implemented so that the card 20 functioning as an emulator or the SAM module 30 can operate in the same manner as a general card or SAM used in the market. The abnormal test script is for executing a scenario in which the card 20 or the SAM module 30 functioning as an emulator generates a desired error at a specific time or section desired by the tester.

카드(20) 및 SAM모듈(30)과 비접촉식 또는 접촉식으로 통신하는 결제단말기(40)에서 응답신호를 기다릴 때에, 기다리는 최대 시간, 즉 타임아웃 시간은, PC(10)가 제공하는 교통카드 기능에서 제공하는 서비스에 따라 미리 설정되어 있을 수 있다. 이때, SAM모듈(30)은 상기 타임아웃 시간을 미리 알고 있어야 할 경우가 있을 수 있으며, 이를 위하여 SAM모듈(30)은 PC(10)로부터 동작할 스크립트를 미리 제공받을 수 있다. 즉, 본 발명의 일 실시예에서, PC(10)는 상기 테스트 스크립트들을 상기 카드 및 상기 SAM모듈(30)에게 제공할 수 있으며, 상기 카드 및 상기 SAM모듈(30)은 각각 제공받은 스크립트를 실행할 수 있다. 즉, PC(10)는 카드용 테스트 스크립트와 SAM모듈용 테스트 스크립트를 갖고 있을 수 있다. The maximum waiting time, i.e., the timeout time, when waiting for a response signal in the payment terminal 40 communicating with the card 20 and the SAM module 30 in a noncontact or contact manner, May be preset according to the service provided by the service provider. At this time, the SAM module 30 may need to know the timeout time in advance. For this, the SAM module 30 can receive a script to be operated from the PC 10 in advance. That is, in an embodiment of the present invention, the PC 10 may provide the test scripts to the card and the SAM module 30, and the card and the SAM module 30 may execute the provided scripts . That is, the PC 10 may have a test script for a card and a test script for a SAM module.

한편 본 발명의 다른 실시예에서는, 테스트 스크립트들은 PC(10)에 의해 실행되며, 이때, 카드(20) 및 SAM모듈(30)은 상기 테스트 스크립트들을 PC(10)로부터 제공받지 않을 수도 있다.Meanwhile, in another embodiment of the present invention, the test scripts are executed by the PC 10, and the card 20 and the SAM module 30 may not receive the test scripts from the PC 10 at this time.

카드(20)와 SAM모듈(30)이 정상으로 동작할지 아니면 비정상으로 동작할지 여부는, PC(10)에서 실행하는 테스트 스크립트가 정상 테스트 스크립트인지 아니면 비정상 테스트 스크립트인지에 의해서 결정될 수 있다. 이때 상기 정상 테스트 스크립트는 상기 카드(20) 및 상기 SAM모듈(30)을 정상적으로 동작시키는 스크립트로서, 상기 카드(20) 및 상기 SAM모듈(30)이 상기 정상 테스트 스크립트를 이용하면 정상적인 거래상황을 재현할 수 있다. 이로써 정상적인 거래상황에서의 결제단말기(40)의 반응을 관찰할 수 있다. 상기 정상 테스트 스크립트를 이용하면, 카드(20)와 SAM모듈(30)을 모두 정상적으로 동작시키는 경우에는 정상적으로 거래되는 상황을 재현할 수 있으며, 카드(20)와 SAM모듈(30) 중 어느 하나만을 비정상 동작시키면 특정한 오류상황을 재현할 수 있는 스크립트일 수 있다.Whether the card 20 and the SAM module 30 operate normally or abnormally can be determined by whether the test script executed in the PC 10 is a normal test script or an abnormal test script. The normal test script is a script for normally operating the card 20 and the SAM module 30. When the card 20 and the SAM module 30 use the normal test script, can do. Thus, the reaction of the payment terminal 40 in a normal transaction situation can be observed. If normal operation of both the card 20 and the SAM module 30 is performed using the normal test script, it is possible to reproduce a situation in which the card 20 and the SAM module 30 are normally traded, It can be a script that can reproduce a specific error situation when run.

SAM모듈(30)은 PC(10)가 요청하는 테스트 스크립트로 동작할 수 있으며, 이를 위하여 SAM모듈(30)에는 PC(10)와 원활한 통신이 가능한 통신장치(WiFi 또는 BLE) 및 소프트웨어가 포함되어 있을 수 있다. The SAM module 30 can operate as a test script requested by the PC 10. To this end, the SAM module 30 includes a communication device (WiFi or BLE) and software capable of smooth communication with the PC 10 Can be.

그리고 상기 비정상 테스트 스크립트는 상기 교통카드기능을 에뮬레이션하는 PC(10) 및/또는 상기 SAM모듈(30)을 비정상적으로 동작시키는 스크립트로서, 상기 PC(10) 및/또는 상기 SAM모듈(30)이 상기 비정상 테스트 스크립트를 이용하면 특정한 오류케이스를 재현하거나 조성할 수 있다. 이로써, 오류가 존재하는 거래상황에서의 결제단말기(40)의 반응을 관찰할 수 있다. 즉, 결제단말기(40)가 오류상황에 잘 대처하는지를 확인할 수 있다. 이에 따르면 특정한 오류케이스를 재현 또는 조성함으로써 결제단말기(40)의 오류케이스 해결로직 또는 운용로직을 시험할 수 있다.The abnormal test script is a script for abnormally activating the PC 10 and / or the SAM module 30 emulating the traffic card function, and the PC 10 and / or the SAM module 30 Abnormal test scripts allow you to reproduce or construct specific error cases. Thereby, it is possible to observe the reaction of the payment terminal 40 in a transaction situation where an error exists. That is, the payment terminal 40 can confirm whether or not the payment terminal 40 responds well to the error situation. According to this, the error case resolution logic or operation logic of the payment terminal 40 can be tested by reproducing or constructing a specific error case.

PC(10)는 PC(10)와 동일한 기능을 수행할 수 있는 다른 장치(수단)로 대체될 수 있다. 예컨대 태블릿이 PC를 대신하여 사용될 수도 있다.The PC 10 may be replaced with another device (means) capable of performing the same function as the PC 10. [ For example, a tablet may be used instead of a PC.

카드(20)는 PC(10)와 결제단말기(40) 간의 통신 데이터를 수신하여 전달하는 역할(Dummy 역할)을 할 수 있다. 즉, PC(10)로부터 수신한 통신 데이터를 결제단말기(40)로 전달할 수 있으며, 결제단말기(40)에서 수신한 통신 데이터를 PC(10)로 전달할 수 있다. The card 20 may serve to receive and communicate communication data between the PC 10 and the payment terminal 40 (dummy role). That is, the communication data received from the PC 10 can be transferred to the payment terminal 40, and the communication data received from the payment terminal 40 can be transferred to the PC 10.

본 발명의 일 실시예에 따라 제공되는 시험환경의 경우, 구현된 카드(20)는 결제단말기(40)와의 무선통신을 위해 결제단말기에(40)에 대해 태그되기 때문에 '카드'라고 지칭하고 있을 뿐이며, 실제로 카드(20)가 제공하는 기능은 PC(10)와 결제단말기(40) 사이에 송수신되는 데이터를 중계하는 트랜시버 역할 뿐이다. 따라서 실제 생활환경에서 사용하는 교통카드와 같은 카드 기능은 PC(10)가 갖고 있을 뿐이다.In the test environment provided in accordance with an embodiment of the present invention, the implemented card 20 may be referred to as a 'card' because it is tagged to the payment terminal 40 for wireless communication with the payment terminal 40 In fact, the function provided by the card 20 only serves as a transceiver for relaying data transmitted and received between the PC 10 and the payment terminal 40. Therefore, the PC 10 only has card functions such as a transportation card used in a real life environment.

즉, PC(10)는 교통카드 비즈니스 로직단을 제어할 수 있으며, 카드(20)는 PC(10)와 결제단말기(40) 사이에서 데이터를 주고받는 송수신기 역할을 할 수 있다. 교통카드 비즈니스 로직단을 제어하는 것은 카드(20)가 아니라 교통카드 기능을 갖고 있는 PC(10)이다.That is, the PC 10 can control the traffic card business logic unit, and the card 20 can serve as a transceiver for exchanging data between the PC 10 and the payment terminal 40. The control of the traffic card business logic unit is not the card 20 but the PC 10 having the traffic card function.

상기 비즈니스 로직은 PC(10)와 결제단말기(40) 간에 완성되는 되는 것이므로, PC(10)와 결제단말기(40)는 모두 상기 비즈니스 로직에서 각자 담당해야 하는 기능을 실행할 수 있어야 한다.Since the business logic is completed between the PC 10 and the payment terminal 40, both the PC 10 and the payment terminal 40 must be able to execute their respective functions in the business logic.

그리고 카드(20)는 ISO14443 프로토콜(Protocol)단을 제어할 수 있다. 예컨대, 카드(20)는 결제단말기(40)로부터 어떠한 실행 요청을 받은 경우에도 이에 대하여 응답하지 않는 무응답 처리를 할 수 있다. 또한, 카드(20)는, 결제단말기 명령어에 대하여 카드가 응답을 주는데 소요되는 시간에 관한 정보(FWI; Frame Waiting-time Integer)를 처리할 수 있다. 그리고 카드(20)는, 복수 개의 교통카드가 결제단말기와 통신할 경우, 각 교통카드를 식별할 수 있는 논리적 호칭 부여 정보인 CID(Card IDentifier)를 처리할 수 있다.And the card 20 can control the ISO14443 protocol stage. For example, the card 20 can perform non-response processing that does not respond to any execution request from the payment terminal 40. [ In addition, the card 20 can process information (FWI: Frame Waiting-time Integer) about the time required for the card to give a response to the payment terminal command. When the plurality of traffic cards communicate with the payment terminal, the card 20 can process CID (Card IDentifier) which is logical naming information for identifying each traffic card.

카드(20)는 카드(20)와 동일한 기능을 수행할 수 있는 임의의 현태의 다른 장치(카드에 준하는 장치)로 대체될 수 있다. The card 20 may be replaced with any other device (card-like device) that can perform the same function as the card 20. [

SAM모듈(30)은 교통지불거래를 위한 승인모듈인 교통 PSAM(Purchase Secure Access Module)의 기능을 수행할 수 있다. 그리고 SAM모듈(30)은 정상 및 비정상 테스트 기능을 위한 애플릿(Applet)을 실행할 수 있다. The SAM module 30 can perform a function of a purchase PSA (Access Secure Access Module), which is an approval module for traffic payment transactions. And the SAM module 30 may execute an applet for normal and abnormal test functions.

PC(10), 카드(20), SAM모듈(30), 및 결제단말기(TUT)(40)은 각각 본 명세서에서 서로 구분되는 '도메인'으로 지칭될 수 있다. PC(10), 카드(20), SAM모듈(30), 및 결제단말기(TUT)(40)의 각 도메인은 상호 간에 미리 지정되어 있는 무선통신규격으로 데이터를 주고받을 수 있다.  The PC 10, the card 20, the SAM module 30, and the payment terminal (TUT) 40 may be referred to as 'domains', which are distinguished from each other in this specification. The respective domains of the PC 10, the card 20, the SAM module 30, and the settlement terminal (TUT) 40 can exchange data with each other in a predetermined radio communication standard.

예컨대, PC(10)와 카드(20) 간의 통신은 블루투쓰(Blutooth) 또는 와이파이(WiFi)와 같은 기술을 통해 실시간(Real-time)으로 이루어질 수 있다. PC(10)와 SAM모듈(30) 간의 통신은 블루투쓰와 같은 무선통신기술을 통해 비실시간(Non Real-time)으로 이루어질 수 있다. 카드(20)와 결제단말기(40) 간에는 ISO14443 통신규격을 사용할 수 있다. 그리고 결제단말기(40)와 SAM모듈(30) 간에는 ISO 7816 표준에 따라 유선통신규격을 사용할 수 있다.For example, the communication between the PC 10 and the card 20 can be realized in real time through a technique such as Bluetooth or WiFi. Communication between the PC 10 and the SAM module 30 can be made in a non-real-time manner through a wireless communication technology such as Bluetooth. The ISO14443 communication standard can be used between the card 20 and the payment terminal 40. [ The wired communication standard may be used between the payment terminal 40 and the SAM module 30 according to the ISO 7816 standard.

이때, 상술한 자동 시험시스템의 구성들 중 카드(20)나 SAM모듈(30)은 동일한 기능을 갖는 모듈 또는 제품으로 대체가 가능하다. 또한, PC(10), 카드(20), 및 SAM모듈(30) 간의 통신을 위한 통신 규격도 필요 시 다른 통신 규격의 활용이 가능할 수 있다. 즉, PC(10)와 카드(20), PC(10)와 SAM모듈(30) 간의 통신은 블루투쓰가 아닌 다른 통신규격, 예컨대 유선 방식인 USB 통신, 또는 무선 방식인 WiFi를 사용할 수도 있다.At this time, the card 20 or the SAM module 30 among the configurations of the above-described automatic test system can be replaced with a module or a product having the same function. Further, a communication standard for communication between the PC 10, the card 20, and the SAM module 30 may be used if necessary. That is, communication between the PC 10 and the card 20, and communication between the PC 10 and the SAM module 30 may be performed using a communication standard other than Bluetooth, for example, a wired USB communication or a wireless type WiFi.

도 3은 본 발명의 일 실시예에 따른 자동 시험시스템의 구동 순서도를 나타낸 것이다. FIG. 3 shows a driving sequence of an automatic test system according to an embodiment of the present invention.

이때, 상기 자동 시험시스템은 PC, 카드, 및 SAM모듈을 포함하며, 다양한 실시예에 따라 결제단말기를 포함할 수도 있고 포함하지 않을 수도 있다.At this time, the automatic test system includes a PC, a card, and a SAM module, and may or may not include a payment terminal according to various embodiments.

본 발명의 일 실시예에서는 상기 자동 시험시스템이 PC, 카드, SAM모듈, 및 결제단말기를 포함하는 것으로 한다.In an embodiment of the present invention, the automatic test system includes a PC, a card, a SAM module, and a payment terminal.

<애플릿 설정 프로세스><Applet setting process>

이하, 단계(S10) 내지 단계(S13)는 PC와 SAM모듈 간에, SAM모듈에서 실행되어야 하는 애플릿을 설정하는 단계를 나타낸 것이다. 즉, 결제단말기의 테스트를 위한 준비단계일 수 있다. Hereinafter, steps S10 to S13 show a step of setting an applet to be executed in the SAM module between the PC and the SAM module. That is, it may be a preparation step for testing the payment terminal.

본 발명의 일 실시예에서 PC(10)와 카드(20) 간에는 실시간 통신이 이루어질 수 있다. 그러나 이때, PC(10)와 SAM모듈(30) 간에는 실시간 통신이 이루어지지 않을 수 있다. 따라서 SAM모듈(30)이 결제단말기(40)와의 통신 중 어떤 상황에서 어떻게 응답을 줄 것인지를 PC(10)가 매 순간 모니터링할 수 없다. 또한, SAM모듈(30)이 결제단말기(40)와의 통신 중 어떤 상황에서 어떻게 응답을 할지에 대해서 PC(10)가 실시간으로 지시할 수도 없다는 문제가 있다. 이러한 문제를 해결하기 위하여, SAM모듈(30)에는 SAM모듈의 정상동작 애플릿, SAM모듈의 비정상동작#1 애플릿, 및 SAM모듈의 비정상동작#2 애플릿 등 다양한 애플릿이 미리 탑재될 필요가 있으며, 이를 위하여, SAM모듈(30)에는 애플릿 실행을 위한 OS가 인스톨되어 있을 수 있다. 따라서 후술하는 단계(S10) 내지 단계(S13)를 통해서, PC(10)는 SAM모듈(30)에서 실행되어야 하는 애플릿을 설정할 수 있으며, 상기 애플릿은 SAM모듈(30)에 미리 제공되어 있거나 또는 PC(10)가 SAM모듈(30)에게 통신채널을 통해 제공할 수도 있다. 이와 같이 도 2에 나타낸 SAM모듈(30)은 결제단말기(40)의 테스트를 위해 제공된 장치로서, 실제 교통카드 사용 환경에서 동작하는 SAM과는 다를 수 있다.In the embodiment of the present invention, real-time communication can be performed between the PC 10 and the card 20. [ However, at this time, real-time communication between the PC 10 and the SAM module 30 may not be performed. Accordingly, the PC 10 can not monitor every moment how the SAM module 30 will respond in a certain situation during communication with the payment terminal 40. [ In addition, there is a problem that the PC 10 can not instruct in real time how the SAM module 30 responds under certain circumstances during communication with the payment terminal 40. [ In order to solve such a problem, it is necessary for the SAM module 30 to preload various applets such as the normal operation applet of the SAM module, the abnormal operation # 1 applet of the SAM module, and the abnormal operation # 2 applet of the SAM module, An OS for executing an applet may be installed in the SAM module 30. The PC 10 can set up an applet to be executed in the SAM module 30 through the steps S10 to S13 described later and the applet is provided in advance to the SAM module 30, (10) may be provided to the SAM module (30) through a communication channel. The SAM module 30 shown in FIG. 2 is provided for testing the payment terminal 40, and may be different from the SAM operating in the actual traffic card use environment.

본 발명의 일 실시예에서, PC(10), 카드(20), 및 SAM모듈(30)은 모두 TUT인 결제단말기(40)의 시험을 위한 시험장치로 간주될 수 있다. 따라서 PC(10)가 제공하는 교통카드의 기능은 시장에 실제로 제공되는 교통카드의 기능과는 다를 수 있으며, SAM모듈(30)도 시장에 실제로 제공되는 SAM과는 다를 수 있다.In one embodiment of the present invention, the PC 10, the card 20, and the SAM module 30 may all be considered as test devices for testing of the payment terminal 40, which is a TUT. Therefore, the function of the transportation card provided by the PC 10 may be different from the function of the transportation card actually provided to the market, and the SAM module 30 may be different from the SAM actually provided on the market.

단계(S10)에서, PC(10)와 SAM모듈(30) 간의 통신채널을 수립할 수 있다.In step S10, a communication channel between the PC 10 and the SAM module 30 can be established.

단계(S11)에서, PC(10)가 SAM모듈(30)에게 SAM모듈(30)에서 실행될 수 있는 다양한 애플릿들 중 동작시키고자 하는 동작 애플릿의 설정을 요청할 수 있다.In step S11, the PC 10 may request the SAM module 30 to set the operation applet to operate among the various applets that can be executed in the SAM module 30. [

단계(S12)에서, SAM모듈(30)이 PC(10)에게 상기 동작 애플릿의 설정에 대한 응답을 전달할 수 있다. In step S12, the SAM module 30 may transmit a response to the setting of the operation applet to the PC 10. [

단계(S13)에서, PC(10)와 SAM모듈(30) 간의 통신채널을 해제할 수 있다. In step S13, the communication channel between the PC 10 and the SAM module 30 can be released.

단계(S10~S13)이 실행되면, SAM모듈(30)에서 상기 동작 애플릿이 실행될 수 있다. When the steps S10 to S13 are executed, the operation applet can be executed in the SAM module 30. [

이하, 단계(S20) 내지 단계(S37)는 실제로 결제단말기가 테스트되는 단계들을 나타낸 것이다.Hereinafter, steps S20 to S37 show steps in which the payment terminal is actually tested.

<초기화 프로세스><Initialization Process>

단계(S20)에서, 결제단말기(40)에 전원을 인가할 수 있다.In step S20, the payment terminal 40 can be powered on.

단계(S21)에서, PC(10)와 카드(20) 간의 통신채널을 수립할 수 있다. 이를 위하여 PC(10)는 카드(20)에게 통신채널 수립을 요청하는 메시지를 전송하고, 카드(20)는 상기 메시지에 응답하여 상기 통신채널을 수립할 수 있다. 반대로, 카드(20)는 PC(10)에게 통신채널 수립을 요청하는 메시지를 전송하고, PC(10)는 상기 메시지에 응답하여 상기 통신채널을 수립할 수 있다. 또는 PC(10)와 카드(20) 간에는 미리 유선 또는 무선의 전용 통신채널이 수립되어 있을 수 있다. 이때 PC(10)와 카드(20) 간의 통신채널은 실시간 무선통신기술을 이용하여 수립될 수 있다.In step S21, a communication channel between the PC 10 and the card 20 can be established. To this end, the PC 10 transmits a message requesting establishment of a communication channel to the card 20, and the card 20 establishes the communication channel in response to the message. Conversely, the card 20 transmits a message requesting establishment of a communication channel to the PC 10, and the PC 10 can establish the communication channel in response to the message. Or a wired or wireless dedicated communication channel may be established between the PC 10 and the card 20 in advance. At this time, a communication channel between the PC 10 and the card 20 can be established using real time wireless communication technology.

단계(S22)에서, SAM모듈(30)과 결제단말기(40) 간의 통신채널을 수립하고 활성화할 수 있다. In step S22, a communication channel between the SAM module 30 and the payment terminal 40 can be established and activated.

이를 위하여 일 실시예에서는, 결제단말기(40)는 SAM모듈(30)에게 통신채널 수립을 요청하는 메시지를 전송하고, SAM모듈(30)은 상기 메시지에 응답하여 상기 통신채널을 수립할 수 있다. To this end, in one embodiment, the payment terminal 40 transmits a message requesting establishment of a communication channel to the SAM module 30, and the SAM module 30 establishes the communication channel in response to the message.

또는 다른 실시예에서는 SAM모듈(30)과 결제단말기(40) 간에는 미리 유선 또는 무선의 전용 통신채널이 수립되어 있을 수 있다. 이때, SAM모듈(30)과 결제단말기(40) 간의 통신채널은 ISO 7816에 부합하는 실시간의 통신채널일 수 있다.Or in other embodiments, a wired or wireless dedicated communication channel may be established between the SAM module 30 and the payment terminal 40 in advance. At this time, the communication channel between the SAM module 30 and the payment terminal 40 may be a real time communication channel conforming to ISO 7816.

결제단말기(40)는 ISO에서 정의된 통신방식만을 사용하기 때문에 PC(10) 및 카드(20)는 이에 맞추어 응답을 줘야한다. 따라서 카드(20)와 결제단말기(40) 사이에는 별도의 통신채널 수립단계가 필요하지 않다. 다만, PC(10), 카드(20), 및 결제단말기(40)가 모두 정상적으로 동작하는 경우에는 PC(10), 카드(20), 및 결제단말기(40) 간의 통신이 이루어질 수 있다는 점을 이해할 수 있다.Since the payment terminal 40 uses only the communication method defined in ISO, the PC 10 and the card 20 must respond accordingly. Therefore, a separate communication channel establishing step is not required between the card 20 and the payment terminal 40. However, it is understood that communication can be performed between the PC 10, the card 20, and the payment terminal 40 when all of the PC 10, the card 20, and the payment terminal 40 operate normally. .

<ISO 14443-3 파트 명령/응답 프로세스><ISO 14443-3 part command / response process>

ISO 14443은 파트 1 내지 파트 4까지 구성되어 있으며, ISO 14443의 파트 3에는, 2장 이상의 카드가 결제단말기와 통신하려고 하는 경우에도 데이터 간의 충돌 없이 통신할 수 있는 충돌방지 명령어가 규정되어 있다. ISO 14443의 파트 3의 명령을 실행함으로써, 복수 개의 교통카드와 결제단말기(40) 간의 통신충돌을 방지하는 통신 스케쥴이 확립될 수 있다. 여기서 상기 통신 스케쥴은 서로 다른 교통카드가 통신을 위해 사용하는 무선자원, 즉, 시간 슬롯이나 주파수 영역들을 서로 충돌하지 않도록 스케쥴링하여 생성된 결과를 의미할 수 있다.ISO 14443 consists of Parts 1 through 4, and Part 3 of ISO 14443 defines an anti-collision instruction that can communicate without conflicting data even when two or more cards attempt to communicate with the payment terminal. By executing the command of part 3 of ISO 14443, a communication schedule can be established to prevent communication conflicts between the plurality of traffic cards and the payment terminal 40. [ Here, the communication schedule may be a result generated by scheduling radio resources used for communication by different traffic cards, i.e., time slots or frequency regions so as not to collide with each other.

단계(S23)에서, 결제단말기(40)가 카드(20)에게 ISO 14443-3 파트 명령(Part Command)을 전송할 수 있다. In step S23, the payment terminal 40 may transmit an ISO 14443-3 Part Command to the card 20. [

단계(S24)에서, 카드(20)가 PC(10)에게 상기 ISO 14443-3 파트 명령(Part Command)을 전달할 수 있다.The card 20 can transmit the ISO 14443-3 Part Command to the PC 10 in step S24.

단계(S25)에서, PC(10)가 카드(20)에게 상기 ISO 14443-3 파트 명령(Part Command)에 대한 ISO 14443-3 파트 응답(Part Response)을 전송할 수 있다.The PC 10 may transmit the ISO 14443-3 Part Response to the ISO 14443-3 Part Command to the card 20 in step S25.

단계(S26)에서, 카드(20)가 결제단말기(40)에게 상기 ISO 14443-3 파트 응답(Part Response)을 전달할 수 있다. In step S26, the card 20 may transmit the ISO 14443-3 Part Response to the payment terminal 40.

즉, 단계(S23~S26)는, ISO 14443-3 파트 명령을 통해 충돌방지 통신구간을 시험하고, 이때 결제단말기(40)가 PC(10)에게 어떤 응답을 주는지를 확인하기 위한 프로세스이다.That is, steps S23 to S26 are processes for testing the collision-free communication section through the ISO 14443-3 part command and confirming what response the payment terminal 40 gives to the PC 10 at this time.

<ISO 14443-4 파트 통신 명령/응답 프로세스><ISO 14443-4 part communication command / response process>

단계(S27)에서, 결제단말기(40)가 카드(20)에게 ISO 14443-4 파트 통신 명령을 전송할 수 있다.In step S27, the payment terminal 40 may send an ISO 14443-4 part communication command to the card 20. [

ISO 14443-4 파트 통신 명령은, 각 교통카드를 통해 제공하고자 하는 서비스 또는 비즈니스를 위해 각 교통카드와 상기 결제단말기(40) 간에 준수해야 할 파라미터들, 예컨대 통신 속도, 또는 데이터 형식 등을 정의한 전송 프로토콜을 확립하는 데에 이용되는 명령들이다. 전송 프로토콜이 확립되면, 각 교통카드는 각자 제공하는 서비스 또는 비즈니스의 제공을 위하여 임의의 고유한 명령어를 사용할 수 있다. 그럼에도 불구하고, 반드시 ISO 14443-4 파트 표준을 준용해야 하기 때문에, 서로 다른 사업자가 발생한 교통카드들이 서로 호환될 수 있다.The ISO 14443-4 part communication command is a transmission command that defines parameters to be complied between each traffic card and the payment terminal 40, such as a communication speed or a data format, for a service or business to be provided through each traffic card These are the commands used to establish the protocol. Once the transport protocol is established, each traffic card may use any unique command for providing its own service or business. Nonetheless, since the ISO 14443-4 part standard must be applied, traffic cards from different operators can be compatible with each other.

단계(S28)에서, 카드(20)가 PC(10)에게 상기 ISO 14443-4 파트 통신 명령을 전달할 수 있다. In step S28, the card 20 can transmit the ISO 14443-4 part communication command to the PC 10.

단계(S29)에서, PC(10)가 카드(20)에게 상기 ISO 14443-4 파트 통신 명령에 대한 ISO 14443-4 파트 통신 응답을 전송할 수 있다.In step S29, the PC 10 may send an ISO 14443-4 part communication response to the ISO 14443-4 part communication command to the card 20.

단계(S30)에서, 카드(20)가 결제단말기(40)에게 상기 ISO 14443-4 파트 통신 응답을 전송할 수 있다. In step S30, the card 20 may transmit the ISO 14443-4 part communication response to the payment terminal 40. [

즉, 단계(S27~S30)는, ISO 14443-4 파트 명령 및 응답을 통해 전송 프로토콜을 확립하고, 이때 결제단말기(40)가 PC(10)에게 어떤 응답을 주는지를 확인하기 위한 프로세스이다.That is, steps S27 to S30 are processes for establishing a transmission protocol through the ISO 14443-4 part command and response, and confirming what response the payment terminal 40 gives to the PC 10 at this time.

<ISO 14443-4 파트 비즈니스 명령/응답 프로세스><ISO 14443-4 part business command / response process>

단계(S31)에서, 결제단말기(40)가 카드(20)에게 ISO 14443-4 파트 비즈니스 명령을 전송할 수 있다.In step S31, the payment terminal 40 may send an ISO 14443-4 part business command to the card 20. [

단계(S32)에서, 카드(20)가 PC(10)에게 상기 ISO 14443-4 파트 비즈니스 명령을 전달할 수 있다. In step S32, the card 20 can deliver the ISO 14443-4 part business command to the PC 10. [

단계(S33)에서, PC(10)가 카드(20)에게 상기 ISO 14443-4 파트 비즈니스 명령에 대한 ISO 14443-4 파트 비즈니스 응답을 전송할 수 있다.In step S33, the PC 10 may send the ISO 14443-4 part business response to the ISO 14443-4 part business command to the card 20.

단계(S34)에서, 카드(20)가 결제단말기(40)에게 상기 ISO 14443-4 파트 비즈니스 응답을 전달할 수 있다. In step S34, the card 20 may deliver the ISO 14443-4 part business response to the payment terminal 40. [

단계(S27~S30)을 통해 PC와 결제단말기 간에 전송 프로토콜이 확립되었으므로, 단계(S31~S34)에서는 교통카드가 상업적으로 제공하고자 하는 서비스 또는 비즈니스의 실행을 위한 명령들이 오가는 프로세스이다. Since the transmission protocol has been established between the PC and the payment terminal through steps S27 to S30, steps S31 to S34 are a process in which the traffic card makes a request for a commercial service or a command for executing a business.

<ISO 7816 파트 비즈니스 명령/응답 프로세스><ISO 7816 part business command / response process>

단계(S35)에서, 결제단말기(40)가 SAM모듈(30)에게 ISO 7816 파트 비즈니스 명령을 전송할 수 있다.In step S35, the payment terminal 40 may send an ISO 7816 part business command to the SAM module 30. [

ISO 14443 규격은 결제단말기(40)와 카드(20)간의 무선통신규격이며, ISO 7816은 결제단말기(40)와 SAM모듈(30)간의 접촉통신규격을 의미한다.ISO 14443 is a wireless communication standard between the payment terminal 40 and the card 20 and ISO 7816 means a contact communication standard between the payment terminal 40 and the SAM module 30. [

단계(S36)에서, SAM모듈(30)이 상기 ISO 7816 파트 비즈니스 명령에 대한 테스트 로그를 저장할 수 있다.In step S36, the SAM module 30 may store a test log for the ISO 7816 part business command.

PC(10)와 SAM모듈(30)은 Non Real-time 통신을 하므로 SAM모듈(30)이 결제단말기와의 통신 중 어떤 명령어를 주고받았는지 테스터(검사자)가 확인하기 위해서는 SAM모듈(30) 내 별도의 저장공간에 결제단말기와 주고받은 로그를 저정할 수 있어야하며 테스트 후 PC(10)를 통해 필요한 로그를 가져와 확인할 수 있어야 한다.Since the PC 10 and the SAM module 30 are in non-real-time communication, the tester (inspector) checks which command the SAM module 30 has exchanged during communication with the payment terminal, It is necessary to be able to store the logs exchanged with the payment terminal in a separate storage space, and obtain the necessary logs through the PC 10 after the test.

단계(S37)에서, SAM모듈(30)이 결제단말기(40)에게 상기 ISO 7816 파트 비즈니스 명령에 대한 ISO 7816 파트 비즈니스 응답(Part Response)을 전송할 수 있다.In step S37, the SAM module 30 may send an ISO 7816 Part Part Response to the ISO 7816 part business command to the payment terminal 40.

단계(S35~S37)은, 결제단말기가 교통카드와 통신 및 금융거래를 하기 위해선 결제단말기 내 삽입되어 있는 SAM모듈(30)과 교통카드기능을 에뮬레이션하는 PC(10) 간의 상호인증 과정이 필수이며, 단계(S35~S37) 역시 카드에 대한 응답이 정상적인 응답인지 여부를 SAM모듈을 통해 인증하기 위한 프로세스이다.Steps S35 to S37 are required for mutual authentication between the SAM module 30 inserted in the payment terminal and the PC 10 emulating the traffic card function in order for the payment terminal to perform communication and financial transaction with the transportation card , And steps S35 to S37 are also processes for authenticating via the SAM module whether the response to the card is a normal response.

<테스트 로그 획득 프로세스><Test log acquisition process>

이하, 단계(S40) 내지 단계(S43)는 SAM모듈(30)에 저장된 테스트 로그를 확인하기 위한 정보를 제공받는 과정을 나타낸 것이다. Hereinafter, steps S40 to S43 illustrate a process of receiving information for confirming the test log stored in the SAM module 30.

단계(S40)에서, PC(10)와 SAM모듈(30) 간의 통신채널을 수립할 수 있다.In step S40, a communication channel between the PC 10 and the SAM module 30 can be established.

단계(S41)에서, PC(10)가 SAM모듈(30)에게 단계(S36)에서 저장된 상기 테스트 로그를 요청할 수 있다.In step S41, the PC 10 may request the SAM module 30 to store the test log stored in step S36.

단계(S42)에서, SAM모듈(30)이 PC(10)에게 상기 테스트 로그를 전달할 수 있다. In step S42, the SAM module 30 may transmit the test log to the PC 10. [

단계(S43)에서, PC(10)와 SAM모듈(30) 간의 통신채널을 해제할 수 있다. In step S43, the communication channel between the PC 10 and the SAM module 30 can be released.

이후, 단계(S50)에서, 결제단말기(40)의 전원을 끌 수 있다.Thereafter, in step S50, the power of the payment terminal 40 can be turned off.

상술한 본 발명의 실시예들을 이용하여, 본 발명의 기술 분야에 속하는 자들은 본 발명의 본질적인 특성에서 벗어나지 않는 범위 내에 다양한 변경 및 수정을 용이하게 실시할 수 있을 것이다. 특허청구범위의 각 청구항의 내용은 본 명세서를 통해 이해할 수 있는 범위 내에서 인용관계가 없는 다른 청구항에 결합될 수 있다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the essential characteristics thereof. The contents of each claim in the claims may be combined with other claims without departing from the scope of the claims.

10: 컴퓨팅장치, PC
20: 통신 중계용 중계장치, 카드
30: SAM모듈
40: 결제단말기
10: computing device, PC
20: Relay device for communication relay, card
30: SAM module
40: Payment terminal

Claims (7)

컴퓨팅장치가, 상기 컴퓨팅장치와 SAM모듈 간에 통신채널을 수립하여, 상기 SAM모듈에서 실행되어야 하는 애플릿을 설정하는 초기화 프로세스;
상기 컴퓨팅장치가, 상기 컴퓨팅장치와 결제단말기 간의 통신을 위한 통신자원을 설정하는 자원할당 프로세스;
상기 컴퓨팅장치가, 상기 컴퓨팅장치와 상기 결제단말기 간에 준수해야 할 통신 파라미터를 설정하는 통신 파라미터 설정 프로세스;
상기 컴퓨팅장치가, 상기 컴퓨팅장치에서 제공하는 교통카드의 기능이 제공하는 서비스를 구현하기 위한 제1정보를 상기 결제단말기에 대하여 송수신하는 ISO 14443-4 파트 비즈니스 명령/응답 프로세스;
상기 SAM모듈이, 상기 서비스를 구현하기 위한 제2정보를 상기 결제단말기에 대하여 송수신하고, 상기 제2정보에 관한 로그를 상기 SAM모듈에 저장하는 테스트로그 저장 프로세스; 및
상기 컴퓨팅장치가, 상기 컴퓨팅장치와 상기 SAM모듈 간에 통신채널을 수립하여, 상기 로그를 획득하는 테스트로그 획득 프로세스
를 포함하는,
결제단말기 테스트 방법.
An initialization process in which the computing device establishes a communication channel between the computing device and the SAM module and sets an applet to be executed in the SAM module;
The computing device comprising: a resource allocation process for setting communication resources for communication between the computing device and the payment terminal;
A communication parameter setting process for setting a communication parameter that the computing device should comply with between the computing device and the payment terminal;
An ISO 14443-4 part business command / response process for transmitting / receiving first information for implementing a service provided by a function of a traffic card provided by the computing device to the payment terminal;
A test log storing process in which the SAM module transmits and receives second information for implementing the service to the payment terminal and stores a log relating to the second information in the SAM module; And
Wherein the computing device comprises a test log acquisition process for establishing a communication channel between the computing device and the SAM module,
/ RTI &gt;
How to test your payment terminal.
제1항에 있어서, 상기 SAM모듈은 상기 결제단말기로부터 ISO 7816 비즈니스 명령을 수신하면, 상기 ISO 7816 비즈니스 명령에 대한 테스트 로그를 저장하도록 되어 있는, 결제단말기 테스트 방법.The method of claim 1, wherein the SAM module is configured to store a test log for the ISO 7816 business command upon receiving an ISO 7816 business command from the payment terminal. 제1항에 있어서,
상기 테스트로그 획득 프로세스에서,
상기 컴퓨팅장치가 PSAM 기능을 테스트하기 위하여, 상기 컴퓨팅장치와 상기 SAM모듈 간의 통신채널을 수립하도록 되어 있으며,
상기 컴퓨팅장치가 상기 SAM모듈에게 상기 로그를 요청하여 상기 로그를 전달받은 후 상기 컴퓨팅장치와 상기 SAM모듈 간의 통신채널을 해제하도록 되어 있는,
결제단말기 테스트 방법.
The method according to claim 1,
In the test log acquisition process,
Wherein the computing device is adapted to establish a communication channel between the computing device and the SAM module for testing the PSAM functionality,
Wherein the computing device is configured to request the log to the SAM module to release the communication channel between the computing device and the SAM module after receiving the log,
How to test your payment terminal.
제1항에 있어서, 상기 자원할당 프로세스와 상기 통신 파라미터 설정 프로세서에서, 상기 컴퓨팅장치와 상기 결제단말기 간의 통신은 통신 중계용 중계장치를 통해 이루어지는, 결제단말기 테스트 방법.The method of claim 1, wherein in the resource allocation process and the communication parameter setting processor, communication between the computing device and the payment terminal is performed through a relay device for communication relay. 제1항에 있어서,
상기 초기화 프로세스는,
상기 컴퓨팅장치와 상기 SAM모듈 간에 통신채널을 수립하는 단계;
상기 컴퓨팅장치가 상기 SAM모듈에게 동작 애플릿 설정을 요청하는 단계;
상기 컴퓨팅장치가 상기 SAM모듈부터 상기 동작 애플릿 설정에 대한 응답을 수신하는 단계; 및
상기 컴퓨팅장치와 상기 SAM모듈 간의 통신채널을 해제하는 단계
를 포함하는,
결제단말기 테스트 방법.
The method according to claim 1,
The initialization process includes:
Establishing a communication channel between the computing device and the SAM module;
The computing device requesting the SAM module to configure an operational applet;
The computing device receiving a response to the operational applet configuration from the SAM module; And
Releasing a communication channel between the computing device and the SAM module
/ RTI &gt;
How to test your payment terminal.
제4항에 있어서,
상기 컴퓨팅장치와 상기 통신 중계용 중계장치 간의 통신은 실시간 무선통신기술을 통해 이루어지며,
상기 통신 중계용 중계장치와 상기 결제단말기 간의 통신은 ISO 14443 통신규격을 이용하며,
상기 SAM모듈과 상기 결제단말기 간의 통신은 ISO 7816 통신규격을 이용하는,
결제단말기 테스트 방법.
5. The method of claim 4,
Wherein communication between the computing device and the relay device for communication relay is performed through a real time wireless communication technology,
The communication between the relay apparatus for communication relay and the payment terminal uses the ISO 14443 communication standard,
The communication between the SAM module and the payment terminal uses the ISO 7816 communication standard,
How to test your payment terminal.
컴퓨팅장치 및 SAM모듈을 포함하는 결제단말기 테스트 시스템으로서,
상기 컴퓨팅장치는,
상기 컴퓨팅장치와 상기 SAM모듈 간에 통신채널을 수립하여, 상기 SAM모듈에서 실행되어야 하는 애플릿을 설정하는 초기화 프로세스;
상기 컴퓨팅장치와 결제단말기 간의 통신을 위한 통신자원을 설정하는 자원할당 프로세스;
상기 컴퓨팅장치와 상기 결제단말기 간에 준수해야 할 통신 파라미터를 설정하는 통신 파라미터 설정 프로세스; 및
상기 컴퓨팅장치에서 제공하는 교통카드의 기능이 제공하는 서비스를 구현하기 위한 제1정보를 상기 결제단말기에 대하여 송수신하는 ISO 14443-4 파트 비즈니스 명령/응답 프로세스;
를 실행하도록 되어 있으며,
상기 SAM모듈은, 상기 서비스를 구현하기 위한 제2정보를 상기 결제단말기에 대하여 송수신하고, 상기 제2정보에 관한 로그를 상기 SAM모듈에 저장하는 테스트로그 저장 프로세스를 실행하도록 되어 있으며,
상기 컴퓨팅장치는, 상기 컴퓨팅장치와 상기 SAM모듈 간에 통신채널을 수립하여, 상기 로그를 획득하는 테스트로그 획득 프로세스를 더 실행하도록 되어 있는,
결제단말기 테스트 시스템.
A payment terminal test system comprising a computing device and a SAM module,
The computing device comprising:
An initialization process of establishing a communication channel between the computing device and the SAM module and setting an applet to be executed in the SAM module;
A resource allocation process for setting a communication resource for communication between the computing device and the payment terminal;
A communication parameter setting process for setting communication parameters to be complied with between the computing device and the payment terminal; And
An ISO 14443-4 part business command / response process for transmitting / receiving first information for implementing a service provided by a function of a traffic card provided by the computing device to the payment terminal;
Respectively,
The SAM module is configured to execute a test log storing process of transmitting and receiving second information for implementing the service to the payment terminal and storing the log of the second information in the SAM module,
Wherein the computing device is further adapted to establish a communication channel between the computing device and the SAM module to obtain the log,
Payment terminal test system.
KR1020170050311A 2017-04-19 2017-04-19 Automatic test system for testing operation logic of traffic card payment terminal and test method for the same KR102008219B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170050311A KR102008219B1 (en) 2017-04-19 2017-04-19 Automatic test system for testing operation logic of traffic card payment terminal and test method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170050311A KR102008219B1 (en) 2017-04-19 2017-04-19 Automatic test system for testing operation logic of traffic card payment terminal and test method for the same

Publications (2)

Publication Number Publication Date
KR20180117334A true KR20180117334A (en) 2018-10-29
KR102008219B1 KR102008219B1 (en) 2019-08-07

Family

ID=64101266

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170050311A KR102008219B1 (en) 2017-04-19 2017-04-19 Automatic test system for testing operation logic of traffic card payment terminal and test method for the same

Country Status (1)

Country Link
KR (1) KR102008219B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020142512A1 (en) 2019-01-02 2020-07-09 Visa International Service Association Computer and conduit for system testing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040000891A (en) * 2002-06-26 2004-01-07 한국전자통신연구원 Management and Collection System and Method of SAM for Contactless IC Card Reader
KR20110031045A (en) * 2009-09-18 2011-03-24 한국건설교통기술평가원 System for evaluating fitness of compatible type traffic card terminal and method therefor
KR20130053803A (en) * 2011-11-16 2013-05-24 삼성전자주식회사 Method and system for providing debug information of user device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040000891A (en) * 2002-06-26 2004-01-07 한국전자통신연구원 Management and Collection System and Method of SAM for Contactless IC Card Reader
KR20110031045A (en) * 2009-09-18 2011-03-24 한국건설교통기술평가원 System for evaluating fitness of compatible type traffic card terminal and method therefor
KR20130053803A (en) * 2011-11-16 2013-05-24 삼성전자주식회사 Method and system for providing debug information of user device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020142512A1 (en) 2019-01-02 2020-07-09 Visa International Service Association Computer and conduit for system testing
EP3906473A4 (en) * 2019-01-02 2022-03-02 Visa International Service Association Computer and conduit for system testing
US11789834B2 (en) 2019-01-02 2023-10-17 Visa International Service Association Computer and conduit for system testing

Also Published As

Publication number Publication date
KR102008219B1 (en) 2019-08-07

Similar Documents

Publication Publication Date Title
US11301835B2 (en) Method, device and secure element for conducting a secured financial transaction on a device
CN110268389B (en) Simulator for system testing
US20120166338A1 (en) Method and system for universal application for transaction procedures with nfc technology
JP2017525018A (en) Electronic device, system, and method for NFC
CN105184337A (en) Intelligent card application detection method and system for NFC equipment
US11710117B1 (en) Systems and methods for EMV terminal device testing using EMV card emulation
US20230409453A1 (en) Computer and conduit for system testing
KR20180117334A (en) Automatic test system for testing operation logic of traffic card payment terminal and test method for the same
KR20140050168A (en) Multiple payment method and terminal for payment
KR102072176B1 (en) Service providing device for transferring push/target message, push/target message transfer system comprising the same, control method thereof and computer readable medium having computer program recorded therefor
KR20210149616A (en) Automatic portable device testing method and system
US20230052559A1 (en) Network based testing of mobile device kernels system and method
WO2022198267A1 (en) Contactless payment via mobile devices using hybrid communications approach
Mahajan et al. A Result Paper On Mall Shopping System Using NFC

Legal Events

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