WO2011034243A1 - Psam for a compatible transportation card, and psam operating method - Google Patents

Psam for a compatible transportation card, and psam operating method Download PDF

Info

Publication number
WO2011034243A1
WO2011034243A1 PCT/KR2009/006020 KR2009006020W WO2011034243A1 WO 2011034243 A1 WO2011034243 A1 WO 2011034243A1 KR 2009006020 W KR2009006020 W KR 2009006020W WO 2011034243 A1 WO2011034243 A1 WO 2011034243A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
transaction
psam
sam
card
Prior art date
Application number
PCT/KR2009/006020
Other languages
French (fr)
Korean (ko)
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 MX2012003314A priority Critical patent/MX2012003314A/en
Priority to CN200980161508.7A priority patent/CN102713939B/en
Publication of WO2011034243A1 publication Critical patent/WO2011034243A1/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

Definitions

  • 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.
  • PSAM Packet Access Management Entity
  • prepaid or postpaid transportation cards are becoming more common than payment by cash.
  • 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.
  • 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.
  • 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 Pressure Secure Application Module
  • 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.
  • 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.
  • the PSAM for a traffic card 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.
  • 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 transactions of the PSAM and the transportation card. It is preferable to perform a function of collecting the total transaction details information based on the authentication information to generate, and generating a transmission command to transmit the total transaction details information to the collection SAM.
  • 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.
  • a method of operating a traffic card PSAM for performing a payment transaction with a traffic card 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
  • the first SIGN2 information which is the authentication signature of the PSAM for the traffic card
  • the response information for the command for 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.
  • first SIGN3 information which is an authentication signature of the traffic card
  • 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.
  • a method of operating a traffic card PSAM for performing a payment re-transaction with a traffic card 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.
  • Second SIGN2 information which is an authentication signature of the PSAM for the traffic card
  • the PSAM for the traffic card is Receiving a command from the terminal, including a second SIGN3 information, which is an authentication signature of the traffic card, to generate a separate transaction and end a payment re-transaction
  • 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.
  • 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 (f) 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.
  • the operation method of the traffic card PSAM for performing a transaction cancellation with the traffic card (a) 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.
  • 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.
  • the PSAM for the traffic card 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.
  • the PSAM for the transportation card updates the SC SAM information to the "normal completion” state, updates the TRT information to the "RF cancel transaction", generates an individual transaction, and then generates a signature for the individual transaction. Transmitting, by the PSAM for the traffic card, the individual transaction history and the signature for the individual transaction history to the terminal; It includes.
  • 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 (a) 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; (b) 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
  • the PSAM for the traffic card updates the NT SAM information
  • the PSAM for the traffic card checks the existence of the total transaction history information to the terminal.
  • 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.
  • 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
  • fourth SIGN1 information which is an authentication signature of the collection SAM.
  • SIGN TOT information which is an authentication signature on the total transaction details information
  • 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 (f) 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.
  • 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.
  • FIG. 1 is a view for explaining the information used in the PSAM for traffic card according to the present invention.
  • FIG. 3 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • the compatible transit card has an internal command system and card standard in accordance with the KS-6923 standard and the KS-6924 standard.
  • 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”.
  • FIG. 1 is a view for explaining the information used in the PSAM for traffic card according to the present invention.
  • ALG AGorithm 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.
  • 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.
  • 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
  • DISS Destination date of the PSAM for the traffic card
  • ID SAM information means the identifier of the PSAM for the traffic card, has a size of 8 bytes, BCD format.
  • 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 information means the purchase transaction status code of the PSAM for the traffic card, has a size of 2 bytes, HEX format.
  • SC SAM information 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'.
  • TYPE SAM information refers to a type of PSAM type, has a size of 1 byte, and is in HEX format.
  • the PSAM used in the transportation field is defined as '0000 0000'
  • the PSAM used in the distribution field is defined as '0100 0000'.
  • 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 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.
  • 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.
  • the ID CENTER information means an identifier of an electronic money company, has a size of 1 byte, and is in HEX format.
  • 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.
  • 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.
  • 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.
  • 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) information means a transaction type of the PSAM for the traffic card, has a size of 1 byte, and is in HEX format.
  • NI indivisual transaction
  • SAM 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.
  • NC Numberer 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 information means the cumulative transaction total amount of the PSAM for the transportation card, has a size of 4 bytes, HEX format.
  • the SN (Serial Number) SAM information means the serial number of the PSAM chip, which is given when the PSAM is manufactured for the transportation card.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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 It includes IND KEY information, a key for generating individual transaction history signatures, and COMP KEY , a key for collecting total transaction history information.
  • 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 card, DISS (Date of ISSuance) SAM information of issuance date of PSAM for transportation card, ID of PSAM for transportation card 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
  • the information for the transaction between the PSAM and the traffic card consists DP (Derivation Purchase) KEY and SES SAM information.
  • 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.
  • 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.
  • 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.
  • 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.
  • the total transaction history information includes NI SAM information and TOT SAM information.
  • 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.
  • 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.
  • 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.
  • 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).
  • 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.
  • BAL EP information which is electronic money balance information in the traffic card
  • the traffic card 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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 And receiving a command to perform a payment transaction, wherein the initialization information for the payment transaction includes 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.
  • the initialization information for the payment transaction includes 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.
  • 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.
  • 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.
  • 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.
  • ID CENTER information ID EP information and NT EP information
  • SES SAM information is generated by encrypting using DP KEY information.
  • 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, which is the authentication signature of the PSAM for the transportation card, with the M PDA information, ID SAM information, and NT SAM information.
  • the SES SAM information is encrypted to generate a size of 4 bytes.
  • 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.
  • the PSAM for the traffic card 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.
  • 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.
  • 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.
  • first SIGN2 information which is an authentication signature of the PSAM for the traffic card
  • the traffic card 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.
  • the transaction request amount of the terminal is updated to the limit value, and the ID SAM information, the M PDA information, the NT sam information, and the NT EP information are stored in the transaction log.
  • 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.
  • 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.
  • 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. .
  • 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 Update the TOT SAM information, which is the cumulative transaction total amount of the PSAM for the transportation card, to the value of the terminal plus the transaction amount, update the SC SAM information to "normal completion", and update the TRT information, which is the information on the transaction type. Update to "RF Purchasing Transactions" and update the NI SAM information to the value you already have plus one.
  • the PSAM for the transportation card generates a separate transaction
  • the individual transaction is TRT information, VK IND_KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, M PDA information, ID SAM information It includes NT SAM information, NC SAM information, NI SAM information, and TOT SAM information.
  • 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.
  • 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).
  • the PSAM for the transportation card to generate the SIGN IND2 information which is a signature for the individual transaction history separately from the SIGN IND1 information
  • the SIGN IND2 information is 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 are concatenated and encrypted using IND KEY information.
  • the SIGN IND2 information is encrypted using any one of an encryption method of the SEED method or the T-DES method.
  • 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.
  • FIG. 3 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.
  • 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.
  • 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.
  • 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.
  • a transaction 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.
  • 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.
  • M PDA information which is the transaction request amount of the terminal for the transportation card (Electric Purse, EP)
  • 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.
  • 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 ⁇ .
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • the PSAM for the transportation card encrypts a DP (Derivation Purchase) KEY , which is a key used for payment retransaction with the transportation card, by combining ID CENTER information and ID EP information and encrypting the information using 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.
  • the PSAM for the traffic card PSAM determines the terminal. Send an error response to
  • 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.
  • 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.
  • 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.
  • step S350 the terminal transmits the electronic money deduction command, including the response information and additional information for the command to perform the payment re-transaction with the traffic card traffic card with respect to the traffic card.
  • 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.
  • the second SIGN2 information which is the authentication signature of the PSAM for the traffic card
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • the PSAM for the traffic card 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".
  • 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 SAM.
  • 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.
  • BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM information, NI SAM information, and TOT SAM information the data is encrypted using IND KEY information and created to have a size of 4 bytes.
  • 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).
  • the PSAM generates SIGN IND2 information, which is a signature for individual transaction details, separately from the SIGN IND1 information, including TRT information, VK IND_KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, and M PDA.
  • SIGN IND2 information is encrypted using any one of an encryption method of the SEED method or the T-DES method.
  • 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.
  • 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 of the traffic card user or the cancellation of the PSAM. PSAM operation of the transportation card to cancel the.
  • 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.
  • 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.
  • EP Electronic Purse
  • 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.
  • the traffic card combines the third SIGN1 information, which is the authentication signature of the traffic card, with the ALG EP information, VK EP information, BAL EP information, ID SAM 'information, M PDA ' information, and NT EP 'information.
  • the ALG EP information, VK EP information, BAL EP information, ID SAM 'information, M PDA ' information, NT EP 'information and the third SIGN1 information After generating to have a size of 4 bytes by using the SES EP information, the ALG EP information, VK EP information, BAL EP information, ID SAM 'information, M PDA ' information, NT EP 'information and the third SIGN1 information to the terminal. Send.
  • 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.
  • the PSAM Pulcharge Secure Application Module
  • the initialization information for canceling the transaction includes ALC EP information, VK EP information, BAL EP information, ID CENTER information, ID EP information, NT EP information.
  • the third SIGN1 information and the M PDA information and additional information are third SIGN1 information and the M PDA information and additional information.
  • 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.
  • 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.
  • DP Derivation Purchase
  • 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.
  • 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.
  • 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
  • the SC SAM information is updated to the "cancellation progress" state.
  • 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.
  • 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.
  • 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.
  • 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.
  • the third SIGN2 information which is an authentication signature of the PSAM for the traffic card
  • 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. Update the transaction request amount of the terminal to the sum plus the ID SAM information, the M PDA information, the NT sam information, and the NT EP information and store the transaction log.
  • the third SIGN2 information 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. Update the transaction request amount of the terminal to the sum plus the ID SAM information, the M PDA information, the NT sam information, and the NT EP information and store the transaction log.
  • 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.
  • the PSAM for the traffic card updates the SC SAM information to a "normal completion" state, updates the TRT information to "RF cancel transaction", and then generates individual transaction details.
  • the individual transaction details include TRT information and VK. It includes 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.
  • the PSAM for the traffic card generates the individual transaction details and then signs SIGN for the individual transaction details.
  • IND1 Information and SIGN IND2 To generate information, the SIGN IND1 Information is 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 IND after joining the information KEY
  • the information is encrypted using information and generated to have a size of 4 bytes.
  • the PSAM for the transportation card generates SIGN IND2 information which is a signature for individual transaction details separate from the SIGN IND1 information.
  • the SIGN IND2 information includes TRT information, VK IND_KEY information, ID CENTER information, ID EP information, and NT. 4 bytes of size by combining 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 encrypting them using IND KEY information. Create to have
  • 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.
  • 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.
  • 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.
  • 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.
  • the PSAM for the traffic card transmits information on 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 collected in the total transaction history Includes VK COMP_KEY information, ID CENTER information, ID SAM information, NT SAM information, NC SAM information, and TOT SAM information, indicating the version of COMP KEY, which is a key.
  • 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 Secure Application Module
  • the collection SAM updates the value obtained by adding 1 to the NT collection SAM information indicating the transaction counter of the collection SAM, and generates DCOMP KEY information for deriving COMP KEY information, which is a key for collecting the total transaction details.
  • the DCOMP information KEY is generated by encrypting using the after bonding the COMP KEY -1 information by inverting the information and COMP KEY KEY COMP, COMP KEY information.
  • the collection SAM is the authentic signature in claim 4 SIGN1 information of ID CENTER information, ID SAM information, NT collecting and bonding the SAM information is encrypted using the DCOMP KEY information to generate a session key, SES KEY information, the collected SAM is NC After concatenating SAM information, TOT SAM information, ID collecting SAM information, and NT collecting SAM information, it is generated to have a size of 4 bytes by encrypting using SES KEY information.
  • 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.
  • the PSAM for the transportation card comprises an ID number of home information SAM, SAM NT collected information and the 4 SIGN1 information from the terminal, and receives a command to to collect the total transaction history information.
  • the reception of the traffic card for PSAM's ID CENTER information, ID SAM information, NT collected by encrypting using the DCOMP KEY information by joining the SAM information, and generates a session key, SES KEY information, PSAM for the transportation card 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.
  • 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.
  • 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.
  • 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.
  • 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 transmitted to the TM KEY information.
  • the key version includes VK TM_KEY information, ID CENTER information, NC SAM information, NI SAM information, TOT SAM information, SIGN TOT information, and fourth SIGN2 information which is an authentication signature of the PSAM for the traffic card.
  • 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.
  • 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.
  • 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 no error exists, the collecting SAM stores the total transaction history information through the NI SAM information and the TOT SAM information received from the terminal.
  • the fourth SIGN2 information which is an authentication signature of the PSAM for the traffic card
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The present invention relates to a purcharge secure application module (PSAM) for a transportation card compatible throughout a country, and to a method for operating the PSAM for a transportation card. The PSAM for a transportation card according to the present invention includes an information storage unit, a PSAM control unit, and an information transfer unit. Also, the method for operating the PSAM for a transportation card according to the present invention comprises: a PSAM operating method for a transportation card, for performing a payment transaction using a transportation card; a PSAM operating method for a transportation card, for performing a subsequent payment transaction using a transportation card; a PSAM operating method for a transportation card, for performing a transaction cancellation using a transportation card; and a PSAM operating method for a transportation card, for collecting total amount transaction details of a transportation card and transmitting same to a collecting SAM. The PSAM for a transportation card compatible throughout the country and the method for operating the PSAM for a transportation card according to the present invention can accelerate the widespread use of electronic money by alleviating the inconvenience of users having to carry a plurality of transportation cards and by expanding the areas in which electronic money, which is the payment means of a transportation card, is used.

Description

호환형 교통카드용 피샘 및 피샘의 운영방법Compatible Traffic Cards and Operation Methods
본 발명은 전국적으로 호환가능한 교통카드용 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, when paying for public transportation on buses, subways, railways, etc., card payments by prepaid or postpaid transportation cards are becoming more common than payment by cash. 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 a plurality of transportation cards when using public transportation, and operators have a burden of overlapping investment in transportation card payment, charging, and settlement system, and furthermore, stable and reliable transportation card payment of national common And there is a difficulty in establishing a charging and settlement system.
상기와 같은 교통카드 사용 및 운영상의 문제점을 해결하기 위해, 건설교통부는 교통카드 이용 국민의 편의성 증진, 교통카드 인프라의 중복 투자에 따른 사회적 비용의 방지를 위하여 한 장의 교통카드로 전국에서 사용할 수 있도록 교통카드 전국호환 정책을 추진하고 있으며, 정책에 따른 예산의 효율적 집행과 교통카드 전국호환의 실익 분석을 위하여 “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 transactions of the PSAM and the transportation card. It is preferable to perform a function of collecting the total transaction details information based on the authentication information to generate, 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 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 ", after updating the NI SAM information, generating individual transaction details; 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 a command from the terminal, including a second SIGN3 information, which is an authentication signature of the traffic card, to generate a separate transaction and end a payment re-transaction; 결과 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 updates the SC SAM information to the "normal completion" state, updates the TRT information to the "RF cancel transaction", generates an individual transaction, and then generates a signature for the individual transaction. Transmitting, by the PSAM for the traffic card, the individual transaction history and the signature for the individual transaction history to the terminal; 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.
도 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.
본 발명의 실시를 위한 구체적인 내용을 설명하기에 앞서, 본 발명의 기술적 요지와 직접적 관련이 없는 구성에 대해서는 본 발명의 기술적 요지를 흩뜨리지 않는 범위 내에서 생략하였음에 유의하여야 할 것이다. 또한, 본 명세서 및 청구범위에 사용된 용어 또는 단어는 발명자가 자신의 발명을 최선의 방법으로 설명하기 위해 적절한 용어의 개념을 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야 할 것이다.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. 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 transportation card. 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 It includes IND KEY information, a key for generating individual transaction history signatures, and COMP KEY , a key for collecting total transaction history 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 정보 중 어느 하나 이상을 포함한다.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 card, DISS (Date of ISSuance) SAM information of issuance date of PSAM for transportation card, ID of PSAM for transportation card 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) Total trading collecting counter of PSAM for SAM information, transportation card, which means 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 granted when manufacturing PSAM for transportation card TOT CENTER information to mean turnover, electronic money bereavement individual transactions collected counter the NI CENTER information, TM kEY information key version of VK TM_KEY information, key version of VK IND_KEY information or capitalization transactions about IND kEY information on It includes any one or more of the VK COMP_KEY information indicating the version of the COMP KEY which is a collection key.
그리고 이 때, 상기 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 정보를 포함한다.In this case, 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 And receiving a command to perform a payment transaction, wherein the initialization information for the payment transaction includes 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, which is the authentication signature of the PSAM for the transportation card, with the M PDA information, ID SAM information, and NT SAM information. And after concatenating the additional information, the SES SAM information is encrypted to generate 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. The transaction request amount of the terminal is updated to the limit value, and the ID SAM information, the M PDA information, the NT sam information, and the NT EP information are stored in the 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 Update the TOT SAM information, which is the cumulative transaction total amount of the PSAM for the transportation card, to the value of the terminal plus the transaction amount, update the SC SAM information to "normal completion", and update the TRT information, which is the information on the transaction type. Update to "RF Purchasing Transactions" and update the NI SAM information to the value you already have plus one.
그리고, 상기 교통카드용 PSAM은 개별 거래내역을 생성하는데, 상기 개별 거래내역은 TRT 정보, VKIND_KEY 정보, IDCENTER 정보, IDEP 정보, NTEP정보, BALEP 정보, MPDA 정보, IDSAM 정보, NTSAM 정보, NCSAM 정보, NISAM 정보 및 TOTSAM 정보를 포함한다. In addition, the PSAM for the transportation card generates a separate transaction, the individual transaction is TRT information, VK IND_KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, M PDA information, ID SAM information It includes 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 transportation card to generate the SIGN IND2 information, which is a signature for the individual transaction history separately from the SIGN IND1 information, the SIGN IND2 information is 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 are concatenated and encrypted using IND KEY information. To create it. 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 정보를 이용해 암호화하여 생성한다.The PSAM for the transportation card encrypts a DP (Derivation Purchase) KEY , which is a key used for payment retransaction with the transportation card, by combining ID CENTER information and ID EP information and encrypting the information using 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 additional information for the command to perform the 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, and 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 EP information After joining, BAL EP information, M PDA information, ID SAM information, NT SAM information, NC SAM information, NI SAM information, and TOT SAM information, the data is 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 generates SIGN IND2 information, which is a signature for individual transaction details, separately from the SIGN IND1 information, including TRT information, VK IND_KEY information, ID CENTER information, ID EP information, NT EP information, BAL EP information, and M PDA. After joining the information, ID SAM information, NT SAM information, NC SAM 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의 운영방법의 수행을 종료한다. 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 of the traffic card user 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 정보를 송신한다.Then, the traffic card combines the third SIGN1 information, which is the authentication signature of the traffic card, with the ALG EP information, VK EP information, BAL EP information, ID SAM 'information, M PDA ' information, and NT EP 'information. After generating to have a size of 4 bytes by using the SES EP information, the ALG EP information, VK EP information, BAL EP information, ID SAM 'information, M PDA ' information, NT EP 'information and the third SIGN1 information to the terminal. Send.
다음으로, 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. Receives a command and a command for canceling a transaction with the traffic card, wherein the initialization information for canceling the transaction includes ALC EP information, VK EP information, BAL EP information, ID CENTER information, ID EP information, NT EP information. And the third SIGN1 information and the 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. Update the transaction request amount of the terminal to the sum plus the ID SAM information, the M PDA information, the NT sam information, and the NT EP information and store the 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 traffic card updates the SC SAM information to a "normal completion" state, updates the TRT information to "RF cancel transaction", and then generates individual transaction details. The individual transaction details include TRT information and VK. It includes 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.
그리고, 상기 교통카드용 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 for the individual transaction details.IND1Information and SIGNIND2To generate information, the SIGNIND1Information is TRT information, VKIND_KEY Information, IDCENTER Information, IDEP Information, NTEPInformation, BALEP Information, MPDA Information, IDSAM Information, NTSAM Information, NCSAM Information, NISAM Information and TOTSAM IND after joining the informationKEY The information is encrypted using information and generated to have 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 바이트의 크기를 갖도록 생성한다.The PSAM for the transportation card generates SIGN IND2 information which is a signature for individual transaction details separate from the SIGN IND1 information. The SIGN IND2 information includes TRT information, VK IND_KEY information, ID CENTER information, ID EP information, and NT. 4 bytes of size by combining 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 encrypting them using IND KEY information. Create to have
그리고, 상기 교통카드용 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 on 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 collected in the total transaction history Includes VK COMP_KEY information, ID CENTER information, ID SAM information, NT SAM information, NC SAM information, and TOT SAM information, indicating the version of COMP KEY, which is a 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 collection SAM updates the value obtained by adding 1 to the NT collection SAM information indicating the transaction counter of the collection SAM, and generates DCOMP KEY information for deriving COMP KEY information, which is a key for collecting the total transaction details. . In this case, the DCOMP information KEY is generated by encrypting using the after bonding the COMP KEY -1 information by inverting the information and COMP KEY KEY COMP, COMP KEY information.
그리고, 상기 수집 SAM은 IDCENTER 정보 , IDSAM 정보, NT수집SAM 정보를 접합하여 DCOMPKEY 정보를 이용해 암호화하여 세션 키인 SESKEY 정보를 생성하며, 상기 수집 SAM의 인증 서명인 제4 SIGN1 정보는 NCSAM 정보, TOTSAM 정보, ID수집SAM 정보 및 NT수집SAM 정보를 접합한 후 SESKEY 정보를 이용하여 암호화하여 4 바이트의 크기를 갖도록 생성한다.In addition, the collection SAM is the authentic signature in claim 4 SIGN1 information of ID CENTER information, ID SAM information, NT collecting and bonding the SAM information is encrypted using the DCOMP KEY information to generate a session key, SES KEY information, the collected SAM is NC After concatenating SAM information, TOT SAM information, ID collecting SAM information, and NT collecting SAM information, it is generated to have a size of 4 bytes by encrypting using SES KEY information.
그리고, 상기 수집 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 transportation card comprises an ID number of home information SAM, SAM NT collected information and the 4 SIGN1 information from the terminal, and receives a command to to collect the total transaction history information.
이에 따라, 상기 교통카드용 PSAM은 IDCENTER 정보, IDSAM 정보, NT수집SAM 정보를 접합하여 DCOMPKEY 정보를 이용해 암호화하여 세션 키인 SESKEY 정보를 생성하며,상기 교통카드용 PSAM이 상기 단말기로부터 수신한 상기 수집 SAM의 인증 서명인 제4 SIGN1 정보의 오류 여부를 검증한 결과 제4 SIGN1 정보에 오류가 존재하는 경우, 오류 응답을 상기 단말기로 송신한다.Thus, the reception of the traffic card for PSAM's ID CENTER information, ID SAM information, NT collected by encrypting using the DCOMP KEY information by joining the SAM information, and generates a session key, SES KEY information, PSAM for the transportation card 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 transmitted to the TM KEY information. The key version includes VK TM_KEY information, ID CENTER information, NC SAM information, NI SAM information, TOT SAM information, SIGN TOT information, and fourth SIGN2 information which is an authentication signature of the PSAM for the traffic card.
다음으로, 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 no error exists, 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 with reference to 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 as shown. 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.

Claims (13)

  1. 전국적으로 호환가능한 교통카드와 지불 거래, 지불 재거래 및 거래 취소를 수행하고, 교통카드의 총액 거래내역 정보를 수집하여 수집 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.
  2. 제 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 information, which is a key for generating an individual transaction history signature, and COMP KEY , which is a key for collecting 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.
  3. 제 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 when manufacturing the PSAM for the transportation card, TOT CENTER information, which means the cumulative transaction total amount by electronic money company, electronic which means the monetary bereavement individual transactions collected counter the NI CENTER information, key version of the TM kEY information is VK TM_KEY information, key version of VK IND_KEY information or capitalization transactions versions of key COMP kEY for collecting information about the IND kEY information VK COMP_KEY PSAM for the traffic card, characterized in that it comprises any one or more.
  4. 제 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.
  5. 제 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.
  6. 전국적으로 호환가능한 교통카드와 지불 거래를 수행하기 위한 교통카드용 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 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;
    ⒟ 상기 교통카드용 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.
  7. 제 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 정보를 포함하며,Response information for the command to perform a payment transaction with the traffic card includes the ID SAM information, NT SAM information, SC SAM information and the first SIGN2 information that is the authentication signature of the PSAM for the traffic 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.
  8. 전국적으로 호환가능한 교통카드와 지불 재거래를 수행하기 위한 교통카드용 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.
  9. 제 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 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.
  10. 전국적으로 호환가능한 교통카드와 거래 취소를 수행하기 위한 교통카드용 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 user to terminate the transaction cancellation; And
    ⒡ 상기 교통카드용 PSAM이 SCSAM 정보를 "정상 완료" 상태로 갱신하고, TRT 정보에 "RF 취소거래"로 갱신하며, 개별 거래내역을 생성한 후, 개별 거래내역에 대한 서명을 생성하고, 상기 교통카드용 PSAM이 상기 단말기로 상기 개별 거래내역, 개별 거래내역에 대한 서명을 송신하는 단계;PS The PSAM for the transportation card updates the SC SAM information to the "normal completion" state, updates the TRT information to the "RF canceled transaction", generates an individual transaction history, and then generates a signature for the individual transaction history. Transmitting, by the PSAM for the transportation card, the individual transaction history and the signature for the individual transaction history to the terminal;
    를 포함하는 것을 특징으로 하는 교통카드용 PSAM의 운영방법.Operation method of the PSAM for a traffic card comprising a.
  11. 제 10 항에 있어서,The method of claim 10,
    상기 거래 취소를 위한 초기화 정보는, ALGEP 정보, VKEP 정보, BALEP 정보, IDCENTER 정보, IDEP 정보, NTEP 정보, 교통카드의 인증 서명인 제3 SIGN1 정보와 MPDA 정보 및 부가정보를 포함하며, The initialization information for canceling the transaction may include ALG 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, which are authentication signatures of a traffic card. Including;
    상기 개별 거래내역은 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,
    상기 단말기로 송신한 상기 교통카드와의 거래 취소를 수행하는 명령에 대한 응답 정보는 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.
  12. 교통카드의 총액 거래내역 정보를 수집하여 수집 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 history 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이 총액 거래내역 정보를 삭제하는 단계;PS If 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, and the fourth SIGN3 information does not have an error, the PSAM for the traffic card trades the total amount. Deleting history information;
    를 포함하는 것을 특징으로 하는 교통카드용 PSAM의 운영방법.Operation method of the PSAM for a traffic card comprising a.
  13. 제 12 항에 있어서,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 history information may include VK COMP_KEY information, ID CENTER information, ID SAM information, NT SAM information, and NC SAM information indicating a version of COMP KEY which is a key for collecting the total transaction history 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 VK TM_KEY information, ID CENTER information, NC SAM information, NI SAM information, TOT SAM information, SIGN TOT information and the transportation card, which are key versions for TM KEY information. And a fourth SIGN2 information which is an authentication signature of the PSAM.
