KR101100386B1 - Purcharge Secure Application Module For Compatible Traffic Card And Management Method Therefore - Google Patents

Purcharge Secure Application Module For Compatible Traffic Card And Management Method Therefore Download PDF

Info

Publication number
KR101100386B1
KR101100386B1 KR1020090088753A KR20090088753A KR101100386B1 KR 101100386 B1 KR101100386 B1 KR 101100386B1 KR 1020090088753 A KR1020090088753 A KR 1020090088753A KR 20090088753 A KR20090088753 A KR 20090088753A KR 101100386 B1 KR101100386 B1 KR 101100386B1
Authority
KR
South Korea
Prior art keywords
information
transaction
psam
sam
card
Prior art date
Application number
KR1020090088753A
Other languages
Korean (ko)
Other versions
KR20110031036A (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 KR1020090088753A priority Critical patent/KR101100386B1/en
Priority to MYPI2012001158A priority patent/MY154755A/en
Priority to MX2012003314A priority patent/MX2012003314A/en
Priority to PCT/KR2009/006020 priority patent/WO2011034243A1/en
Priority to CN200980161508.7A priority patent/CN102713939B/en
Publication of KR20110031036A publication Critical patent/KR20110031036A/en
Application granted granted Critical
Publication of KR101100386B1 publication Critical patent/KR101100386B1/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/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/073Special arrangements for circuits, e.g. for protecting identification code in memory
    • 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/22Payment schemes or models
    • 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/22Payment schemes or models
    • G06Q20/28Pre-payment schemes, e.g. "pay before"
    • 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/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/409Device specific authentication in transaction processing
    • G06Q20/4097Device specific authentication in transaction processing using mutual authentication between devices and transaction partners
    • G06Q20/40975Device specific authentication in transaction processing using mutual authentication between devices and transaction partners using encryption therefor
    • 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/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems

Abstract

본 발명은 전국적으로 호환가능한 교통카드용 PSAM(Purcharge Secure Application Module) 및 상기 교통카드용 PSAM의 운영방법에 관한 것이다. 본 발명에 따른 교통카드용 PSAM은 정보 저장부, PSAM 제어부 및 정보 전달부로 구성된다. 그리고, 본 발명에 따른 교통카드용 PSAM의 운영방법은, 교통카드와 지불 거래를 수행하기 위한 교통카드용 PSAM의 운영방법, 교통카드와 지불 재거래를 수행하기 위한 교통카드용 PSAM의 운영방법, 교통카드와 거래 취소를 수행하기 위한 교통카드용 PSAM의 운영방법 및 교통카드의 총액 거래내역 정보를 수집하여 수집 SAM으로 송신하는 교통카드용 PSAM의 운영방법을 포함한다.The present invention relates to a nationwide compatible transportation card PSAM (Purcharge Secure Application Module) and the operation of the transportation card PSAM. The PSAM for a traffic card according to the present invention is composed of an information storage unit, a PSAM control unit and an information transfer unit. In addition, the operating method of the PSAM for a traffic card according to the present invention, the operating method of the PSAM for a traffic card for performing a payment transaction with the transportation card, a method of operating the PSAM for a traffic card for performing a payment retransaction with the transportation card, It includes the operation method of the PSAM for the transportation card to perform the transaction card and the transaction cancellation, and the operation method of the PSAM for the transportation card collecting and transmitting the total transaction details of the transportation card to the collecting SAM.

본 발명에 따르면, 전국적으로 호환가능한 교통카드용 PSAM 및 상기 교통카드용 PSAM의 운영방법을 바탕으로, 이용자가 복수의 교통카드를 소지해야 하는 불편함을 해소 가능하고, 교통카드의 지불수단인 전자화폐의 활용분야를 확대하여 전자화폐의 보급을 촉진하는 효과가 있다.According to the present invention, on the basis of the operation method of the nationally compatible transit card PSAM and the transit card PSAM, it is possible to eliminate the inconvenience that the user must have a plurality of transit cards, the electronic means of payment of the transit card It has the effect of promoting the spread of electronic money by expanding the field of use of money.

교통카드, 피샘, 하이플러스, 코레일, 지불, 수집, 금융결제원 Transportation Cards, Pisame, High Plus, KORAIL, Payment, Collection, KFTC

Description

호환형 교통카드용 피샘 및 피샘의 운영방법{Purcharge Secure Application Module For Compatible Traffic Card And Management Method Therefore}Purse Secure Application Module For Compatible Traffic Card And Management Method Therefore}

본 발명은 전국적으로 호환가능한 교통카드용 PSAM(Purcharge Secure Application Module) 및 PSAM의 운영방법에 관한 것이다. 더욱 상세하게는, 교통카드와 지불 거래, 지불 재거래 및 거래취소를 수행하고, 교통카드의 총액 거래내역 정보를 수집하여 수집 SAM으로 송신하는 교통카드용 PSAM 및 PSAM의 운영방법에 관한 것이다.The present invention relates to a PSAM (Purcharge Secure Application Module) for a nationally compatible transportation card and a method of operating the PSAM. More specifically, the present invention relates to a method of operating a PSAM and a PSAM for a traffic card, which performs a payment transaction, a payment re-transaction and a cancellation of a transaction with a traffic card, and collects and transmits the total transaction details of the traffic card to a collection SAM.

현재 버스,지하철,철도 등의 대중교통 이용 시 현금에 의한 이용요금 결제보다 선불식 또는 후불식 교통카드에 의한 카드결제 방식이 보편화되고 있는 추세이다. 이러한 선불식 또는 후불식 교통카드는 교통이용자에게는 편리함을 제공하고 동시에 교통카드 사업자에게는 경영의 효율화 등을 도모하는데에 도입목적이 있다.Currently, the card payment method by prepaid or postpaid transportation card is becoming more common than payment by cash when using public transportation such as bus, subway, and railway. The prepaid or postpaid transit card is intended to provide convenience for traffic users and at the same time to promote efficient management for the transit card operators.

그러나, 종래 지역별 또는 사업자별로 상이한 교통카드 결제 및 충전,정산 시스템이 구축되어 있는바, 교통카드 결제 및 충전, 정산 시스템 상호 간에 있어 각기 명령어 체계, 암호화 체계 등의 호환이 불가능하므로, 이용자는 지역별 또는 사업자별에 따라 대중교통 이용시 복수의 교통카드를 소지해야하는 불편이 존재하 며, 사업자는 교통카드 결제 및 충전, 정산 시스템에 대한 중복투자의 부담이 존재하고, 나아가 국가공통의 안정적이고 신뢰성 있는 교통카드 결제 및 충전, 정산시스템 구축에 어려움이 발생하고 있다.However, since different transportation card payment, charging, and settlement systems have been established for each region or operator, it is incompatible with each other in the command system, encryption system, etc. Depending on each operator, there are inconveniences of having multiple transportation cards when using public transportation.In addition, operators have a burden of overlapping investment in transportation card payment, charging, and settlement system, and furthermore, stable and reliable transportation cards. Difficulties arise in establishing payment, charging and settlement systems.

상기와 같은 교통카드 사용 및 운영상의 문제점을 해결하기 위해, 건설교통부는 교통카드 이용 국민의 편의성 증진, 교통카드 인프라의 중복 투자에 따른 사회적 비용의 방지를 위하여 한 장의 교통카드로 전국에서 사용할 수 있도록 교통카드 전국호환 정책을 추진하고 있으며, 정책에 따른 예산의 효율적 집행과 교통카드 전국호환의 실익 분석을 위하여 “One Card All Pass 표준기술 개발 및 테스트베드 운영 사업”을 추진하게 되었다. In order to solve the above-mentioned problems in using and operating the transportation card, the Ministry of Construction and Transportation may use it as a single transportation card nationwide in order to improve the convenience of citizens using the transportation card and to prevent social costs caused by the redundant investment of the transportation card infrastructure. We are promoting the nationwide transportation card policy, and the “One Card All Pass Standard Technology Development and Testbed Operation Project” was carried out for the efficient execution of the budget and the analysis of the national benefits of the transportation card.

따라서, 본 발명은 동 사업 추진의 일환으로 전국적으로 호환가능한 교통카드가 사용 가능한 교통카드용 PSAM(Purcharge Secure Application Module) 및 PSAM의 운영방법을 개발하고자 하는 것이다.Accordingly, the present invention intends to develop a PSAM (Purcharge Secure Application Module) and a PSAM operating method in which a nationally compatible transit card can be used as part of the project.

본 발명의 목적은, 전국적으로 호환가능한 교통카드용 PSAM 및 PSAM의 운영방법을 개발함으로써, 종래 지역별 또는 사업자별로 교통카드 PSAM의 규격이 상이한바, 이용자가 대중교통을 이용할 때 대중교통수단 각각에서 사용가능한 복수의 교통카드를 소지해야 하는 불편함을 해소하는 데 있다.An object of the present invention is to develop a nationally compatible transport card PSAM and PSAM operating method, the conventional transport card PSAM specifications are different for each region or operator, the user is used in each public transport means when using public transport It is to alleviate the inconvenience of having as many transportation cards as possible.

본 발명의 또 다른 목적은, 결제 및 충전이 편리하면서도 보안성을 갖춘 지불수단인 전자화폐가 교통카드의 지불수단으로 사용되고 있는 상황 하에서, 호환형 교통카드용 PSAM 및 PSAM의 운영방법을 통하여 각각 상이한 전자화폐를 지불수단으로 사용하고 있는 대중교통수단에 대해 한 장의 교통카드로 대금 결제가 가능하도록 하여 전자화폐의 활용분야 및 보급확대에 기여하는 데 있다.Still another object of the present invention is to provide a method of operating a compatible PSAM for PSAM and a PSAM under a situation in which electronic money, which is a payment method with convenient and secure payment, is used as a means of payment for a transportation card. It is to contribute to the field of use and dissemination of electronic money by enabling payment of a single transportation card for public transportation that uses electronic money as a means of payment.

먼저, 본 발명에 따른 교통카드용 PSAM은, 전자화폐사 별 키 정보 및 상기 교통카드용 PSAM과 교통카드의 거래를 인증하기 위한 정보인 거래인증정보가 저장된 정보 저장부; 단말기를 통해 교통카드로부터 거래정보를 수신하고, 상기 전자화폐사 별 키 정보와 거래인증정보에 기반하여 교통카드용 PSAM과 교통카드 간 거래를 위한 정보를 생성한 후, 상기 교통카드용 PSAM과 교통카드 간 거래를 위한 정보, 거래정보 및 거래인증정보에 기반하여 상기 교통카드와의 지불 거래, 지불 재거래 및 거래 취소를 수행하며, 상기 교통카드용 PSAM과 교통카드 간 거래를 위한 정보, 거래인증정보 및 거래정보를 상기 단말기를 통해 교통카드로 송신하는 송신 명령을 생성하는 기능을 수행하는 PSAM 제어부; 및 상기 PSAM 제어부에서 생성한 송신명령에 따라, 상기 교통카드용 PSAM과 교통카드 간 거래를 위한 정보, 거래인증정보 및 거래정보를 상기 단말기를 통해 상기 교통카드에 송신하는 기능을 수행하는 정보 전달부로 구성된다.First, the PSAM for a traffic card according to the present invention comprises: an information storage unit storing key authentication information for electronic money companies and transaction authentication information which is information for authenticating a transaction between the PSAM for a traffic card and a traffic card; Receive transaction information from the traffic card through the terminal, generate information for the transaction between the traffic card PSAM and the traffic card based on the key information and transaction authentication information for each electronic money company, and then the PSAM and traffic card for the traffic card Perform payment transaction, payment re-transaction and transaction cancellation with the transit card based on information for transaction between the transaction, transaction information and transaction authentication information, information for transaction between the transit card PSAM and the transit card, transaction authentication information And a PSAM control unit for generating a transmission command for transmitting transaction information to the traffic card through the terminal. And according to the transmission command generated by the PSAM control unit, the information transfer unit for transmitting the information for the transaction between the PSAM for the traffic card and the traffic card, transaction authentication information and transaction information through the terminal to the traffic card; It is composed.

이때. 상기 PSAM 제어부는 수집 SAM으로부터 수집인증정보를 수신하고, 총액 거래내역 정보 수집을 위한 정보를 생성하여, 상기 수집인증정보, 총액 거래내역 정보 수집을 위한 정보 및 PSAM과 교통카드의 거래를 인증하기 위한 인증정보에 기반하여 총액 거래내역 정보를 수집하고, 상기 총액 거래내역 정보를 수집 SAM으로 송신하도록 하는 송신명령을 생성하는 기능을 더 포함하여 수행하는 것이 바람직하다. At this time. The PSAM control unit receives the collection authentication information from the collection SAM, generates information for collecting the total transaction history information, and authenticates the collection authentication information, the information for collecting the total transaction history information, and the transaction between the PSAM and the traffic card. And collecting the total transaction details information based on the authentication information and generating a transmission command to transmit the total transaction details information to the collection SAM.

그리고 이때, 상기 정보 전달부는 상기 PSAM 제어부에서 생성한 상기 총액 거래내역 정보를 수집 SAM으로 송신하도록 하는 송신명령에 따라, 상기 수집 SAM으로 상기 총액 거래내역 정보를 송신하는 기능을 더 포함하여 수행하는 것이 바람직하다.In this case, the information transfer unit may further include a function of transmitting the total transaction details information to the collection SAM according to a transmission command for transmitting the total transaction details information generated by the PSAM control unit to a collection SAM. desirable.

다음으로, 본 발명에 따른 교통카드와 지불 거래를 수행하기 위한 교통카드용 PSAM의 운영방법은, ⒜ 교통카드용 PSAM이 단말기로부터 지불 거래를 위한 초기화 정보를 포함하여, 상기 교통카드와의 상기 교통카드용 PSAM간 지불 거래 수행을 위해 상기 교통카드용 PSAM을 초기화하는 명령 및 상기 교통카드와 지불 거래를 수행하는 명령을 수신하는 단계; ⒝ 상기 교통카드용 PSAM이 교통카드와의 지불 거래 수행을 위해 초기화하고, 상기 교통카드와의 지불 거래에 사용할 키인 DP(Derivation Purchase)KEY 정보를 생성하며, SESSAM 정보를 생성하는 단계; ⒞ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제1 SIGN1 정보를 검증한 결과 상기 제1 SIGN1 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 상기 교통카드용 PSAM 내 거래 카운터인 NTSAM 정보를 갱신하고, 상기 교통카드용 PSAM의 구매거래 상태코드인 SCSAM 정보를 "거래 중" 상태로 갱신하며, 상기 BALEP 정보를 기존 가지고 있던 값에서 단말기의 거래요청 금액을 제한 값으로 갱신한 후, 상기 교통카드용 PSAM의 인증 서명인 제1 SIGN2 정보를 생성하며, 상기 교통카드용 PSAM이 상기 단말기로 교통카드와 지불 거래를 수행하는 명령에 대한 응답 정보를 송신하는 단계; ⒟ 상기 교통카드용 PSAM이 상기 단말기로 송신한 상기 교통카드와 지불 거래를 수행하는 명령에 대한 응답 정보 중 제1 SIGN2 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 상기 단말기로부터 상기 교통카드의 인증 서명인 제1 SIGN3 정보를 포함하여, 개별 거래내역을 생성하고 지불 거래를 종료하는 명령을 수신하는 단계; ⒠ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 교통카드의 인증 서명인 제1 SIGN3 정보를 검증한 결과 상기 제1 SIGN3 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM의 누적거래 총액인 TOTSAM 정보를 기존 가지고 있던 값에 단말기의 거래요청 금액을 더한 값으로 갱신하고, 상기 SCSAM 정보를 "정상 완료" 로 갱신하며, 상기 교통카드용 PSAM의 거래 유형을 의미하는 TRT 정보를 "RF 구매거래" 로 갱신하고, NISAM 정보를 갱신한 후, 개별 거래내역을 생성하는 단계; 및 ⒡ 상기 교통카드용 PSAM이 상기 개별 거래내역을 생성한 후, 개별 거래내역에 대한 서명을 생성하고, 상기 교통카드용 PSAM이 상기 단말기로 상기 개별 거래내역, 개별 거래내역에 대한 서명을 송신하는 단계; 를 포함한다.Next, a method of operating a traffic card PSAM for performing a payment transaction with a traffic card according to the present invention includes: (i) the traffic card PSAM including initialization information for payment transactions from a terminal; Receiving a command for initializing the PSAM for the transportation card and performing a payment transaction with the transportation card to perform a payment transaction between the card PSAMs; Initializing the PSAM for the transportation card to perform a payment transaction with the transportation card, generating DP (Derivation Purchase) KEY information which is a key to be used for the payment transaction with the transportation card, and generating SES SAM information; 결과 If there is no verification error for the first SIGN1 information when the PSAM for the traffic card verifies the first SIGN1 information that is the authentication signature of the traffic card received from the terminal, the PSAM for the traffic card indicates that the traffic Update NT SAM information, which is a transaction counter in a card PSAM, update SC SAM information, which is a purchase transaction status code of the PSAM for a traffic card, to a "in transaction" state, and the terminal BAL EP information at a value which has the existing BAL EP information. After updating the transaction request amount to a limit value, the first SIGN2 information, which is the authentication signature of the PSAM for the traffic card, is generated, and the response information for the command for the PSAM for the traffic card to perform a payment transaction with the traffic card to the terminal. Transmitting; 검증 If there is no verification error for the first SIGN2 information among the response information for the command for performing a payment transaction with the traffic card, the PSAM for the traffic card is sent from the terminal. Receiving a command for generating an individual transaction and ending a payment transaction including first SIGN3 information which is an authentication signature of the traffic card; 경우 If the verification signal for the first SIGN3 information does not exist when the PSAM for the traffic card verifies the first SIGN3 information that is the authentication signature of the traffic card received from the terminal, the total transaction amount of the PSAM for the traffic card TOT SAM Update the information to the value of the terminal plus the transaction request amount of the terminal, update the SC SAM information to "normal completion", TRT information means the transaction type of the PSAM for the traffic card "RF purchase transaction ", Update NI SAM information, and generate individual transactions; And ⒡ after the PSAM for the transportation card generates the individual transaction details, generates a signature for the individual transaction details, and the PSAM for the transportation card transmits a signature for the individual transaction details and the individual transaction details to the terminal. step; It includes.

다음으로, 본 발명에 따른 교통카드와 지불 재거래를 수행하기 위한 교통카드용 PSAM의 운영방법은, ⒜ 상기 교통카드용 PSAM이 단말기로부터 지불 재거래를 위한 초기화 정보를 포함하여, 상기 교통카드와의 지불 재거래 수행을 위해 상기 교통카드용 PSAM을 초기화하는 명령 및 상기 교통카드와 지불 재거래를 수행하는 명령을 수신하는 단계; ⒝ 상기 교통카드용 PSAM이 상기 교통카드와의 지불 재거래를 위해 초기화를 수행하고, 교통카드와의 지불 재거래에 사용할 키인 DP(Derivation Purchase)KEY 및 SESSAM 정보를 생성하는 단계; ⒞ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제2 SIGN1 정보를 검증한 결과 상기 제2 SIGN1 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 NTSAM 정보를 갱신하고, 상기 교통카드용 PSAM의 인증 서명인 제2 SIGN2 정보를 생성한 후, 상기 단말기로 교통카드와 지불 재거래를 수행하는 명령에 대한 응답 정보를 송신하는 단계; ⒟ 상기 교통카드용 PSAM이 상기 단말기로 송신한 카상기 교통카드와 지불 재거래를 수행하는 명령에 대한 응답 정보 중 제2 SIGN2 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM이 상기 단말기로부터 상기 교통카드의 인증 서명인 제2 SIGN3 정보를 포함하여, 개별 거래 내역을 생성하고 지불 재거래를 종료하는 명령을 수신하는 단계; ⒠ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 교통카드의 인증 서명인 제2 SIGN3 정보를 검증한 결과 상기 제2 SIGN3 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 SCSAM 정보를 확인하고, 확인한 결과 상기 SCSAM 정보가 "거래 중"인 경우에 해당되는 경우에 TOTSAM 정보를 기존 가지고 있던 값에 단말기의 거래요청 금액을 더한 값으로 갱신하고, NISAM 정보를 갱신한 후, 상기 SCSAM 정보를 "정상 완료" 상태로 갱신하고, TRT 정보를 "RF 구매거래"로 갱신하는 단계; 및 ⒡ 상기 교통카드용 PSAM이 개별 거래내역을 생성하고, 개별 거래내역에 대한 서명을 생성한 후, 상기 교통카드용 PSAM이 상기 단말기로 상기 개별 거래내역 및 개별 거래내역에 대한 서명을 송신하는 단계; 를 포함한다.Next, a method of operating a traffic card PSAM for performing a payment re-transaction with a traffic card according to the present invention includes: (i) the traffic card PSAM including initialization information for payment re-transaction from a terminal; Receiving a command for initializing the PSAM for the traffic card and performing a payment retransaction with the traffic card to perform a payment retransaction of the service card; Performing, by the PSAM for the transportation card, initialization for payment retransaction with the transportation card, and generating a DP (Derivation Purchase) KEY and SES SAM information, which is a key used for payment retransaction with the transportation card; 결과 If the PSAM for the traffic card verifies the second SIGN1 information which is the authentication signature of the traffic card received from the terminal, and there is no verification error for the second SIGN1 information, the PSAM for the traffic card is NT SAM. Updating the information, generating second SIGN2 information which is an authentication signature of the PSAM for the traffic card, and transmitting response information to the terminal to perform a payment re-transaction with the traffic card; 검증 If the verification error for the second SIGN2 information does not exist among the response information for the command for performing the payment re-transaction with the card carrier traffic card transmitted to the terminal by the PSAM for the traffic card, the PSAM for the traffic card is Receiving, from the terminal, a command for generating individual transaction details and ending payment re-transaction, including second SIGN3 information which is an authentication signature of the traffic card; 결과 If the PSAM for the traffic card verifies the second SIGN3 information that is the authentication signature of the traffic card received from the terminal, and there is no verification error for the second SIGN3 information, the PSAM for the traffic card indicates the SC SAM information. After confirming that, if the SC SAM information is "in the transaction", the TOT SAM information is added to the value of the terminal and the transaction request amount of the terminal, and the NI SAM information is updated. Updating the SC SAM information to the "normal completion" state and updating the TRT information to the "RF purchase transaction"; And ⒡ the PSAM for the transportation card generates the individual transaction details, generates a signature for the individual transaction details, and then transmits the signature for the individual transaction details and the individual transaction details to the terminal. ; It includes.

다음으로, 본 발명에 따른 교통카드와 거래 취소를 수행하기 위한 교통카드용 PSAM의 운영방법은, ⒜ 교통카드용 PSAM이 단말기로부터 거래 취소를 위한 초기화 정보를 포함하여, 교통카드와의 거래 취소 수행을 위해 상기 교통카드용 PSAM을 초기화하는 명령 및 상기 교통카드와 상기 교통카드와의 거래 취소를 수행하는 명령을 수신하는 단계; ⒝ 상기 교통카드용 PSAM이 상기 교통카드와의 거래 취소를 위해 초기화를 수행하고, SCSAM 정보를 확인하고, 확인한 결과 SCSAM 정보가 "거래 중" 인 경우 상기 교통카드용 PSAM은 상기 단말기에 오류 응답을 송신하며, 상기 교통카드와의 거래 취소에 사용할 키인 DP(Derivation Purchase)KEY와 SESSAM 정보를 생성하는 단계; ⒞ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제3 SIGN1 정보를 검증한 결과 상기 제3 SIGN1 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 NTSAM 정보를 갱신하고, SCSAM 정보를 확인한 결과 SCSAM 정보가 "정상 종료" 상태인 경우 NISAM 정보를 갱신하며, BALEP 정보에 기존에 가지고 있던 값에 단말기의 거래요청 금액을 더한 값을 갱신한 후, 상기 교통카드용 PSAM이 상기 SCSAM 정보를 "취소 진행"으로 갱신하는 단계; ⒟ 상기 교통카드용 PSAM이 PSAM의 인증 서명인 제3 SIGN2 정보를 생성한 후, 상기 교통카드용 PSAM이 상기 단말기로 교통카드와의 거래 취소를 수행하는 명령에 대한 응답 정보를 송신하는 단계; ⒠ 상기 교통카드용 PSAM이 상기 단말기로 송신한 상기 교통카드와의 거래 취소를 수행하는 명령에 대한 응답 정보 중 제3 SIGN2 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM이 상기 단말기로부터 거래 취소 수행을 종료하는 명령을 수신하는 단계; 및 ⒡ 상기 교통카드용 PSAM이 SCSAM 정보를 "정상 완료" 상태로 갱신하고, TRT 정보에 "RF 취소거래"로 갱신하며, 개별 거래내역을 생성한 후, 개별 거래내역에 대한 서명을 생성하고, 상기 교통카드용 PSAM이 상기 단말기로 상기 개별 거래내역, 개별 거래내역에 대한 서명을 송신하는 단계; 를 포함한다.Next, the operation method of the traffic card PSAM for performing a transaction cancellation with the traffic card according to the present invention, ⒜ the PSAM for traffic card including the initialization information for canceling the transaction from the terminal, performing a transaction cancellation with the traffic card Receiving a command for initializing the PSAM for the traffic card and canceling a transaction between the traffic card and the traffic card for the purpose of; 교통 The PSAM for the transportation card performs initialization to cancel the transaction with the transportation card, checks the SC SAM information, and confirms that the SCAM information for the transportation card is an error in the terminal when the SC SAM information is "in transaction." Transmitting a response and generating a DP (Derivation Purchase) KEY and SES SAM information which are keys for canceling a transaction with the transit card; 결과 If the PSAM for the traffic card verifies the third SIGN1 information that is the authentication signature of the traffic card received from the terminal, and there is no verification error for the third SIGN1 information, the PSAM for the traffic card is NT SAM. When the information is updated and the SC SAM information is checked and the SC SAM information is in the "normally terminated" state, the NI SAM information is updated, and the BAL EP information is added to the existing value plus the transaction request amount of the terminal. Thereafter, updating, by the PSAM for the traffic card, the SC SAM information to "cancel cancellation"; After the PSAM for the traffic card generates the third SIGN2 information which is an authentication signature of the PSAM, transmitting the response information to the terminal for the command for canceling a transaction with the traffic card; 검증 If there is no verification error for the third SIGN2 information among the response information for the command for canceling the transaction with the traffic card transmitted by the PSAM for the traffic card to the terminal, the PSAM for the traffic card is the terminal. Receiving a command from the end of the transaction cancellation execution; And 교통 the PSAM for the transportation card is SC SAM. Update the information to the "normal completion" state, update the TRT information to "RF cancel transaction", generate individual transaction details, generate signatures for individual transaction details, and the PSAM for the transportation card to the terminal Transmitting a signature for the individual transaction history, the individual transaction history; It includes.

마지막으로, 본 발명에 따른 교통카드의 총액 거래내역 정보를 수집하여 수집 SAM으로 송신하는 교통카드용 PSAM의 운영방법은, ⒜ 상기 교통카드용 PSAM이 단말기로부터 IDCENTER 정보를 포함하여, 교통카드의 총액 거래내역 정보를 수집하기 위해 상기 교통카드용 PSAM을 초기화하는 명령 및 총액 거래내역 정보의 존재 여부를 확인하는 명령을 수신하는 단계; ⒝ 상기 교통카드용 PSAM이 상기 교통카드의 총액 거래내역 정보를 수집하기 위한 초기화를 수행하고, 상기 단말기로부터 수신한 IDCENTER 정보에 해당하는 전자화폐사의 총액 거래 정보 존재 여부를 확인한 결과, IDCENTER 정보에 해당하는 전자화폐사의 총액 거래내역 정보가 존재하는 경우, 상기 교통카드용 PSAM이 NTSAM 정보를 갱신하고, 상기 교통카드용 PSAM이 상기 단말기로 총액 거래내역 정보의 존재 여부를 확인하는 명령에 대한 정보를 송신하는 단계; ⒞ 상기 교통카드용 PSAM이 상기 단말기로부터 상기 수집 SAM의 식별자인 ID수집 SAM 정보, 상기 수집 SAM의 수집거래 카운터인 NT수집 SAM 정보 및 상기 수집 SAM의 인증 서명인 제4 SIGN1 정보를 포함하여, 총액 거래내역 정보를 수집하는 명령을 수신하는 단계; ⒟ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 수집 SAM의 인증 서명인 제4 SIGN1 정보의 오류 여부를 검증한 결과 제4 SIGN1 정보에 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM이 NCSAM 정보를 갱신하고, 총액 거래내역 정보에 관한 인증 서명인 SIGNTOT 정보를 생성한 후, 상기 교통카드용 PSAM이 상기 단말기로 총액 거래내역 정보를 수집하는 명령에 응답하는 정보를 송신하는 단계; ⒠ 상기 교통카드용 PSAM이 상기 단말기로 송신한 상기 총액 거래내역 정보를 수집하는 명령에 응답하는 정보 중 제4 SIGN2 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM이 상기 단말기로부터 상기 수집 SAM의 인증 서명인 제4 SIGN3 정보를 포함하여, 총액 거래내역 정보를 삭제하고 수집 단계를 종료하는 명령을 수신하는 단계; 및 ⒡ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 수집 SAM의 인증 서명인 제4 SIGN3 정보의 오류 여부를 검증한 결과 제4 SIGN3 정보에 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM이 총액 거래내역 정보를 삭제하는 단계; 를 포함한다.Finally, the operation method of the PSAM for the traffic card to collect the total transaction details of the traffic card according to the present invention and transmits it to the collection SAM, ⒜ the PSAM for the traffic card including the ID CENTER information from the terminal, Receiving a command for initializing the PSAM for the traffic card and confirming the existence of the total transaction history information to collect the total transaction history information; ⒝ performs initialization for collecting the total transaction history information of the transportation card PSAM that the transport cards, and confirm the total electronic cash company corresponding to the ID CENTER information received from the terminal transaction information existence result, ID CENTER information When the total transaction history information of the electronic money company corresponding to the present invention exists, the PSAM for the traffic card updates the NT SAM information, and the PSAM for the traffic card checks the existence of the total transaction history information to the terminal. Transmitting the information; The total amount of the PSAM for the traffic card includes, from the terminal, ID collection SAM information, which is an identifier of the collection SAM, NT collection SAM information, which is a collection transaction counter of the collection SAM, and fourth SIGN1 information, which is an authentication signature of the collection SAM. Receiving a command for collecting transaction history information; 결과 If the PSAM for the traffic card verifies whether the fourth SIGN1 information, which is the authentication signature of the collection SAM received from the terminal, is not an error, the PSAM for the traffic card is the SAM SAM. Updating the information, generating SIGN TOT information which is an authentication signature on the total transaction details information, and transmitting the information in response to the command for the traffic card PSAM to collect the total transaction details information to the terminal; If there is no verification error for the fourth SIGN2 information among the information in response to the command for collecting the total transaction details information transmitted to the terminal by the PSAM for the transportation card, the PSAM for the transportation card is sent from the terminal. Receiving a command to delete the total transaction history information and end the collection step, including fourth SIGN3 information that is an authentication signature of the collection SAM; And ⒡ if the error is not present in the fourth SIGN3 information as a result of verifying whether the fourth SIGN3 information, which is the authentication signature of the collection SAM, received from the terminal by the PSAM for the traffic card, the total amount of the PSAM for the transportation card, Deleting transaction history information; It includes.

본 발명에 따르면, 전국적으로 호환가능한 교통카드용 PSAM 및 상기 PSAM의 운영방법을 바탕으로 전국적으로 호환 가능한 교통카드의 사용 및 교통카드 시스템 운영이 가능한바, 종래 지역별 또는 사업자별로 교통카드 PSAM의 규격이 상이하여 이용자가 대중교통을 이용할 때 복수의 교통카드를 소지해야 하는 불편함을 해소할 수 있으며, 나아가 교통카드에 대한 국가 공통의 기술적 표준을 갖추고 안정적인 교통카드 시스템의 운영이 가능한 효과가 있다.According to the present invention, it is possible to use a nationally compatible transit card PSAM and the use of a nationally compatible transit card and a transit card system based on the operation method of the PSAM. Differently, it is possible to solve the inconvenience of having a plurality of transportation cards when a user uses public transportation, and furthermore, it is possible to operate a stable transportation card system with a common technical standard for transportation cards.

또한, 본 발명에 따르면, 전국적으로 호환가능한 교통카드용 PSAM의 운영을 통해 각각 상이한 전자화폐를 지불 수단으로 사용하고 있는 대중교통수단에 대해 한 장의 교통카드로 대금 결제가 가능해짐에 따라, 전자화폐의 위상을 제고하며, 아울러 교통카드에 의한 대중교통 이용이 보편화되고 있는 추세 하에서 전자화폐의 활용분야를 확대하고, 전자화폐의 보급을 촉진하는 효과가 있다.In addition, according to the present invention, through the operation of the PSAM for the transport card compatible throughout the country, it is possible to pay with one transportation card for public transportation means that each use different electronic money as a means of payment, electronic money Under the trend that the use of public transportation by transportation cards is becoming more common, it is effective to expand the field of use of electronic money and to promote the spread of electronic money.

본 발명의 실시를 위한 구체적인 내용을 설명하기에 앞서, 본 발명의 기술적 요지와 직접적 관련이 없는 구성에 대해서는 본 발명의 기술적 요지를 흩뜨리지 않는 범위 내에서 생략하였음에 유의하여야 할 것이다. 또한, 본 명세서 및 청구범위에 사용된 용어 또는 단어는 발명자가 자신의 발명을 최선의 방법으로 설명하기 위해 적절한 용어의 개념을 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야 할 것이다.Before describing the details for carrying out the present invention, it should be noted that configurations that are not directly related to the technical gist of the present invention are omitted within the scope of not distracting the technical gist of the present invention. In addition, the terms or words used in the present specification and claims are intended to comply with the technical spirit of the present invention based on the principle that the inventor can define the concept of appropriate terms in order to best explain the invention. It should be interpreted as a concept.

이하, 본 발명에 따른 교통카드용 PSAM(Purcharge Secure Application Module) 및 상기 교통카드용 PSAM의 운영방법에 대해 상세히 설명하기에 앞서, 본 발명에서의 호환형 교통카드에 대해 상세히 설명한다.Hereinafter, a detailed description will be given of a compatible transportation card in the present invention, before describing in detail the operation of the PSAM (Purcharge Secure Application Module) for the traffic card and the PSAM for the traffic card according to the present invention.

본 발명에서 호환형 교통카드란, 종래 지역별 또는 사업자별로 상이하게 구축되어 있는 교통카드 지불, 결제 및 정산시스템에 따른 이용자의 불편 및 사업자의 중복투자를 해소하기 위해, 건설교통부가 주도한 “One Card All Pass 표준기술 개발 및 테스트베드 운영 사업”의 일환으로 철도 교통카드 사업자인 코레일, 버스 및 지하철 교통카드 사업자인 금융결제원, 고속도로 교통카드 사업자인 하이플러스 3사 상호간 호환가능 하도록 제작한 호환형 하이플러스(Hiplus) 교통카드, 호환형 엑스-캐쉬(X-cash) 교통카드 및 호환형 케이-캐쉬(K-cash) 교통카드 등을 포함한다.In the present invention, the compatible transportation card is a “One Card All” led by the Ministry of Construction and Transportation in order to solve the user's inconvenience and overlapping investment of the operator due to the transportation card payment, payment and settlement system which is differently established for each region or each business operator. As part of the "Pass Standard Technology Development and Test Bed Operation Project", the compatible high pluses were made to be compatible with the railroad card company KORAIL, the bus and subway card company, the KFTC, and the highway card company HiPlus. (Hiplus) transportation card, compatible X-cash transportation card and compatible K-cash transportation card.

상기 호환형 교통카드의 경우, 교통카드 사업자간 상호 호환 지불, 결제 및 정산이 가능하도록 하기 위해, 카드운영체제(Card Operationg System, COS)내에 교통호환을 위한 CONFIG DF라는 ADF(Add Data Field)를 필수적으로 포함하며, 상기 CONFIG DF는 교통 호환을 위한 정보, 거래 시 필요한 환승정보, 입구정보 등의 부가정보 및 선택적으로 하이패스 관련 정보를 저장하고, 교통카드에 의한 거래 시 이를 외부에 제공한다. 아울러, 상기 호환형 교통카드는 KS-6923 표준 및 KS-6924 표준에 따르는 내부 명령어체계 및 카드규격을 갖는다.In the case of the compatible transportation card, an ADF (Add Data Field) called CONFIG DF is required for transportation compatibility in the Card Operation System (COS) in order to enable mutual payment, settlement, and settlement between transportation card operators. The CONFIG DF stores additional information such as transit information, transit information, entrance information, and the like, and optionally high pass-related information, and provides it externally when transacting with a traffic card. In addition, the compatible transit card has an internal command system and card standard in accordance with the KS-6923 standard and the KS-6924 standard.

다만, 본 발명에 따른 교통카드용 PSAM는 전술한 “One Card All Pass 표준기술 개발 및 테스트베드 운영 사업”에 의한 호환형 교통카드에 한정되어 사용 및 운영이 가능한 것은 아니며, “One Card All Pass 표준기술 개발 및 테스트베드 운영 사업”에 의한 호환형 교통카드 이외의 기존 교통카드에서도 사용 및 운영이 가능하다. However, the PSAM for a transportation card according to the present invention is not limited to a compatible transportation card by the aforementioned "One Card All Pass standard technology development and test bed operation business", and is not capable of being used and operated. It is possible to use and operate existing transportation cards other than compatible transportation cards by “Technology Development and Test Bed Operation Project”.

이하, 본 발명에 따른 교통카드용 PSAM 및 상기 교통카드용 PSAM의 운영방법에 대해 상세히 설명하기에 앞서, 상기 교통카드용 PSAM에서 사용되는 정보에 대해 첨부한 예시도면을 토대로 상세히 설명한다. 도 1의 경우 본 발명에 따른 교통카드용 PSAM에서 사용되는 정보에 대해 설명하는 도면이다.Hereinafter, before describing in detail the operation method of the transportation card PSAM and the transportation card PSAM according to the present invention, the information used in the transportation card PSAM will be described in detail with reference to the accompanying drawings. 1 is a view for explaining the information used in the PSAM for traffic card according to the present invention.

이때, ALG(ALGorithm identifier)SAM 정보는 상기 교통카드용 PSAM의 알고리즘 식별자(IDentification)을 의미하고, 1 바이트의 크기를 가지며, HEX 형식이다. 이때, 상위 1번째 비트에는 암호화 알고리즘으로 SEED 방식을 사용하는지 여부를 표시하며, SEED 방식을 사용하는 경우는 '1', 사용하지 않는 경우는 '0'으로 정의한다. 그리고, 상위 2번째 비트는 암호화 알고리즘으로 T-DES 방식을 사용하는지 여부를 표시하며, T-DES 방식을 사용하는 경우는 '1', 사용하지 않는 경우는 '0'으로 정의한다.In this case, ALG (ALGorithm identifier) SAM information means an algorithm identification of the PSAM for the traffic card, has a size of 1 byte, and has a HEX format. In this case, the upper first bit indicates whether the SEED method is used as an encryption algorithm, and is defined as '1' when the SEED method is used and '0' when not used. The upper second bit indicates whether the T-DES method is used as the encryption algorithm, and is defined as '1' when the T-DES method is used and '0' when not used.

또한, AV(Application Version)SAM 정보는 상기 교통카드용 PSAM의 애플리케이션(Application) 버젼으로, 1 바이트의 크기를 가지며, HEX 형식이다. 그리고, 상기 AID 정보는 상기 교통카드용 PSAM의 애플리케이션(Application)의 식별자(IDentification)를 의미하고, 10 바이트의 크기를 가지며, HEX 형식이다. In addition, the AV (Application Version) SAM information is an application version of the PSAM for the traffic card, has a size of 1 byte, and is in HEX format. The AID information indicates an identifier of an application of the PSAM for the traffic card, has a size of 10 bytes, and has a HEX format.

또한, DEXP(Date of EXPiration)SAM 정보는 상기 교통카드용 PSAM의 만기일을 의미하며, 4 바이트의 크기를 갖고, BCD 형식이다. 그리고, DISS(Date of ISSuance)SAM 정보는 상기 교통카드용 PSAM의 발급일을 의미하며, 4바이트의 크기를 갖고, BCD 형식이다.In addition, DEXP (Date of EXPiration) SAM information means the expiration date of the PSAM for the traffic card, has a size of 4 bytes, BCD format. And, the DISS (Date of ISSuance) SAM information means the issue date of the PSAM for the traffic card, has a size of 4 bytes, BCD format.

또한, IDSAM 정보는 상기 교통카드용 PSAM의 식별자를 의미하며, 8 바이트의 크기를 갖고, BCD 형식이다. 그리고, NT(Numbers of Transaction)SAM 정보는 상기 교통카드용 PSAM의 거래 카운터를 의미하며,4 바이트의 크기를 갖고, BCD 형식이다. In addition, ID SAM information means the identifier of the PSAM for the traffic card, has a size of 8 bytes, BCD format. The NT (Numbers of Transaction) SAM information means a transaction counter of the PSAM for the traffic card, has a size of 4 bytes, and has a BCD format.

또한, SC(State Code)SAM 정보는 상기 교통카드용 PSAM의 구매거래 상태코드를 의미하며, 2 바이트의 크기를 갖고, HEX 형식이다. 이때, SCSAM 정보의 상위 첫번째 바이트가 '0000 0000'인 경우로, 두번째 바이트가 '0000 0000' 인 경우 "정상 완료" 상태로 정의하고, 두번째 바이트가 '1111 0000'인 경우 "거래 중" 상태로 정 의하며, 두번째 바이트가 '1000 0000'인 경우 "취소 진행" 상태로 정의한다. In addition, SC (State Code) SAM information means the purchase transaction status code of the PSAM for the traffic card, has a size of 2 bytes, HEX format. At this time, when the upper first byte of SC SAM information is '0000 0000', when the second byte is '0000 0000', it is defined as 'normal completion' state, and when the second byte is '1111 0000', it is in 'transaction' state. If the second byte is '1000 0000', it is defined as 'Cancel Progress'.

또한, TYPESAM 정보는 PSAM의 유형별 형태를 의미하며, 1 바이트의 크기를 갖고, HEX 형식이다. 이때, 교통분야에서 사용되는 PSAM인 경우 '0000 0000', 유통분야에서 사용되는 PSAM인 경우 '0100 0000'로 정의한다.In addition, TYPE SAM information refers to a type of PSAM type, has a size of 1 byte, and is in HEX format. In this case, the PSAM used in the transportation field is defined as '0000 0000', and the PSAM used in the distribution field is defined as '0100 0000'.

또한, LCSAM 정보는 상기 교통카드용 PSAM의 수명상태 코드를 의미하며, 1 바이트의 크기를 갖고, HEX 형식이다. 이때, "발급준비" 상태의 경우 '0000 0011', "사용" 상태의 경우 '0000 0111', "폐기" 상태의 경우 '1111 1111'로 정의한다.In addition, the LC SAM information means a life state code of the PSAM for the traffic card, has a size of 1 byte, and is in HEX format. In this case, it is defined as "0000 0011" in the "issuance ready" state, "0000 0111" in the "use" state, and "1111 1111" in the "disposal" state.

