[go: up one dir, main page]

CN103593888B - Application method of smart IC card, terminal and smart card gray lock - Google Patents

Application method of smart IC card, terminal and smart card gray lock Download PDF

Info

Publication number
CN103593888B
CN103593888B CN201210288226.7A CN201210288226A CN103593888B CN 103593888 B CN103593888 B CN 103593888B CN 201210288226 A CN201210288226 A CN 201210288226A CN 103593888 B CN103593888 B CN 103593888B
Authority
CN
China
Prior art keywords
card
amount
money
terminal
prefreezing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210288226.7A
Other languages
Chinese (zh)
Other versions
CN103593888A (en
Inventor
付青琴
王于波
李福雷
王丽萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
State Grid Electric Power Research Institute
Original Assignee
State Grid Corp of China SGCC
State Grid Electric Power Research Institute
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 State Grid Corp of China SGCC, State Grid Electric Power Research Institute filed Critical State Grid Corp of China SGCC
Priority to CN201210288226.7A priority Critical patent/CN103593888B/en
Publication of CN103593888A publication Critical patent/CN103593888A/en
Application granted granted Critical
Publication of CN103593888B publication Critical patent/CN103593888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a kind of intellective IC card, terminal and smart card ash lock application process, terminal to IC-card lock order of sending out ashing initial, containing the prefreezing amount of money expected in this initial ashing lock order; The order of IC-card receiving terminal, and the actual prefreezing amount of money is set, the actual prefreezing amount of money is returned terminal; The actual prefreezing amount of money that terminal returns according to IC-card, calculates MAC1, the order of lower burnt hair lock; Whether the MAC1 that IC-card verification terminal issues is correct, and calculating GTAC, MAC2 return to terminal when verifying correct.Terminal of the present invention can according to the actual conditions of oneself, the partial amount in a prefreezing IC-card, for carrying out corresponding business.After ash lock, card can be taken away by holder, for the remaining sum removing prefreezing in card, carry out circle deposit, enclose carry, the financial transaction such as consumption operation, ensure that the card after being locked by ash, the process of concluding the business can be carried out normally, improve the convenience of user's use.

Description

一种智能IC卡、终端及智能卡灰锁应用方法Application method of smart IC card, terminal and smart card gray lock

技术领域 technical field

本发明涉及一种芯片领域中智能卡、终端及智能卡的应用方法,尤其涉及一种智能IC卡灰锁应用方法。The invention relates to a smart card, a terminal and an application method of the smart card in the field of chips, in particular to an application method of a smart IC card gray lock.

背景技术 Background technique

根据我国银行卡芯片化计划要求,2005年3月13日,人民银行发布第55号文,正式颁发了行业标准《中国金融集成电路(IC)卡规范》(JR/T 0025-2005)(业内简称PBOC2.0)。该规范补充完善电子钱包/存折应用;增加了与EMV标准兼容的借/贷记应用;增加非接触式IC卡物理特性标准;增加电子钱包扩展应用指南、借/贷记应用个人化指南等内容。该标准为我国银行卡芯片化奠定了标准基础,确保我国银行卡芯片化实现联网通用和安全,并有效指导实施。According to the requirements of my country's bank card chip plan, on March 13, 2005, the People's Bank of China issued Document No. 55, officially promulgating the industry standard "China Financial Integrated Circuit (IC) Card Specification" (JR/T 0025-2005) (industry Abbreviated as PBOC2.0). This specification supplements and perfects the application of electronic wallet/passbook; adds debit/credit applications compatible with EMV standards; adds standards for physical characteristics of contactless IC cards; adds guidelines for extended applications of electronic wallets, personalized guidelines for debit/credit applications, etc. . This standard has laid a standard foundation for my country's bank card chip, ensuring that my country's bank card chip is universal and safe, and effectively guiding the implementation.

其中,在《电子钱包扩展应用指南》中提出了进行圈存、圈提、消费、灰锁交易的方法。传统的支付卡进行灰锁后,不能够再进行圈存等其它金融交易或其它应用,卡片一直处于灰锁状态,直到进行解扣或联机解扣交易后,才能够解除卡片的灰锁状态。这样的卡片,利用率低,增加了持卡人操作的复杂性,被灰锁后的卡片给用户使用带来了不便。Among them, in the "Electronic Wallet Extended Application Guide", the methods of depositing, withdrawing, consuming, and gray-locking transactions are proposed. After the traditional payment card is gray-locked, other financial transactions or other applications such as loading can no longer be performed. The card is always in the gray-locked state, and the gray-locked state of the card cannot be released until the unlocking or online unlocking transaction is performed. Such cards have a low utilization rate, which increases the complexity of the cardholder's operation, and the gray-locked card brings inconvenience to the user.

发明内容 Contents of the invention

本发明所要解决的技术问题是提供一种智能卡灰锁应用方法,被灰锁后的卡片能够正常的进行交易的处理的需求,提高了用户使用的方便性,解决现有技术中被灰锁后的卡片给用户带来的使用不便的技术问题。The technical problem to be solved by the present invention is to provide a gray lock application method for a smart card. The gray locked card can normally carry out transaction processing requirements, which improves the convenience of users and solves the problem of gray lock in the prior art. The card brings inconvenience to users and technical problems.

为解决上述技术问题,本发明提供一种智能卡灰锁应用方法,包含以下步骤:In order to solve the above technical problems, the present invention provides a smart card gray lock application method, comprising the following steps:

步骤A:终端对IC卡发初始化灰锁命令,该初始化灰锁命令中含有期望的预冻结金额;Step A: The terminal sends an initialization gray lock command to the IC card, and the initialization gray lock command contains the expected pre-freeze amount;

步骤B:IC卡接收终端的命令,并设置实际预冻结金额,将实际预冻结金额返回终端;Step B: The IC card receives the command from the terminal, sets the actual pre-frozen amount, and returns the actual pre-frozen amount to the terminal;

步骤C:终端根据IC卡返回的实际预冻结金额,计算MAC1,下发灰锁命令;Step C: The terminal calculates MAC1 according to the actual pre-frozen amount returned by the IC card, and issues a gray lock command;

步骤D:IC卡验证终端下发的MAC1是否正确,并在验证正确时计算GTAC、MAC2返回给终端。Step D: The IC card verifies whether the MAC1 issued by the terminal is correct, and calculates GTAC and MAC2 and returns them to the terminal when the verification is correct.

所述IC卡在该终端上完成灰锁后,可到除去该终端外的其它终端进行IC卡内除去实际预冻结金额的剩余金额交易操作。After the IC card is gray-locked on the terminal, it can go to other terminals except the terminal to carry out the transaction operation of the remaining amount in the IC card except the actual pre-frozen amount.

步骤B中,IC卡检查电子钱包文件中的余额是否足够进行预冻结,如果钱包余额小于命令中输入的预冻结金额,就将实际预冻结金额置成钱包中的余额;否则若钱包余额大于等于输入的预冻结金额,则实际冻结金额为命令中期望的预冻结金额In step B, the IC card checks whether the balance in the electronic wallet file is sufficient for pre-freezing. If the wallet balance is less than the pre-freezing amount entered in the command, the actual pre-freezing amount is set as the balance in the wallet; otherwise, if the wallet balance is greater than or equal to input pre-freeze amount, the actual frozen amount is the expected pre-freeze amount in the command

步骤D中,IC卡根据实际预冻结金额,验证终端下发的MAC1是否正确,如果验证MAC1正确,则计算GTAC、MAC2用于返回终端,并将此次交易内容写入内部灰锁交易明细文件中。In step D, the IC card verifies whether the MAC1 issued by the terminal is correct based on the actual pre-frozen amount. If the MAC1 is verified to be correct, calculate GTAC and MAC2 to return to the terminal, and write the transaction content into the internal gray lock transaction details file middle.

还包含下发解扣命令的步骤,由具有解扣功能的终端根据实际的交易金额计算GMAC,下发解扣命令,IC卡根据解扣命令验证GMAC。It also includes the step of issuing an unlocking command. The terminal with the unlocking function calculates the GMAC according to the actual transaction amount, issues the unlocking command, and the IC card verifies the GMAC according to the unlocking command.

终端下发解扣命令后,IC卡验证GMAC的步骤可以包括:After the terminal issues the unlock command, the steps for the IC card to verify the GMAC may include:

由所述IC卡检查终端输入的交易金额是否小于等于IC卡内部的实际冻结金额,如果小于等于时,对IC卡进行解扣,扣除相应的交易金额,并计算TAC返回给终端;如果不是,则IC卡返回错误或其他形式的提示并退出;Whether the transaction amount input by the terminal is checked by the IC card is less than or equal to the actual frozen amount inside the IC card, if less than or equal to, the IC card is released, the corresponding transaction amount is deducted, and the TAC is calculated and returned to the terminal; if not, Then the IC card returns an error or other forms of prompts and exits;

IC卡验证GMAC的步骤结束后,IC卡将此次交易的全部内容更新到标准交易明细文件中,用于外部查询此次交易;并将内部交易明细文件中的冻结金额置为0。After the IC card verifies the GMAC, the IC card will update the entire content of the transaction to the standard transaction details file for external query of the transaction; and set the frozen amount in the internal transaction details file to 0.

还可以包含获取内部交易明细的步骤:It can also include steps to get internal transaction details:

IC卡验证GMAC的步骤结束后,终端将内部交易明细文件的交易验证码待读标志清0。After the step of verifying the GMAC by the IC card is completed, the terminal clears the transaction verification code read flag of the internal transaction detail file to 0.

本发明提供了一种新型的基于预冻结机制的智能卡使用方法。支付卡根据终端要求的预冻结金额,检查卡片是否有足够的余额来进行预冻结,从而进行卡片的灰锁。The invention provides a novel smart card using method based on a pre-freezing mechanism. According to the pre-freeze amount required by the terminal, the payment card checks whether the card has enough balance to pre-freeze, so as to gray lock the card.

一种智能IC卡,包括A smart IC card, including

接收模块:根据终端下发的初始化灰锁命令中含有的期望的预冻结金额,设置IC卡实际预冻结金额,并可将实际预冻结金额返回终端;Receiving module: according to the expected pre-frozen amount contained in the initialization gray lock command issued by the terminal, set the actual pre-frozen amount of the IC card, and return the actual pre-frozen amount to the terminal;

处理模块:接收终端下发的灰锁命令,并验证终端下发的MAC1是否正确,并可在验证正确时计算GTAC、MAC2返回给终端。Processing module: Receive the gray lock command issued by the terminal, and verify whether the MAC1 issued by the terminal is correct, and calculate GTAC and MAC2 and return it to the terminal when the verification is correct.

所述处理模块还用于检查电子钱包文件中的余额是否足够进行预冻结,如果钱包余额小于初始化灰锁命令中期望的预冻结金额,就将实际冻结金额置成钱包中的余额;否则若钱包余额大于等于期望的预冻结金额,则实际冻结金额为命令中期望的预冻结金额。The processing module is also used to check whether the balance in the electronic wallet file is enough to pre-freeze, if the wallet balance is less than the expected pre-freeze amount in the initialization gray lock command, the actual frozen amount is placed into the balance in the wallet; otherwise if the wallet If the balance is greater than or equal to the expected pre-freeze amount, the actual frozen amount is the expected pre-freeze amount in the command.

还包含:验证模块:检查输入的交易金额是否小于等于IC卡实际冻结金额,若交易金额小于等于IC卡实际冻结金额时,IC卡进行解扣,扣除相应的交易金额。It also includes: verification module: check whether the input transaction amount is less than or equal to the actual frozen amount of the IC card, if the transaction amount is less than or equal to the actual frozen amount of the IC card, the IC card will be unlocked and the corresponding transaction amount will be deducted.

所述IC卡灰锁后,可到其它终端进行IC卡内除去实际预冻结金额的剩余金额交易操作。After the IC card is gray-locked, you can go to other terminals to carry out the transaction operation of the remaining amount in the IC card except the actual pre-frozen amount.

一种智能卡终端,包含A smart card terminal comprising

初始化模块:对IC卡发初始化灰锁命令,该初始化灰锁命令中含有期望的预冻结金额;Initialization module: send an initialization gray lock command to the IC card, and the initialization gray lock command contains the expected pre-frozen amount;

处理模块:根据IC卡返回的实际预冻结金额,计算MAC1,对IC卡下发灰锁命令。Processing module: Calculate MAC1 according to the actual pre-frozen amount returned by the IC card, and issue a gray lock command to the IC card.

验证模块:验证IC卡在处理模块返回的MAC2是否正确。Verification module: verify whether the MAC2 returned by the IC card in the processing module is correct.

所述处理模块还根据实际的交易金额计算GMAC,对IC卡下发解扣命令。The processing module also calculates the GMAC according to the actual transaction amount, and issues an unlock command to the IC card.

其中,MAC1:灰锁数据报文鉴别码;Among them, MAC1: gray lock data message authentication code;

MAC2:灰锁完成数据报文鉴别码;MAC2: gray lock completion data message authentication code;

GMAC:解扣数据报文鉴别码;GMAC: unlock data message authentication code;

TAC:交易验证码;TAC: transaction verification code;

GTAC:灰锁交易验证码。GTAC: Gray lock transaction verification code.

本发明提出采用一种新型的智能卡灰锁使用方法、终端及IC卡,使得终端可以根据自己的实际情况,预冻结卡片中的部分金额,用于进行相应的业务。在进行灰锁后,持卡人还可以将卡片取走,针对卡片中除去预冻结的剩余金额,进行圈存、圈提、消费等金融交易操作。这样就保证了被灰锁后的卡片,能够正常的进行交易的处理的需求,提高了用户使用的方便性。本发明可以达到如下有益效果:The invention proposes to adopt a new type of smart card gray lock using method, terminal and IC card, so that the terminal can pre-freeze part of the amount in the card according to its own actual situation for corresponding business. After the gray lock, the cardholder can also take the card away, and perform financial transaction operations such as deposit, transfer, and consumption for the remaining amount in the card after removing the pre-frozen amount. In this way, it is ensured that the gray-locked card can normally carry out transaction processing requirements, and the convenience for users is improved. The present invention can reach following beneficial effect:

1、灰锁后的卡片,可以再进行其它金融交易。1. The gray locked card can be used for other financial transactions.

2、灰锁后的卡片,可以进行小于等于预冻结金额的解扣。2. Cards that have been gray-locked can be unlocked for amounts less than or equal to the pre-frozen amount.

3、可以读出卡内的实际冻结金额,从而算出实际的可支配金额。3. The actual frozen amount in the card can be read out to calculate the actual disposable amount.

4、可以对卡内的可支配金额进行一次小于等于可支配金额的预冻结金额的灰锁处理。4. The disposable amount in the card can be gray-locked for a pre-frozen amount less than or equal to the disposable amount.

附图说明 Description of drawings

图1是终端以及智能IC卡的模块化结构实施例示意图;Fig. 1 is a schematic diagram of a modular structure embodiment of a terminal and a smart IC card;

图2是本发明灰锁应用方法实施例1流程图;Fig. 2 is the flow chart of Embodiment 1 of the gray lock application method of the present invention;

图3是本发明灰锁应用方法实施例2流程图。Fig. 3 is a flow chart of Embodiment 2 of the gray lock application method of the present invention.

具体实施方式 Detailed ways

下面结合附图对本发明作进一步描述。以下实施例仅用于更加清楚地说明本发明的技术方案,而不能以此来限制本发明的保护范围。The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.

实施例1Example 1

下面结合图1和图2说明本发明的智能卡灰锁的应用方法。The application method of the smart card gray lock of the present invention will be described below with reference to FIG. 1 and FIG. 2 .

智能IC卡包括接收模块、处理模块和验证模块。The smart IC card includes a receiving module, a processing module and a verification module.

终端包括初始化模块、处理模块和验证模块。The terminal includes an initialization module, a processing module and a verification module.

终端对IC卡发初始化灰锁命令,该初始化灰锁命令中含有期望的预冻结金额;The terminal sends an initialization gray lock command to the IC card, and the initialization gray lock command contains the expected pre-freeze amount;

IC卡接收终端的命令,并设置实际预冻结金额,将实际预冻结金额返回终端;The IC card receives the command from the terminal, sets the actual pre-frozen amount, and returns the actual pre-frozen amount to the terminal;

终端根据IC卡返回的实际预冻结金额,计算MAC1,下发灰锁命令;The terminal calculates MAC1 according to the actual pre-frozen amount returned by the IC card, and issues a gray lock command;

IC卡验证终端下发的MAC1是否正确,并在验证正确时计算GTAC、MAC2返回给终端。The IC card verifies whether the MAC1 issued by the terminal is correct, and calculates GTAC and MAC2 and returns them to the terminal when the verification is correct.

实施例2Example 2

下面结合图1和图3就预冻结机制的实现方案进行详细的描述。The implementation scheme of the pre-freezing mechanism will be described in detail below with reference to FIG. 1 and FIG. 3 .

首先,终端对卡片发“初始化灰锁命令”,在初始化指令的数据域中带有终端期望的预冻结金额。卡片检查电子钱包文件中的余额是否足够进行预冻结,如果钱包余额小于命令输入的预冻结金额,就将预冻结金额置成钱包中的余额;否则钱包余额大于等于冻结金额,则实际冻结金额为命令中输入的预冻结金额。First, the terminal sends an "initialization gray lock command" to the card, and the data field of the initialization command contains the pre-frozen amount expected by the terminal. The card checks whether the balance in the electronic wallet file is sufficient for pre-freezing. If the wallet balance is less than the pre-freeze amount entered by the command, the pre-freeze amount will be set as the balance in the wallet; otherwise, the wallet balance is greater than or equal to the frozen amount, and the actual frozen amount is The pre-block amount entered in the command.

随后,终端根据卡片返回的实际预冻结金额,计算MAC1,下发“灰锁命令”。卡片根据初始化灰锁命令中返回的实际预冻结金额,验证终端下发的MAC1是否正确,如果验证MAC1正确,则计算GTAC、MAC2用于返回,并将此次交易内容(如:实际预冻结金额等)写入内部灰锁交易明细文件中,其内部交易明细文件的内容参见表2。Subsequently, the terminal calculates MAC1 based on the actual pre-frozen amount returned by the card, and issues a "gray lock command". According to the actual pre-frozen amount returned in the initialization gray lock command, the card verifies whether the MAC1 issued by the terminal is correct. If the MAC1 is verified to be correct, then calculates GTAC and MAC2 for return, and returns the transaction content (such as: the actual pre-frozen amount etc.) into the internal gray lock transaction details file, see Table 2 for the contents of the internal transaction details file.

在完成灰锁后,用户就可以拿此卡片到其它终端,进行卡内除去预冻结金额的剩余金额交易操作。After the gray lock is completed, the user can take the card to other terminals to carry out the transaction operation of the remaining amount in the card except the pre-frozen amount.

最后,终端根据实际的交易金额计算GMAC,下发“解扣命令”。卡片检查命令输入的交易金额是否小于等于卡片内部交易明细的实际冻结金额,如果不是,则卡片返错退出;否则卡片进行解扣,扣除相应的交易金额,并计算TAC返回。与此同时,卡片将此次交易的全部内容更新到标准交易明细文件中,用于外部查询此次交易;并将内部交易明细文件中的冻结金额置为0,其内部交易明细文件的内容参见表3。Finally, the terminal calculates the GMAC based on the actual transaction amount, and issues an "unlock command". Check whether the transaction amount entered in the card check command is less than or equal to the actual frozen amount of the card’s internal transaction details. If not, the card will return an error and exit; otherwise, the card will be unlocked, the corresponding transaction amount will be deducted, and the TAC will be calculated and returned. At the same time, the card updates all the content of this transaction to the standard transaction details file for external query of this transaction; and sets the frozen amount in the internal transaction details file to 0. For the content of the internal transaction details file, see table 3.

当终端根据需要将内部交易明细文件的交易验证码待读标志清0后,其内部交易明细文件的内容参见表1。After the terminal clears the transaction verification code read flag of the internal transaction detailed file to 0 as required, see Table 1 for the content of the internal transaction detailed file.

下面将分别介绍本发明自定义的初始化灰锁命令、灰锁命令、解扣命令的格式,这三条命令完成了整个基于预冻结机制的灰锁使用方式。另外,还将介绍一条用于支持新方式交易的辅助性命令,即获取内部交易明细命令。The following will introduce the formats of the customized initialization gray lock command, gray lock command, and unlock command of the present invention respectively. These three commands complete the entire gray lock usage method based on the pre-freezing mechanism. In addition, an auxiliary command to support the new transaction will be introduced, that is, the command to obtain internal transaction details.

下面先说明几个常用的字母含义:The following explains the meanings of several commonly used letters:

CLA:类别字节CLA: Class byte

INS:指令字节INS: instruction byte

P1:参数1P1: parameter 1

P2:参数2P2: parameter 2

Lc:命令数据域长度Lc: command data field length

Le:响应数据域长度Le: the length of the response data field

初始化灰锁命令格式Initialize gray lock command format

  CLA CLA   INS INS   P1 P1   P2 P2   Lc Lc   数据域 data fields   ‘E0’ 'E0'   ‘7A’ '7A'   ‘08’ '08'   ‘01’ '01'   ‘0B’ '0B'   包括冻结金额 Including frozen amount

这条命令正确执行成功后的响应信息内容包括实际冻结金额。The content of the response message after the command is successfully executed includes the actual frozen amount.

灰锁命令格式Gray lock command format

  CLA CLA   INS INS   P1 P1   P2 P2   Lc Lc   数据域 data field   ‘E0’ 'E0'   ‘7C’ '7C'   ‘08’ '08'   ‘00’ '00'   ‘13’ '13'   包括MAC1 Include MAC1

其中,命令格式中计算MAC1的数据需要包括实际冻结金额。Among them, the data for calculating MAC1 in the command format needs to include the actual frozen amount.

此条命令有返回数据,返回内容包括:GTAC、MAC2。This command has returned data, and the returned content includes: GTAC, MAC2.

解扣命令格式Trip command format

  CLA CLA   INS INS   P1 P1   P2 P2   Lc Lc   数据域 data fields   ‘E0’ 'E0'   ‘7E’ '7E'   ‘08’ '08'   ‘01’ '01'   ‘1B’ '1B'   包括GMAC including GMAC

此条命令有返回数据,返回内容包括:TAC。This command has returned data, and the returned content includes: TAC.

获取内部交易明细命令格式Get internal transaction details command format

其中:当P1=‘00’,卡片在不同状态时,获取到的内部交易明细文件的内容定义如下:Among them: when P1='00', when the card is in different states, the content of the obtained internal transaction details file is defined as follows:

表1:正常状态响应报文数据域Table 1: Normal status response message data fields

表2:灰锁状态响应报文数据域Table 2: Gray lock status response message data fields

  说明 illustrate   实际冻结金额 Actual frozen amount   状态字(=01表示当前应用已灰锁) Status word (=01 means that the current application has been gray-locked)   灰锁的交易类型标识 Gray lock transaction type identification   被灰锁的EPP(01,其它RFU) Gray-locked EPP (01, other RFU)   被灰锁的EPP余额 Gray locked EPP balance   被灰锁的EPP脱机交易序号 The serial number of the gray-locked EPP offline transaction   执行GREY LOCK时的终端机编号 The terminal number when executing GRAY LOCK   执行GREY LOCK时的日期 Date when GRAY LOCK was executed   执行GREY LOCK时的时间 Time when GRAY LOCK is executed   灰锁时的MAC2 MAC2 in gray lock   灰锁时的GTAC GTAC during gray lock

表3:TAC未读时响应报文数据域Table 3: Response message data field when TAC is not read

 说明 illustrate  冻结金额(00000000) Freeze amount (00000000)  状态字(=10表示当前应用TAC未读) Status word (=10 means that the current application TAC has not been read)

 上次解扣的交易类型标识 The last unlocked transaction type identifier  上次解扣的EPP(01,其它RFU) EPP released last time (01, other RFU)  上次解扣的EPP余额 EPP balance released last time  上次解扣的EPP脱机交易序号 The EPP offline transaction number that was unlocked last time  上次执行解扣的终端机编号 The number of the terminal that performed the trip last time  上次执行解扣的日期 The date of the last unblocking execution  上次执行解扣的时间 The time of the last trip  解扣交易金额 Undeduct transaction amount  上次解扣的TAC The last unlocked TAC

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变形,这些改进和变形也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the technical principle of the present invention, some improvements and modifications can also be made. It should also be regarded as the protection scope of the present invention.

Claims (11)

1. a smart card ash lock application process, is characterized in that, comprise following steps:
Steps A: terminal to IC-card lock order of sending out ashing initial, containing the prefreezing amount of money expected in this initial ashing lock order;
The order of step B:IC card receiving terminal, and the actual prefreezing amount of money is set, the actual prefreezing amount of money is returned terminal;
Step C: the actual prefreezing amount of money that terminal returns according to IC-card, calculates MAC1, the order of lower burnt hair lock;
Whether the MAC1 that step D:IC card verification terminal issues is correct, and calculating GTAC, MAC2 return to terminal when verifying correct.
2. smart card ash lock application process according to claim 1, it is characterized in that, after described IC-card completes ash lock on the terminal, other terminal that can arrive outside this terminal of removing carries out the remaining sum transactional operation of the actual prefreezing amount of money of removing in IC-card.
3. smart card ash lock application process according to claim 1, it is characterized in that, in step B, IC-card checks whether the remaining sum in stored value card file enough carries out prefreezing, if wallet balances is less than the prefreezing amount of money inputted in order, just the actual prefreezing amount of money is set to the remaining sum in wallet; If otherwise wallet balances is more than or equal to the prefreezing amount of money of input, then the actual amount of money that freezes is the prefreezing amount of money expected in order.
4. the smart card ash lock application process according to any one of claim 1-3, it is characterized in that, also comprise the step issuing order of triping, calculate GMAC by the terminal with function of triping according to the dealing money of reality, issue order of triping, IC-card is according to the order checking GMAC that trips.
5. smart card ash lock application process according to claim 4, is characterized in that, after terminal issues order of triping, the step of IC-card checking GMAC is:
Check whether dealing money that terminal inputs is less than or equal to the actual of IC-card inside and freezes the amount of money by described IC-card, and when being less than or equal to, IC-card is triped, deduct corresponding dealing money, and calculate TAC and return to terminal.
6. smart card ash lock application process according to claim 5, it is characterized in that, after IC-card verifies that the step of GMAC terminates, this full content of concluding the business is updated in standard transaction details file by IC-card, for external inquiry this time transaction.
7. an intellective IC card, is characterized in that, comprises
Receiver module: according to the prefreezing amount of money of the expectation contained in the initial ashing lock order that terminal issues, the actual prefreezing amount of money of IC-card is set, and the actual prefreezing amount of money can be returned terminal;
Processing module: the ash lock order that receiving terminal issues, and whether the MAC1 that verification terminal issues is correct, and calculating GTAC, MAC2 can return to terminal when verifying correct.
8. intellective IC card according to claim 7, it is characterized in that, described processing module, also for checking whether the remaining sum in stored value card file enough carries out prefreezing, if wallet balances is less than the prefreezing amount of money expected in the order of initial ashing lock, just the actual amount of money that freezes is set to remaining sum in wallet; If otherwise wallet balances is more than or equal to the prefreezing amount of money of expectation, then the actual amount of money that freezes is the prefreezing amount of money expected in order.
9. the intellective IC card according to claim 7 or 8, is characterized in that, also comprises:
Authentication module: check whether the dealing money of input is less than or equal to that IC-card is actual freezes the amount of money, if when dealing money is less than or equal to that IC-card is actual freezes the amount of money, IC-card is triped, and deducts corresponding dealing money.
10. a smart card terminal, is characterized in that, comprises
Initialization module: to IC-card lock order of sending out ashing initial, containing the prefreezing amount of money expected in this initial ashing lock order;
Processing module: the actual prefreezing amount of money returned according to IC-card, calculates MAC1, to burnt hair lock order under IC-card;
Authentication module: whether the MAC2 that checking IC-card returns in processing module is correct.
11. smart card terminals according to claim 10, is characterized in that, described processing module also calculates GMAC according to the dealing money of reality, issues to IC-card order of triping.
CN201210288226.7A 2012-08-14 2012-08-14 Application method of smart IC card, terminal and smart card gray lock Active CN103593888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210288226.7A CN103593888B (en) 2012-08-14 2012-08-14 Application method of smart IC card, terminal and smart card gray lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210288226.7A CN103593888B (en) 2012-08-14 2012-08-14 Application method of smart IC card, terminal and smart card gray lock

Publications (2)

Publication Number Publication Date
CN103593888A CN103593888A (en) 2014-02-19
CN103593888B true CN103593888B (en) 2015-09-09

Family

ID=50084011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210288226.7A Active CN103593888B (en) 2012-08-14 2012-08-14 Application method of smart IC card, terminal and smart card gray lock

Country Status (1)

Country Link
CN (1) CN103593888B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096190A (en) * 2014-05-13 2015-11-25 国家电网公司 Intelligent card locking method and apparatus
CN111784879B (en) * 2020-07-09 2022-04-05 杭州复杂美科技有限公司 Access control method, device and storage medium
CN112990911B (en) * 2021-02-08 2024-05-28 北京智芯微电子科技有限公司 Ash lock transaction method and security chip

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0831433A1 (en) * 1996-09-24 1998-03-25 Koninklijke KPN N.V. Method of making recoverable smart card transactions, a method of recovering such a transaction, as well as a smart card allowing recoverable transactions
CN1287338A (en) * 1999-09-06 2001-03-14 李东声 Method of realizing safe IC card business
CN1332408A (en) * 2001-08-08 2002-01-23 深圳市三金电子有限公司 Continuous money deducting method from IC card with PSAM card in case of being incapable of determining trade amount in advance
CN1897044A (en) * 2005-07-12 2007-01-17 李东声 Method for improving service transaction IC-card reliability by applied gray-lock technology
CN101872511A (en) * 2009-04-24 2010-10-27 王颖师 Method for increasing mobile banking short message payment speed by using short message preauthorization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0831433A1 (en) * 1996-09-24 1998-03-25 Koninklijke KPN N.V. Method of making recoverable smart card transactions, a method of recovering such a transaction, as well as a smart card allowing recoverable transactions
CN1287338A (en) * 1999-09-06 2001-03-14 李东声 Method of realizing safe IC card business
CN1332408A (en) * 2001-08-08 2002-01-23 深圳市三金电子有限公司 Continuous money deducting method from IC card with PSAM card in case of being incapable of determining trade amount in advance
CN1897044A (en) * 2005-07-12 2007-01-17 李东声 Method for improving service transaction IC-card reliability by applied gray-lock technology
CN101872511A (en) * 2009-04-24 2010-10-27 王颖师 Method for increasing mobile banking short message payment speed by using short message preauthorization

Also Published As

Publication number Publication date
CN103593888A (en) 2014-02-19

Similar Documents

Publication Publication Date Title
EP2820602B1 (en) Systems and methods for mapping a mobile cloud account to a payment account
US8469277B2 (en) Methods, systems and computer program products for wireless payment transactions
US10535060B2 (en) System and method for processing financial transactions using a mobile device for payment
CN101799954B (en) Method for loading double electronic purses
US20150046336A1 (en) System and method of using a secondary screen on a mobile device as a secure and convenient transacting mechanism
KR102008206B1 (en) A server, method and system for managing card transaction service
BR112014020191A2 (en) disposable payment cards
CN101727712B (en) An electronic cash transfer method
CN101996442A (en) Method, device and system for recharging electronic purse
CN107330784A (en) A kind of method and system for exchanging digital cash
CN102044114A (en) Method for consuming electronic wallet
US20150066651A1 (en) Method and System for Secure Mobile Payment Processing and Data Analytics
US20150066757A1 (en) Method and system for instant delivery of virtual gift card on mobile platform
WO2014051960A1 (en) Methods and systems for a multi-purpose transaction card and associated methods and systems
CN103473851A (en) Rapid card issuing authorization method and system
US20210201294A1 (en) Bank card privacy information hiding method, bank card and computer readable storage medium
US20230053969A1 (en) Tokenization of digital media files and associated derivatives
CN105931033A (en) Off-line consumption method and apparatus
CN109240655A (en) A kind of implementation method of the middleware based on EMV, terminal device
CN103593888B (en) Application method of smart IC card, terminal and smart card gray lock
US20110106707A1 (en) Recharge amount transfer system and method for electronic payment means using portable phone
TW200842753A (en) Method and apparatus for providing e-commerce and m-commerce
US20150032588A1 (en) Systems and methods for enrolling merchants using card data
US11074564B2 (en) Computer system and computer-implemented method for processing a payment transaction at a point-of-sale terminal
US20230316291A1 (en) Physical medium for restricted account access to contributed resources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant