CN1920889B - Method for controlling multiple operations of smart card - Google Patents

Method for controlling multiple operations of smart card Download PDF

Info

Publication number
CN1920889B
CN1920889B CN200610089369A CN200610089369A CN1920889B CN 1920889 B CN1920889 B CN 1920889B CN 200610089369 A CN200610089369 A CN 200610089369A CN 200610089369 A CN200610089369 A CN 200610089369A CN 1920889 B CN1920889 B CN 1920889B
Authority
CN
China
Prior art keywords
card
order
application
smart card
apdu
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.)
Expired - Fee Related
Application number
CN200610089369A
Other languages
Chinese (zh)
Other versions
CN1920889A (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.)
Feitian Technologies Co Ltd
Original Assignee
Beijing Feitian Technologies Co Ltd
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 Beijing Feitian Technologies Co Ltd filed Critical Beijing Feitian Technologies Co Ltd
Priority to CN200610089369A priority Critical patent/CN1920889B/en
Publication of CN1920889A publication Critical patent/CN1920889A/en
Application granted granted Critical
Publication of CN1920889B publication Critical patent/CN1920889B/en
Expired - Fee Related 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 relates to a control method of intelligent card, especially a multi-service control method of intelligent card, wherein the invention builds at least two application subdirectories in payment system; each application subdirectory has application identifier, to access and process each application subdirectory, to combine the EMV application with one-way card; therefore, the card user only needs one card, to share the services of EMV application and one-way card, to reduce the complexity of each service; and the card user can directly pay count at EMV service network node, to save time, improve safety and reduce the cost.

Description

Method for controlling multiple operations of smart card
Technical field
The present invention relates to a kind of smart card control method, is a kind of method for controlling multiple operations of smart card specifically.
Background technology
" city all-purpose card " is the high speed development along with electronic computer technology, " ecommerce " and " electronic money " means of payment increasingly mature and the new ideas that propose.The municipal service industry-by-industry is united, adopt consistent way of paying, make things convenient for citizen to consume, improve the work efficiency of operation enterprise; In certain zone, resident or visitor hold functions such as same IC-card can be realized authentication, the consumption and payment that flows, storage various information, reach the overall goal of " one card in hand is lived without anxiety ".
Building digitalized city is the long-term goal of city all-purpose card engineering project, IC-card is as the carrier and the interface of information, in " city all-purpose card " engineering project,, set up the urban service management information platform by being used for townie IC-card to citizen's distribution.With civic life information and consumption information, carry out digitized record by using IC-card, be reflected in the relevant infosystem in city, for the integrated management of urban information provides data necessary and analysis.These information has been arranged, be aided with other means, as: inquiry, statistics, measuring and calculating indirectly, decision analysis etc. are the personal consumption in the city, enterprise operation and city manager's decision-making, many-sided strong analysis foundation is provided and has instructed foundation.
The city all-purpose card is chiefly directed to the payment and the authentication of the every field of life of urban resident, can finish utility prepaid, the quick clearing and the payment in a plurality of fields such as finance, tourism, medical treatment, guarantee the authentication and the information stores inquiry in each field, the application of city all-purpose card comparative maturity is listed below:
Public transport charge: charges such as public transport, subway, light rail, ferry, taxi;
Public utility charges: water, electricity, gas, CATV (cable television), telecommunications charges;
Financial application: circle is deposited, consumption, enchashment, circle are carried;
Tourism consumption: replace admission ticket, tourism integration;
Medical treatment: treatment charge;
Social security: five danger management, medical insurance treatment, endowment treatment;
Oiling, aerating: oil gas charge, tax control management.
The EMV standard is by international three biggest banks card tissue--Europay (Continental Europe card, purchased by Master), the technical standard that shifts to IC-card from magnetic stripe card of the common bank card of initiating to formulate of MasterCard (Master Card) and Visa (Visa), be based on the financial payment standard of intellective IC card, become generally acknowledged framework standard at present.Its objective is the unified standard of in the financial IC card payment system, setting up card and terminal interface, make under this system all card and terminal can intercommunication usefulness mutually, and the employing of this technology will improve the bank card security of payment greatly, reduce fraud.The version of formal issue has EMV96 and EMV2000 at present.
EMV2000 is the basic technology standard that the existing debit/credit of financial IC card is in the world used, by the card tissue associating formulation of international three biggest banks, the main contents of standard comprise the application of debt-credit note transaction flow, debit/credit using standard and security authentication mechanism etc., its objective is the general standard platform of setting up a unification for financial IC card, financial terminal, payment system and financial institution.
But, domestic " all-purpose card " project mostly is the mode of independent non-financial application at present, promptly use a special application of IC cards in " all-purpose card ", such card need arrive special " all-purpose card " service handling site application, as shown in fig. 1, and to the all-purpose card project flow process of paying the fees, normally the holder extracts cash at the financial grid point of bank, pay cash to all-purpose card service handling site then, for " all-purpose card " public account is supplemented with money. pay various types of expenses at every turn and also must handle to the site, and mainly, brought many inconvenience to the holder with the cash base transaction.
Summary of the invention
The present invention has overcome above-mentioned shortcoming, EMV is used with " all-purpose card " combine, and provides a kind of complexity method for controlling multiple operations of smart card low, easy to use.
The present invention solves the technical scheme that its technical matters takes: a kind of method for controlling multiple operations of smart card comprises the steps:
1) the payment system environment is created at least two down and is used sub-directory, and each is used sub-directory and is provided with application identifier;
2) according to described application identifier realization each is used the visit and the processing of sub-directory.
Described step 2) can be specially:
A) receive the application protocol data order;
B) application identifier that comprises in the described application protocol data order of identification;
C) according to the file in the application sub-directory that application identifier is selected and execution is corresponding.
Described application identifier can be an array, comprises the expansion of resource identification and privately owned sign.
The described file of depositing under the sub-directory of respectively using can include data file and key file.
Described respectively the application includes application data file and catalogue defined file in the data file that also can deposit under the sub-directory, and directly quotes by filename.
The filename of described application data file can to use in the sub-directory application identifier corresponding or be the beginning of filename with described application identifier with the place.
The filename of described application data file and catalogue defined file can be unique in described smart card system.
Also can comprise common command processing file in the described payment system environment.
The security mechanism that the described file of respectively using under the sub-directory can be subjected to respectively to use self is protected, not visit mutually.
The present invention uses sub-directory by create at least two under the payment system environment, each is used sub-directory and is provided with application identifier, and according to visit and the processing of described application identifier realization to each application sub-directory, thereby realize the EMV application is combined with " all-purpose card ", the holder only need handle a card, just can enjoy all services that EMV uses and " all-purpose card " provides simultaneously, and reduced the complexity of handling every business, such as fee payment service etc., and then the holder can directly pay the fees in EMV service handling site, has not only saved the time, promote degree of safety, and reduced the cost that the holder applies for card.
Description of drawings
Fig. 1 is the schematic flow sheet of paying the fees in the prior art
Fig. 2 constitutes synoptic diagram for smartcard internal system among the present invention
Fig. 3 is to described smart card access process flow diagram flow chart among the present invention
Embodiment
On a sheet smart card chip, support EMV and " all-purpose card " two kinds of application simultaneously, need card can handle the APDU order of EMV standard finance and " all-purpose card " application specific APDU order, also need be at payment system environment (the Payment System Environment of card, the IC-card file system root directory, hereinafter to be referred as PSE) under be respectively two and use create sub-directories, as shown in Figure 2, by each is used the application identifier (ApplicationIdentifier of sub-directory, hereinafter to be referred as AID) select, only deposit the data file and the key file of application corresponding under each sub-directory.Wherein, the security mechanism that the user file under EMV application directory and " all-purpose card " application directory is subjected to respectively to use self is protected, and does not allow mutual visit.
Described APDU refers to Application Protocol Data Unit, described smart card all is with Application Protocol Data Unit (ApplicationProtocol Data Unit by the exchange of the total data between I/O interface and the terminal, be the communication standard of IC-card, be called for short APDU) carry out.APDU comprises order APDU and replys two kinds of APDU, orders APDU to send to card by terminal, and replying APDU then is the response of card to order APDU.Abide by ISO/IEC 7816-4 standard, APDU designs irrelevantly with host-host protocol fully.
Described application identifier (Application Identifier is called for short AID) is a byte arrays, and wherein, the first five byte is resource identification (Resource Identifier is called for short RID); Remaining byte is privately owned sign expansion (proprietary identifier extension is called for short PIX), and length range is 0 to 11 byte.
Any application data file in the IC-card (Application Definition File is abbreviated as ADF) or catalogue defined file (Directory Definition File is abbreviated as DDF) can be quoted by filename.Wherein, the filename of ADF is corresponding with its AID or with the beginning of AID as filename, each filename in the sheet smart card chip is unique in this smart card.
Comprise pay the fees, inquire about, the access process to described smart card of consumption etc., as shown in Figure 3, smart card operating system, be that the RID (five bytes of AID) that the COS internal condition is employed judges the type that current selected is used, and determine the current APDU command set of supporting according to this, treatment scheme is shown in figure three:
Step [100]: the smart card card powers on, and operating system COS internal default selects PSE as current application;
Step [110]: card is waited for and is received the APDU order;
Step [120]: card receives the APDU order, and at first the RID according to current application judges application type;
Step [130]: use if the described APDU that receives is EMV, judge whether be the order of EMV service-specific according to the instruction INS in the order:
Step [131]: if the order of EMV service-specific is carried out specific command and handled, end process jumps to step [110], waits for next bar APDU order;
If not the order of EMV service-specific, jump to step [150];
Step [140]: " all-purpose card " used, and judges whether it is the order of all-purpose card service-specific according to the instruction INS in the order;
Step [141]: if the order of all-purpose card service-specific is carried out specific command and handled, end process jumps to step [110], waits for next bar APDU order;
If not the order of all-purpose card service-specific, jump to step [150];
In above two application any one then directly jumps to step [150];
Step [150]: carry out public APDU command process, INS judges whether it is common command according to instruction:
Step [160]: common command is handled, and judges whether it is select command, i.e. SELECT order
Step [161]: if the SELECT order is then selected APDU order indication to use, and is set to current application, end process jumps to [110], waits for next bar APDU order
Step [162]: if not SELECT order, i.e. other common command, then fill order is handled, and end process jumps to [110], waits for next bar APDU order; Be not common command, return " function is not supported ", end process jumps to [110], waits for next bar APDU order.
More than method for controlling multiple operations of smart card provided by the present invention is described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (8)

1. a method for controlling multiple operations of smart card is characterized in that, comprises the steps:
1) create at least two under the payment system environment and use sub-directory, each is used sub-directory and is provided with application identifier;
2) according to described application identifier realization each is used the visit and the processing of sub-directory;
Described step 2) be specially:
A) the smart card card powers on, and the operating system internal default selects the payment system environment as current application;
B) card is waited for and is received Application Protocol Data Unit APDU order;
C) card receives the APDU order, at first judges application type according to the resource identification of current application, if the described APDU order that receives is used for EMV then changed step d) over to; If the described APDU order that receives is used for " all-purpose card " then is changed step f) over to; In above two application any one then directly jumps to step h);
D) judge whether be the order of EMV service-specific according to the instruction in the order:
E) if the order of EMV service-specific is carried out specific command and handled, end process jumps to step b), waits for next bar APDU order; If not the order of EMV service-specific, jump to step h);
F) judge whether it is the order of all-purpose card service-specific according to the instruction in the order;
G) if the order of all-purpose card service-specific is carried out specific command and handled, end process jumps to step b), waits for next bar APDU order; If not the order of all-purpose card service-specific, jump to step h);
H) carry out public APDU command process, judge whether it is common command according to instruction) if common command then changes step I over to; If not common command, return " function is not supported ", end process jumps to step b), waits for next bar APDU order;
I) judge whether it is select command;
J) if select command is then selected APDU order indication to use, and is set to current application, end process jumps to step b), waits for next bar APDU order; If not select command, then fill order is handled, and end process jumps to step b), waits for next bar APDU order.
2. method for controlling multiple operations of smart card as claimed in claim 1 is characterized in that: described application identifier is an array, comprises the expansion of resource identification and privately owned sign.
3. method for controlling multiple operations of smart card as claimed in claim 1 is characterized in that: the described literature kit of depositing under the sub-directory of respectively using contains data file and key file.
4. method for controlling multiple operations of smart card as claimed in claim 1 is characterized in that: described respectively the application includes application data file and catalogue defined file in the data file of also depositing under the sub-directory, and directly quotes by filename.
5. the method for controlling multiple operations of smart card described in claim 4 is characterized in that: it is corresponding or be the beginning of filename with described application identifier that application identifier is used in the sub-directory at the filename of described application data file and place.
6. the method for controlling multiple operations of smart card described in claim 4, it is characterized in that: the filename of described application data file and catalogue defined file is unique in described smart card system.
7. method for controlling multiple operations of smart card as claimed in claim 1 is characterized in that: also comprise common command processing file in the described payment system environment.
8. the method for controlling multiple operations of smart card described in claim 4, it is characterized in that: the security mechanism that the described file of respectively using under the sub-directory is subjected to respectively to use self is protected, visit mutually.
CN200610089369A 2006-06-22 2006-06-22 Method for controlling multiple operations of smart card Expired - Fee Related CN1920889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610089369A CN1920889B (en) 2006-06-22 2006-06-22 Method for controlling multiple operations of smart card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610089369A CN1920889B (en) 2006-06-22 2006-06-22 Method for controlling multiple operations of smart card

Publications (2)

Publication Number Publication Date
CN1920889A CN1920889A (en) 2007-02-28
CN1920889B true CN1920889B (en) 2010-05-12

Family

ID=37778608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610089369A Expired - Fee Related CN1920889B (en) 2006-06-22 2006-06-22 Method for controlling multiple operations of smart card

Country Status (1)

Country Link
CN (1) CN1920889B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310537A (en) * 2012-03-16 2013-09-18 中国移动通信集团公司 Multi-application identification access method, intelligent card and POS (Point-of-sales) machine

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101261754A (en) * 2007-03-07 2008-09-10 邱云南 A value storage financial card with multiple applications
CN101256645B (en) * 2008-01-16 2012-01-11 苏州市城市信息化建设有限公司 Setting method of integrated citizen card system
CN101727707B (en) * 2008-10-30 2011-11-09 范磊 Multifunction card system and method for applying multifunction cards through same
CN101751450B (en) * 2008-12-03 2015-05-20 上海公共交通卡股份有限公司 Information sharing realizing method for CPU card with multi-application COS
CN101661567B (en) * 2009-09-23 2013-06-05 北京华大智宝电子系统有限公司 Implementation method of multi-functional smart card device
CN102306170A (en) * 2011-08-23 2012-01-04 北京握奇数据系统有限公司 Methods and devices for storing and processing public information of intelligent card
CN105592007A (en) * 2014-10-23 2016-05-18 广东华大互联网股份有限公司 Level-type smart card public application security authentication system
CN105740271A (en) * 2014-12-10 2016-07-06 北京数码视讯科技股份有限公司 Method and equipment for managing information of application of smart card and smart card
CN105894426A (en) * 2016-03-30 2016-08-24 广州星海数字电视金卡有限公司 Resident information sharing, storing, and managing system based on CPU chip card
CN107679858B (en) * 2017-10-24 2019-12-10 恒宝股份有限公司 Mobile terminal and mobile payment method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1418538A1 (en) * 2001-08-03 2004-05-12 Dai Nippon Printing Co., Ltd. MULTI−APPLICATION IC CARD
CN1687905A (en) * 2005-05-08 2005-10-26 华中科技大学 Multi-smart cards for internal operating system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1418538A1 (en) * 2001-08-03 2004-05-12 Dai Nippon Printing Co., Ltd. MULTI−APPLICATION IC CARD
CN1687905A (en) * 2005-05-08 2005-10-26 华中科技大学 Multi-smart cards for internal operating system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
金志刚,朱军.基于IC卡技术的一卡多用的设计与实现.电子工程师30 12.2004,30(12),73-75,80.
金志刚,朱军.基于IC卡技术的一卡多用的设计与实现.电子工程师30 12.2004,30(12),73-75,80. *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310537A (en) * 2012-03-16 2013-09-18 中国移动通信集团公司 Multi-application identification access method, intelligent card and POS (Point-of-sales) machine
CN103310537B (en) * 2012-03-16 2016-01-20 中国移动通信集团公司 A kind of many application identifications access method, smart card and POS

Also Published As

Publication number Publication date
CN1920889A (en) 2007-02-28

Similar Documents

Publication Publication Date Title
CN1920889B (en) Method for controlling multiple operations of smart card
US7360691B2 (en) Secure device and mobile terminal which carry out data exchange between card applications
CN101256645B (en) Setting method of integrated citizen card system
CN104025134B (en) Electronic money managing device, electronic money management method, computer-readable storage medium
CN105719139A (en) Mobile fusion electronic payment method adopting participation of electronic vouchers in consumption payment
CN102831499A (en) Nationwide city smart-card interconnection and intercommunication system and method utilizing same
CN104966194A (en) Composite cash register method and intelligent cash register system therefor
CN101587615A (en) Information integrated platform of traffic IC card and bank card
CN102521921A (en) Charge control device, prepayment electricity selling system, electricity selling system and method thereof
CN105096109A (en) Bus taking payment method and bus taking payment system
CN102117453A (en) Method and system for accepting various payment cards and performing transaction transfer treatment
CN101272546A (en) Authentication, charging system and method based on mobile phone
CN101577026A (en) Method and system for realizing mobile self-service charging and consumption of electronic wallet
CN101188033B (en) Quick online payment method and system based on feature recognition
CN101763694A (en) Multi-functional pos all-in-one machine with multiple transmission modes
CN101944214A (en) Multi-card multi-acquiring-bank payment and settlement method and system
CN102044031A (en) Control device and method for adding points to point accounts by point management system
CN105184970A (en) Public transportation IC card internet payment system and payment method thereof
CN101383066A (en) Personal consumption settlement system for local intelligent traffic card and method thereof
CN101009032A (en) Auto-ticketing terminal system and implementation method thereof
JP2008041024A (en) Point calculator and point calculating method
CN101383065A (en) Cross-region and cross-field transportation IC card application method and system
CN201331812Y (en) Urban and rural micro-payment system
CN108932618A (en) City ONE cartoon system based on RFID technology of Internet of things
CN107480971A (en) Virtual national standard CPU card and the method that Internet user's transaction is realized based on virtual national standard CPU card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: FEITIAN TECHNOLOGIES CO., LTD.

Free format text: FORMER NAME: BEIJING FEITIAN CHENGXIN SCIENCE + TECHNOLOGY CO., LTD.

CP03 Change of name, title or address

Address after: 100085 Beijing city Haidian District Xueqing Road No. 9 Ebizal building B block 17 layer

Patentee after: Feitian Technologies Co.,Ltd.

Address before: 100083, Haidian District, Xueyuan Road, Beijing No. 40 research, 7A building, 5 floor

Patentee before: FEITIAN TECHNOLOGIES Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100512

CF01 Termination of patent right due to non-payment of annual fee