WO2003085587A1 - A system comprising a smart card and a reader - Google Patents

A system comprising a smart card and a reader Download PDF

Info

Publication number
WO2003085587A1
WO2003085587A1 PCT/IB2003/001359 IB0301359W WO03085587A1 WO 2003085587 A1 WO2003085587 A1 WO 2003085587A1 IB 0301359 W IB0301359 W IB 0301359W WO 03085587 A1 WO03085587 A1 WO 03085587A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
reader
instructions
functional set
sim
Prior art date
Application number
PCT/IB2003/001359
Other languages
French (fr)
Inventor
Serge Barbe
Olivier Joffray
Original Assignee
Axalto Sa
Schlumberger Malco Inc
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 Axalto Sa, Schlumberger Malco Inc filed Critical Axalto Sa
Priority to AU2003214550A priority Critical patent/AU2003214550A1/en
Publication of WO2003085587A1 publication Critical patent/WO2003085587A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10297Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0013Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers

Definitions

  • the invention relates to an assembly that comprises a smart card and a smart card reader.
  • the card may be, for example, a subscriber identity module (SIM) for a cellular phone network.
  • SIM subscriber identity module
  • the reader may be, for example, a reader that can copy data from one SIM card to another SIM card.
  • the card comprises a functional set of instructions that the reader can execute.
  • the reader comprises a basic set of instructions, which causes the reader to retrieve the functional set of instructions from the card.
  • the functional set of instructions causes the reader to manipulate data contained in the card.
  • the invention allows a low-cost reader.
  • the basic set of instructions can be very generic. Any special details, which may differ from one type of card to another, can be in the functional set of instructions that reside in the card. Consequently, the reader can be used for a wide range of different types of cards. Consequently, the reader can be produced in relatively large numbers, which allows economy of scale.
  • the invention allows data stored in a current card, to be transferred by the reader to a new card, particularly personal data relating to the user.
  • Figure 1 shows the general structure of a device 1 which typically constitutes, by way of example, each of the above-mentioned smart card and associated reader. It comprises information processing means or CPU (Calculation Processing Unit) 2, information memorizing means 3,4,5 of various type (RAM, EEPROM, ROM), input/output means 6 allowing the device to cooperate with another device of same type, and a bus 7 allowing the above- mentioned elements of the device to exchange data.
  • information processing means or CPU Central Processing Unit
  • information memorizing means 3,4,5 of various type (RAM, EEPROM, ROM)
  • input/output means 6 allowing the device to cooperate with another device of same type
  • a bus 7 allowing the above- mentioned elements of the device to exchange data.
  • the functional set of instructions in the card may cause the reader to manipulate data contained in the card. More specifically, the functional set of instructions may cause the reader to carry out a transfer of data between the card and another card that is coupled to the reader.
  • the card may comprise an indication data that identifies the card as a card that has a functional set of instructions that the reader can execute.
  • the reader may have a subset of basic instructions for checking whether the card comprises the indication data or not.
  • the indication data may comprise a file that is not foreseen in any application for which the card has been configured. For example, let it be assumed that the card is configured for a cellular phone application in accordance with the GSM standard. In that case, the indication data can be a file that is not present in an ordinary card for this application.
  • the indication data may comprise a fictitious alteration of a standard file or command present in the card.
  • the response of the standard card to the reset triggered by the reader includes history bytes for keeping trace of previous actions : these history bytes may be altered in the manner they constitute the indication data of the invention.
  • the functional set of instructions causes the reader to write an indication data in the card that identifies the latter as a card that has been manipulated by the reader according to the functional set of instructions.
  • any specific word or abbreviation mentioned is derived from GSM 11.11 standard which relates to communication between the SIM card, the cellular phone, and the cellular phone network. Accordingly, the specific words or abbreviations mentioned have the meaning defined in said standard.
  • ATR stands for "Answer To Reset", that is the response of the SIM to the reset triggered by the SIM copy device ;
  • -CHV1 stands for "Card Holder Value 1", which corresponds to the "PIN” -step 4 : "DF Telecom” is the GSM application ;
  • step 7 comparison of xx value allows checking that the file selected by the device duly corresponds to that to copy ;
  • -step 9 confirms that old and new SIM have exchanged data
  • -steps 11-13 have the purpose of establishing a correspondence between homologous SMS files of old and new SIM, which manage the SMS messages ;
  • file "EF ADN” is the one storing the address book or "Abbreviated Dial Numbers” ; the respective files “EF ADN” of old and new SIM are brought into correspondance ;
  • step 22 the writing of said data in new SIM ensures that the latter will not be used another time as a new SIM. In other words, this SIM is now an old SIM. This prevents erroneously canceling the content of the new SIM after the old SIM has been thrown away.
  • This chapter describes a set of commands (such as APDU) which may be used to pilot the SIM copy function in the electronic device.
  • the scripting application of the SIM copy device is made of three types of entity:
  • command displaying a message waiting for an action from the customer, and sending an APDU to a smart card.
  • the coding of all these elements is fully depending on the device manufacturer choices (i.e. the byte code).
  • the commands may consist in a program directly usable by a microcontroler of the reader.
  • a command or function as defined here below is not always a single smart card APDU. It might be a combination of APDUs, and may include user interactions (displaying a message, waiting for a PIN entrance ).
  • a compulsorily successful command failure induces the immediate termination of the script, displaying the error message.
  • SW1-SW2 9F-xx ⁇ Retrieve xx bytes using the GET RESPONSE command.

Abstract

An assembly comprises a smart card and a reader. The card comprises a functional set of instructions that the reader can execute. The reader comprises a basic set of instructions that causes the reader to retrieve the functional set of instructions from the card. The functional set of instructions causes the reader to manipulate data contained in the card.

Description

A SYSTEM COMPRISING A SMART CARD AND A READER
CONTEXT
The invention relates to an assembly that comprises a smart card and a smart card reader. The card may be, for example, a subscriber identity module (SIM) for a cellular phone network. The reader may be, for example, a reader that can copy data from one SIM card to another SIM card.
INVENTION
The card comprises a functional set of instructions that the reader can execute. The reader comprises a basic set of instructions, which causes the reader to retrieve the functional set of instructions from the card. The functional set of instructions causes the reader to manipulate data contained in the card.
ADVANTAGE
The invention allows a low-cost reader. The basic set of instructions can be very generic. Any special details, which may differ from one type of card to another, can be in the functional set of instructions that reside in the card. Consequently, the reader can be used for a wide range of different types of cards. Consequently, the reader can be produced in relatively large numbers, which allows economy of scale.
Among various manipulations of data contained in the card, the invention allows data stored in a current card, to be transferred by the reader to a new card, particularly personal data relating to the user. DETAILS
Figure 1 shows the general structure of a device 1 which typically constitutes, by way of example, each of the above-mentioned smart card and associated reader. It comprises information processing means or CPU (Calculation Processing Unit) 2, information memorizing means 3,4,5 of various type (RAM, EEPROM, ROM), input/output means 6 allowing the device to cooperate with another device of same type, and a bus 7 allowing the above- mentioned elements of the device to exchange data.
The functional set of instructions in the card may cause the reader to manipulate data contained in the card. More specifically, the functional set of instructions may cause the reader to carry out a transfer of data between the card and another card that is coupled to the reader.
The card may comprise an indication data that identifies the card as a card that has a functional set of instructions that the reader can execute. Complementary, the reader may have a subset of basic instructions for checking whether the card comprises the indication data or not. More specifically, the indication data may comprise a file that is not foreseen in any application for which the card has been configured. For example, let it be assumed that the card is configured for a cellular phone application in accordance with the GSM standard. In that case, the indication data can be a file that is not present in an ordinary card for this application. As another example, the indication data may comprise a fictitious alteration of a standard file or command present in the card. Namely, the response of the standard card to the reset triggered by the reader (called "Answer To Reset") includes history bytes for keeping trace of previous actions : these history bytes may be altered in the manner they constitute the indication data of the invention. Advantageously, the functional set of instructions causes the reader to write an indication data in the card that identifies the latter as a card that has been manipulated by the reader according to the functional set of instructions.
An example of implementation is illustrated by means of the following flow diagram (table 1), in which "New SIM" corresponds to the card mentioned hereinbefore and in which SIM copy device corresponds to the reader mentioned hereinbefore.
Figure imgf000006_0001
Figure imgf000007_0001
Some comments about the various steps of the above table 1 are given hereunder, by referring to the number of the step indicated in left column. In general, any specific word or abbreviation mentioned is derived from GSM 11.11 standard which relates to communication between the SIM card, the cellular phone, and the cellular phone network. Accordingly, the specific words or abbreviations mentioned have the meaning defined in said standard.
-step 1 : ATR stands for "Answer To Reset", that is the response of the SIM to the reset triggered by the SIM copy device ;
-step 2 :
-MF stands for "Master File" ;
-CHV1 stands for "Card Holder Value 1", which corresponds to the "PIN" -step 4 : "DF Telecom" is the GSM application ;
-step 7 : comparison of xx value allows checking that the file selected by the device duly corresponds to that to copy ;
-step 9 : confirms that old and new SIM have exchanged data ; -steps 11-13 : have the purpose of establishing a correspondence between homologous SMS files of old and new SIM, which manage the SMS messages ;
-in steps 16-18, file "EF ADN" is the one storing the address book or "Abbreviated Dial Numbers" ; the respective files "EF ADN" of old and new SIM are brought into correspondance ;
-step 22 : the writing of said data in new SIM ensures that the latter will not be used another time as a new SIM. In other words, this SIM is now an old SIM. This prevents erroneously canceling the content of the new SIM after the old SIM has been thrown away.
PILOTING THE SIM COPY DEVICE
This chapter describes a set of commands (such as APDU) which may be used to pilot the SIM copy function in the electronic device.
The manner these commands are coded (byte code) in the new SIM is not the purpose of this document.
1. Structuring a scripting application
The scripting application of the SIM copy device is made of three types of entity:
1. The commands related to the smart cards. 2. The commands related to the interaction with the user.
3. The messages.
These three categories might be combined to have command displaying a message, waiting for an action from the customer, and sending an APDU to a smart card. The coding of all these elements is fully depending on the device manufacturer choices (i.e. the byte code). The commands may consist in a program directly usable by a microcontroler of the reader.
2. Defining what is a command
A command or function as defined here below is not always a single smart card APDU. It might be a combination of APDUs, and may include user interactions (displaying a message, waiting for a PIN entrance ...).
This document describes the device characteristics for the SIM copy function. Of course, the commands might vary for another application.
3. Defining what is a message Messages are defined outside of the commands. Some message might be displayed under certain circumstances, when an error appears for instance. These messages will be described later on. The manner a message is coded is not the purpose of this document, and is under the responsibility of the device manufacturer. This principle is applicable to many different circumstances.
For example, it might be interesting to customize messages format depending on the design of the LCD screen. Instead of translating a UNICODE message on the flow to the value to write in the registers of the LCD screen, it is more interesting to precalculate the correct registers value, then the translation is no more required.
4. Device reaction when a command fails Some commands might be mandatory, some other might not.
The distinction is done by adding a parameter to all commands, indicating whether it is mandatory or not.
Failure on a command not compulsorily successful:
A failure forces the script to jump to next milestone. Milestones are populated over the scripts in order to identify the important steps. Having found the next milestones, the device continues the script execution by executing the next command. If no more milestones are found, treatment applied on compulsorily successful commands is engaged.
Failure on a compulsorily successful command: A compulsorily successful command failure induces the immediate termination of the script, displaying the error message.
Interpreting the smart card status words:
• SW1-SW2 = 90-00^ Continue normally
• SW1-SW2 = 9F-xx^ Retrieve xx bytes using the GET RESPONSE command.
• Any other value -> Command failure: process to treatment as described here above. 5. Pre required environment
The commands described here are to be used in scripts. Thus, it is required to have some internal variables to store intermediate results. These variables are: • A -> 20 bytes long binary buffer
• B - 20 bytes long binary buffer
• GRR -> GetResponse command Result
There is no need to be able to perform arithmetic calculations to complete the SIM copy function. By the way, more sophisticated application might require such new commands to be included. There are to be described when needs will occur, but not in this document.
6. Commands list
The following table 2 briefly describes an incomplete list of commands of the new SIM to be read by the reader, and their parameters. By the way, most of them require indicating also the following:
• The smart card slot where to apply the command.
• A Boolean value indicating if the command must compulsorily be successful or not.
Figure imgf000012_0001
Figure imgf000013_0001

Claims

Claims
1. An assembly comprising a smart card and a reader, characterized in that :
- the card comprises a functional set of instructions that the reader can execute ;
- the reader comprises a basic set of instructions which causes the reader to retrieve the functional set of instructions from the card ; and.
- the functional set of instructions causes the reader to manipulate data contained in the card.
2. An assembly as claimed in claim 1 , characterized in that the functional set of instructions causes the reader to carry out a transfer of data between the card and another card that is coupled to the reader.
3. An assembly as claimed in claim 1 , characterized in that the card comprises an indication data that identifies the card as a card that has a functional set of instructions that the reader can execute, and in that the reader has a subset of basic instructions for checking whether the card comprises the indication data or not.
4. An assembly as claimed in claim 3, characterized in that the indication data comprises a file that is not foreseen in any application for which the card has been configured.
5. An assembly as claimed in claim 1 , characterized in that the functional set of instructions causes the reader to write an indication data in the card that identifies the latter as a card that has been manipulated by the reader according to the functional set of instructions.
PCT/IB2003/001359 2002-04-10 2003-04-09 A system comprising a smart card and a reader WO2003085587A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2003214550A AU2003214550A1 (en) 2002-04-10 2003-04-09 A system comprising a smart card and a reader

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
EP02076418.9 2002-04-10
EP02076418 2002-04-10

Publications (1)

Publication Number Publication Date
WO2003085587A1 true WO2003085587A1 (en) 2003-10-16

Family

ID=28685945

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB2003/001359 WO2003085587A1 (en) 2002-04-10 2003-04-09 A system comprising a smart card and a reader

Country Status (2)

Country Link
AU (1) AU2003214550A1 (en)
WO (1) WO2003085587A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007125518A2 (en) * 2006-05-02 2007-11-08 Nokia Corporation Commands for the handling of large files

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5491471A (en) * 1991-10-23 1996-02-13 Stobbe; Anatoli Access control system where the card controls the transmission format of the card reader
WO2000026767A2 (en) * 1998-11-03 2000-05-11 Thomson Licensing S.A. Method and apparatus for updating computer code using an integrated circuit interface
US6213392B1 (en) * 1995-05-09 2001-04-10 Smartmove, Ltd. Card interface for interfacing a host application program to data storage cards

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5491471A (en) * 1991-10-23 1996-02-13 Stobbe; Anatoli Access control system where the card controls the transmission format of the card reader
US6213392B1 (en) * 1995-05-09 2001-04-10 Smartmove, Ltd. Card interface for interfacing a host application program to data storage cards
WO2000026767A2 (en) * 1998-11-03 2000-05-11 Thomson Licensing S.A. Method and apparatus for updating computer code using an integrated circuit interface

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007125518A2 (en) * 2006-05-02 2007-11-08 Nokia Corporation Commands for the handling of large files
WO2007125518A3 (en) * 2006-05-02 2008-02-28 Nokia Corp Commands for the handling of large files

Also Published As

Publication number Publication date
AU2003214550A1 (en) 2003-10-20

Similar Documents

Publication Publication Date Title
US9866989B2 (en) Payment application download to mobile phone and phone personalization
US6488211B1 (en) System and method for flexibly loading in IC card
US8799574B2 (en) Method and devices for installing and retrieving linked MIFARE applications
EP0976273B1 (en) Method for conveying control commands for sim card from external apparatus to sim card
US7689826B2 (en) Flexibly loading a tamper resistant module
EP0981805B1 (en) Ic card with shell feature
EP1179208B1 (en) Storage media
JP4780110B2 (en) Method, system, and microcontroller card for communicating application services from a microcontroller card to a terminal
WO2001004851A1 (en) Improved apparatus for remote payment transactions
CN113361293A (en) Card swiping method, card controller, electronic device and storage medium
CN113518341B (en) eSIM code number management method and device
EP2793201A1 (en) Safety information transfer system, device and method based on extended parameter set
KR100374526B1 (en) Simplified use of smart cards
US8844827B2 (en) Chip card, and method for the software-based modification of a chip card
WO2003085587A1 (en) A system comprising a smart card and a reader
US11593770B2 (en) System for transmitting payment information using mobile terminal and method thereof
US20080222036A1 (en) Mobile terminal
CN112184213A (en) Code scanning payment method and related device
CN111400058A (en) Method and device for calling message, computer equipment and storage medium
EP1353289A1 (en) System comprising a smart card and a reader
JP7420179B1 (en) Electronic information storage medium, IC card, issuance processing method, and program
EP1353303A1 (en) A method of assigning an account to a new identification device
EP4124978A1 (en) Update of an operating system in a security element
CN114138205A (en) Data card reading and writing method and device and related equipment
CN114063982A (en) Method for automatically constructing functional components based on multi-scenario application

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NI NO NZ OM PH PL PT RO RU SC SD SE SG SK SL TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Country of ref document: JP