WO1994018628A1 - Procede de communication avec un support portatif - Google Patents

Procede de communication avec un support portatif Download PDF

Info

Publication number
WO1994018628A1
WO1994018628A1 PCT/FR1994/000127 FR9400127W WO9418628A1 WO 1994018628 A1 WO1994018628 A1 WO 1994018628A1 FR 9400127 W FR9400127 W FR 9400127W WO 9418628 A1 WO9418628 A1 WO 9418628A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
message
type
connector
application program
Prior art date
Application number
PCT/FR1994/000127
Other languages
English (en)
Inventor
Jean-Yves Leroux
Original Assignee
Gemplus Card International
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 Gemplus Card International filed Critical Gemplus Card International
Priority to DE69411889T priority Critical patent/DE69411889T3/de
Priority to US08/501,071 priority patent/US5651116A/en
Priority to JP51771694A priority patent/JP3309857B2/ja
Priority to EP94906238A priority patent/EP0682792B3/fr
Publication of WO1994018628A1 publication Critical patent/WO1994018628A1/fr

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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • 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
    • G06K7/0021Methods 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 for reading/sensing record carriers having surface contacts
    • 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
    • G06K7/0047Methods 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 for reading/sensing record carriers having edge contacts
    • 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
    • G06K7/0086Methods 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 the connector comprising a circuit for steering the operations of the card connector
    • 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/072Record 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 the record carrier comprising a plurality of integrated circuit chips