또한, M(Money of transaction)PDA 정보는 단말기로부터 교통카드와의 거래를 위해 입력받은 거래요청 금액을 의미하며, 4 바이트의 크기를 갖고, HEX 형식이다. 그리고, NT(Numbers of Transaction)EP 정보는 교통카드(Electric Purse)의 거래 카운터를 의미하며, 4 바이트의 크기를 갖고, HEX 형식이다. 그리고, IDEP 정보는 교통카드(EP)의 식별자를 의미하며, 8 바이트의 크기를 갖고, HEX 형식이다. In addition, M (Money of transaction) PDA information means a transaction request amount received from the terminal for the transaction with the traffic card, has a size of 4 bytes, HEX format. The NT (Numbers of Transaction) EP information means a transaction counter of an electric purse, has a size of 4 bytes, and is in HEX format. The ID EP information means an identifier of a traffic card EP, has a size of 8 bytes, and is in HEX format.

또한, IDCENTER 정보는 전자화폐사의 식별자를 의미하며, 1 바이트의 크기를 갖고, HEX 형식이다. 이때, 상기 IDCENTER 정보는 KS X 6923 규격에서 전자화폐사를 식별하기 위한 고유번호로, 금융결제원의 경우 '0x01' , 에이캐시 사업자의 경우 '0x02', 마이비 사업자의 경우 '0x03', 브이캐시 사업자의 경우 '0x05' , 몬덱스코리아 사업자의 경우 '0x06' , 한국도로공사는 '0x07', 한국스마트카드는 '0x08', 코레일네트웍스는 '0x09' 번지는 코레일네트웍스, 이비 사업자는 '0x0B'로 정의한 다.In addition, the ID CENTER information means an identifier of an electronic money company, has a size of 1 byte, and is in HEX format. At this time, the ID CENTER information is a unique number for identifying the electronic money company in the KS X 6923 standard, '0x01' for the financial settlement agency, '0x02' for the A-Cash operator, '0x03' for the MIB operator, and V-Cash operator. In the case of '0x05', Mondex Korea's' 0x06 ', Korea Expressway Corporation's'0x07', KORAIL Smart Card's' 0x08 ', Korail Networks'' 0x09 ', KORAIL Networks,' BIX '' 0x0B ' It is defined as.

또한, ALG(ALGorithm identifier)EP 정보는 교통카드(EP)의 알고리즘의 식별자를 의미하며, 1 바이트의 크기를 갖고, HEX 형식이다. 이때, 상기 ALGEP 정보는 교통카드에서 SEED 방식을 사용하는 경우는 '0x00', 교통카드에서 T-DES 방식을 사용하는 경우 '0x10'로 정의한다. In addition, ALG (ALGorithm identifier) EP information means the identifier of the algorithm of the transportation card (EP), has a size of 1 byte, and is in the HEX format. At this time, the ALG EP information is defined as '0x00' when the SEED method is used in the traffic card, and '0x10' when the T-DES method is used in the traffic card.

또한, VK(Version of Key)EP 정보는 교통카드와의 지불 거래에 사용할 키인 DPKEY 정보의 버젼을 나타내며, 1 바이트의 크기를 갖고, HEX 형식이다. 그리고,BAL(BALance)EP 정보는 교통카드 내 전자화폐 잔액정보를 의미하며, 4 바이트의 크기를 갖고, HEX 형식이다. 그리고, RN(Random Number)SAM 정보 및 RNEP 정보는 상기 교통카드용 PSAM 또는 교통카드에서 생성하는 난수를 의미하며, 8 바이트의 크기를 갖고, HEX 형식이다. In addition, the VK (Version of Key) EP information indicates a version of DP KEY information, which is a key to be used for a payment transaction with a transportation card, has a size of 1 byte, and is in HEX format. And, BAL (BALance) EP information means the electronic money balance information in the transportation card, has a size of 4 bytes, HEX format. The RN (Random Number) SAM information and the RN EP information mean a random number generated by the PSAM or the traffic card for the traffic card, and have a size of 8 bytes and have a HEX format.

또한, TRT(TRansaction Type) 정보는 상기 교통카드용 PSAM의 거래 유형을 의미하고, 1 바이트의 크기를 가지며, HEX 형식이다. 이때, "RF 구매거래"의 경우 '0x01', "RF 취소거래"의 경우 '0x40'으로 정의한다. 그리고, NI(Number of Indivisual transaction)SAM 정보는 상기 교통카드용 PSAM의 개별거래 수집 카운터를 의미하고, 2 바이트의 크기를 가지며, HEX형식이다. 그리고, NC(Number of Counter)SAM 정보는 상기 교통카드용 PSAM의 총액거래 수집 카운터를 의미하며, 4 바이트의 크기를 가지고, HEX 형식이다. In addition, TRT (TRansaction Type) information means a transaction type of the PSAM for the traffic card, has a size of 1 byte, and is in HEX format. In this case, "0x01" in case of "RF purchase transaction" and "0x40" in case of "RF cancellation transaction" are defined. The number of indivisual transaction (NI) SAM information indicates an individual transaction collection counter of the PSAM for the transportation card, has a size of 2 bytes, and has a HEX format. In addition, the NC (Number of Counter) SAM information means the total transaction collection counter of the PSAM for the traffic card, has a size of 4 bytes, and is in HEX format.

또한, TOT(TOTal amount money)SAM 정보는 상기 교통카드용 PSAM의 누적거래 총액을 의미하며, 4 바이트의 크기를 가지고, HEX 형식이다. 그리고, SN(Serial Number)SAM 정보는 상기 교통카드용 PSAM 제조시 부여되는 PSAM 칩의 일련번호를 의미하며, 8 바이트의 크기를 가지고, HEX 형식이다. 그리고, TOTCENTER 정보는 전자화폐사별 누적거래 총액을 의미하며, 4 바이트의 크기를 가지고, HEX 형식이다. 그리고, NICENTER 정보는 전자화폐사별 개별 거래내역 수집 카운터를 의미하며, 2 바이트의 크기를 가지고, HEX 형식이다.In addition, TOT (TOTal amount money) SAM information means the cumulative transaction total amount of the PSAM for the transportation card, has a size of 4 bytes, HEX format. And, the SN (Serial Number) SAM information means the serial number of the PSAM chip, which is given when the PSAM is manufactured for the traffic card, has a size of 8 bytes, and is in HEX format. In addition, the TOT CENTER information refers to the total transaction amount by electronic money company, and has a size of 4 bytes and is in HEX format. In addition, the NI CENTER information refers to an individual transaction history collection counter for each electronic money company, and has a size of 2 bytes and is in HEX format.

이하, 본 발명에 따른 교통카드용 PSAM에 대해 상세히 설명한다. 본 발명에 따른 교통카드용 PSAM은 정보 저장부, PSAM 제어부 및 정보 전달부로 구성된다.Hereinafter, the PSAM for a traffic card according to the present invention will be described in detail. The PSAM for a traffic card according to the present invention is composed of an information storage unit, a PSAM control unit and an information transfer unit.

먼저, 상기 정보 저장부는, 전자화폐사 별 키 정보 및 상기 교통카드용 PSAM과 교통카드의 거래를 인증하기 위한 정보인 거래인증정보가 저장된다.First, the information storage unit stores the key information for each electronic money company and transaction authentication information, which is information for authenticating a transaction between the PSAM for the traffic card and the traffic card.

다음으로, 상기 PSAM 제어부는, 단말기를 통해 교통카드로부터 거래정보를 수신하고, 상기 전자화폐사 별 키 정보, 상기 거래인증정보에 기반하여 교통카드용 PSAM과 교통카드 간 거래를 위한 정보를 생성한 후, 상기 교통카드용 PSAM과 교통카드 간 거래를 위한 정보, 거래정보 및 거래인증정보에 기반하여 상기 교통카드와의 지불 거래, 지불 재거래 및 거래 취소를 수행하며, 상기 교통카드용 PSAM과 교통카드 간 거래를 위한 정보, 상기 거래인증정보 및 상기 거래정보를 상기 단말기를 통해 교통카드로 송신하는 송신명령을 생성하는 기능을 수행한다.Next, the PSAM control unit receives transaction information from the traffic card through the terminal, and generates information for the transaction between the transport card PSAM and the traffic card based on the key information for each electronic money company and the transaction authentication information. And perform a payment transaction, payment re-transaction and transaction cancellation with the transportation card based on the information for the transaction between the transportation card PSAM and the transportation card, the transaction information and the transaction authentication information, and the PSAM for the transportation card and the transportation card. And generating a transmission command for transmitting the information for the transaction, the transaction authentication information, and the transaction information to the traffic card through the terminal.

이때, 상기 전자화폐사별 키 정보는 전자화폐사 별 관리 키를 의미하는 CTKEY 정보, 전자화폐사 별 구매 및 거래키를 의미하는 MPKEY 정보, 전자화폐사 별 총액 거래내역 서명 생성용 키인 TMKEY 정보, 전자화폐사 별 개별 거래내역 서명 생성용 키인 INDKEY 정보 및 총액 거래내역 정보 수집용 키인 COMPKEY를 포함한다.At this time, the key information for each electronic money company is the CT KEY information means the management key for each electronic money company, the MP KEY information means the purchase and transaction key for each electronic money company, the TM KEY information that is the key for generating the total transaction history signature for each electronic money company, the digitalization IND KEY , a key for generating individual transaction history signatures by each company COMP KEY , which is a key for collecting information and total transaction details.

그리고 이때, 상기 거래인증정보는 교통카드용 PSAM의 알고리즘 식별자(IDentification)인 ALGSAM 정보, 교통카드용 PSAM의 애플리케이션(Application) 버젼인 AV(Application Version)SAM 정보, 교통카드용 PSAM의 애플리케이션(Application)의 식별자(IDentification)인 AID 정보, 교통카드용 PSAM의 만기일인 DEXP(Date of EXPiration)SAM 정보, 교통카드용 PSAM의 발급일인 DISS(Date of ISSuance)SAM 정보, 교통카드용 PSAM의 식별자인 IDSAM 정보, 교통카드용 PSAM의 거래 카운터인 NT(Numbers of Transaction)SAM 정보, 교통카드용 PSAM의 구매거래 상태코드인 SC(State Code)SAM 정보, 교통카드용 PSAM의 유형별 형태를 의미하는 TYPESAM 정보, 교통카드용 PSAM의 수명상태 코드인 LCSAM 정보, 전자화폐사의 식별자인 IDCENTER 정보, 교통카드와의 지불 거래에 사용할 키인 DPKEY 정보의 버젼인 VK(Version of Key)EP 정보, 거래 유형을 의미하는 TRT(TRansaction Type) 정보, 교통카드용 PSAM의 개별거래 수집 카운터를 의미하는 NI(Number of Indivisual transaction)SAM 정 보, 교통카드용 PSAM의 총액거래 수집 카운터인 NC(Number of Counter)SAM 정보, 교통카드용 PSAM의 누적거래 총액인 TOT(TOTal amount money)SAM 정보, 교통카드용 PSAM 제조시 부여되는 교통카드용 PSAM 칩의 일련번호를 의미하는 SN(Serial Number)SAM 정보, 전자화폐사별 누적거래 총액을 의미하는 TOTCENTER 정보, 전자화폐사별 개별 거래내역 수집 카운터인 NICENTER 정보, TMKEY 정보에 대한 키 버젼인 VKTM _ KEY 정보, INDKEY 정보에 대한 키 버젼인 VKIND _ KEY 정보 또는 총액 거래내역 정보 수집용 키인 COMPKEY의 버젼을 의미하는 VKCOMP _ KEY 정보 중 어느 하나 이상을 포함한다.At this time, the transaction authentication information is ALG SAM information of the algorithm identification of the PSAM for the transportation card, AV (Application Version) SAM information of the application version of the PSAM for the transportation card, and the application of the PSAM for the transportation card. AID information of ID), DEXP (Date of EXPiration) SAM information of expiration date of PSAM for transportation cards, DISS (Date of ISSuance) SAM information of issuance date of PSAM for transportation cards, ID of PSAM for transportation cards SAM information, NT (Numbers of Transaction) SAM information that is the transaction counter of the PSAM for the transportation card, SC (State Code) SAM information that is the purchase transaction status code of the PSAM for the transportation card, and TYPE SAM which means the type of the PSAM for the transportation card information, transportation card life status code of LC in (Version of Key) VK version of the DP KEY information key to use the SAM information, e-money's identifier ID CENTER information, payments and transport card transactions PSAM EP information, trading oil for TRT (TRansaction Type) information, transportation card NI means the individual transactions collected counters of PSAM for (Number of Indivisual transaction) of NC (Number of Counter) SAM information, transportation card PSAM total trading collecting counter for indicating the SAM Information, TOT (TOTal amount money) SAM information, which is the cumulative transaction total amount of PSAM for transportation card, SN (Serial Number) SAM information, which means the serial number of PSAM chip for transportation card, which is given when manufacturing PSAM for transportation card, by electronic money company TOT CENTER information, which means cumulative transaction total amount, NI CENTER information, which is an individual transaction history collection counter for each electronic money company, TM KEY Key version of VK TM _ KEY information about the information, any one or more of the VK COMP _ KEY information indicating the version of the key COMP KEY for IND KEY collect information key version of VK IND _ KEY information or capitalization transactions about Include.

그리고 이 때, 상기 PSAM과 교통카드 간 거래를 위한 정보는, 상기 교통카드용 PSAM의 인증 서명인 제1 SIGN2 정보, 제2 SIGN2 정보 및 제3 SIGN2 정보, 상기 교통카드와의 지불 거래에 사용할 키인 DP(Derivation Purchase)KEY 및 SESSAM 정보를 포함한다. At this time, the information for the transaction between the PSAM and the traffic card, the first SIGN2 information, the second SIGN2 information and the third SIGN2 information that is the authentication signature of the PSAM for the traffic card, the key to be used for payment transactions with the traffic card Contains DP (Derivation Purchase) KEY and SES SAM information.

그리고 이때, 거래정보는, 상기 단말기의 거래요청 금액인 M(Money of transaction)PDA 정보, SESEP 정보, 상기 교통카드(Electric Purse,EP)의 거래 카운터인 NT(Numbers of Transaction)EP 정보, 상기 교통카드(EP)의 식별자인 IDEP 정보, 상기 교통카드(EP)의 알고리즘의 식별자인 ALG(ALGorithm identifier)EP 정보 및 상기 교통카드의 전자화폐 잔액정보인 BAL(BALance)EP 정보와 상기 교통카드의 인증 서명인 제1 SIGN1 정보, 제2 SIGN1 정보, 제3 SIGN1 정보, 제1 SIGN3 정보, 제2 SIGN3 정보 및 제3 SIGN3 정보를 포함한다.At this time, the transaction information, M (Money of transaction) PDA information, SES EP information, the transaction request amount of the terminal, NT (Numbers of Transaction) EP information that is a transaction counter of the electric card (Electric Purse, EP), the ID EP information, which is an identifier of a traffic card EP, ALG (ALGorithm identifier) EP information, which is an identifier of an algorithm of the traffic card EP , BAL (BALance) EP information, which is electronic money balance information of the traffic card, and the traffic card. First signature information, second SIGN1 information, third SIGN1 information, first SIGN3 information, second SIGN3 information, and third SIGN3 information.

또한, 상기 PSAM 제어부는 수집 SAM으로부터 수집인증정보를 수신하고, 총액 거래내역 정보 수집을 위한 정보를 생성하여, 상기 수집인증정보, 총액 거래내역 정보 수집을 위한 정보 및 에 기반하여 총액 거래내역 정보를 수집하고, 상기 총액 거래내역 정보를 수집 SAM으로 송신하도록 하는 송신명령을 생성하는 기능을 더 포함하여 수행한다.In addition, the PSAM control unit receives the collection authentication information from the collection SAM, generates information for collecting the total transaction history information, and based on the collection authentication information, the information for collecting the total transaction history information and the total transaction history information based on And collecting a transmission command for transmitting the total transaction details information to a collection SAM.

이때, 상기 총액 거래내역 정보 수집을 위한 정보는, DCOMPKEY 정보, SESKEY 정보, 총액 거래내역 정보에 관한 인증 서명인 SIGNTOT 정보 및 PSAM의 인증 서명인 제4 SIGN2 정보를 포함한다.In this case, the information for collecting the total transaction history information includes DCOMP KEY information, SES KEY information, SIGN TOT information, which is an authentication signature regarding the total transaction history information, and fourth SIGN2 information, which is an authentication signature of the PSAM.

그리고 이때, 상기 수집인증정보는 상기 수집 SAM의 식별자인 ID수집 SAM 정보, 상기 수집 SAM의 수집거래 카운터인 NT수집 SAM 정보와 상기 수집 SAM의 인증 서명인 제4 SIGN1 정보 및 제4 SIGN3 정보를 포함한다.The collection authentication information includes ID collection SAM information, which is an identifier of the collection SAM, NT collection SAM information, which is a collection transaction counter of the collection SAM, and fourth SIGN1 information and fourth SIGN3 information, which are authentication signatures of the collection SAM. do.

그리고 이때, 상기 총액 거래내역 정보는, NISAM 정보 및 TOTSAM 정보를 포함한다.In this case, the total transaction history information includes NI SAM information and TOT SAM information.

마지막으로, 상기 정보 전달부는, 상기 PSAM 제어부에서 생성한 송신명령에 따라, 상기 교통카드용 PSAM과 교통카드 간 거래를 위한 정보, 거래인증정보 및 거래정보를 상기 단말기를 통해 상기 교통카드에 송신하는 기능을 수행한다.Finally, the information transmitting unit transmits the information for the transaction, the transaction authentication information, and the transaction information between the PSAM for the traffic card and the traffic card to the traffic card through the terminal according to a transmission command generated by the PSAM controller. Perform the function.

또한, 상기 정보 전달부는, 상기 PSAM 제어부에서 생성한 상기 총액 거래내 역 정보를 수집 SAM으로 송신하도록 하는 송신명령에 따라, 수집 SAM으로 송신하는 기능을 더 포함하여 수행한다.The information transmitting unit may further include a function of transmitting to the collection SAM according to a transmission command for transmitting the total transaction details generated by the PSAM control unit to the collection SAM.

이하, 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 전국적으로 호환가능한 교통카드와 지불 거래를 수행하기 위한 교통카드용 PSAM의 운영방법에 대해 첨부한 예시도면을 토대로 상세히 설명한다. 도 2의 경우 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 상기 교통카드용 PSAM이 교통카드와 지불 거래를 수행하는 교통카드용 PSAM의 운영방법에 대해 설명하는 도면이다.Hereinafter, in the operating method of the PSAM for traffic card according to the present invention, it will be described in detail with reference to the accompanying drawings for the operation method of the transport card PSAM for performing payment transactions with the nationally compatible transport card. In the case of Figure 2 in the operating method of the traffic card PSAM according to the present invention, a view for explaining the operation of the traffic card PSAM for the traffic card PSAM performs a payment transaction with the traffic card.

설명하기에 앞서, 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 전국적으로 호환가능한 교통카드와 지불 거래를 수행하기 위한 교통카드용 PSAM의 운영방법은 상기 교통카드용 PSAM의 수명상태 코드인 LCSAM 정보가 "사용" 상태인 경우에 수행이 가능하다. Prior to the description, in the method of operating a PSAM for a traffic card according to the present invention, a method of operating a PSAM for a traffic card for performing a payment transaction with a nationally compatible traffic card is a life state code of the PSAM for a traffic card. This can be done when the LC SAM information is in the "Use" state.

먼저, S110 단계에서, 단말기가 교통카드(Electric Purse, EP)에 대해 단말기의 거래요청 금액인 MPDA 정보를 포함하여 거래를 위해 상기 교통카드를 초기화하도록 명령을 송신한다.First, in step S110, the terminal transmits a command to initialize the traffic card for the transaction, including the M PDA information that is the transaction request amount of the terminal for the traffic card (Electric Purse, EP).

이에 따라, 상기 교통카드는 상기 단말기로부터 수신한 MPDA 정보를 교통카드 내 전자화폐 잔액정보인 BALEP 정보와 비교하여 MPDA 정보에 해당하는 값이 BALEP 정보에 해당하는 값보다 큰 경우, 오류 응답을 상기 단말기로 송신한다.Accordingly, the traffic card compares the M PDA information received from the terminal with BAL EP information, which is electronic money balance information in the traffic card, when the value corresponding to the M PDA information is larger than the value corresponding to the BAL EP information. Send a response to the terminal.

그리고, 상기 교통카드가 비교한 결과 BALEP 정보에 해당하는 값이 MPDA 정보에 해당하는 값보다 큰 경우, 상기 교통카드는 상기 교통카드의 거래 카운터인 NTEP 정보를 기존 가지고 있던 값에 1을 더한 값으로 갱신한다.When the value corresponding to the BAL EP information is greater than the value corresponding to the M PDA information as a result of the comparison of the traffic card, the traffic card has a value of 1 as the existing value of NT EP information which is a transaction counter of the traffic card. Update to the added value.

그리고, 상기 교통카드는 전자화폐사의 식별자인 IDCENTER 정보, 교통카드의 식별자인 IDEP 정보, 교통카드의 거래 카운터인 NTEP 정보를 접합한 후 교통카드와의 지불 거래에 사용할 키인 DPKEY 정보를 이용해 암호화하여 SESEP 정보를 생성한다. 이 때, 상기 DP(Derivation Purchase)KEY 정보는 IDCENTER 정보 및 IDEP 정보를 접합한 후 전자화폐사 별 구매 및 거래 키인 MPKEY 정보를 이용해 생성한다. The traffic card combines ID CENTER information, which is an identifier of an electronic money company, ID EP information, which is an identifier of a transportation card, and NT EP information, which is a transaction counter of a traffic card, and then connects DP KEY information, which is a key to be used for payment transactions with the transportation card. Encryption to generate SES EP information. At this time, the DP (Derivation Purchase) KEY information is generated by concatenating ID CENTER information and ID EP information and using MP KEY information, which is a purchase and transaction key for each electronic money company.

그리고, 상기 교통카드는 상기 교통카드의 인증 서명인 제1 SIGN1 정보를 교통카드의 알고리즘 식별자인 ALGEP 정보, DPKEY의 버전 정보인 VK(Version of Key)EP 정보, BALEP 정보를 접합한 후 SESEP 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성한다. The traffic card combines the first SIGN1 information, which is the authentication signature of the traffic card, with ALG EP information, which is an algorithm identifier of the traffic card, VK (Version of Key) EP , which is version information of the DP KEY , and BAL EP information. The SES EP information is used to generate an encrypted file having a size of 4 bytes.

그리고, 상기 교통카드는 상기 단말기로 상기 ALGEP 정보, VKEP 정보, BALEP 정보, IDCENTER 정보, IDEP 정보, NTEP 정보 및 제1 SIGN1 정보를 송신한다.The traffic card transmits the ALG EP information, VK EP information, BAL EP information, ID CENTER information, ID EP information, NT EP information, and first SIGN1 information to the terminal.

다음으로, S130 단계에서, 상기 교통카드용 PSAM은 상기 단말기로부터 지불 거래를 위한 초기화 정보를 포함하여, 교통카드와의 지불 거래 수행을 위해 PSAM(Purcharge Secure Application Module)을 초기화하는 명령 및 상기 교통카드 와 지불 거래를 수행하는 명령을 수신하는데, 이때 상기 지불 거래를 위한 초기화 정보는 ALGEP 정보, VKEP 정보, BALEP 정보, IDCENTER 정보, IDEP 정보, NTEP 정보, 제1 SIGN1 정보, MPDA 정보 및 부가정보를 포함한다.Next, in step S130, the PSAM for the traffic card, including the initialization information for the payment transaction from the terminal, the command to initialize the PSAM (Purcharge Secure Application Module) for performing the payment transaction with the traffic card and the traffic card Receive a command to perform a payment transaction with the ALG EP. Information, VK EP information, BAL EP information, ID CENTER information, ID EP information, NT EP information, first SIGN1 information, M PDA information, and additional information.

이에 따라, 상기 교통카드용 PSAM은 상기 교통카드와의 지불 거래를 위해서 초기화를 수행하고, 상기 교통카드용 PSAM의 구매거래 상태코드인 SCSAM 정보를 확인하며, 상기 단말기로부터 수신한 IDCENTER 정보, IDEP 정보, ALGEP 정보 및 VKEP 정보를 확인한다. Accordingly, the PSAM for the transportation card performs initialization for payment transactions with the transportation card, checks the SC SAM information of the purchase transaction status code of the PSAM for the transportation card, and receives ID CENTER information received from the terminal. Check the ID EP information, ALG EP information, and VK EP information.

그리고, 상기 교통카드용 PSAM은 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제1 SIGN1 정보를 검증한 결과 상기 제1 SIGN1 정보에 대한 검증 오류가 존재하는 경우, 오류 응답을 단말기로 송신한다. The PSAM for the traffic card transmits an error response to the terminal when there is a verification error for the first SIGN1 information as a result of verifying the first SIGN1 information which is the authentication signature of the traffic card received from the terminal.

그리고, 상기 교통카드용 PSAM은 IDCENTER 정보 및 IDEP 정보를 접합한 후 전자화폐사 별 구매 및 거래 키인 MPKEY 정보를 이용해 상기 교통카드와의 지불 거래에 사용할 키인 DP(Derivation Purchase)KEY 정보를 생성하며, IDCENTER 정보, IDEP 정보 및 NTEP 정보를 접합한 후 DPKEY 정보를 이용해 암호화하여 SESSAM 정보를 생성한다. The PSAM for the transportation card generates ID (Derivation Purchase) KEY information, which is a key to be used for payment transactions with the transportation card, after joining ID CENTER information and ID EP information, using MP KEY information, which is a purchase and transaction key for each electronic money company. After joining ID CENTER information, ID EP information and NT EP information, SES SAM information is generated by encrypting using DP KEY information.

이때, 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제1 SIGN1 정보를 검증한 결과 상기 제1 SIGN1 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 상기 교통카드용 PSAM 내 거래 카 운터인 NTSAM 정보를 기존 가지고 있던 값에 1을 더한 값으로 갱신하며, 상기 교통카드용 PSAM의 인증 서명인 제1 SIGN2 정보를 MPDA 정보, IDSAM 정보, NTSAM 정보 및 부가 정보를 접합한 후 SESSAM 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성한다.In this case, when the PSAM for the traffic card verifies the first SIGN1 information that is the authentication signature of the traffic card received from the terminal, and there is no verification error for the first SIGN1 information, the PSAM for the traffic card is Update NT SAM information, which is a transaction counter in the PSAM for the transportation card, to 1 plus 1, and update the first SIGN2 information, the authentication signature of the PSAM for the transportation card, with the M PDA information, ID SAM information, and NT SAM. After joining the information and the additional information is encrypted using SES SAM information to create a size of 4 bytes.

그리고, 상기 교통카드용 PSAM은 상기 교통카드용 PSAM의 구매거래 상태코드인 SCSAM 정보를 "거래 중" 상태로 갱신하고, BALEP 정보를 저장되어 있는 값에서 단말기의 거래금액을 제한 값으로 갱신하며, 상기 IDEP 정보, MPDA 정보, NTEP 정보, BALEP 정보 및 NTSAM 정보를 거래 로그로 저장한 후, 상기 교통카드용 PSAM은 상기 단말기로 교통카드와 지불 거래를 수행하는 명령에 대한 응답 정보를 송신하는데, 상기 교통카드와 지불 거래를 수행하는 명령에 대한 응답 정보는 IDSAM 정보, NTSAM 정보, SCSAM 정보 및 상기 교통카드용 PSAM의 인증 서명인 제1 SIGN2 정보를 포함한다. The PSAM for the traffic card updates the SC SAM information, which is the purchase transaction status code of the PSAM for the traffic card, to a "transaction" state, and updates the transaction amount of the terminal to the limit value from the value in which the BAL EP information is stored. After storing the ID EP information, the M PDA information, the NT EP information, the BAL EP information, and the NT SAM information as a transaction log, the PSAM for the traffic card sends a command for performing a payment transaction with the traffic card to the terminal. Sending response information, the response information for the command for performing a payment transaction with the traffic card includes ID SAM information, NT SAM information, SC SAM information, and first SIGN2 information which is an authentication signature of the PSAM for the traffic card.

다음으로, S150 단계에서, 상기 단말기는 상기 교통카드용 PSAM이 송신한 I상기 교통카드와 지불 거래를 수행하는 명령에 대한 응답 정보와 부가 정보를 포함하여, 상기 교통카드에 대해 지불 거래에 따른 전자화폐 차감명령을 송신한다.Next, in step S150, the terminal includes response information and additional information on an instruction for performing a payment transaction with the I traffic card transmitted by the PSAM for the traffic card, and the electronic device according to the payment transaction for the traffic card. Send a currency deduction command.

이에 따라, 상기 교통카드는 상기 단말기로부터 수신한 상기 교통카드와 지불 거래를 수행하는 명령에 대한 응답 정보 중 상기 교통카드용 PSAM의 인증 서명인 제1 SIGN2 정보를 검증한 결과 상기 제1 SIGN2 정보에 대한 검증 오류가 존재하 는 경우, 오류 응답을 단말기로 송신한다. Accordingly, the traffic card checks the first SIGN2 information, which is an authentication signature of the PSAM for the traffic card, among the response information for the command to perform a payment transaction with the traffic card received from the terminal, and thus, the traffic card receives the first SIGN2 information. If a verification error exists, an error response is sent to the terminal.

그리고, 상기 교통카드가 수신한 상기 교통카드용 PSAM의 인증 서명인 제1 SIGN2 정보를 검증한 결과 상기 제1 SIGN2 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드는 BALEP 정보를 기존 가지고 있던 값에서 단말기의 거래요청 금액을 제한 값으로 갱신하고, IDSAM 정보, MPDA정보, NTsam 정보 및 NTEP 정보를 거래 로그로 저장한다.In addition, when verifying the first SIGN2 information which is the authentication signature of the PSAM for the traffic card received by the traffic card, and there is no verification error for the first SIGN2 information, the traffic card has the BAL EP information. from the value that was requested to update the trading price of the device as a limit value, ID SAM Information, M PDA information, NT sam Info and NT EP Save the information as a transaction log.

그리고, 상기 교통카드는 상기 교통카드의 인증 서명인 제1 SIGN3 정보를 IDSAM 정보, NTSAM 정보, BALEP 정보를 접합한 후, SESEP 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성한다. 그리고, 상기 교통카드는 상기 단말기로 제1 SIGN3 정보를 송신한다.The traffic card generates the first SIGN3 information, which is an authentication signature of the traffic card, by concatenating ID SAM information, NT SAM information, and BAL EP information, and encrypts the SSIGN EP information using SES EP information to generate a size of 4 bytes. The traffic card transmits first SIGN3 information to the terminal.

마지막으로, S170 단계에서, 상기 교통카드용 PSAM은 상기 단말기로부터 제1 SIGN3 정보를 포함하여, 개별 거래내역을 생성하고 지불 거래를 종료하는 명령을 수신한다.Finally, in step S170, the PSAM for the traffic card, including the first SIGN3 information from the terminal, receives a command to generate a separate transaction and end the payment transaction.

이에 따라, 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제1 SIGN3 정보를 검증한 결과 상기 제1 SIGN3 정보에 대한 검증 오류가 존재하는 경우, 오류 응답을 단말기로 송신한다.Accordingly, when the PSAM for the traffic card verifies the first SIGN3 information, which is the authentication signature of the traffic card, received from the terminal, if a verification error for the first SIGN3 information exists, an error response is transmitted to the terminal. .

그리고, 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제1 SIGN3 정보를 검증한 결과 상기 제1 SIGN3 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 상기 교통카드용 PSAM의 누적거래 총액인 TOTSAM 정보를 기존 가지고 있던 값에 단말기의 거래금액을 더한 값으로 갱신하고, SCSAM 정보를 "정상 완료"로 갱신하며, 거래 유형에 대한 정보인 TRT 정보를 "RF 구매거래"로 갱신하고, NISAM 정보를 기존 가지고 있던 값에 1을 더한 값으로 갱신한다. And, when the PSAM for the traffic card verifies the first SIGN3 information that is the authentication signature of the traffic card received from the terminal, and there is no verification error for the first SIGN3 information, the PSAM for the traffic card indicates TOT SAM , the cumulative total value of PSAM for transportation cards Update the information to the value of the terminal plus the transaction amount of the terminal, update the SC SAM information to "normal completion", update the TRT information about the transaction type to "RF purchase transaction", NI SAM Updates the information to the value that had one plus one.

그리고, 상기 교통카드용 PSAM은 개별 거래내역을 생성하는데, 상기 개별 거래내역은 TRT 정보, VKIND _ KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보 및 TOTSAM 정보를 포함한다. The PSAM for the transportation card generates individual transaction details, wherein the individual transaction details include TRT information, VK IND _ KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, M PDA information, and ID. Contains SAM information, NT SAM information, NC SAM information, NI SAM information, and TOT SAM information.

그리고, 상기 교통카드용 PSAM은 개별 거래내역을 생성한 후 개별 거래내역에 대한 서명인 SIGNIND1 정보를 생성하는 데, 상기 SIGNIND1 정보는 TRT 정보, VKIND_KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보 및 TOTSAM 정보를 접합한 후, INDKEY 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성한다. 이때, 상기 SIGNIND1 정보는 교통카드(EP)의 알고리즘의 식별자인 ALGEP 정보에 따른 암호화 방식을 통해 암호화한다.The PSAM for the transportation card generates individual transaction details and then generates SIGN IND1 information that is a signature for the individual transaction details. The SIGN IND1 information includes TRT information, VK IND_KEY information, ID CENTER information, ID EP information, After joining NT EP information, BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM information, NI SAM information, and TOT SAM information, create them with 4 bytes by encrypting them using IND KEY information. do. In this case, the SIGN IND1 information is encrypted through an encryption method according to ALG EP information, which is an identifier of an algorithm of a traffic card (EP).

또한, 상기 교통카드용 PSAM은 상기 SIGNIND1 정보와 별도로 개별 거래내역에 대한 서명인 SIGNIND2 정보를 생성하는데, 상기 SIGNIND2 정보는 TRT정보, VKIND _ KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정 보, NCSAM 정보, NISAM 정보, TOTSAM 정보 및 SIGNIND1 정보를 접합한 후, INDKEY 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성한다. 이때, 상기 SIGNIND2 정보는 SEED 방식 또는 T-DES 방식 중 어느 하나의 암호화 방식을 통해 암호화한다.In addition, the PSAM for the traffic card is the SIGN IND1 SIGN IND2 , the signature of individual transactions separately from information The SIGN IND2 information includes TRT information, VK IND _ KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM. After joining the information, NI SAM information, TOT SAM information, and SIGN IND1 information, the data is encrypted using IND KEY information and created to have a size of 4 bytes. In this case, the SIGN IND2 information is encrypted using any one of an encryption method of the SEED method or the T-DES method.

그리고, 상기 교통카드용 PSAM은 상기 단말기로 개별 거래내역 및 개별 거래내역에 대한 서명인 SIGNIND1 정보 및 SIGNIND2 정보를 송신함으로써, 전국적으로 호환가능한 교통카드와 지불 거래를 수행하기 위한 교통카드용 PSAM의 운영방법의 수행을 종료한다. In addition, the PSAM for the transportation card transmits the SIGN IND1 information and the SIGN IND2 information, which is the signature for the individual transaction and the individual transaction history, to the terminal. Terminate the operation of the operation method.

이하, 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 전국적으로 호환가능한 교통카드와 지불 재거래를 수행하기 위한 교통카드용 PSAM의 운영방법에 대해 첨부한 예시도면을 토대로 상세히 설명한다. 도 3의 경우 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 상기 교통카드용 PSAM이 교통카드와 지불 재거래를 수행하는 교통카드용 PSAM의 운영방법에 대해 설명하는 도면이다.Hereinafter, in the operation method of the PSAM for traffic card according to the present invention, it will be described in detail with reference to the accompanying drawings for the operation method of the transport card PSAM for performing payment re-transaction with a compatible traffic card nationwide. In the case of Figure 3 in the operating method of the traffic card PSAM according to the present invention, it is a diagram illustrating a method of operating a traffic card PSAM in which the traffic card PSAM performs a payment transaction with the traffic card.

설명하기에 앞서, 상기 전국적으로 호환가능한 교통카드와 지불 재거래를 수행하기 위한 교통카드용 PSAM의 운영방법은 상기 교통카드와 상기 교통카드용 PSAM간 지불 거래가 정상종료되지 않은 경우, 예를 들어 상기 PSAM과 교통카드 간 지불 거래 도중 PSAM 또는 교통카드의 인증 서명 검증시 오류가 발생하거나, 지불 거래 수행중 PSAM의 오작동으로 거래가 정상적으로 수행되지 않는 등의 사유로 지불 거래가 정상종료되지 않은 경우, 상기 교통카드용 PSAM에서 수행한다. Prior to the description, the operation method of the PSAM for the traffic card for performing a payment re-transaction with the nationwide compatible transportation card is, for example, if the payment transaction between the traffic card and the PSAM for the traffic card is not normally terminated, for example, If the payment transaction is not terminated normally due to an error in verifying the signature of the PSAM or the transportation card during the payment transaction between the PSAM or the transportation card, or due to a malfunction of the PSAM during the payment transaction, the transportation card is not normally closed. For PSAM.

그리고, 상기 전국적으로 호환가능한 교통카드와 지불 재거래를 수행하기 위한 교통카드용 PSAM의 운영방법은, 상기 교통카드용 PSAM의 수명상태 코드인 LCSAM 정보가 "사용" 상태인 경우에 수행이 가능하다. In addition, the operation method of the PSAM for the traffic card for performing the payment re-transaction with the nationwide compatible transportation card can be performed when the LC SAM information, which is the life status code of the PSAM for the traffic card, is in a "use" state. Do.

덧붙여, 상기 전국적으로 호환가능한 교통카드와 지불 재거래를 수행하기 위한 교통카드용 PSAM의 운영방법에서의 직전 거래란, 상기 교통카드와 상기 교통카드용 PSAM간 지불 거래가 정상종료되지 않은 경우에 해당되는 거래로, 상기 전국적으로 호환가능한 교통카드와 지불 재거래를 수행하기 위한 교통카드용 PSAM의 운영방법 수행 직전의 거래를 의미한다. In addition, the immediately preceding transaction in the operation method of the PSAM for the transportation card for performing the payment re-transaction with the nationwide compatible transportation card is a case where the payment transaction between the transportation card and the PSAM for the transportation card does not end normally. As a transaction, it means a transaction immediately before the operation method of the PSAM for the transportation card for performing the payment re-transaction with the nationwide compatible transportation card.

먼저, S310 단계에서, 단말기가 교통카드(Electric Purse, EP)에 대해 단말기의 거래요청 금액인 MPDA 정보를 포함하여, 상기 교통카드와 교통카드용 PSAM간 지불 거래가 정상종료되지 않은 경우, 지불 재거래 수행을 위해 상기 교통카드를 초기화하도록 명령을 송신한다. First, in step S310, if the terminal includes the M PDA information which is the transaction request amount of the terminal for the transportation card (Electric Purse, EP), if the payment transaction between the transportation card and the PSAM for the transportation card is not normally terminated, Send a command to initialize the transit card to perform a transaction.

이에 따라, 상기 교통카드는 MPDA 정보를 통해 상기 단말기의 거래요청 금액에 대해 파악하고, 상기 교통카드의 거래 카운터인 NTEP 정보를 기존 가지고 있던 값에 1을 더한 값으로 갱신하고, IDCENTER 정보, IDEP 정보, NTEP 정보를 접합한 후 DPKEY 정보를 이용해 암호화하여 SESEP 정보를 생성한다. Accordingly, the traffic card recognizes the transaction request amount of the terminal through the M PDA information, updates the NT EP information, which is a transaction counter of the traffic card, to a value having a value added to 1, and ID CENTER information. SES EP information is generated by combining ID EP information and NT EP information and encrypting them using DP KEY information.

그리고, 상기 교통카드는 상기 교통카드의 직전 거래 로그를 통해 직전 거래의 교통카드 식별자인 IDSAM´정보, 직전 거래의 단말기 거래요청 금액인 MPDA´ 정보 및 직전 거래의 교통카드 거래카운터인 NTEP´ 를 확인한다.In addition, the transportation card is a transportation card transaction counter of the traffic "M PDA requests the terminal deal of information, immediate transaction, just before the transaction log for the transportation card identifier ID SAM immediately preceding transaction with the card information and the immediately preceding transaction NT EP Check ´.

그리고, 상기 교통카드는 상기 교통카드의 인증 서명인 제2 SIGN1 정보를 상기ALGEP 정보, VKEP 정보, BALEP 정보, IDSAM´정보, MPDA´ 정보 및 NTEP´ 정보를 접합한 후, SESEP 정보를 이용해 4 바이트의 크기를 갖도록 생성한다.Then, the traffic card combines the second SIGN1 information, which is the authentication signature of the traffic card, with the ALG EP information, the VK EP information, the BAL EP information, the ID SAM 'information, the M PDA ' information, and the NT EP 'information. It is created to have a size of 4 bytes using the SES EP information.

그리고, 상기 교통카드는 상기 단말기에 상기 ALGEP 정보, VKEP 정보, BALEP 정보, IDSAM´정보, MPDA´ 정보, NTEP´ 정보 및 제2 SIGN1 정보를 송신한다.The traffic card transmits the ALG EP information, the VK EP information, the BAL EP information, the ID SAM 'information, the M PDA ' information, the NT EP 'information, and the second SIGN1 information to the terminal.

다음으로, S330단계에서, 상기 교통카드용 PSAM은 상기 단말기로부터 지불 재거래를 위한 초기화 정보를 포함하여, 지불 재거래를 위해 상기 교통카드용 PSAM을 초기화하는 명령 및 상기 교통카드와 지불 재거래를 수행하는 명령을 수신하는데, 이때, 상기 지불 재거래를 위한 초기화 정보는 ALGEP 정보, VKEP 정보, BALEP 정보, IDSAM´정보, MPDA´ 정보, NTEP´ 정보 및 제2 SIGN1 정보와 MPDA 정보 및 부가 정보를 포함한다.Next, in step S330, the PSAM for the traffic card includes the initialization information for the payment re-transaction from the terminal, the command for initializing the PSAM for the traffic card for payment re-transaction and the payment re-transaction with the traffic card. In this case, the initialization information for the payment re-transaction may include ALG EP information, VK EP information, BAL EP information, ID SAM 'information, M PDA ' information, NT EP 'information, and the second SIGN1 information. M PDA information and additional information.

이에 따라, 상기 교통카드용 PSAM은 지불 재거래를 위해서 초기화를 수행하고, PSAM의 구매거래 상태코드인 SCSAM 정보를 확인하며, 상기 단말기로부터 수신한 IDCENTER 정보, IDEP 정보, ALGEP 정보 및 VKEP 정보를 확인한다.Accordingly, the PSAM for the transportation card performs initialization for payment re-transaction, checks SC SAM information which is a purchase transaction status code of the PSAM, ID CENTER information, ID EP information, ALG EP information, and the like received from the terminal. Check the VK EP information.

그리고, 상기 교통카드용 PSAM은 상기 교통카드와의 지불 재거래에 사용할 키인 DP(Derivation Purchase)KEY 를 IDCENTER 정보 및 IDEP 정보를 접합한 후 MPKEY 정 보를 이용해 암호화하여 생성하고, 또한 SESSAM 정보를 IDCENTER 정보, IDEP 정보 및 NTEP 정보를 접합한 후 DPKEY 정보를 이용해 암호화하여 생성한다.And, PSAM for the transportation card is produced after joining the payment material deal DP (Derivation Purchase) key to use for the KEY the ID CENTER information and ID EP information with the transportation card is encrypted using the information MP KEY information, and further SES SAM The information is created by combining ID CENTER information, ID EP information, and NT EP information, and then encrypting them using DP KEY information.

그리고, 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제2 SIGN1 정보를 검증한 결과 상기 제2 SIGN1 정보에 대한 검증 오류가 존재하는 경우, 상기 교통카드용 PSAM은 상기 단말기에 오류 응답을 송신한다.If the verification card for the second SIGN1 information exists as a result of verifying the second SIGN1 information which is the authentication signature of the traffic card received from the terminal, the PSAM for the traffic card PSAM determines the terminal. Send an error response to

그리고, 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제2 SIGN1 정보를 검증한 결과 상기 제2 SIGN1 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 상기 단말기로부터 수신한 상기 교통카드의 직전 거래 로그와 상기 교통카드용 PSAM의 직전 거래 로그를 비교한 후, NTSAM 정보를 기존에 가지고 있던 값에 1을 더한 값으로 갱신한다. If the PSAM for the traffic card verifies the second SIGN1 information which is the authentication signature of the traffic card received from the terminal, and there is no verification error for the second SIGN1 information, the PSAM for the traffic card is After comparing the last transaction log of the transit card received from the terminal with the last transaction log of the PSAM for the transit card, the NT SAM information is updated to a value obtained by adding 1 to the existing value.

그리고, 상기 교통카드용 PSAM은 상기 교통카드용 PSAM의 인증 서명인 제2 SIGN2 정보를 MPDA 정보, IDSAM 정보, NTSAM 정보 및 부가 정보를 접합한 후, SESSAM 정보로 암호화하여 4 바이트의 크기를 갖도록 생성한 후, 상기 교통카드용 PSAM은 상기 단말기로 교통카드와 지불 재거래를 수행하는 명령에 대한 응답 정보를 송신하는데, 이때 상기 교통카드와 지불 재거래를 수행하는 명령에 대한 응답 정보는IDSAM 정보, NTSAM 정보, SCSAM 정보 및 제2 SIGN2 정보를 포함한다.The PSAM for traffic card combines the second SIGN2 information, which is the authentication signature of the PSAM for the traffic card, with M PDA information, ID SAM information, NT SAM information, and additional information, and then encrypts the SES SAM information with 4 bytes. After generating to have a size, the PSAM for the traffic card transmits the response information for the command for performing a payment re-transaction with the traffic card, wherein the response information for the command for performing a payment re-transaction with the traffic card Includes ID SAM information, NT SAM information, SC SAM information and second SIGN2 information.

다음으로, S350 단계에서, 상기 단말기는 상기 교통카드에 대해 상기 교통카상기 교통카드와 지불 재거래를 수행하는 명령에 대한 응답 정보 및 부가정보를 포 함하여, 전자화폐 차감명령을 송신한다.Next, in step S350, the terminal transmits the electronic money deduction command, including the response information and the additional information for the command to perform a payment re-transaction with the traffic card traffic card with respect to the traffic card.

이에 따라, 상기 교통카드는 상기 단말기로부터 수신한 교통카드와 지불 재거래를 수행하는 명령에 대한 응답 정보 중 상기 교통카드용 PSAM의 인증 서명인 제2 SIGN2 정보를 검증한 결과 상기 제2 SIGN2 정보에 대한 검증 오류가 존재하는 경우, 상기 단말기로 오류 응답을 송신한다.Accordingly, the traffic card checks the second SIGN2 information, which is the authentication signature of the PSAM for the traffic card, among the response information for the command for performing the payment re-transaction with the traffic card received from the terminal, and thus, the traffic card receives the second SIGN2 information. If there is a verification error, the device sends an error response to the terminal.

그리고, 상기 교통카드는 상기 단말기로부터 수신한 상기 교통카드용 PSAM의 인증 서명인 제2 SIGN2 정보를 검증한 결과 상기 제2 SIGN2 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드는 상기 교통카드의 인증 서명인 제2 SIGN3 정보를 IDSAM 정보, NTSAM 정보 및 BALEP 정보를 접합한 후, SESEP 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성하여, 단말기의 명령에 대한 응답으로 단말기에 송신한다.If the traffic card does not have a verification error for the second SIGN2 information as a result of verifying the second SIGN2 information that is the authentication signature of the PSAM for the traffic card received from the terminal, the traffic card is the traffic card. After joining ID SAM information, NT SAM information, and BAL EP information, the second SIGN3 information, which is the authentication signature of, is encrypted using SES EP information, and generated to have a size of 4 bytes. Send.

마지막으로, S370 단계에서, 상기 교통카드용 PSAM은 상기 단말기로부터 제2 SIGN3 정보를 포함하여, 개별 거래내역을 생성하고 지불 재거래를 종료하도록 하는 명령을 수신한다.Finally, in step S370, the PSAM for the traffic card, including the second SIGN3 information from the terminal, receives a command to generate a separate transaction and end the payment re-transaction.

이에 따라, 상기 교통카드용 PSAM은 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제2 SIGN3 정보를 검증한 결과 상기 제2 SIGN3 정보에 대한 검증 오류가 존재하는 경우, 오류 응답을 단말기로 송신한다.Accordingly, the PSAM for the traffic card transmits an error response to the terminal when a verification error for the second SIGN3 information exists as a result of verifying the second SIGN3 information that is the authentication signature of the traffic card received from the terminal. .

그리고, 상기 교통카드용 PSAM은 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제2 SIGN3 정보를 검증한 결과 상기 제2 SIGN3 정보에 대한 검증 오류 가 존재하지 않는 경우, 상기 교통카드용 PSAM은 상기 교통카드용 PSAM의 구매거래 상태코드인 SCSAM 정보를 확인한다. When the PSAM for the traffic card verifies the second SIGN3 information which is the authentication signature of the traffic card received from the terminal, and there is no verification error for the second SIGN3 information, the PSAM for the traffic card is Check the SC SAM information of the purchase transaction status code of the PSAM for the transportation card.

그리고, 상기 교통카드용 PSAM이 상기 SCSAM 정보를 확인한 결과 SCSAM 정보가 "거래 중"인 경우, 상기 교통카드용 PSAM은 TOTSAM 정보에 기존 가지고 있던 값에 단말기의 거래요청 금액을 더한 값을 갱신하며, NISAM 정보에 기존 가지고 있던 값에 1을 더한 값을 갱신한다. 그리고, 상기 교통카드용 PSAM은 SCSAM 정보를 "정상 완료" 상태로 갱신하며, TRT 정보를 "RF 구매거래"로 갱신한다.When the PSAM for the traffic card confirms the SC SAM information, and the SC SAM information is "in the transaction", the PSAM for the traffic card adds the transaction request amount of the terminal to the value that has been previously added to the TOT SAM information. Update the NI SAM information by adding 1 to the existing value. The PSAM for the traffic card updates the SC SAM information to the "normal completion" state and updates the TRT information to the "RF purchase transaction".

그리고, 상기 교통카드용 PSAM은 개별 거래내역을 생성하는 데, 상기 개별 거래내역은 TRT 정보, VKIND _ KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보 및 TOTSAM 정보를 포함한다.The PSAM for the transportation card generates individual transaction details, wherein the individual transaction details include TRT information, VK IND _ KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, M PDA information, It includes ID SAM information, NT SAM information, NC SAM information, NI SAM information, and TOT SAM information.

그리고, 상기 교통카드용 PSAM은 개별 거래내역을 생성한 후, 상기 개별 거래내역에 대한 서명인 SIGNIND1 정보를 생성하는 데, TRT정보, VKIND _ KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보 및 TOTSAM 정보를 접합한 후, INDKEY 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성한다. 이때, 상기 SIGNIND1 정보는 교통카드(EP)의 알고리즘의 식별자인 ALGEP 정보에 따른 암호화 방식을 통해 암호화한다.The PSAM for the transportation card generates individual transaction details, and then generates SIGN IND1 information that is a signature for the individual transaction details. TRT information, VK IND _ KEY information, ID CENTER information, ID EP information, NT After joining EP information, BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM information, NI SAM information, and TOT SAM information, they are encrypted using IND KEY information and created to have a size of 4 bytes. . In this case, the SIGN IND1 information is encrypted through an encryption method according to ALG EP information, which is an identifier of an algorithm of a traffic card (EP).

아울러, 상기 PSAM은 상기 SIGNIND1 정보와 별도로 개별 거래내역에 대한 서명인 SIGNIND2 정보를 생성하는데, TRT정보, VKIND _ KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보, TOTSAM 정보 및 SIGNIND1 정보를 접합한 후, INDKEY 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성한다. 이때, 상기 SIGNIND2 정보는 SEED 방식 또는 T-DES 방식 중 어느 하나의 암호화 방식을 통해 암호화한다.In addition, the PSAM is the SIGN IND1 SIGN IND2 , the signature of individual transactions separately from information It generates information such as TRT information, VK IND _ KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM information, NI SAM information, After joining the TOT SAM information and the SIGN IND1 information, the data is encrypted using the IND KEY information and created to have a size of 4 bytes. In this case, the SIGN IND2 information is encrypted using any one of an encryption method of the SEED method or the T-DES method.

그리고, 상기 교통카드용 PSAM은 상기 단말기로 상기 개별거래 내역 및 개별거래 내역에 대한 서명인 상기 SIGNIND1 정보 및 SIGNIND2 정보를 송신함으로써, 전국적으로 호환가능한 교통카드와 지불 거래를 수행하기 위한 교통카드용 PSAM의 운영방법의 수행을 종료한다. The PSAM for the traffic card transmits the SIGN IND1 information and the SIGN IND2 information, which are signatures of the individual transaction details and the individual transaction details, to the terminal. Terminate execution of PSAM operation method.

이하, 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 전국적으로 호환가능한 교통카드와 거래 취소를 수행하기 위한 교통카드용 PSAM의 운영방법에 대해 첨부한 예시도면을 토대로 상세히 설명한다. 도 4의 경우 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 상기 교통카드용 PSAM이 교통카드와 거래 취소를 수행하는 교통카드용 PSAM의 운영방법에 대해 설명하는 도면이다.Hereinafter, in the method of operating a traffic card PSAM according to the present invention, a description will be given in detail on the basis of the accompanying drawings for a method of operating a traffic card PSAM for performing a transaction cancellation with a compatible traffic card nationwide. In the case of Figure 4 in the operating method of the PSAM for the traffic card according to the present invention, it is a view for explaining a method of operating a PSAM for the traffic card in which the PSAM for the traffic card performs a transaction cancellation with the traffic card.

설명하기에 앞서, 상기 전국적으로 호환가능한 교통카드와 거래 취소를 수행하기 위한 교통카드용 PSAM의 운영방법은 교통카드 사용자의 취소 요청 또는 PSAM 의 취소 요청에 의해 직전에 수행된 교통카드와의 지불 거래를 취소하는 교통카드용 PSAM의 운영방법이다. Prior to the description, the operation method of the PSAM for the traffic card to perform the transaction cancellation with the nationwide compatible transportation card is a payment transaction with the transportation card performed immediately before the request for cancellation or the cancellation of the PSAM. PSAM operation of the transportation card to cancel the.

그리고, 상기 전국적으로 호환가능한 교통카드와 거래 취소를 수행하기 위한 교통카드용 PSAM의 운영방법은, 상기 교통카드용 PSAM의 수명상태 코드인 LCSAM 정보가 "사용" 상태인 경우에 상기 교통카드용 PSAM에서 수행이 가능하다. In addition, the operation method of the PSAM for the traffic card for performing a transaction cancellation with the nationally compatible transportation card, the traffic card for the case where the LC SAM information of the life status code of the PSAM for the traffic card is in the "use" state This can be done in PSAM.

먼저, S510 단계에서, 단말기가 교통카드(Electric Purse, EP)에 대해 단말기의 거래요청 금액인 MPDA 정보를 포함하여, 직전 거래가 정상 종료된 후 교통카드 사용자 또는 상기 교통카드용 PSAM의 요청에 의한 거래 취소 수행을 위해 상기 교통카드를 초기화하는 명령을 송신한다. First, in step S510, the terminal includes the M PDA information which is the transaction request amount of the terminal with respect to the transportation card (Electric Purse, EP), after the last transaction is normally terminated by the user of the transportation card or the PSAM for the transportation card. Send a command to initialize the traffic card to perform a transaction cancellation.

이에 따라, 상기 교통카드는 거래 취소를 위해 초기화를 수행하고, MPDA 정보를 통해 단말기의 거래요청 금액에 대해 파악한 후, 교통카드의 거래 카운터인 NTEP 정보를 기존 가지고 있던 값에 1을 더한 값으로 갱신하고, IDCENTER 정보, IDEP 정보, NTEP 정보를 접합한 후 DPKEY 정보를 이용해 암호화하여 SESEP 정보를 생성한 후, 직전 거래 로그에서 직전 거래의 교통카드 식별자인 IDSAM´정보, 직전 거래의 단말기 거래요청 금액인 MPDA´ 정보 및 직전 거래의 교통카드 거래카운터인 NTEP´ 정보를 확인한다.Accordingly, the traffic card initializes to cancel the transaction, grasps the transaction request amount of the terminal through the M PDA information, and then adds 1 to the existing value of the NT EP information, which is a transaction counter of the traffic card. Update the ID CENTER information, the ID EP information, the NT EP information, and use the DP KEY information to generate the SES EP information. Then, in the last transaction log, the ID SAM ´ information, which is the traffic card identifier of the last transaction, Check the information of M PDA ´ which is the terminal transaction request amount of the last transaction and NT EP ´ which is the transportation card transaction counter of the last transaction.

그리고, 상기 교통카드는 상기 교통카드의 인증 서명인 제3 SIGN1 정보를 상 기 ALGEP 정보, VKEP 정보, BALEP 정보, IDSAM´정보, MPDA´ 정보 및 NTEP´ 정보를 접합한 후, SESEP 정보를 이용해 4 바이트의 크기를 갖도록 생성한 후, 상기 단말기에 상기 ALGEP 정보, VKEP 정보, BALEP 정보, IDSAM´정보, MPDA´ 정보, NTEP´ 정보 및 제3 SIGN1 정보를 송신한다.The traffic card combines the third SIGN1 information, which is the authentication signature of the traffic card, with the ALG EP information, the VK EP information, the BAL EP information, the ID SAM information, the M PDA information, and the NT EP information. After generating, using the SES EP information having a size of 4 bytes, the terminal ALG EP information, VK EP information, BAL EP information, ID SAM 'information, M PDA ' information, NT EP 'information and the third SIGN1 Send the information.

다음으로, S530 단계에서, 상기 교통카드용 PSAM은 상기 단말기로부터 거래취소를 위한 초기화 정보를 포함하여, 상기 교통카드와의 거래 취소 수행을 위해 상기 교통카드용 PSAM(Purcharge Secure Application Module)을 초기화하는 명령 및 상기 교통카드와 거래 취소를 수행하는 명령을 수신하는 데, 이때, 상기 거래 취소를 위한 초기화 정보는ALGEP 정보, VKEP 정보, BALEP 정보, IDCENTER 정보, IDEP 정보, NTEP 정보, 제3 SIGN1 정보와 MPDA 정보 및 부가정보를 포함한다. Next, in step S530, the PSAM for the traffic card includes initialization information for canceling the transaction from the terminal, and initializes the PSAM (Purcharge Secure Application Module) for the traffic card to perform a transaction cancellation with the traffic card. Receiving a command to cancel a transaction with the traffic card, wherein the initialization information for canceling the transaction is AGL EP. Information, VK EP information, BAL EP information, ID CENTER information, ID EP information, NT EP information, third SIGN1 information and M PDA information and additional information.

이에 따라, 상기 교통카드용 PSAM은 거래 취소를 위해 초기화를 수행하며, SCSAM 정보를 확인하여 "거래 중" 상태인 경우에는 상기 단말기에 오류 응답을 송신한다.Accordingly, the PSAM for the traffic card performs initialization to cancel the transaction, and checks the SC SAM information and transmits an error response to the terminal when it is in the "transaction" state.

그리고, 상기 교통카드용 PSAM은 상기 단말기로부터 수신한 IDCENTER 정보, IDEP 정보, ALGEP 정보 및 VKEP 정보를 확인한 후, 상기 교통카드와의 거래 취소에 사용할 키인 DP(Derivation Purchase)KEY 를 IDCENTER 정보 및 IDEP 정보를 접합한 후 MPKEY 정보를 이용해 암호화하여 생성하며, SESSAM 정보를 IDCENTER 정보, IDEP 정보 및 NTEP 정보를 접합한 후 DPKEY 정보를 이용해 암호화하여 생성한다.The PSAM for the traffic card checks ID CENTER information, ID EP information, ALG EP information, and VK EP information received from the terminal, and then identifies a DP (Derivation Purchase) KEY , which is a key used for canceling a transaction with the traffic card. After joining CENTER information and ID EP information, it is generated by encrypting it using MP KEY information, and SES SAM information is created by joining ID CENTER information, ID EP information and NT EP information, and then encrypted using DP KEY information.

그리고, 상기 교통카드용 PSAM은 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제3 SIGN1 정보를 검증한 결과 상기 제3 SIGN1 정보에 대한 검증 오류가 존재하는 경우 오류 응답을 상기 단말기로 송신한다.The PSAM for the traffic card transmits an error response to the terminal when there is a verification error for the third SIGN1 information as a result of verifying the third SIGN1 information which is the authentication signature of the traffic card received from the terminal.

그리고 , 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제3 SIGN1 정보를 검증한 결과 상기 제3 SIGN1 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 상기 교통카드의 직전 거래 로그와 상기 교통카드용 PSAM 내 직전 거래 로그를 비교한 후, NTSAM 정보를 기존 가지고 있던 값에 1을 더한 값으로 갱신한다.If the PSAM for the traffic card verifies the third SIGN1 information that is the authentication signature of the traffic card received from the terminal, and there is no verification error for the third SIGN1 information, the PSAM for the traffic card indicates After comparing the last transaction log of the transit card and the last transaction log in the PSAM for the transit card, the NT SAM information is updated to the value that had 1 plus 1.

그리고, 상기 교통카드용 PSAM은 SCSAM 정보를 확인하고, 확인한 결과 SCSAM 정보가 "정상 종료" 상태인 경우, TOTSAM 정보에 기존에 가지고 있던 값에서 단말기의 거래요청 금액을 제한 값을 갱신하고, NISAM 정보에 1을 더한 값을 갱신하며, BALEP 정보에는 단말기의 거래요청 금액을 더한 값을 갱신한 후, SCSAM 정보를 "취소 진행" 상태로 갱신한다.Then, the PSAM for a transportation card, check the SC SAM information, confirming the results SC SAM information is updated if a "graceful shutdown" state, limiting the transactions requested amount of the terminal from the value that has existing in the TOT SAM values After updating the NI SAM information plus 1, and updating the BAL EP information plus the transaction request amount of the terminal, the SC SAM information is updated to the "cancellation progress" state.

그리고, 상기 교통카드용 PSAM은 상기 교통카드용 PSAM의 인증 서명인 제3 SIGN2 정보를 MPDA 정보, IDSAM 정보, NTSAM 정보 및 부가 정보를 접합한 후, SESSAM 정보로 암호화하여 4 바이트의 크기를 갖도록 생성한다.The PSAM for the traffic card combines the third SIGN2 information, which is the authentication signature of the PSAM for the traffic card, with the M PDA information, the ID SAM information, the NT SAM information, and the additional information, and then encrypts the SES SAM information with 4 bytes. Create to have a size.

그리고, 상기 교통카드용 PSAM은 상기 단말기에 교통카드와의 거래 취소를 수행하는 명령에 대한 응답 정보를 송신하는데, 이때 상기 교통카드와의 거래 취소를 수행하는 명령에 대한 응답 정보는 IDSAM 정보, NTSAM 정보, SCSAM 정보 및 제3 SIGN2 정보를 포함한다.The PSAM for the traffic card transmits response information to the terminal for a command to cancel a transaction with the traffic card, wherein the response information for the command for canceling a transaction with the traffic card includes ID SAM information, NT SAM information, SC SAM information, and third SIGN2 information.

다음으로, S550 단계에서, 상기 단말기는 상기 교통카드에 대해 상기교통카드와의 거래 취소를 수행하는 명령에 대한 응답 정보를 포함하여, 거래 취소를 수행하는 명령을 송신한다. Next, in step S550, the terminal transmits a command for canceling a transaction, including response information for the command for canceling a transaction with the traffic card.

이에 따라, 상기 교통카드는 상기 단말기로부터 수신한 상기 교통카드와의 거래 취소를 수행하는 명령에 대한 응답 정보 중 상기 교통카드용 PSAM의 인증 서명인 제3 SIGN2 정보를 검증한 결과 상기 제3 SIGN2 정보에 대한 검증 오류가 존재하는 경우, 상기 단말기로 오류 응답을 송신한다. Accordingly, when the traffic card verifies the third SIGN2 information, which is an authentication signature of the PSAM for the traffic card, in response information for the command for canceling the transaction with the traffic card received from the terminal, the third SIGN2 information. If there is a verification error for, send an error response to the terminal.