PCT/KR2009/006020 2009-09-18 2009-10-19 Psam for a compatible transportation card, and psam operating method WO2011034243A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
MX2012003314A MX2012003314A (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 (2)

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
KR10-2009-0088753 2009-09-18

Publications (1)

Publication Number Publication Date
WO2011034243A1 true WO2011034243A1 (en) 2011-03-24

Family

ID=43758829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2009/006020 WO2011034243A1 (en) 2009-09-18 2009-10-19 Psam for a compatible transportation card, and psam operating method

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
CN113298965A (en) * 2021-04-15 2021-08-24 北京云星宇交通科技股份有限公司 Method and system for preventing PSAM card locking of ETC lane system

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
CN105719391B (en) * 2016-01-10 2019-03-05 深圳市可秉资产管理合伙企业(有限合伙) Support the mobile device and method of multiple Payment Cards
KR101843660B1 (en) * 2016-12-30 2018-03-29 브이피 주식회사 Payment method for transportation fee by hce type using mobile terminal

Citations (3)

* 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
KR20030094911A (en) * 2002-06-10 2003-12-18 한국전자통신연구원 An Integrated Payment System and its Method of Toll and Parking Fee using various Contactless IC cards for Electronic Money
KR20030094912A (en) * 2002-06-10 2003-12-18 한국전자통신연구원 Electronic Payment System and its Method using Contactless IC Card for Electronic Money

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Patent Citations (3)

* 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
KR20030094911A (en) * 2002-06-10 2003-12-18 한국전자통신연구원 An Integrated Payment System and its Method of Toll and Parking Fee using various Contactless IC cards for Electronic Money
KR20030094912A (en) * 2002-06-10 2003-12-18 한국전자통신연구원 Electronic Payment System and its Method using Contactless IC Card for Electronic Money

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113298965A (en) * 2021-04-15 2021-08-24 北京云星宇交通科技股份有限公司 Method and system for preventing PSAM card locking of ETC lane system
CN113298965B (en) * 2021-04-15 2023-02-17 北京云星宇交通科技股份有限公司 Method and system for preventing PSAM card locking of ETC lane system

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2011034243A1 (en) Psam for a compatible transportation card, and psam operating method
WO2017222170A1 (en) Method and card company server for processing payment by verifying verification value, method for supporting payment by using verification value, and smart card
US7107247B2 (en) Electronic value system
WO2017065389A1 (en) Accredited certificate issuance system based on block chain and accredited certificate issuance method based on block chain using same, and accredited certificate authentication system based on block chain and accredited certificate authentication method based on block chain using same
WO2011062365A2 (en) System and method for authenticating electronic money using a smart card and a communication terminal
WO2020062642A1 (en) Blockchain-based method, device, and equipment for electronic contract signing, and storage medium
WO2018194379A1 (en) Method for approving use of card by using token id on basis of blockchain and merkle tree structure associated therewith, and server using same
WO2015008958A1 (en) Nfc service system and service method
WO2011062364A2 (en) User authentication system, user authentication apparatus, smart card, and user authentication method for ubiquitous authentication management
WO2013100413A1 (en) Smartphone credit card payment system using an earphone jack, and method for same
WO2013176474A1 (en) Application for using mobile communication terminal as payment terminal, and application service provider system and method
WO2011034230A1 (en) System for payment and settlement of compatible transportation card and method thereof
WO2012053780A1 (en) Payment method and payment system using information on the mac address of a customer terminal
WO2002099710A1 (en) Electronic dealing method using electronic coupon
WO2014092286A1 (en) Method for supporting payment for offline commerce, and system and device therefor
WO2019203384A1 (en) Mobile payment service method and system for preventing leakage of personal information, double payment, overpayment, or payment error, by allowing user to directly input payment amount, receive one-time payment security code generated by financial institution, and make payment at the time of making online or offline payment
WO2014084608A1 (en) Method and system for managing secure element
WO2016159462A1 (en) Token authentication method and system using verification value generated on basis of current time
WO2013039304A1 (en) Method of registering a membership for an electronic payment, system for same, and apparatus and terminal thereof
WO2015047020A1 (en) System for providing card payment service by using smart device and method therefor
WO2023018104A1 (en) Method and device for reinforcing authentication security of member using electric vehicle charger, by using balance of rechargeable card, and system therefor
WO2022145677A1 (en) Integrated system for identity authentication and simplified payment using disposable qr code and method for driving same
KR20040061248A (en) System and method for credit payment using mobile communication terminal
WO2019022585A1 (en) Payment system and payment method for directly confirming user after card company receives payment request
WO2022196850A1 (en) Method and system for issuing and certifying digital vaccination certificate

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980161508.7

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09849568

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2344/CHENP/2012

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: MX/A/2012/003314

Country of ref document: MX

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09849568

Country of ref document: EP

Kind code of ref document: A1