Definitions

  • the invention relates to portable media such as mass memory cards or smart cards of the credit card type. It applies in particular to microcomputers.
  • Removable mass memory cards have recently appeared as accessories for personal computers or microcomputers, especially for laptops. They could replace diskettes and other magnetic mass storage means in the future. They can be used as mass storage of as large capacity as magnetic disks (order of magnitude: a million bytes); their size is not greater since they have the credit card format with a thickness of 3 to 5 millimeters, and they are much faster to access (several thousand times faster).
  • Mass memory cards sometimes also called PC-cards, include several memory chips and a connector at the end of the card (68-pin female connector according to the PCMCIA standard of "Personal Computer Memory Card International Association” ' 1030B East Duane Avenue , Sunnyvale, California). Card is pluggable in a corresponding co-inspector (male from the computer).
  • the connections are such that the memory can be addressed by a parallel input / output port of the PC, as if the memory were a magnetic mass memory, that is to say as if it were an extension of memory. from the computer.
  • plug-in cards in addition to their memory function, can offer additional functionalities, such as for example communication functions.
  • Others qualified as intelligent, include a microprocessor capable of executing programs contained in the card's RAM memory. It is also provided, in the case of these smart cards, that the computer can load directly into a memory of the card files directly executable by the microprocessor.
  • the memory space of these end connector memory cards is formatted in the same way as magnetic disks, according to the operating system associated with the microcomputer.
  • the operating system is the well known DOS (Disc Operating System) system
  • the memory space is thus divided into sectors or segments. And this memory space is addressed like that of a magnetic disk: for example, the read access of the
  • 5th sector is done by activating the associated DOS read interrupt, with this sector number and the number of bytes to read as arguments.
  • control registers from a microcomputer to perform access.
  • smart cards can be connected to a microcomputer, to ensure the security of use thereof.
  • a smart card reader is then connected to the microcomputer.
  • the communication protocol between these cards and an application program of a microcomputer or any processing machine follows ISO standards 7816-3 and 7816-4. So specified ", according to these standards and as shown in Figure 4a, the structure of a control message with transport layer comprises a header P, a data block INF and a transmission control information E ("cheksum" in Anglo-Saxon literature).
  • the P header includes the NAD address of the smart card reader, the PCB type of data block (application, acknowledgment or supervision data) and the length LEN of the data block.
  • the INF data block is itself structured in an H header, and a message body B.
  • the header contains the instruction class (CLA), the instruction code (INS) and the address in the memory space of the smart card to which you want to access (PI, P2).
  • the message body includes the number of bytes (Le) of the message, the bytes of the message (DATA) and the maximum number of bytes (Le) of the message expected in the response.
  • the instruction class identifies the exact structure of the message:
  • the microcomputer can thus execute by the smart card commands of the type: - reading / writing / erasing of data in an elementary file;
  • the smart card sends back a message whose the structure of the transport layer is identical to that of the command message, and where the data block INF comprises the bytes of the response (DATA) and a status code (STATUS), the total number of bytes of the block given by the length LEN in the header P.
  • This structure of the response message is shown in FIG. 4b.
  • a card reader for microcomputers which has a card insertion slot and means for connecting, either to a connector at the end of the memory card, or to flush contacts of a Smartcard.
  • This reader thus comprises a first connector placed at the bottom of the insertion slot to receive a memory card with connector at the end and a second connector for smart cards with flush contacts, placed on one of the main faces of the slot.
  • the invention provides a communication method which allows a microcomputer to access either a memory card reader with an end connector or a smart card reader with flush contacts, without having to worry about the type of portable support thus accessed.
  • an application program in the microcomputer uses a single communication protocol between the application program and the portable media. Conversely, the messages that the application program receives from these supports follow the same communication protocol, thanks to this layer Communication.
  • the communication method consists in adding a communication layer between an application program of the microcomputer and information media of different types, so as to use only one communication protocol to access the media, whatever whatever their type.
  • the communication layer mainly implements the following steps, upon receipt of a message from the application program:
  • the support is of the chip card type with flush contacts or intelligent memory card with connector at the end, direct transmission of the message to the support;
  • FIG. 1 is an illustration of a memory card connector end
  • FIG. 1 is an illustration of a smart card with flush contacts
  • FIGS. 3a and 3b show a bistandard reader into which we introduce (a) a PCMCIA card;
  • FIGS. 4a and 4b respectively represent the structure of the command and response message with a transport layer according to the ISO 7816-3 and -4 standards and
  • FIG. 5 is a flow diagram of the method according to one invention.
  • FIG. 1 a card 10 of the PCMCIA type is shown.
  • This microcomputer card is pluggable. It has a connector at the end 11.
  • This card has a thickness el of the order of 3 to 5 millimeters, for a width of approximately 5 cm and a length of approximately 8 cm. We will talk later about PCMCIA card.
  • a card 20 of the smart card type is shown. Its thickness e2 is less than a millimeter.
  • This smart card has a connector 21 with flush contacts placed on one of the main flat faces of the card.
  • This connector conventionally consists of a small number (generally six to eight) of individual contact surfaces placed side by side.
  • the smart card In the case of the smart card, and as shown in FIG. 3b, this is done by pressing contact blades against the 6 to 8 individual contact surfaces of the card.
  • the blades can be in the form of brushes coming to rub on the contact surfaces of the connector 21, or in the form of bosses 32 coming to bear on these surfaces.
  • a microcomputer with the appropriate readers can thus connect to PCMCIA cards or smart cards.
  • it can include a mixed reader of the type shown in FIGS. 3a and 3b, which can read either a PCMCIA card or a smart card.
  • It mainly has a card insertion slot 30, a first connector 31 at the bottom of the insertion slot for receiving a memory card with an end connector (FIG. 3a) and a second connector 32 for smart cards with flush contacts. placed on one of the main faces of the slot ( Figure 3b).
  • Movable means in the example with return spring (42,44,46), are placed inside the slot, to tend to push a card with flush contacts 20 inserted in the slot against the connector with flush contacts , these means being pushed against their return spring during the insertion of a card with an end connector 10.
  • FIG. 3a thus represents a card with an end connector 10 inserted in the slot
  • FIG. 3b represents a card with flush contacts 20 inserted in the slot.
  • the movable return spring means comprise, in the example shown in FIGS. 3a and 3b, a plate 33 parallel to the main faces of the slot, mounted on pillars 46 which can sink into blind holes 44 drilled in a main faces of the slot, return springs 42 being provided to oppose the insertion of the pillars in the blind holes.
  • the tray is preferably provided on the side of the slot entrance, with a ramp inclined towards the main face opposite to that which carries the connector with flush contacts, to facilitate insertion of the cards into the slot between the tray and the main face which carries the connector with contacts flush.
  • microcomputer which wants to access these various portable media inserted in reader slots of the smart card, PCMCIA or mixed type, must use the appropriate communication protocol.
  • the PCMCIA card follows the communication protocol associated with the microcomputer operating system, like any mass memory.
  • the smart card follows a specific protocol in accordance with ISO 7816-3 and 4 standards already described with reference to Figures 4a and 4b which show the structure of the command and response message with transport layer according to these standards.
  • a communication method will allow the microcomputer to indifferently process these different portable media.
  • An application program launched by the micro-computer uses according to the invention a single communication protocol with portable media.
  • the communication protocol for smart cards is used.
  • a communication layer between the application program and a removable medium receives the commands of the application program according to this communication protocol.
  • the communication layer according to the invention then implements the following steps:
  • the detection of the presence of a card as well as the determination of its type can be carried out by mechanical, optical or magnetic means.
  • a small electrical contactor is activated by connecting the card to its connector.
  • the analysis of the command then consists in extracting the different information from the data block INF (FIG. 4a) containing the command to deduce the content of the different parameters of this command.
  • the INF data block is of the form:
  • CLA is the type of instruction
  • INS is the instruction code
  • Le is the number of bytes of the DATA DATA element: are the transmitted data Le: is the maximum number of bytes expected in the response.
  • the instruction can be of 4 types (CLA parameters).
  • Type 2 corresponds to a message comprising the header and the elements Le and DATA (example of instruction: writing);
  • Type 3 corresponds to a message comprising the header and the element Le (example of instruction: reading);
  • Type 4 corresponds to the complete message (example of instruction: read / write). If the removable medium addressed concerns a card of the PCMCIA type, the communication layer will analyze the message in ISO format to translate it in PCMCIA format.
  • the CLA field indicates that the instruction is of type 3.
  • the INF data block therefore consists of the following fields:
  • parameters PI, P2 which give the operating system the base address of the memory element which it is desired to read and it is the field Le which gives the number of bytes to be read.
  • the parameters of the corresponding PCMCIA command when for example the PCMCIA card is formatted under the DOS system are then:. the instruction code given by the INS field, the sector number given by the PI, P2 fields, the number of bytes to read given by the Le field.
  • the instruction code found in the INS field is the read code
  • the system executes the read command from the sector number given by PI and P2 and the number of bytes to read-given by Le.
  • the PCMCIA card returns the Le bytes read and the status code.
  • the communication layer therefore receives these response bytes from the PCMCIA card and the status code. It presents these Le bytes and the status code according to the response format with the transport layer to send them back to the application program of the microcomputer, that is to say in the following format:
  • NAD and PCB are the same as in the command message and LEN equal to Le: number of bytes of the DATA response.
  • the communication layer makes it possible, depending on the type of instruction, to seek in the different fields of the data block INF of the command, the information necessary for the operating system of the microcomputer to be able to execute the instruction he recognizes.
  • the address NAD designates a PCMCIA card reader
  • the number of the sector to be written (PI, P2), the number of data (Le) and the data (DATA) to be written there to transmit them are extracted from the body of the INF message.
  • the PCMCIA card This simply returns a status code indicating the correct operation or a runtime error to the communication layer of the invention.
  • This presents the response according to the required response format with transport layer, ie here: P INF E
  • LEN is then equal to the number of bytes of the STATUS status code.
  • an application program uses only one communication protocol.
  • the removable medium is an intelligent PCMCIA card
  • the message is sent to it directly in ISO format.
  • the intelligent character of the PCMCIA card is then determined for example by reading a particular memory address of the PCMIA card.
  • a single communication protocol is thus advantageously obtained whatever the type of support and whatever the type of reader in which the support is inserted.

Abstract

Procédé de communication entre une unité de traitement associée à un programme applicatif et des supports d'informations portatifs de types différents. Il consiste à ajouter une couche de communication entre le programme applicatif et les supports, afin de n'utiliser qu'un seul protocole de communication dans le programme applicatif pour accéder aux supports quel que soit leur type.

Description

PROCEDE DE COMMUNICATION AVEC UN SUPPORT PORTATIF
L'invention concerne les supports portatifs tels que les cartes à mémoire de masse ou les cartes à puce de type carte de crédit. Elle s'applique notamment aux microordinateurs. Les cartes à mémoire de masse amovibles ont fait leur apparition récemment comme accessoires des ordinateurs personnels ou microordinateurs, surtout pour les ordinateurs portables. Elles pourraient remplacer dans 1'avenir les disquettes et autres moyens de stockage de masse de type magnétique. Elles peuvent servir de mémoire de masse d'aussi grande capacité que les disquettes magnétiques (ordre de grandeur : le million d'octets) ; leur encombrement n'est pas plus grand puisqu'elles ont le format carte de crédit avec une épaisseur de 3 à 5 millimètres, et elles sont beaucoup plus rapides d'accès (plusieurs milliers de fois plus rapides) .
Elles peuvent même servir de mémoire vive de programme directement exécutable par 1 'ordinateur per- sonnel. Dans ce cas, contrairement aux mémoires de masse magnétiques, elles n'ont pas à être chargées dans la mémoire vive (RAM) du PC pour être exécutées ensuite. Les programmes qu'elle contient sont exécutables direc¬ tement par l'ordinateur personnel. Les cartes à mémoire de masse, parfois appelées encore PC-cards, comportent plusieurs puces de mémoire et un connecteur en bout de carte (connecteur femelle de 68 broches selon la norme PCMCIA de "Personal Computer Memory Card International Association"' 1030B East Duane Avenue, Sunnyvale, California) . La carte est enfichable dans un co.inecteur correspondant (mâle de l'ordinateur). Les connexions sont telles que la mémoire puisse être adressée pat un port d'entrée-sortie parallèle du PC, comme si la mémoire était une mémoire de masse magné- tique, c'est-à-dire comme si elle était une extension de mémoire vive de l'ordinateur.
Ces cartes enfichables, outre leur fonction de mémoire, peuvent offrir des fonctionnalités supplémen¬ taires, comme par exemple des fonctions de communica- tion. D'autres, qualifiées d'intelligentes, comportent un microprocesseur capable d'exécuter lui-même des programmes contenus en mémoire RAM de la carte. Il est aussi prévu, dans le cas de ces cartes intelligentes, que 1 'ordinateur puisse charger directement dans une mémoire de la carte des fichiers directement exécutables par le microprocesseur.
L'espace mémoire de ces cartes à mémoire à connecteur en bout est formaté de la même manière que les disquettes magnétiques, selon le système d'exploitation associé au microordinateur. Dans un exemple où le système d'exploitation est le système DOS (Disc Operating System) bien connu, l'espace mémoire est ainsi divisé en secteurs ou segments. Et cet espace mémoire est adressé comme celui d'une disquette magnétique : à titre d'exemple l'accès en lecture du
5ème secteur se fait en activant 1 ' interruption DOS de lecture associé, avec comme arguments ce numéro de secteur et le nombre d'octets à lire.
Il est aussi possible d'utiliser des registres de commande d'un microordinateur pour effectuer des accès.
On se reportera éventuellement au document "PMCIA Socket Services Interface Spécification" diffusé par "Personal Computer Memory Card International Association" déjà cité. Un protocole de communication entre ces cartes et un programme applicatif d'un microordinateur permet au microordinateur d'accéder à 1 'espace mémoire PCMCIA et d'exécuter des commandes de haut niveau : initialisation/configuration de la carte, lecture/écriture/effacement de données...
Il existe par ailleurs d'autres types de supports portatifs qui sont les cartes à puces à contacts affleu¬ rants, largement utilisées dans le grand public pour des applications telles que: cartes téléphoniques, cartes d'accès à des locaux sécurisés, cartes bancaires, etc.,. Ces cartes ne comportent généralement qu'une puce de circuit-intégré (bien qu'il ne soit pas exclu qu'elles en aient plusieurs) . Les contacts ne sont plus en bout de carte, mais sur une des faces principales planes de la carte. Les contacts sont peu nombreux, entre six et huit en général. Ces cartes sont beaucoup plus minces que les cartes à mémoire au standard PCMCIA: leur épaisseur est de l'ordre du millimètre, au lieu de 3 à 5 millimètres. Elles sont destinées à être insérées dans des lecteurs spécialisés selon les applications : cabines téléphoniques, portillons d'accès pour les cartes d'accès, distributeurs de billets pour les cartes bancaires, etc. Elles comportent un espace mémoire géré par un microcontrôleur ou un microprocesseur intégré.
Dans certains cas, les cartes à puces peuvent être raccordées à un microordinateur, pour assurer la sécu¬ rité d'utilisation de celui-ci. Un lecteur de carte à puce est alors raccordé au microordinateur. Le protocole de communication entre ces cartes et un programme applicatif d'un microordinateur ou d'une quelconque machine de traitement suit les normes ISO 7816-3 et 7816-4. De manière spécifiée', selon ces normes et comme représenté sur la figure 4a, la structure d'un message de commande avec couche de transport comprend un entête P, un bloc de données INF et une information E de contrôle de transmission ("cheksum" en littérature anglo-saxonne) . L'entête P comprend l'adresse NAD du lecteur de la carte à puce, le type PCB de bloc de données (données applicatives, d'acquittements ou de supervisions) et la longueur LEN du bloc de données. Le bloc de données INF est lui-même structuré en un en-tête H, et un corps de message B. L'entête contient la classe de l'instruction (CLA) , le code de l'instruction (INS) et l'adresse dans l'espace mémoire de la carte à puce à laquelle on veut accéder (PI, P2) . Le corps du message comprend le nombre d'octets (Le) du message, les octets du message (DATA) et le nombre maximum d'octets (Le) du message attendus dans la réponse.
La classe de l'instruction identifie la structure exacte du message:
- sans corps de message: type 1;
- avec un corps de message comprenant le nombre d'octets (Le) du message et le message (pas de réponse attendue) : type 2 (par exemple, écriture de données) ;
- avec un corps de message ne comprenant que le nombre maximum d'octets (Le) du message attendu dans la réponse: type 3 (par exemple, lecture de données) ;
- avec un corps de message complet : type 4.
Le microordinateur peut ainsi faire exécuter par la carte à puce des commande du type : - lecture/écriture/effacement de données dans un fichier élémentaire;
- vérification de signatures électroniques;
- chiffrement, déchiffrement.
En réponse la carte à puce renvoie un message dont la structure de la couche de transport est identique à celle du message de commande, et où le bloc de données INF comprend les octects de la réponse (DATA) et un code d'état (STATUS), le nombre total d'octets du bloc de données étant donné par la longueur LEN dans l'entête P. Cette structure du message de réponse est représentée sur la figure 4b.
On a pensé, selon l'invention, qu'il serait utile d'uniformiser les protocoles de dialogue avec les cartes à puces et les cartes de type PCMCIA, afin de faciliter leur usage mixte.
Dans ce but, il a déjà été proposé un lecteur de carte pour microordinateurs qui possède une fente d'insertion de carte et des moyens pour se connecter, soit sur un connecteur en bout de carte à mémoire, soit sur des contacts affleurants d'une carte à puce. Ce lecteur comporte ainsi un premier connecteur placé au fond de la fente d'insertion pour recevoir une carte à mémoire à connecteur en bout et un deuxième connecteur pour cartes à puce à contacts affleurants, placé sur une des faces principales de la fente.
Pour faciliter encore une utilisation généralisée des cartes à puce à contacts affleurants, l'invention propose un procédé de communication qui permet à un microordinateur d'accéder indifféremment à un lecteur de carte à mémoire à connecteur en bout ou à un lecteur de carte à puce à contacts affleurants, sans avoir à se soucier du type de support portatif ainsi accédé.
Selon le procédé de l'invention, un programme applicatif dans le microordinateur utilise un seul protocole de communication entre le programme applicatif et les supports portatifs. Inversement, les messages que le programme applicatif reçoit de ces supports suivent le même protocole de communication, grâce à cette couche de communication.
Un tel procédé permet à un utilisateur d'accéder très facilement aux différents types de cartes, puis¬ qu'il rend ce type transparent pour l'utilisateur. Selon l'invention, le procédé de communication consiste à ajouter une couche de communication entre un programme applicatif du microordinateur et des supports d'informations de types différents, afin de n'utiliser qu'un seul protocole de communication pour accéder aux supports, quel que soit leur type. La couche de communi¬ cation met en oeuvre principalement les étapes suivantes, sur réception d'un message du programme applicatif:
- extraction dans le message de l'adresse du lecteur du support;
- détection de présence d'un support à cette adresse et identification du type correspondant;
- dans le cas où le support est du type carte à puce à contacts affleurants ou carte à mémoire intelli- gente à connecteur en bout, transmission directe du message au support;
- dans le cas où le support est du type carte à mémoire à connecteur en bout, analyse du message et codage pour le rendre compatible avec le support. D'autres caractéristiques et avantages sont présen¬ tés dans la description qui suit à titre indicatif et non limitatif de l'invention, en référence aux dessins et documents annexés dans lesquels :
- la figure 1 est une illustration d'une carte à mémoire à connecteur en bout;
- la figure 2 est une illustration d'une carte à puce à contacts affleurants;
- les figures 3a et 3b représentent un lecteur bistandard dans lequel on introduit (a) une carte PCMCIA;
(b) une carte à puce;
- les figures 4a et 4b représentent respectivement la structure de message de commande et de réponse avec une couche de transport selon les normes ISO 7816-3 et -4 et
- la figure 5 est un organigramme du procédé selon 1' invention.
Sur la figure 1, une carte 10 du type PCMCIA est représentée. Cette carte pour microordinateur est enfichable. Elle comporte un connecteur en bout 11. Cette carte à une épaisseur el de 1'ordre de 3 à 5 millimètres, pour une largeur d'environ 5cm et une longueur d'environ 8cm. On parlera par la suite de carte PCMCIA.
Sur la figure 2, une carte 20 du type carte à puce est représentée. Son épaisseur e2 est inférieure au millimètre. Cette carte à puce possède un connecteur 21 à contacts affleurants placé sur une des faces principa- les planes de la carte. Ce connecteur est classiquement constitué d'un petit nombre (en général six à huit) de surfaces de contact individuelles placées côte-à-côte.
Dans le cas de la carte PCMCIA, le contact avec l'extérieur se fait par enfichage de 68 broches mâles dans des logements femelles, comme représenté sur la figure 3a.
Dans le cas de la carte à puce, et comme représenté sur la figure 3b, il se fait par pressions de lames de contact contre les 6 à 8 surfaces de contact individuel- les de la carte. Les lames peuvent être en forme de balais venant frotter sur les surfaces de contact du connecteur 21, ou en forme de bossages 32 venant s'appuyer sur ces surfaces.
Un microordinateur ayant les lecteurs appropriés peut ainsi se connecter à des cartes PCMCIA ou à des cartes à puce. Mieux, il peut comporter un lecteur mixte du type représenté sur les figures 3a et 3b, qui peut lire ou bien une carte PCMCIA ou bien une carte à puce. II possède principalement une fente 30 d'insertion de carte, un premier connecteur 31 au fond de la fente d'insertion pour recevoir une carte à mémoire à connecteur en bout (figure 3a) et un deuxième connecteur 32 pour cartes à puce à contacts affleurants placé sur une des faces principales de la fente (figure 3b) . Des moyens mobiles, dans l'exemple à ressort de rappel (42,44,46), sont placés à l'intérieur de la fente, pour tendre à pousser une carte à contacts affleurants 20 introduite dans la fente contre le connecteur à contacts affleurants, ces moyens étant repoussés contre leur ressort de rappel lors de l'insertion d'une carte à connecteur en bout 10. La figure 3a représente ainsi une carte à connecteur en bout 10 insérée dans la fente, tandis que la figure 3b représente une carte à contacts affleurants 20 insérée dans la fente. Les moyens mobiles à ressort de rappel comportent, dans l'exemple représenté sur les figures 3a et 3b, un plateau 33 parallèle aux faces principales de la fente, monté sur des piliers 46 qui peuvent s'enfoncer dans des trous borgnes 44 percés dans une des faces principales de la fente, des ressorts de rappel 42 étant prévus pour s'opposer à l'enfoncement des piliers dans les trous borgnes.
Le plateau est de préférence pourvu du coté de l'entrée de la fente, d'une rampe inclinée vers la face principale opposée à celle qui porte le connecteur à contacts affleurants, pour faciliter l'insertion des cartes dans la fente entre le plateau et la face principale qui porte le connecteur à contacts affleurants.
Mais le microordinateur qui veut accéder à ces différents supports portatifs insérés dans des fentes de lecteurs de type carte à puce, PCMCIA ou mixtes, doit utiliser le protocole de communication approprié.
Notamment la carte PCMCIA suit le protocole de communication associé au système d'exploitation du microordinateur, comme toute mémoire de masse. La carte à puce suit elle un protocole spécifique conforme aux normes ISO 7816-3 et 4 déjà décrit en référence aux figures 4a et 4b qui montrent la structure du message de commande et de réponse avec couche de transport selon ces normes.
Dans l'invention, un procédé de communication va permettre au microordinateur de traiter indifféremment ces différents supports portatifs.
Un programme applicatif lancé par le microordina¬ teur utilise selon l'invention un seul protocole de communication avec les supports portatifs. Dans un exemple, c'est le protocole de communication des cartes à puce qui est retenu.
Une couche de communication entre le programme applicatif et un support amovible reçoit les commandes du programme applicatif selon ce protocole de communica- tion.
On rappelle que la structure d'un message de commande répondant aux normes ISO comprend (figure 4-a) :
- un entête P contenant notamment 1 'adresse NAD du lecteur destinataire, - un bloc de données INF contenant la commande.
- une information E de contrôle de transmission.
La couche de communication selon 1' invention met alors en oeuvre les étapes suivantes :
- extraction de 1'adresse NAD du lecteur destinataire;
- détection de présence d'une carte à cette adresse;
- si une carte est présente et si elle est du type carte à puces, transmission directe du message de commande au lecteur;
- si une carte est présente et si elle est du type carte PCMCIA, analyse du bloc de données INF contenant la commande pour la mettre au format correspondant. - si il n'y a pas de carte, renvoi d'un message de réponse : "carte absente" au programme applicatif.
La détection de présence d'une carte ainsi que la détermination de son type peuvent être effectuées par des moyens mécaniques, optiques ou magnétiques. Par exemple un petit contacteur électrique est actionné par la connexion de la carte sur son connecteur.
Si la carte est du type carte PCMCIA, l'analyse de la commande consiste alors à extraire les différentes informations du bloc de données INF (figure 4a) contenant la commande pour en déduire le contenu des différents paramètres de cette commande. Le bloc de données INF est de la forme :
H B
Figure imgf000012_0001
avec un en-tête H constitué des éléments référencés CLA, INS, PI, P2 et un corps de message B constitué des élé¬ ments référencés Le, DATA, Le où :
CLA : est le type de 1 ' instruction
INS : est le code de l'instruction
PI donnent l'adresse de base de l'élément
P2 : mémoire où 1 'on veut accéder Le : est le nombre d'octets de l'élément DATA DATA : sont les données transmises Le : est le nombre maximum d'octets attendus dans la réponse. L'instruction peut être de 4 types (paramètres CLA) .
Le type 1 correspond à un message constitué seulement par un entête (exemple d'instruction = initia¬ lisation de la carte) ; Le type 2 correspond à un message comprenant l'entête et les éléments Le et DATA (exemple d'instruc¬ tion: écriture) ; Le type 3 correspond à un message comprenant 1'entête et l'élément Le (exemple d'instruction : lec- ture) ;
Le type 4 correspond au message complet (exemple d'ins¬ truction : lecture/écriture) . Si le support amovible adressé concerne une carte du type PCMCIA, la couche de communication va analyser le message au format ISO pour le traduire au format PCMCIA.
Dans un exemple, pour une commande de lecture, au format ISO, le champ CLA indique que l'instruction est du type 3. Le bloc de donnée INF est constitué par conséquent des champs suivants :
H B
Figure imgf000013_0001
Ce sont les paramètres PI, P2 qui donnent au système d'exploitation l'adresse de base de l'élément de mémoire que l'on veut lire et c'est le champ Le qui donne le nombre d'octets à lire.
Les paramètres de la commande PCMCIA correspondante, lorsque par exemple la carte PCMCIA est formatée sous le système DOS sont alors : . le code d'instruction donné par le champ INS, le numéro de secteur donné par les champs PI, P2, le nombre d'octets à lire donnés par le champ Le. Par exemple dans le système d'exploitation DOS, si le code instruction qui se trouve dans le champ INS est le code de lecture, le système exécute la commande de lecture à partir du numéro de secteur donné par PI et P2 et du nombre d'octets à lire-donné par Le.
En ce qui concerne les réponses, en reprenant l'exemple de l'instruction de lecture, la carte PCMCIA renvoie les Le octets lus et le code d'état.
La couche de communication selon 1 • invention reçoit donc ces Le octets de réponse de la carte PCMCIA et le code d'état. Elle présente ces Le octets et le code d'état selon le format de réponse avec la couche de transport pour les renvoyer au programme applicatif du microordinateur, soit selon le format suivant :
P INF E
Figure imgf000014_0001
où NAD et PCB sont les mêmes que dans le message de commande et LEN égal à Le : nombre d'octets de la réponse DATA.
Ainsi pour chaque instruction, la couche de communication permet, selon le type d'instruction, d'aller chercher dans les différents champs du bloc de donnée INF de la commande, les informations nécessaires pour que le système d'exploitation du microordinateur puisse exécuter l'instruction qu'il reconnaît.
Dans un autre exemple où on veut effectuer une écriture, la structure du message sera : INF
Figure imgf000015_0001
Si l'adresse NAD désigne un lecteur de carte PCMCIA, on extrait du corps du message INF le numéro du secteur à écrire (PI, P2) , le nombre de données (Le) et les données (DATA) à y écrire pour les transmettre à la carte PCMCIA. Celle-ci revoie simplement un code d'état indiquant la bonne opération ou une erreur d'exécution vers la couche de communication de l'invention. Celle-ci présente alors la réponse selon le format requis de réponse avec couche de transport, soit ici : P INF E
Figure imgf000015_0002
où LEN est alors égal au nombre d'octets du code d'état STATUS.
Selon l'invention, quel que soit le type de support amovible utilisé dans le microordinateur, un programme applicatif n'utilise qu'un seul protocole de communica¬ tion.
Dans le cas où le support amovible est une carte PCMCIA intelligente, on prévoit que le message lui est envoyé directement au format ISO. La détermination du caractère intelligent de la carte PCMCIA se fait alors par exemple par lecture d'une adresse mémoire particulière de la carte PCMIA.
On obtient ainsi avantageusement un seul protocole de communication quel que soit le type de support et quel que soit le type de lecteur dans lequel le support est inséré.

Claims

REVENDICATIONS
1.- Procédé de communication entre une unité de traitement associée à un programme applicatif et des supports d'informations portatifs de types différents, caractérisé en ce qu'il consiste à ajouter une couche de communication entre le programme applicatif et les supports, afin de n'utiliser qu'un seul protocole de communication dans le programme applicatif pour accéder aux supports quel que soit leur type.
2.- Procédé de communication selon la revendication 1, caractérisé en ce que la couche de communication met en oeuvre les étapes suivantes sur réception d'un message du programme applicatif :
- extraction dans le message de l'adresse du lecteur; détection de présence d'un support à cette adresse et identification du type correspondant;
- dans le cas où le support est du type carte à puce à contacts affleurants ou carte à mémoire intelli¬ gente à connecteur en bout, transmission directe du message au support ; - dans le cas où le support est du type carte à mémoire à connecteur en bout, analyse du message et codage pour le rendre compatible avec le support.
3.- Procédé de communication selon la revendication
2 , caractérisé en ce que la couche de communication met en oeuvre les étapes suivantes sur réception d'un message du support :
- identification du type du support;
- dans le cas où le support est du type carte à puce à contacts affleurants ou carte à" mémoire à connec- teur en bout intelligente, transmission directe du message au programme applicatif; - dans le cas où le support est du type carte à mémoire à connecteur en bout, analyse du message et codage pour le rendre compatible avec le programme applicatif.
4.- Procédé de communication selon la revendication 2 ou la revendication 3 , dans lequel le lecteur comporte deux types de connecteur pour lui permettre de recevoir soit une carte à puce à contacts affleurants, soit une carte à mémoire à connecteur en bout, caractérisé en ce que la détection de présence consiste à aller lire une information de présence sur chacun des connecteurs, identifiant ainsi le type de la carte qui a été intro¬ duite.
5.- Procédé de communication selon la revendication 4, caractérisé en ce que, lorsque le type identifié est la carte à mémoire à connecteur en bout, on effectue une lecture à une adresse particulière de cette carte pour déterminer si cette carte est intelligente ou non.
PCT/FR1994/000127 1993-02-04 1994-02-03 Procede de communication avec un support portatif WO1994018628A1 (fr)

Priority Applications (4)

Application Number Priority Date Filing Date Title
DE69411889T DE69411889T3 (de) 1993-02-04 1994-02-03 Uebertragungsverfahren mit einem tragbaren traeger
US08/501,071 US5651116A (en) 1993-02-04 1994-02-03 Method and apparatus for generating summaries of prepaid instrument transaction activity
JP51771694A JP3309857B2 (ja) 1993-02-04 1994-02-03 ポータブルデータキャリヤとの通信方法
EP94906238A EP0682792B3 (fr) 1993-02-04 1994-02-03 Procede de communication avec un support portatif

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
FR9301235A FR2701133B1 (fr) 1993-02-04 1993-02-04 Procédé de communication avec un support portatif.
FR93/01235 1993-02-04

Publications (1)

Publication Number Publication Date
WO1994018628A1 true WO1994018628A1 (fr) 1994-08-18

Family

ID=9443728

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/FR1994/000127 WO1994018628A1 (fr) 1993-02-04 1994-02-03 Procede de communication avec un support portatif

Country Status (8)

Country Link
US (1) US5651116A (fr)
EP (1) EP0682792B3 (fr)
JP (1) JP3309857B2 (fr)
DE (1) DE69411889T3 (fr)
ES (1) ES2118382T7 (fr)
FR (1) FR2701133B1 (fr)
SG (1) SG48123A1 (fr)
WO (1) WO1994018628A1 (fr)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU687312B2 (en) 1995-05-09 1998-02-19 Smartmove (Nz) Limited Card interface
DE19530363A1 (de) 1995-08-18 1997-02-20 Deutsche Telekom Ag Modul
US6157966A (en) * 1997-06-30 2000-12-05 Schlumberger Malco, Inc. System and method for an ISO7816 complaint smart card to become master over a terminal
US6308270B1 (en) 1998-02-13 2001-10-23 Schlumberger Technologies, Inc. Validating and certifying execution of a software program with a smart card
US6360952B1 (en) * 1998-05-29 2002-03-26 Digital Privacy, Inc. Card access system supporting multiple cards and card readers
US6098891A (en) * 1998-06-29 2000-08-08 Schlumberger Malco, Inc. Controlling industrial processes
FR2783069B1 (fr) 1998-09-04 2003-01-24 Inside Technologies Lecteur de carte a puce
US6192436B1 (en) * 1998-09-18 2001-02-20 Xilinx Inc. System and method for configuration of electronic devices using a smart card which having configuration data stored therein
US6591229B1 (en) 1998-10-09 2003-07-08 Schlumberger Industries, Sa Metrology device with programmable smart card
US6168077B1 (en) 1998-10-21 2001-01-02 Litronic, Inc. Apparatus and method of providing a dual mode card and reader
US6279114B1 (en) * 1998-11-04 2001-08-21 Sandisk Corporation Voltage negotiation in a single host multiple cards system
US6901457B1 (en) 1998-11-04 2005-05-31 Sandisk Corporation Multiple mode communications system
DE29900768U1 (de) * 1999-01-18 2000-03-02 Siemens Ag Einrichtung zum Anschluß eines Bussystems an eine Recheneinheit, eine Steckkarte für eine Schnittstelle nach Art des PCMCIA-Standards sowie ein Adapter für eine derartige Einrichtung
KR100294889B1 (ko) * 1999-06-19 2001-07-12 윤종용 슬레이브 장치 및 데이터 공유방법
DE10139889C1 (de) * 2001-08-20 2003-01-30 Orga Kartensysteme Gmbh Computersystem, Verfahren und digitales Speichermedium mit computerlesbaren Mitteln zum Ansprechen eines Chipkartenlesegeräts
US6725291B2 (en) * 2002-01-18 2004-04-20 Key Technology Corporation Detection method used in adaptor capable of inserting various kinds of memory cards
FI20035072A0 (fi) * 2003-05-22 2003-05-22 Nokia Corp Liitäntäväylä, elektroniikkalaite ja järjestelmä
US7941660B2 (en) * 2003-11-13 2011-05-10 Gemalto Sa System and method for data communications allowing slave device to be network peers
DE102004018555B4 (de) * 2004-03-25 2007-10-11 Atmel Germany Gmbh Verfahren zur Datenkommunikation zwischen einer Basisstation und einem Transponder, Basisstation zur Datenkommunikation sowie Datenkommunikationssystem

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0259659A2 (fr) * 1986-08-29 1988-03-16 International Business Machines Corporation Machine de traitement de données comportant une carte adaptatrice à mécanisme de commande
EP0273136A2 (fr) * 1986-10-31 1988-07-06 Honeywell Bull Inc. Module de commande périphérique universel avec chargement de la configuration pendant l'initialisation
GB2226192A (en) * 1988-11-09 1990-06-20 Sagem Chip card receiver

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5468947A (en) * 1986-08-08 1995-11-21 Norand Corporation Pocket size data capture unit with processor and shell modules
JP2634603B2 (ja) * 1987-09-10 1997-07-30 株式会社リコー カード利用システム
JP2652869B2 (ja) * 1988-04-06 1997-09-10 日立マクセル株式会社 Icカード制御方式
JPH04287185A (ja) * 1991-03-15 1992-10-12 Minolta Camera Co Ltd Icカード用ホルダ
JP3421378B2 (ja) * 1993-03-23 2003-06-30 株式会社東芝 伝送制御方式

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0259659A2 (fr) * 1986-08-29 1988-03-16 International Business Machines Corporation Machine de traitement de données comportant une carte adaptatrice à mécanisme de commande
EP0273136A2 (fr) * 1986-10-31 1988-07-06 Honeywell Bull Inc. Module de commande périphérique universel avec chargement de la configuration pendant l'initialisation
GB2226192A (en) * 1988-11-09 1990-06-20 Sagem Chip card receiver

Also Published As

Publication number Publication date
EP0682792B3 (fr) 2011-06-15
ES2118382T7 (es) 2012-03-16
JPH08502846A (ja) 1996-03-26
FR2701133B1 (fr) 1995-03-10
DE69411889T3 (de) 2012-04-19
ES2118382T3 (es) 1998-09-16
EP0682792A1 (fr) 1995-11-22
EP0682792B1 (fr) 1998-07-22
JP3309857B2 (ja) 2002-07-29
SG48123A1 (en) 1998-04-17
FR2701133A1 (fr) 1994-08-05
DE69411889T2 (de) 1999-01-14
DE69411889D1 (de) 2011-05-05
US5651116A (en) 1997-07-22

Similar Documents

Publication Publication Date Title
EP0682792B1 (fr) Procede de communication avec un support portatif
EP0552078B1 (fr) Carte enfichable pour microordinateur formant lecteur de carte à contacts affleurants
EP3243178B1 (fr) Procédé de traitement d'une transaction à partir d'un terminal de communication
EP0649547B1 (fr) Carte a memoire de masse avec fonction entree/sortie
EP0819283B1 (fr) Systeme de collecte d'informations pour lecteurs de cartes
FR2806505A1 (fr) Procede de communication entre une carte a puce et une station hote
EP1210689A1 (fr) Architecture de carte a puce integrant des peripheriques
EP1483724A2 (fr) Procede de gestion d'informations stockees sur une carte a puce lisible par un telephone mobile
JP2004103543A (ja) トレータイプのシリコンディスクドライブ
EP0698851B1 (fr) Système lecteur de carte à mémoire ou à puce
WO2008065264A1 (fr) Entite electronique portable et procede de personnalisation d'une telle entite electronique
WO2010061068A1 (fr) Clé usb dotée des fonctions de lecteur sans contact et d'émulation de carte à puce sans contact
EP0919046B1 (fr) Interface homme-machine pour lecteur de carte a puce
EP2058746B1 (fr) Entité électronique portable, station hôte et procédé associé
FR2786901A1 (fr) Dispositif et procede d'initialisation d'un programme applicatif d'une carte a circuit integre
FR2854261A1 (fr) Procede d'execution d'une application logicielle par l'intermediaire d'un programme d'amorce logicielle et architecture informatique pour la mise en oeuvre du procede
EP2138938A1 (fr) Procédé de fabrication et système de fabrication pour charger des contenus numériques dans une pluralité de cartes mémoire
FR2775375A1 (fr) Chargement de programmes informatiques en blocs
FR2804827A1 (fr) Carte electronique a connexions et a fonctions plurielles
FR2725813A3 (fr) Procede d'exploitation d'un support de donnees, objet portable et systeme de gestion mettant en oeuvre le procede d'exploitation
WO2001031574A1 (fr) Support de donnees numeriques compressees, dispositif lecteur et/ou enregistreur dudit support
FR2847107A1 (fr) Telephone portable a memoire auxiliaire, et procede de sauvegarde l'utilisant
FR2917526A1 (fr) Stockage numerique par ondes magnetiques. stockage, lecture, gravure de fichiers numeriques multimedias ou non avec un transfert par onde magnetique entre les peripheriques et le support de stockage

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FR GB GR IE IT LU MC NL PT SE

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1994906238

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 08501071

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 1994906238

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 1994906238

Country of ref document: EP