그리고, 상기 교통카드는 상기 단말기로부터 수신한 상기 교통카드용 PSAM의 인증 서명인 제3 SIGN2 정보를 검증한 결과 상기 제3 SIGN2 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드는 BALEP 정보를 단말기의 거래요청 금액을 더한 값으로 갱신한 후, IDSAM 정보, MPDA 정보, NTsam 정보 및 NTEP 정보를 포함하여 거래 로그로 저장한다. The traffic card checks the third SIGN2 information, which is the authentication signature of the PSAM for the traffic card, received from the terminal, and when there is no verification error for the third SIGN2 information, the traffic card is the BAL EP information. Is updated with the transaction request amount of the terminal and the ID SAM Information, M PDA Information, NT sam Info and NT EP Save the information as a transaction log.

다음으로, S570 단계에서, 상기 교통카드용 PSAM은 상기 단말기로부터 직전 거래 로그를 삭제하고, 거래 취소 수행을 종료하도록 하는 명령을 수신한다.Next, in step S570, the PSAM for the traffic card deletes the previous transaction log from the terminal, and receives a command to terminate the transaction cancellation.

이에 따라, 상기 교통카드용 PSAM은 SCSAM 정보를 "정상 완료" 상태로 갱신하고, TRT 정보에 "RF 취소거래"로 갱신한 후, 개별거래 내역을 생성하는데 상기 개 별거래 내역은 TRT 정보, VKIND _ KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보 및 TOTSAM 정보를 포함한다. Accordingly, the PSAM for the transportation card is SC SAM After the information is updated to the "normal completion" state, the TRT information is updated to "RF canceled transaction", and then individual transaction details are generated. The individual transaction details include TRT information, VK IND _ KEY information, ID CENTER information, and ID. EP information, NT EP information, BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM information, NI SAM information, and TOT SAM information.

그리고, 상기 교통카드용 PSAM은 상기 개별 거래내역을 생성한 후, 개별거래 내역에 대한 서명인 SIGNIND1 정보와 SIGNIND2 정보를 생성하는 데, 상기 SIGNIND1 정보는 TRT정보, VKIND _ KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보 및 TOTSAM 정보를 접합한 후, INDKEY 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성한다.The PSAM for the traffic card generates the individual transaction details and then signs SIGN IND1 for the individual transaction details. Information and SIGN IND2 To generate information, the SIGN IND1 The information includes TRT information, VK IND _ KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM information, NI SAM information and TOT SAM information. After concatenating, encrypt using IND KEY information and create a size of 4 bytes.

또한, 상기 교통카드용 PSAM은 상기 SIGNIND1 정보와 별도의 개별 거래내역에 대한 서명인 SIGNIND2 정보를 생성하는데, 상기 SIGNIND2 정보를 TRT정보, VKIND _ KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보, TOTSAM 정보 및 SIGNIND1 정보를 접합한 후, INDKEY 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성한다.In addition, the PSAM for the traffic card SIGN IND2 which is a signature for separate transaction details separate from the SIGN IND1 information Generating information, the SIGN IND2 TRT information, VK IND _ KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM information, NI SAM information, TOT SAM information And SIGN IND1 information, and then encrypted using IND KEY information to generate a size of 4 bytes.

그리고, 상기 교통카드용 PSAM은 개별거래 내역 및 개별거래 내역에 대한 서명인 상기 SIGNIND1 정보 및 SIGNIND2 정보를 단말기의 명령에 대한 응답으로 송신함으로써, 상기 전국적으로 호환가능한 교통카드와 거래 취소를 수행하기 위한 교통카드용 PSAM의 운영방법의 수행을 종료한다. In addition, the PSAM for the traffic card transmits the SIGN IND1 information and the SIGN IND2 information, which are the signatures of the individual transaction details and the individual transaction details, in response to a command of the terminal, thereby performing a transaction cancellation with the nationwide compatible transportation card. Ends the execution of the operation method of the PSAM for the traffic card.

이하, 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 교통카드의 총액 거래내역 정보를 수집하여 수집 SAM으로 송신하는 교통카드용 PSAM의 운영방법에 대해 첨부한 예시도면을 토대로 상세히 설명한다. 도 5의 경우 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 교통카드의 총액 거래내역 정보를 수집하여 수집 SAM으로 송신하는 교통카드용 PSAM의 운영방법에 대해 설명하는 도면이다.Hereinafter, in the method of operating a traffic card PSAM according to the present invention, a method of operating a traffic card PSAM for collecting and transmitting total transaction information of a traffic card to a collection SAM will be described in detail with reference to the accompanying drawings. In the case of Figure 5 in the operating method of the PSAM for the traffic card according to the present invention, it is a view for explaining the operating method of the PSAM for the traffic card for collecting the total transaction information of the traffic card to transmit to the collection SAM.

설명하기에 앞서, 상기 총액 거래내역 정보는 상기 교통카드용 PSAM의 개별 거래내역 수집카운터인NISAM 정보 및 상기 교통카드용 PSAM의 누적거래 총액인 TOTSAM 정보를 포함한다.Prior to the description, the total transaction history information includes NI SAM information, which is an individual transaction history collection counter of the PSAM for the transportation card, and TOT SAM information, which is a cumulative transaction total amount of the PSAM for the transportation card.

먼저, S710 단계에서, 상기 교통카드용 PSAM은 단말기로부터 전자화폐사의 식별자인 IDCENTER 정보를 포함하여, 총액 거래내역 정보를 수집하기 위해 상기 교통카드용 PSAM을 초기화하는 명령 및 상기 교통카드의 총액 거래내역 정보의 존재 여부를 확인하는 명령을 수신한다.First, in step S710, the PSAM for the traffic card including the ID CENTER information which is the identifier of the electronic money from the terminal, the command to initialize the PSAM for the traffic card to collect the total transaction details information and the total amount of the traffic card transaction Receives a command to check whether the history information exists.

이에 따라, 상기 교통카드용 PSAM은 교통카드의 총액 거래내역 정보 수집을 위해 초기화를 수행하고, 상기 단말기로부터 수신한 IDCENTER 정보에 해당하는 전자화폐사의 총액 거래내역 정보 존재 여부를 확인한 후, NTSAM 정보에 기존 가지고 있던 값에 1을 더한 값을 갱신한다.Accordingly, the PSAM for the transportation card performs initialization for collecting the total transaction history information of the transportation card, and confirms whether the total amount of transaction information of the electronic money company corresponding to the ID CENTER information received from the terminal exists, and then the NT SAM. Update the information to the existing value plus one.

그리고, 상기 교통카드용 PSAM은 상기 단말기로 총액 거래내역 정보의 존재 여부를 확인하는 명령에 대한 정보를 송신하는 데, 상기 총액 거래내역 정보의 존 재 여부를 확인하는 명령에 대한 정보는 총액 거래내역 수집용 키인 COMPKEY의 버젼을 의미하는 VKCOMP _ KEY 정보, IDCENTER 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보 및 TOTSAM 정보를 포함한다.In addition, the PSAM for the traffic card transmits information about a command for confirming the existence of the total transaction history information to the terminal, the information on the command for confirming the existence of the total transaction history information is the total transaction history key data collection includes VK COMP _ KEY information, ID CENTER information, ID SAM information, NT SAM information, NC SAM TOT SAM information and information indicating the version of the COMP KEY.

다음으로, S730 단계에서, 상기 단말기는 상기 총액 거래내역 정보의 존재 여부를 확인하는 명령에 대한 정보를 포함하여, 수집 SAM(Secure Application Module)에 대해 총액 거래내역 정보를 수집하기 위한 초기화 요청을 송신한다.Next, in step S730, the terminal transmits an initialization request for collecting the total transaction history information for the collection SAM (Secure Application Module), including information on a command for confirming the existence of the total transaction details information. do.

이에 따라, 상기 수집 SAM은 상기 수집 SAM의 거래 카운터를 의미하는 NT수집SAM 정보에 1을 더한 값을 갱신하며, 총액 거래내역 수집용 키인 COMPKEY 정보를 유도(Derivation)하는 DCOMPKEY 정보를 생성한다. 이때, 상기 DCOMPKEY 정보는 상기 COMPKEY 정보와 COMPKEY를 반전한 COMPKEY -1 정보를 접합한 후, COMPKEY 정보를 이용해 암호화하여 생성한다.Accordingly, the collecting SAM updates the value obtained by adding 1 to the NT collecting SAM information indicating the trading counter of the collecting SAM, and generates DCOMP KEY information for deriving COMP KEY information, which is a key for collecting total transaction details. . At this time, the KEY DCOMP information is then joined to COMP KEY -1 information by inverting the information and COMP KEY KEY COMP, COMP KEY Generated by encrypting the information.

그리고, 상기 수집 SAM은 IDCENTER 정보 , IDSAM 정보, NT수집 SAM 정보를 접합하여 DCOMPKEY 정보를 이용해 암호화하여 세션 키인 SESKEY 정보를 생성하며, 상기 수집 SAM의 인증 서명인 제4 SIGN1 정보는 NCSAM 정보, TOTSAM 정보, ID수집 SAM 정보 및 NT수집SAM 정보를 접합한 후 SESKEY 정보를 이용하여 암호화하여 4 바이트의 크기를 갖도록 생성한다.The collection SAM combines ID CENTER information, ID SAM information, and NT collection SAM information to generate SES KEY information, which is a session key by encrypting using DCOMP KEY information, and the fourth SIGN1 information, which is an authentication signature of the collection SAM, is NC. After concatenating SAM information, TOT SAM information, ID collecting SAM information, and NT collecting SAM information, the data is encrypted using SES KEY information and created to have a size of 4 bytes.

그리고, 상기 수집 SAM은 상기 단말기의 초기화 요청에 대한 응답으로 ID수집SAM 정보, NT수집 SAM 정보 및 제4 SIGN1 정보를 상기 단말기로 송신한다.The collection SAM transmits ID collection SAM information, NT collection SAM information, and fourth SIGN1 information to the terminal in response to the initialization request of the terminal.

다음으로, S750 단계에서, 상기 교통카드용 PSAM은 상기 단말기로부터 ID수집SAM 정보, NT수집 SAM 정보 및 제4 SIGN1 정보를 포함하여, 총액 거래내역 정보를 수집하도록 하는 명령을 수신한다.Next, in step S750, the PSAM for the traffic card receives a command to collect the total transaction history information, including ID collection SAM information, NT collection SAM information and the fourth SIGN1 information from the terminal.

이에 따라, 상기 교통카드용 PSAM은 IDCENTER 정보, IDSAM 정보, NT수집 SAM 정보를 접합하여 DCOMPKEY 정보를 이용해 암호화하여 세션 키인 SESKEY 정보를 생성하며,상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 수집 SAM의 인증 서명인 제4 SIGN1 정보의 오류 여부를 검증한 결과 제4 SIGN1 정보에 오류가 존재하는 경우, 오류 응답을 상기 단말기로 송신한다.Accordingly, the PSAM for the traffic card joins ID CENTER information, ID SAM information, and NT collection SAM information to generate SES KEY information, which is a session key by encrypting using DCOMP KEY information, and the PSAM for the traffic card is received from the terminal. If an error exists in the fourth SIGN1 information as a result of verifying whether the fourth SIGN1 information, which is the authentication signature of the collected SAM, is present, an error response is transmitted to the terminal.

그리고, 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 수집 SAM의 인증 서명인 제4 SIGN1 정보의 오류 여부를 검증한 결과 제4 SIGN1 정보에 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 NCSAM 정보에 1을 더한 값을 갱신한다. When the PSAM for the traffic card verifies whether the fourth SIGN1 information, which is the authentication signature of the collection SAM received from the terminal, is not an error, the PSAM for the traffic card is NC. Update the SAM information with one added.

그리고, 상기 교통카드용 PSAM은, 총액 거래내역 정보에 관한 인증 서명인 SIGNTOT 정보를 IDSAM 정보, IDCENTER 정보, NCSAM 정보, NISAM 정보, TOTSAM 정보를 접합한 후 전자화폐사 총액 거래 서명 생성용 키인 TMKEY 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성한다.In addition, the PSAM for the traffic card, after signing the SIGN TOT information, which is the authentication signature for the total transaction history information, with the ID SAM information, ID CENTER information, NC SAM information, NI SAM information, and TOT SAM information, the electronic money company total transaction signature It is generated to have a size of 4 bytes by encrypting using TM KEY information which is a generation key.

그리고, 상기 교통카드용 PSAM은 상기 교통카드용 PSAM의 인증 서명인 제4 SIGN2 정보를 IDCENTER 정보, NCSAM 정보, NISAM 정보, TOTSAM 정보 및 SIGNTOT 정보를 접합한 후 SESKEY 정보를 이용해 암호화하여 4 바이트의 크기를 갖도록 생성한다.In addition, the PSAM for the traffic card combines the fourth SIGN2 information, which is the authentication signature of the PSAM for the traffic card, with ID CENTER information, NC SAM information, NI SAM information, TOT SAM information, and SIGN TOT information, and then uses SES KEY information. It is encrypted and created to have a size of 4 bytes.

그리고, 상기 교통카드용 PSAM은 상기 단말기로 상기 총액 거래내역 정보를 수집하는 명령에 응답하는 정보를 송신하는 데, 상기 단말기로 상기 총액 거래내역 정보를 수집하는 명령에 응답하는 정보는 TMKEY 정보에 대한 키 버젼인 VKTM _ KEY 정보, IDCENTER 정보, NCSAM 정보, NISAM 정보, TOTSAM 정보, SIGNTOT 정보 및 상기 교통카드용 PSAM의 인증 서명인 제4 SIGN2 정보를 포함한다.The PSAM for the traffic card transmits information to the terminal in response to a command for collecting the total transaction details information. The information in response to the command for collecting the total transaction details information is a TM KEY. And a key version of VK TM _ KEY information, ID information CENTER, NC SAM information, NI information SAM, SAM TOT information, SIGN TOT information and authentication information of the sign of claim 4 SIGN2 PSAM for the transportation card for the information.

다음으로, S770 단계에서, 상기 단말기는 상기 교통카드용 PSAM으로부터 수신한 상기 총액 거래내역 정보를 수집하는 명령에 응답하는 정보를 상기 수집 SAM으로 송신한다.Next, in step S770, the terminal transmits the information to the collection SAM in response to a command for collecting the total transaction history information received from the PSAM for the traffic card.

이에 따라, 상기 수집 SAM은 상기 단말기로부터 수신한 상기 총액 거래내역 정보를 수집하는 명령에 응답하는 정보 중 상기 교통카드용 PSAM의 인증 서명인 제4 SIGN2 정보의 오류 여부를 검증한 결과 제4 SIGN2 정보에 오류가 존재하는 경우, 상기 단말기로 오류 응답을 전송한다.Accordingly, the collecting SAM verifies whether the fourth SIGN2 information, which is the authentication signature of the PSAM for the traffic card, is error in the information in response to the command for collecting the total transaction history information received from the terminal, and then the fourth SIGN2 information. If an error exists, an error response is sent to the terminal.

그리고, 상기 수집 SAM이 상기 단말기로부터 수신한 상기 총액 거래내역 정보를 수집하는 명령에 응답하는 정보 중 상기 교통카드용 PSAM의 인증 서명인 제4 SIGN2 정보의 오류 여부를 검증한 결과 제4 SIGN2 정보에 오류가 존재하지 않는 경 우, 상기 수집 SAM은 상기 단말기로부터 수신한 NISAM 정보 및 TOTSAM 정보를 통해 총액 거래내역 정보를 저장한다. Further, when the collecting SAM verifies whether the fourth SIGN2 information, which is an authentication signature of the PSAM for the traffic card, is in error in response to the command for collecting the total transaction history information received from the terminal, the fourth SIGN2 information. If there is no error, the collecting SAM stores the total transaction history information through the NI SAM information and the TOT SAM information received from the terminal.

그리고, 상기 수집 SAM은 수집 SAM의 인증 서명인 제4 SIGN3 정보를 IDSAM 정보, IDCENTER 정보 및 제4 SIGN2 정보를 접합한 후 SESKEY 정보로 암호화하여 4 바이트의 크기를 갖도록 생성하여 상기 단말기로 제4 SIGN3 정보를 송신한다.The collecting SAM combines the fourth SIGN3 information, which is the authentication signature of the collecting SAM, with ID SAM information, ID CENTER information, and fourth SIGN2 information, and encrypts it with SES KEY information to generate a size of 4 bytes to the terminal. Send the fourth SIGN3 information.

마지막으로, S790 단계에서, 상기 교통카드용 PSAM은 상기 단말기로부터 제4 SIGN3 정보를 포함하여, 총액 거래내역 정보를 삭제하고 수집 단계를 종료하도록 하는 명령을 수신한다. Finally, in step S790, the PSAM for the traffic card receives the command to delete the total transaction history information, including the fourth SIGN3 information from the terminal and to end the collection step.

이에 따라, 상기 교통카드용 PSAM은 상기 단말기로부터 수신한 상기 수집 SAM의 인증 서명인 제4 SIGN3 정보의 오류 여부를 검증한 결과 제4 SIGN3 정보에 오류가 존재하는 경우, 상기 단말기로 오류 응답을 송신한다. Accordingly, the PSAM for the traffic card verifies whether the fourth SIGN3 information, which is the authentication signature of the collection SAM, received from the terminal is an error, and transmits an error response to the terminal when an error exists in the fourth SIGN3 information. do.

그리고, 상기 교통카드용 PSAM은 상기 단말기로부터 수신한 상기 수집 SAM의 인증 서명인 제4 SIGN3 정보의 오류 여부를 검증한 결과 제4 SIGN3 정보에 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM 내 총액 거래내역 정보인 NISAM 정보 및 TOTSAM 정보를 삭제함으로써, 상기 교통카드의 총액 거래내역 정보를 수집하여 수집 SAM으로 송신하는 교통카드용 PSAM의 운영방법의 수행을 종료한다.When the PSAM for the traffic card verifies whether the fourth SIGN3 information, which is the authentication signature of the collection SAM received from the terminal, is not an error, the total amount in the PSAM for the traffic card is not present. By deleting the NI SAM information and the TOT SAM information, which is transaction history information, the execution of the operation method of the PSAM for the traffic card collecting the total transaction history information of the traffic card and transmitting it to the collection SAM is completed.

이상으로, 본 발명의 기술적 사상을 예시하기 위한 바람직한 실시예와 관련 하여 설명하고 도시하였으나, 본 발명은 상기 설명 및 도시대로의 구성 및 작용에만 국한되는 것이 아니다. 아울러 본 발명의 기술적 사상의 범주를 일탈하지 않는 범위 내에서 다수의 변경 및 수정이 가능함을 당업자는 잘 이해할 수 있을 것이다. 따라서 모든 적절한 변경 및 수정이 가해진 발명 및 본 발명의 균등물에 속하는 발명들도 본 발명에 속하는 것으로 간주 되어야 할 것이다.As described above, the present invention has been described and illustrated in connection with a preferred embodiment for illustrating the spirit of the present invention, but the present invention is not limited to the above-described configuration and operation. In addition, those skilled in the art will appreciate that many changes and modifications can be made without departing from the scope of the technical idea of the present invention. Therefore, inventions which have been subjected to all appropriate changes and modifications and inventions belonging to the equivalents of the present invention should also be regarded as belonging to the present invention.

도 1의 경우 본 발명에 따른 교통카드용 PSAM에서 사용되는 정보에 대해 설명하는 도면이다.1 is a view for explaining the information used in the PSAM for traffic card according to the present invention.

도 2의 경우 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 상기 교통카드용 PSAM이 교통카드와 지불 거래를 수행하는 교통카드용 PSAM의 운영방법에 대해 설명하는 도면이다. In the case of Figure 2 in the operating method of the traffic card PSAM according to the present invention, a view for explaining the operation of the traffic card PSAM for the traffic card PSAM performs a payment transaction with the traffic card.

도 3의 경우 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 상기 교통카드용 PSAM이 교통카드와 지불 재거래를 수행하는 교통카드용 PSAM의 운영방법에 대해 설명하는 도면이다. In the case of Figure 3 in the operating method of the traffic card PSAM according to the present invention, it is a diagram illustrating a method of operating a traffic card PSAM in which the traffic card PSAM performs a payment transaction with the traffic card.

도 4의 경우 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 상기 교통카드용 PSAM이 교통카드와 거래 취소를 수행하는 교통카드용 PSAM의 운영방법에 대해 설명하는 도면이다.In the case of Figure 4 in the operating method of the PSAM for the traffic card according to the present invention, it is a view for explaining a method of operating a PSAM for the traffic card in which the PSAM for the traffic card performs a transaction cancellation with the traffic card.

도 5의 경우 본 발명에 따른 교통카드용 PSAM의 운영방법에 있어서, 교통카드의 총액 거래내역 정보를 수집하여 수집 SAM으로 송신하는 교통카드용 PSAM의 운영방법에 대해 설명하는 도면이다.In the case of Figure 5 in the operating method of the PSAM for the traffic card according to the present invention, it is a view for explaining the operating method of the PSAM for the traffic card for collecting the total transaction information of the traffic card to transmit to the collection SAM.

Claims (13)

전국적으로 호환가능한 교통카드와 지불 거래, 지불 재거래 및 거래 취소를 수행하고, 교통카드의 총액 거래내역 정보를 수집하여 수집 SAM으로 송신하는 교통카드용 PSAM(Purcharge Secure Application Module)에 있어서, 상기 교통카드용 PSAM은 In the PSAM (Purcharge Secure Application Module) for a traffic card which performs payment transactions, payment re-transactions and transaction cancellations with a nationally compatible transportation card, and collects and transmits the total transaction details of the traffic card to the collection SAM, the traffic PSAM for card 전자화폐사 별 키 정보 및 상기 교통카드용 PSAM과 교통카드의 거래를 인증하기 위한 정보인 거래인증정보가 저장된 정보 저장부;An information storage unit storing key authentication information for each electronic money company and transaction authentication information which is information for authenticating a transaction between the PSAM for the traffic card and the traffic card; 단말기를 통해 교통카드로부터 거래정보를 수신하고, 상기 전자화폐사 별 키 정보와 거래인증정보에 기반하여 교통카드용 PSAM과 교통카드 간 거래를 위한 정보를 생성한 후, 상기 교통카드용 PSAM과 교통카드 간 거래를 위한 정보, 거래정보 및 거래인증정보에 기반하여 상기 교통카드와의 지불 거래, 지불 재거래 및 거래 취소를 수행하며, 상기 교통카드용 PSAM과 교통카드 간 거래를 위한 정보, 거래인증정보 및 거래정보를 상기 단말기를 통해 교통카드로 송신하는 송신명령을 생성하는 기능을 수행하는 PSAM 제어부; 및Receive transaction information from the traffic card through the terminal, generate information for the transaction between the traffic card PSAM and the traffic card based on the key information and transaction authentication information for each electronic money company, and then the PSAM and traffic card for the traffic card Perform payment transaction, payment re-transaction and transaction cancellation with the transit card based on information for transaction between the transaction, transaction information and transaction authentication information, information for transaction between the transit card PSAM and the transit card, transaction authentication information And a PSAM control unit for generating a transmission command for transmitting transaction information to the traffic card through the terminal. And 상기 PSAM 제어부에서 생성한 송신명령에 따라, 상기 교통카드용 PSAM과 교통카드 간 거래를 위한 정보, 거래인증정보 및 거래정보를 상기 단말기를 통해 상기 교통카드에 송신하는 기능을 수행하는 정보 전달부; 로 구성되는 것을 특징으로 하는 교통카드용 PSAM.An information transfer unit configured to transmit information, transaction authentication information, and transaction information for transaction between the traffic card PSAM and the traffic card to the traffic card through the terminal according to a transmission command generated by the PSAM control unit; PSAM for transportation card, characterized in that consisting of. 제 1 항에 있어서, The method of claim 1, 상기 전자화폐사 별 키 정보는 전자화폐사 별 관리 키를 의미하는 CTKEY 정보, 전자화폐사 별 구매 및 거래키를 의미하는 MPKEY 정보, 전자화폐사 별 총액 거래내역 서명 생성용 키인 TMKEY 정보, 전자화폐사 별 개별 거래내역 서명 생성용 키인 INDKEY 정보 및 총액 거래내역 정보 수집용 키인 COMPKEY를 포함하며;The key information for each electronic money company includes CT KEY information representing an electronic money company management key, MP KEY information representing an electronic money company purchase and transaction key, TM key information for generating total transaction details signature for each electronic money company, and each electronic money company. IND KEY , a key for generating individual transaction signatures A COMP KEY , which is a key for collecting information and total transaction history information; 상기 교통카드용 PSAM과 교통카드 간 거래를 위한 정보는, 상기 교통카드용 PSAM의 인증 서명인 제1 SIGN2 정보, 제2 SIGN2 정보 및 제3 SIGN2 정보, 상기 교통카드와의 지불 거래에 사용할 키인 DP(Derivation Purchase)KEY 및 SESSAM 정보를 포함하며;Information for the transaction between the PSAM for the transportation card and the transportation card may include a first SIGN2 information, a second SIGN2 information and a third SIGN2 information, which are the authentication signatures of the PSAM for the transportation card, and a key used for a payment transaction with the transportation card. (Derivation Purchase) KEY and SES SAM information; 상기 거래정보는 상기 단말기의 거래요청 금액인 M(Money of transaction)PDA 정보, SESEP 정보, 상기 교통카드(Electric Purse,EP)의 거래 카운터인 NT(Numbers of Transaction)EP 정보, 상기 교통카드(EP)의 식별자인 IDEP 정보, 상기 교통카드(EP)의 알고리즘의 식별자인 ALG(ALGorithm identifier)EP 정보, 상기 교통카드 내 전자화폐 잔액인 BAL(BALance)EP 정보와 상기 교통카드의 인증 서명인 제1 SIGN1 정보, 제2 SIGN1 정보, 제3 SIGN1 정보, 제1 SIGN3 정보, 제2 SIGN3 정보 및 제3 SIGN3 정보를 포함하는 것을 특징으로 하는 교통카드용 PSAM.The transaction information includes M (Money of transaction) PDA information, SES EP information, a transaction request amount of the terminal, NT (Numbers of Transaction) EP information, a transaction counter of the Electric Purse (EP), and the traffic card ( ID EP information, which is an identifier of EP), ALG (ALGorithm identifier) EP information, which is an identifier of an algorithm of the traffic card (EP), BAL (BALance) EP information, which is an electronic money balance in the traffic card, and an authentication signature of the traffic card. And a first SIGN1 information, a second SIGN1 information, a third SIGN1 information, a first SIGN3 information, a second SIGN3 information, and a third SIGN3 information. 제 2 항에 있어서, 상기 거래인증정보는 The method of claim 2, wherein the transaction authentication information 교통카드용 PSAM의 알고리즘 식별자(IDentification)인 ALGSAM 정보, 교통카드용 PSAM의 애플리케이션(Application) 버젼인 AV(Application Version)SAM 정보, 교통카드용 PSAM의 애플리케이션(Application)의 식별자(IDentification)인 AID 정보, 교통카드용 PSAM의 만기일인 DEXP(Date of EXPiration)SAM 정보,교통카드용 PSAM의 발급일인 DISS(Date of ISSuance)SAM 정보, 교통카드용 PSAM의 식별자인 IDSAM 정보, 교통카드용 PSAM의 거래 카운터인 NT(Numbers of Transaction)SAM 정보, 교통카드용 PSAM의 구매거래 상태코드인 SC(State Code)SAM 정보, 교통카드용 PSAM의 유형별 형태를 의미하는 TYPESAM 정보, 교통카드용 PSAM의 수명상태 코드인 LCSAM 정보, 전자화폐사의 식별자인 IDCENTER 정보, 교통카드와의 지불 거래에 사용할 키인 DPKEY 정보의 버젼인 VK(Version of Key)EP 정보, 거래 유형을 의미하는 TRT(TRansaction Type) 정보, 교통카드용 PSAM의 개별거래 수집 카운터를 의미하는 NI(Number of Indivisual transaction)SAM 정보, 교통카드용 PSAM의 총액거래 수집 카운터인 NC(Number of Counter)SAM 정보, 교통카드용 PSAM의 누적거래 총액인 TOT(TOTal amount money)SAM 정보, 교통카드용 PSAM 제조시 부여되는 교통카드용 PSAM 칩의 일련번호를 의미하는 SN(Serial Number)SAM 정보, 전자화폐사별 누적거래 총액을 의미 하는 TOTCENTER 정보, 전자화폐사별 개별 거래내역 수집 카운터인 NICENTER 정보, TMKEY 정보에 대한 키 버젼인 VKTM _ KEY 정보, INDKEY 정보에 대한 키 버젼인 VKIND _ KEY 정보 또는 총액 거래내역 정보 수집용 키인 COMPKEY의 버젼을 의미하는 VKCOMP _ KEY 정보 중 어느 하나 이상을 포함하는 것을 특징으로 하는 교통카드용 PSAM.ALG SAM information, which is the algorithm identification of the PSAM for transportation cards, AV (Application Version) SAM information, which is the application version of the PSAM for transportation cards, and AID, which is the identification of the application of the PSAM, for the transportation card. Information, DEXP (Date of EXPiration) SAM information, expiration date of PSAM for transportation card, DISS (Date of ISSuance) SAM information, issuance date of PSAM for transportation card, ID SAM information of PSAM for transportation card, PSAM for transportation card NT (Numbers of Transaction) SAM information, which is a transaction counter, SC (State Code) SAM information, which is a purchase transaction status code of a PSAM for a traffic card, TYPE SAM information that indicates the type of PSAM for a traffic card, and a lifetime of a PSAM for a traffic card LC SAM information, which is a status code, ID CENTER information, which is an identifier of an electronic money company, VK (Version of Key) EP information, which is a version of DP KEY information, which is a key used for a payment transaction with a transportation card, and TRT (TRansaction Type), which means a transaction type. Information, NI (Number of Indivisual transaction) SAM information, which means the individual transaction collection counter of PSAM for transportation card, NC (Number of Counter) SAM information, which is the total transaction collection counter of PSAM for transportation card, and total transaction amount of PSAM for transportation card TOT (TOTal amount money) SAM information, SN (Serial Number) SAM , which means the serial number of the PSAM chip for the transportation card, which is granted during the manufacture of the PSAM for the transportation card, TOT CENTER information, which means the cumulative transaction total amount by electronic money company, electronic NI CENTER information, TM KEY , which is a collection counter for each transaction Key version of VK TM _ KEY information about the information, any one or more of the VK COMP _ KEY information indicating the version of the key COMP KEY for IND KEY collect information key version of VK IND _ KEY information or capitalization transactions about PSAM for transportation card, characterized in that it comprises. 제 3 항에 있어서, The method of claim 3, wherein 상기 PSAM 제어부는 수집 SAM으로부터 수집인증정보를 수신하고, 총액 거래내역 정보 수집을 위한 정보를 생성하여, 상기 수집인증정보, 총액 거래내역 정보 수집을 위한 정보 및 PSAM과 교통카드의 거래를 인증하기 위한 인증정보에 기반하여 총액 거래내역 정보를 수집하고, 상기 총액 거래내역 정보를 수집 SAM으로 송신하도록 하는 송신명령을 생성하는 기능을 더 포함하여 수행하며,The PSAM control unit receives the collection authentication information from the collection SAM, generates information for collecting the total transaction history information, and authenticates the collection authentication information, the information for collecting the total transaction history information, and the transaction between the PSAM and the traffic card. And collecting the total transaction details information based on the authentication information, and generating a transmission command to transmit the total transaction details information to the collection SAM. 상기 정보 전달부는 상기 PSAM 제어부에서 생성한 상기 총액 거래내역 정보를 수집 SAM으로 송신하도록 하는 송신명령에 따라, 상기 수집 SAM으로 상기 총액 거래내역 정보를 송신하는 기능을 더 포함하여 수행하는 것을 특징으로 하는 교통카드용 PSAM. The information transmitting unit further includes a function of transmitting the total transaction history information to the collection SAM according to a transmission command for transmitting the total transaction history information generated by the PSAM control unit to a collection SAM. PSAM for transportation card. 제 4 항에 있어서, The method of claim 4, wherein 상기 총액 거래내역 정보는 NISAM 정보 및 TOTSAM 정보를 포함하며;The total transaction history information includes NI SAM information and TOT SAM information; 상기 수집인증정보는 상기 수집 SAM의 식별자인 ID수집 SAM 정보, 상기 수집 SAM의 수집거래 카운터인 NT수집 SAM 정보와 상기 수집 SAM의 인증 서명인 제4 SIGN1 정보 및 제4 SIGN3 정보를 포함하며;The collection authentication information includes ID collection SAM information, which is an identifier of the collection SAM, NT collection SAM information, which is a collection transaction counter of the collection SAM, and fourth SIGN1 information and fourth SIGN3 information, which are authentication signatures of the collection SAM; 상기 총액 거래내역 정보 수집을 위한 정보는 DCOMPKEY 정보, SESKEY 정보, 총액 거래내역 정보에 관한 인증 서명인 SIGNTOT 정보 및 상기 교통카드용 PSAM의 인증 서명인 제4 SIGN2 정보를 포함하는 것을 특징으로 하는 교통카드용 PSAM.The information for collecting the total transaction history information includes DCOMP KEY information, SES KEY information, SIGN TOT information, which is an authentication signature for the total transaction history information, and fourth SIGN2 information, which is an authentication signature of the PSAM for the traffic card. PSAM for transportation card to say. 전국적으로 호환가능한 교통카드와 지불 거래를 수행하기 위한 교통카드용 PSAM(Purcharge Secure Application Module)의 운영방법에 있어서, In the operation method of the PSAM (Purcharge Secure Application Module) for the transportation card to perform payment transactions with the nationally compatible transportation card, ⒜ 교통카드용 PSAM이 단말기로부터 지불 거래를 위한 초기화 정보를 포함하여, 상기 교통카드와의 상기 교통카드용 PSAM간 지불 거래 수행을 위해 상기 교통카드용 PSAM을 초기화하는 명령 및 상기 교통카드와 지불 거래를 수행하는 명령을 수신하는 단계;A command for initializing the PSAM for the traffic card and performing a payment transaction with the traffic card for performing a payment transaction between the traffic card PSAM with the traffic card, including the initialization information for the payment transaction from the terminal; Receiving a command to perform a; ⒝ 상기 교통카드용 PSAM이 교통카드와의 지불 거래 수행을 위해 초기화하고, 상기 교통카드와의 지불 거래에 사용할 키인 DP(Derivation Purchase)KEY 정보를 생성하며, SESSAM 정보를 생성하는 단계; Initializing the PSAM for the transportation card to perform a payment transaction with the transportation card, generating DP (Derivation Purchase) KEY information which is a key to be used for the payment transaction with the transportation card, and generating SES SAM information; ⒞ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제1 SIGN1 정보를 검증한 결과 상기 제1 SIGN1 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 상기 교통카드용 PSAM 내 거래 카운터인 NTSAM 정보를 갱신하고, 상기 교통카드용 PSAM의 구매거래 상태코드인 SCSAM 정보를 "거래 중" 상태로 갱신하며, BALEP 정보를 기존 가지고 있던 값에서 단말기의 거래요청 금액을 제한 값으로 갱신한 후, 상기 교통카드용 PSAM의 인증 서명인 제1 SIGN2 정보를 생성하며, 상기 교통카드용 PSAM이 상기 단말기로 교통카드와 지불 거래를 수행하는 명령에 대한 응답 정보를 송신하는 단계;결과 If there is no verification error for the first SIGN1 information when the PSAM for the traffic card verifies the first SIGN1 information that is the authentication signature of the traffic card received from the terminal, the PSAM for the traffic card indicates that the traffic Update NT SAM information, which is a transaction counter in the card PSAM, update SC SAM information, which is a purchase transaction status code of the PSAM for the transportation card, to a "in-transit" state, and perform transaction of the terminal at a value having the BAL EP information. After updating the request amount to the limit value, the first SIGN2 information, which is an authentication signature of the PSAM for the traffic card, is generated, and the response information for the command for the PSAM to perform a payment transaction with the traffic card to the terminal is generated. Transmitting; ⒟ 상기 교통카드용 PSAM이 상기 단말기로 송신한 상기 교통카드와 지불 거래를 수행하는 명령에 대한 응답 정보 중 제1 SIGN2 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 상기 단말기로부터 상기 교통카드의 인증 서명인 제1 SIGN3 정보를 포함하여, 개별 거래내역을 생성하고 지불 거래를 종료하는 명령을 수신하는 단계;검증 If there is no verification error for the first SIGN2 information among the response information for the command for performing a payment transaction with the traffic card, the PSAM for the traffic card is sent from the terminal. Receiving a command for generating an individual transaction and ending a payment transaction including first SIGN3 information which is an authentication signature of the traffic card; ⒠ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 교통카드의 인증 서명인 제1 SIGN3 정보를 검증한 결과 상기 제1 SIGN3 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM의 누적거래 총액인 TOTSAM 정보를 기존 가지고 있던 값에 단말기의 거래요청 금액을 더한 값으로 갱신하고, 상기 SCSAM 정보를 "정상 완료"로 갱신하며, 상기 교통카드용 PSAM의 거래 유형을 의미하는 TRT 정보를 "RF 구매거래"로 갱신하고, NISAM 정보를 갱신한 후, 개별 거래내역을 생성하는 단계; 및 경우 If the verification signal for the first SIGN3 information does not exist when the PSAM for the traffic card verifies the first SIGN3 information that is the authentication signature of the traffic card received from the terminal, the total transaction amount of the PSAM for the traffic card Update the TOT SAM information to the value of the terminal plus the transaction request amount of the terminal, update the SC SAM information to "normal completion", and update the TRT information indicating the transaction type of the PSAM for the transportation card. RF purchase transaction ", update NI SAM information, and then create individual transaction details; And ⒡ 상기 교통카드용 PSAM이 상기 개별 거래내역을 생성한 후, 개별 거래내역에 대한 서명을 생성하고, 상기 교통카드용 PSAM이 상기 단말기로 상기 개별 거래내역, 개별 거래내역에 대한 서명을 송신하는 단계;PS the PSAM for the transportation card generates the individual transaction details, and then generates a signature for the individual transaction details, and the PSAM for the transportation card transmits the signatures for the individual transaction details and the individual transaction details to the terminal. ; 를 포함하는 교통카드용 PSAM의 운영방법.PSAM operating method for a traffic card comprising a. 제 6 항에 있어서,The method of claim 6, 상기 지불 거래를 위한 초기화 정보는, 상기 교통카드용 PSAM의 알고리즘 식별자(IDentification)인 ALGEP 정보, 상기 교통카드(Electric Purse,EP)와의 지불 거래에 사용할 키인 DPKEY 정보의 버젼인 VKEP 정보, 상기 교통카드 내 전자화폐 잔액정보인 BALEP 정보, 전자화폐사의 식별자인 IDCENTER 정보, 상기 교통카드의 식별자인 IDEP 정보, 상기 교통카드의 거래 카운터인 NTEP 정보, 상기 교통카드의 인증 서명인 제1 SIGN1 정보와 단말기의 거래요청 금액인 MPDA 정보 및 부가정보를 포함하며,The initialization information for the payment transaction may include ALG EP information, which is an algorithm identification of the PSAM for the transportation card, VK EP information, which is a version of DP KEY information, which is a key to be used for a payment transaction with the transportation card (Electric Purse, EP), BAL EP information, the electronic money balance information in the transportation card, ID CENTER information, the identifier of the electronic money company, ID EP information, the identifier of the traffic card, NT EP information, the transaction counter of the traffic card, and the signatory of the authentication of the traffic card. Includes the first SIGN1 information and M PDA information and additional information that is the transaction request amount of the terminal, 상기 교통카드와 지불 거래를 수행하는 명령에 대한 응답 정보는 IDSAM 정보, NTSAM 정보, SCSAM 정보 및 상기 교통카드용 PSAM의 인증 서명인 제1 SIGN2 정보를 포함하며,The response information for the command for performing a payment transaction with the transit card includes ID SAM information, NT SAM information, SC SAM information, and first SIGN2 information, which is an authentication signature of the PSAM for the transit card, 상기 개별 거래내역은 TRT 정보, VKIND_KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보 및 TOTSAM 정보를 포함하며,The individual transaction details include TRT information, VK IND_KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM information, NI SAM information, and TOT SAM. Information, 상기 개별 거래내역에 대한 서명은 SIGNIND1 정보 및 SIGNIND2 정보를 포함하는 것을 특징으로 하는 교통카드용 PSAM의 운영방법.The signature for the individual transaction details operating method of the PSAM for a traffic card, characterized in that it comprises SIGN IND1 information and SIGN IND2 information. 전국적으로 호환가능한 교통카드와 지불 재거래를 수행하기 위한 교통카드용 PSAM(Purcharge Secure Application Module)의 운영방법에 있어서,In the operation method of the PSAM (Purcharge Secure Application Module) for the transportation card to perform payment re-transaction with a nationally compatible transportation card, ⒜ 상기 교통카드용 PSAM이 단말기로부터 지불 재거래를 위한 초기화 정보를 포함하여, 상기 교통카드와의 지불 재거래 수행을 위해 상기 교통카드용 PSAM을 초기화하는 명령 및 상기 교통카드와 지불 재거래를 수행하는 명령을 수신하는 단계;교통 the PSAM for the traffic card including the initialization information for the payment re-transaction from the terminal, the command to initialize the PSAM for the traffic card to perform the payment re-transaction with the traffic card and performs the payment re-transaction with the traffic card Receiving a command to make; ⒝ 상기 교통카드용 PSAM이 상기 교통카드와의 지불 재거래를 위해 초기화를 수행하고, 교통카드와의 지불 재거래에 사용할 키인 DP(Derivation Purchase)KEY 및 SESSAM 정보를 생성하는 단계;Performing, by the PSAM for the transportation card, initialization for payment retransaction with the transportation card, and generating a DP (Derivation Purchase) KEY and SES SAM information, which is a key used for payment retransaction with the transportation card; ⒞ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제2 SIGN1 정보를 검증한 결과 상기 제2 SIGN1 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 NTSAM 정보를 갱신하고, 상기 교통카드용 PSAM의 인증 서명인 제2 SIGN2 정보를 생성한 후, 상기 단말기로 교통카드와 지불 재거래를 수행하는 명령에 대한 응답 정보를 송신하는 단계; 결과 If the PSAM for the traffic card verifies the second SIGN1 information which is the authentication signature of the traffic card received from the terminal, and there is no verification error for the second SIGN1 information, the PSAM for the traffic card is NT SAM. Updating the information, generating second SIGN2 information which is an authentication signature of the PSAM for the traffic card, and transmitting response information to the terminal to perform a payment re-transaction with the traffic card; ⒟ 상기 교통카드용 PSAM이 상기 단말기로 송신한 상기 교통카드와 지불 재거래를 수행하는 명령에 대한 응답 정보 중 제2 SIGN2 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM이 상기 단말기로부터 상기 교통카드의 인증 서명인 제2 SIGN3 정보를 포함하여, 개별 거래내역을 생성하고 지불 재거래를 종료하는 명령을 수신하는 단계;검증 If there is no verification error for second SIGN2 information among the response information for the command for performing the payment re-transaction with the traffic card transmitted by the PSAM for the traffic card, the PSAM for the traffic card is sent to the terminal. Receiving from the second SIGN3 information which is an authentication signature of the transit card, a command for generating an individual transaction and terminating a payment re-transaction from the; ⒠ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 교통카드의 인증 서명인 제2 SIGN3 정보를 검증한 결과 상기 제2 SIGN3 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 SCSAM 정보를 확인하고, 확인한 결과 상기 SCSAM 정보가 "거래 중"인 경우에 해당되는 경우에 TOTSAM 정보를 기존 가지고 있던 값에 단말기의 거래요청 금액을 더한 값으로 갱신하고, NISAM 정보를 갱신한 후, 상기 SCSAM 정보를 "정상 완료" 상태로 갱신하고, TRT 정보를 "RF 구매거래"로 갱신하는 단계; 및결과 If the PSAM for the traffic card verifies the second SIGN3 information that is the authentication signature of the traffic card received from the terminal, and there is no verification error for the second SIGN3 information, the PSAM for the traffic card indicates the SC SAM information. After confirming that, if the SC SAM information is "in the transaction", the TOT SAM information is added to the value of the terminal and the transaction request amount of the terminal, and the NI SAM information is updated. Updating the SC SAM information to the "normal completion" state and updating the TRT information to the "RF purchase transaction"; And ⒡ 상기 교통카드용 PSAM이 개별 거래내역을 생성하고, 개별 거래내역에 대한 서명을 생성한 후, 상기 교통카드용 PSAM이 상기 단말기로 상기 개별 거래내역 및 개별 거래내역에 대한 서명을 송신하는 단계;PS the PSAM for the transportation card generates the individual transaction details, and generates a signature for the individual transaction details, and then the PSAM for the transportation card transmits the signatures for the individual transaction details and the individual transaction details to the terminal; 를 포함하는 것을 특징으로 하는 교통카드용 PSAM의 운영방법.Operation method of the PSAM for a traffic card comprising a. 제 8 항에 있어서, The method of claim 8, 상기 지불 재거래를 위한 초기화 정보는 ALGEP 정보, VKEP 정보, BALEP 정보, 직전 거래의 상기 교통카드 식별자인 IDSAM´정보, 직전 거래의 상기 단말기 거래요청 금액인 MPDA´정보 및 직전 거래의 상기 교통카드 거래 카운터인 NTEP´정보 및 상기 교통카드의 인증서명인 제2 SIGN1 정보와 MPDA 정보 및 부가 정보를 포함하며,The initialization information for the payment re-transaction may include ALG EP information, VK EP information, BAL EP information, ID SAM 'information of the traffic card identifier of the last transaction, M PDA ' information of the terminal transaction request amount of the last transaction, and immediately preceding transaction. the certificate includes the master M and the PDA 2 SIGN1 information information, and additional information of the transportation card, transaction counter, NT EP 'information and the traffic card, 상기 교통카드와 지불 재거래를 수행하는 명령에 대한 응답 정보는 IDSAM 정보, NTSAM 정보, SCSAM 정보 및 제2 SIGN2 정보를 포함하며,Response information for the command for performing a payment re-transaction with the traffic card includes ID SAM information, NT SAM information, SC SAM information and second SIGN2 information, 상기 개별 거래내역은 TRT 정보, VKIND _ KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보 및 TOTSAM 정보를 포함하며,The individual transaction details include TRT information, VK IND _ KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM information, NI SAM information, and the like. Contains TOT SAM information, 상기 개별 거래내역에 대한 서명은 SIGNIND1 정보 및 SIGNIND2 정보를 포함하는 것을 특징으로 하는 교통카드용 PSAM의 운영방법.The signature for the individual transaction details operating method of the PSAM for a traffic card, characterized in that it comprises SIGN IND1 information and SIGN IND2 information. 전국적으로 호환가능한 교통카드와 거래 취소를 수행하기 위한 교통카드용 PSAM의 운영방법에 있어서,In the operation method of the PSAM for the transportation card to perform the transaction cancellation with the nationally compatible transportation card, ⒜ 교통카드용 PSAM이 단말기로부터 거래 취소를 위한 초기화 정보를 포함하여, 교통카드와의 거래 취소 수행을 위해 상기 교통카드용 PSAM을 초기화하는 명령 및 상기 교통카드와 상기 교통카드와의 거래 취소를 수행하는 명령을 수신하는 단계;⒜ the PSAM for the traffic card includes the initialization information for canceling the transaction from the terminal, and initializes the PSAM for the traffic card to perform the transaction cancellation with the traffic card and cancels the transaction between the traffic card and the traffic card. Receiving a command to make; ⒝ 상기 교통카드용 PSAM이 상기 교통카드와의 거래 취소를 위해 초기화를 수행하고, SCSAM 정보를 확인하고, 확인한 결과 SCSAM 정보가 "거래 중" 인 경우 상기 교통카드용 PSAM은 상기 단말기에 오류 응답을 송신하며, 상기 교통카드와의 거래 취소에 사용할 키인 DP(Derivation Purchase)KEY와 SESSAM 정보를 생성하는 단계;교통 The PSAM for the transportation card performs initialization to cancel the transaction with the transportation card, checks the SC SAM information, and confirms that the SCAM information for the transportation card is an error in the terminal when the SC SAM information is "in transaction." Transmitting a response and generating a DP (Derivation Purchase) KEY and SES SAM information which are keys for canceling a transaction with the transit card; ⒞ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 교통카드의 인증 서명인 제3 SIGN1 정보를 검증한 결과 상기 제3 SIGN1 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM은 NTSAM 정보를 갱신하고, SCSAM 정보를 확인한 결과 SCSAM 정보가 "정상 종료" 상태인 경우 NISAM 정보를 갱신하며, BALEP 정보에 기존에 가지고 있던 값에 단말기의 거래요청 금액을 더한 값을 갱신한 후, 상기 교통카드용 PSAM이 상기 SCSAM 정보를 "취소 진행"으로 갱신하는 단계;결과 If the PSAM for the traffic card verifies the third SIGN1 information that is the authentication signature of the traffic card received from the terminal, and there is no verification error for the third SIGN1 information, the PSAM for the traffic card is NT SAM. When the information is updated and the SC SAM information is checked and the SC SAM information is in the "normally terminated" state, the NI SAM information is updated, and the BAL EP information is added to the existing value plus the transaction request amount of the terminal. Thereafter, updating, by the PSAM for the traffic card, the SC SAM information to "cancel cancellation"; ⒟ 상기 교통카드용 PSAM이 PSAM의 인증 서명인 제3 SIGN2 정보를 생성한 후, 상기 교통카드용 PSAM이 상기 단말기로 교통카드와의 거래 취소를 수행하는 명령에 대한 응답 정보를 송신하는 단계;After the PSAM for the traffic card generates the third SIGN2 information which is an authentication signature of the PSAM, transmitting the response information to the terminal for the command for canceling a transaction with the traffic card; ⒠ 상기 교통카드용 PSAM이 상기 단말기로 송신한 상기 교통카드와의 거래 취소를 수행하는 명령에 대한 응답 정보 중 제3 SIGN2 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM이 상기 단말기로부터 거래 취소 수행을 종료하는 명령을 수신하는 단계; 및검증 If there is no verification error for the third SIGN2 information among the response information for the command for canceling the transaction with the traffic card transmitted by the PSAM for the traffic card to the terminal, the PSAM for the traffic card is the terminal. Receiving a command from the end of the transaction cancellation execution; And ⒡ 상기 교통카드용 PSAM이 SCSAM 정보를 "정상 완료" 상태로 갱신하고, TRT 정보에 "RF 취소거래"로 갱신하며, 개별 거래내역을 생성한 후, 개별 거래내역에 대한 서명을 생성하고, 상기 교통카드용 PSAM이 상기 단말기로 상기 개별 거래내역, 개별 거래내역에 대한 서명을 송신하는 단계;PS PSAM for traffic card is SCSAM Update the information to the "normal completion" state, update the TRT information to "RF cancel transaction", generate individual transaction details, generate signatures for individual transaction details, and the PSAM for the transportation card to the terminal Transmitting a signature for the individual transaction history, the individual transaction history; 를 포함하는 것을 특징으로 하는 교통카드용 PSAM의 운영방법.Operation method of the PSAM for a traffic card comprising a. 제 10 항에 있어서,11. The method of claim 10, 상기 거래 취소를 위한 초기화 정보는, ALGEP 정보, VKEP 정보, BALEP 정보, IDCENTER 정보, IDEP 정보, NTEP 정보, 교통카드의 인증 서명인 제3 SIGN1 정보와 MPDA 정보 및 부가정보를 포함하며, Initialization information for canceling the transaction, ALG EP Information, VK EP information, BAL EP information, ID CENTER information, ID EP information, NT EP information, 3 SIGN1 information, M PDA information and additional information, which are the authentication signature of the transportation card, 상기 개별 거래내역은 TRT 정보, VKIND _ KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보 및 TOTSAM 정보를 포함하며,The individual transaction details include TRT information, VK IND _ KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM information, NI SAM information, and the like. Contains TOT SAM information, 상기 단말기로 송신한 상기 교통카드와의 거래 취소를 수행하는 명령에 대한 응답 정보는 IDSAM 정보, NTSAM 정보, SCSAM 정보 및 제3 SIGN2 정보를 포함하며,The response information to the command for canceling the transaction with the traffic card sent to the terminal includes ID SAM information, NT SAM information, SC SAM information, and third SIGN2 information. 상기 개별 거래내역에 대한 서명은 SIGNIND1 정보 및 SIGNIND2 정보를 포함하는 것을 특징으로 하는 교통카드용 PSAM의 운영방법.The signature for the individual transaction details operating method of the PSAM for a traffic card, characterized in that it comprises SIGN IND1 information and SIGN IND2 information. 교통카드의 총액 거래내역 정보를 수집하여 수집 SAM으로 송신하는 교통카드용 PSAM의 운영방법에 있어서, In the operation method of the PSAM for the transportation card to collect the total transaction details of the transportation card and transmit it to the collection SAM, ⒜ 상기 교통카드용 PSAM이 단말기로부터 IDCENTER 정보를 포함하여, 교통카드의 총액 거래내역 정보를 수집하기 위해 상기 교통카드용 PSAM을 초기화하는 명령 및 총액 거래내역 정보의 존재 여부를 확인하는 명령을 수신하는 단계;Receiving a command for initializing the PSAM for the traffic card and confirming the presence of the total transaction history information to collect the total transaction details of the transportation card, including ID CENTER information from the terminal; Making; ⒝ 상기 교통카드용 PSAM이 상기 교통카드의 총액 거래내역 정보를 수집하기 위한 초기화를 수행하고, 상기 단말기로부터 수신한 IDCENTER 정보에 해당하는 전자화폐사의 총액 거래 정보 존재 여부를 확인한 결과, IDCENTER 정보에 해당하는 전자화폐사의 총액 거래내역 정보가 존재하는 경우, 상기 교통카드용 PSAM이 NTSAM 정보를 갱신하고, 상기 교통카드용 PSAM이 상기 단말기로 총액 거래내역 정보의 존재 여부를 확인하는 명령에 대한 정보를 송신하는 단계;⒝ performs initialization for collecting the total transaction history information of the transportation card PSAM that the transport cards, and confirm the total electronic cash company corresponding to the ID CENTER information received from the terminal transaction information existence result, ID CENTER information When the total transaction history information of the electronic money company corresponding to the present invention exists, the PSAM for the traffic card updates the NT SAM information, and the PSAM for the traffic card checks the existence of the total transaction history information to the terminal. Transmitting the information; ⒞ 상기 교통카드용 PSAM이 상기 단말기로부터 상기 수집 SAM의 식별자인 ID수집SAM 정보, 상기 수집 SAM의 수집거래 카운터인 NT수집 SAM 정보 및 상기 수집 SAM의 인증 서명인 제4 SIGN1 정보를 포함하여, 총액 거래내역 정보를 수집하는 명령을 수신하는 단계;The total amount of the PSAM for the traffic card includes, from the terminal, ID collection SAM information, which is an identifier of the collection SAM, NT collection SAM information, which is a collection transaction counter of the collection SAM, and fourth SIGN1 information, which is an authentication signature of the collection SAM. Receiving a command for collecting transaction history information; ⒟ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 수집 SAM의 인증 서명인 제4 SIGN1 정보의 오류 여부를 검증한 결과 제4 SIGN1 정보에 오류가 존재 하지 않는 경우, 상기 교통카드용 PSAM이 NCSAM 정보를 갱신하고, 총액 거래내역 정보에 관한 인증 서명인 SIGNTOT 정보를 생성한 후, 상기 교통카드용 PSAM이 상기 단말기로 총액 거래내역 정보를 수집하는 명령에 응답하는 정보를 송신하는 단계;결과 If the PSAM for the traffic card verifies whether the fourth SIGN1 information, which is the authentication signature of the collection SAM received from the terminal, is not an error, the PSAM for the traffic card is the SAM SAM. Updating the information, generating SIGN TOT information which is an authentication signature on the total transaction details information, and transmitting the information in response to the command for the traffic card PSAM to collect the total transaction details information to the terminal; ⒠ 상기 교통카드용 PSAM이 상기 단말기로 송신한 상기 총액 거래내역 정보를 수집하는 명령에 응답하는 정보 중 제4 SIGN2 정보에 대한 검증 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM이 상기 단말기로부터 상기 수집 SAM의 인증 서명인 제4 SIGN3 정보를 포함하여, 총액 거래내역 정보를 삭제하고 수집 단계를 종료하는 명령을 수신하는 단계; 및If there is no verification error for the fourth SIGN2 information among the information in response to the command for collecting the total transaction details information transmitted to the terminal by the PSAM for the transportation card, the PSAM for the transportation card is sent from the terminal. Receiving a command to delete the total transaction history information and end the collection step, including fourth SIGN3 information that is an authentication signature of the collection SAM; And ⒡ 상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 수집 SAM의 인증 서명인 제4 SIGN3 정보의 오류 여부를 검증한 결과 제4 SIGN3 정보에 오류가 존재하지 않는 경우, 상기 교통카드용 PSAM이 총액 거래내역 정보를 삭제하는 단계;결과 If the PSAM for the transportation card verifies whether the fourth SIGN3 information, which is the authentication signature of the collection SAM received from the terminal, is not an error, and the fourth SIGN3 information does not exist, the PSAM for the transportation card trades the total amount. Deleting history information; 를 포함하는 것을 특징으로 하는 교통카드용 PSAM의 운영방법.Operation method of the PSAM for a traffic card comprising a. 제 12 항에 있어서,13. The method of claim 12, 상기 총액 거래내역 정보의 존재 여부를 확인하는 명령에 대한 정보는, 총액 거래내역 정보 수집용 키인 COMPKEY의 버젼을 의미하는 VKCOMP _ KEY 정보, IDCENTER 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보 및 TOTSAM 정보를 포함하며, The information on the command for confirming the existence of the total transaction details information is VK COMP _ KEY information, ID CENTER information, ID SAM information, NT SAM information, NC, which means a version of COMP KEY which is a key for collecting the total transaction history information. Includes SAM information and TOT SAM information. 상기 총액 거래내역 정보는, NISAM 정보 및 TOTSAM 정보를 포함하며,The total transaction history information includes NI SAM information and TOT SAM information, 상기 총액 거래내역 정보를 수집하는 명령에 응답하는 정보는, TMKEY 정보에 대한 키 버젼인 VKTM _ KEY 정보, IDCENTER 정보, NCSAM 정보, NISAM 정보, TOTSAM 정보, SIGNTOT 정보 및 상기 교통카드용 PSAM의 인증 서명인 제4 SIGN2 정보를 포함하는 것을 특징으로 하는 교통카드용 PSAM의 운영방법.Information responsive to the command for collecting the total transaction details information is TM KEY It includes a key version of the information VK TM _ KEY information, ID CENTER information, NC SAM information, NI SAM information, TOT SAM information, SIGN TOT information and the fourth SIGN2 information that is the authentication signature of the PSAM for the traffic card Operation method of PSAM for traffic card.
KR1020090088753A 2009-09-18 2009-09-18 Purcharge Secure Application Module For Compatible Traffic Card And Management Method Therefore KR101100386B1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
KR1020090088753A KR101100386B1 (en) 2009-09-18 2009-09-18 Purcharge Secure Application Module For Compatible Traffic Card And Management Method Therefore
MYPI2012001158A MY154755A (en) 2009-09-18 2009-10-19 Psam for a compatible transportation card, and psam operating method
MX2012003314A MX2012003314A (en) 2009-09-18 2009-10-19 Psam for a compatible transportation card, and psam operating method.
PCT/KR2009/006020 WO2011034243A1 (en) 2009-09-18 2009-10-19 Psam for a compatible transportation card, and psam operating method
CN200980161508.7A CN102713939B (en) 2009-09-18 2009-10-19 Compatible type transportation card PSAM and PSAM method for running

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090088753A KR101100386B1 (en) 2009-09-18 2009-09-18 Purcharge Secure Application Module For Compatible Traffic Card And Management Method Therefore

Publications (2)

Publication Number Publication Date
KR20110031036A KR20110031036A (en) 2011-03-24
KR101100386B1 true KR101100386B1 (en) 2011-12-30

Family

ID=43758829

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090088753A KR101100386B1 (en) 2009-09-18 2009-09-18 Purcharge Secure Application Module For Compatible Traffic Card And Management Method Therefore

Country Status (5)

Country Link
KR (1) KR101100386B1 (en)
CN (1) CN102713939B (en)
MX (1) MX2012003314A (en)
MY (1) MY154755A (en)
WO (1) WO2011034243A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719391A (en) * 2016-01-10 2016-06-29 深圳市可秉资产管理合伙企业(有限合伙) Mobile device supporting multiple payment cards and method

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103490888B (en) * 2012-06-14 2017-12-19 天津中兴智联科技有限公司 Bind the realization method and system of reader and terminal safety control module
CN103336977A (en) * 2013-05-24 2013-10-02 天津广行科技有限公司 Vehicle electronic information card safety protection system and method
CN103745251A (en) * 2013-12-26 2014-04-23 深圳市捷顺科技实业股份有限公司 A method and a system for binding the logic number and the surface number of a PSAM card
CN105894076A (en) * 2014-12-15 2016-08-24 璁镐赴 Credible authentication interconnection and intercommunication PSAM card
KR101843660B1 (en) * 2016-12-30 2018-03-29 브이피 주식회사 Payment method for transportation fee by hce type using mobile terminal
CN113298965B (en) * 2021-04-15 2023-02-17 北京云星宇交通科技股份有限公司 Method and system for preventing PSAM card locking of ETC lane system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020016752A (en) * 2001-05-22 2002-03-06 전영삼 Multi-access system and multi-access method for RF cards
CN1162773C (en) * 2001-08-08 2004-08-18 深圳市三金高科技投资有限公司 Continuous money deducting method from IC card with PSAM card in case of being incapable of determining trade amount in advance
KR100461350B1 (en) * 2002-06-10 2004-12-14 한국전자통신연구원 Electronic Payment System and its Method using Contactless IC Card for Electronic Money
KR100470731B1 (en) * 2002-06-10 2005-03-10 한국전자통신연구원 An Integrated Payment System and its Method of Toll and Parking Fee using various Contactless IC cards for Electronic Money
CN101441722A (en) * 2007-11-23 2009-05-27 中国银联股份有限公司 Non-contact type IC card read-write system and non-contact type IC card read-write machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719391A (en) * 2016-01-10 2016-06-29 深圳市可秉资产管理合伙企业(有限合伙) Mobile device supporting multiple payment cards and method

Also Published As

Publication number Publication date
MY154755A (en) 2015-07-15
KR20110031036A (en) 2011-03-24
MX2012003314A (en) 2012-07-04
WO2011034243A1 (en) 2011-03-24
CN102713939A (en) 2012-10-03
CN102713939B (en) 2016-03-09

Similar Documents

Publication Publication Date Title
KR101100386B1 (en) Purcharge Secure Application Module For Compatible Traffic Card And Management Method Therefore
US8046261B2 (en) EMV transaction in mobile terminals
CN105027153A (en) Methods, devices, and systems for secure provisioning, transmission, and authentication of payment data
CN105580036A (en) Silicone-polyether copolymers, adhesives and medical articles comprising same, and methods of making same
US20240078325A1 (en) Token state synchronization
CN105931048A (en) Electronic signature devices, and trading method and trading system thereof
KR101041043B1 (en) Key Card For Compatible Traffic Card and Management Method therefore
KR20090109979A (en) Method for Processing Payment Statement of Wholesale Affilate Store, Wholesale Affilate Store Payment Terminal and Recording Medium
CN105354518B (en) Virtual chip card system based on mobile intelligent terminal soft excitation electromagnetic near field mutual inductance
CN102800153B (en) The service downloading method and system of card swiping terminal
KR101246163B1 (en) System for simplifying procedure of credit card use, method, usim and mobile phone with application of the same
KR100834582B1 (en) System for Payment
KR101103189B1 (en) System and Method for Issueing Public Certificate of Attestation using USIM Information and Recording Medium
CN105868980A (en) Payment equipment and payment method based on HCE technology of NFC in standard of ministry of construction
KR100834583B1 (en) Method for Executing Payment and Program Recordig Medium
KR20040087362A (en) User Terminal Having Electronic Credit Storage Device, Service System and Method for Operating Self-Identified Electronic Credit Using the Same
KR102395870B1 (en) A payment terminal apparatus for providing payment services using a distributed management network of encryption key based on block chains
KR101361138B1 (en) On-line non-facing payment system and method
KR100973559B1 (en) System and Method for Providing Prize Winning Game by Customary Estabilishment Identification
KR20230004041A (en) An apparatus for processing a distributed token for encrypted data of payment information to be used only by a specific franchisee and a method for operating it
JP2004102880A (en) Electronic ticket gate system, program, and method
KR20230004042A (en) An apparatus for providing payment services of a distributed token for encrypted data of payment information to be used only by a specific franchisee and a method for operating it
CN115409504A (en) Transaction settlement method and device for digital currency and gate machine
KR20080010477A (en) System for executing payment
CN114581082A (en) Public transport intelligent card recharging method, system and composite wallet

Legal Events

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

Payment date: 20141105

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20151221

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20161221

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20171220

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20181206

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20191022

Year of fee payment: 9