PROCEDE POUR SELECTIONNER UN MODE DE FONCTIONNEMENT D'UNE CARTE A PUCE, ET CARTE POUR LA MISE EN OEUVRE DU METHOD FOR SELECTING A MODE OF OPERATION OF A CHIP CARD, AND CARD FOR THE IMPLEMENTATION OF THE
PROCEDEPROCESS
L'invention a pour objet un procédé pour sélectionner un mode de fonctionnement d'une carte à puce, cette carte ayant un ensemble de microcircuits électroniques qui communiquent avec l'extérieur par au moins une interface de communication normalisée à contacts.The subject of the invention is a method for selecting an operating mode of a smart card, this card having a set of electronic microcircuits which communicate with the outside by at least one standardized communication interface with contacts.
D'une manière générale, l'interface de communication à contacts est utilisée dans un environnement à lecteur de carte avec un mode de fonctionnement synchrone ou asynchrone suivant le type de lecteur. Lorsque cette interface satisfait à la norme ISO 7816, certains contacts sont dédiés à des signaux électriques déterminés.Generally, the contact communication interface is used in a card reader environment with a synchronous or asynchronous operating mode depending on the type of reader. When this interface meets the ISO 7816 standard, certain contacts are dedicated to specific electrical signals.
Par ailleurs, on connaît des objets portatifs et/ou des cartes à puce qui sont équipés d'une interface de communication de type acoustique ou radiofréquence.Furthermore, portable objects and / or smart cards are known which are equipped with a communication interface of acoustic or radiofrequency type.
L'invention s'applique à des cartes à puce ayant plusieurs modes de fonctionnement, et le but visé est notamment de sélectionner le mode de fonctionnement qui correspond à l'environnement dans lequel la carte est utilisée et ce, sans modifier ou altérer le mode de fonctionnement sélectionné.The invention applies to smart cards having several operating modes, and the aim is in particular to select the operating mode which corresponds to the environment in which the card is used, without modifying or altering the mode operating mode selected.
A cet effet, l'invention propose un procédé pour sélectionner un mode de fonctionnement d'une carte à puce, ladite carte ayant un ensemble de microcircuits électroniques qui communiquent avec l'extérieur par au moins une interface normalisée à contacts dont certains sont dédiés à l'entrée de signaux électriques déterminés, en particulier d'un signal de tension d'alimentation, d'un signal de séquencement ou d'horloge et d'un signal de remise à zéro, ladite carte pouvant également avoir une interface sans contact de type acoustique et/ou de type radiofréquence, caractérisé en ce qu'il consiste à sélectionner en interne le mode de fonctionnement de la carte avec son interface associée correspondant à l'environnement dans
lequel est placée la carte, en utilisant au moins un des signaux électriques précités, en l'occurrence le signal de remise à zéro.To this end, the invention proposes a method for selecting an operating mode of a smart card, said card having a set of electronic microcircuits which communicate with the outside by at least one standardized interface with contacts some of which are dedicated to the input of determined electrical signals, in particular of a supply voltage signal, of a sequencing or clock signal and of a reset signal, said card possibly also having a contactless interface for acoustic type and / or radio frequency type, characterized in that it consists in internally selecting the operating mode of the card with its associated interface corresponding to the environment in which is placed the card, using at least one of the above electrical signals, in this case the reset signal.
Selon une version préférentielle, le procédé consiste à utiliser en combinaison deux des signaux de l'interface normalisée à contacts, à savoir le signal de tension d'alimentation et le signal de remise à zéro.According to a preferred version, the method consists in using in combination two of the signals of the standard interface with contacts, namely the supply voltage signal and the reset signal.
Plus précisément, le procédé consiste à tester la présence ou l'absence du signal de tension d'alimentation pour déterminer tout d'abord si la carte est placée dans un environnement à ou sans lecteur de carte à contacts. Dans un environnement lecteur à contacts, le procédé consiste à sélectionner le mode de fonctionnement asynchrone si le signal de remise à zéro est à un niveau bas et le mode de fonctionnement synchrone s'il est à un niveau haut.More specifically, the method consists in testing the presence or absence of the supply voltage signal to determine first of all whether the card is placed in an environment with or without contact card reader. In a contact reader environment, the method consists in selecting the asynchronous operating mode if the reset signal is at a low level and the synchronous operating mode if it is at a high level.
Dans un environnement hors lecteur à contacts et lorsque la carte comprend également une interface de type acoustique, le procédé consiste à sélectionner cette interface si le signal de remise à zéro est à un niveau bas, sachant que le procédé consiste également à maintenir ce signal à un niveau haut au moyen d'un circuit interne "pull up", et à forcer ce signal à un niveau bas pour activer le mode de fonctionnement acoustique au moyen d'une touche tactile qui peut être avantageusement constituée par le contact de remise à zéro et le contact de masse de l'interface normalisée à contacts.In an environment outside of the contact reader and when the card also includes an acoustic type interface, the method consists in selecting this interface if the reset signal is at a low level, knowing that the method also consists in keeping this signal at a high level by means of an internal "pull up" circuit, and to force this signal to a low level to activate the acoustic operating mode by means of a tactile key which can advantageously be constituted by the reset contact and the ground contact of the standard contact interface.
Lorsque la carte comprend une interface de type radiofréquence en plus ou non de l'interface acoustique, le procédé consiste à sélectionner en priorité cette interface, et à ne valider ce mode de fonctionnement que par suite d'une action volontaire de l'utilisateur de la carte, cette action consistant à activer la touche tactile précitée par exemple.When the card includes an interface of radio frequency type in addition to the acoustic interface or not, the method consists in selecting this interface as a priority, and in validating this operating mode only as a result of a voluntary action by the user of the card, this action consisting in activating the aforementioned touch key for example.
Selon un avantage important de l'invention, la sélection du mode de fonctionnement de la carte est basée sur la combinaison des niveaux de signaux prédéterminés sur l'interface de communication normalisés à contacts, ce qui permet de s'affranchir totalement des problèmes
que pourraient poser l'adaptation ultérieure de la carte à de nouvelles normes.According to an important advantage of the invention, the selection of the operating mode of the card is based on the combination of the predetermined signal levels on the standardized communication interface with contacts, which makes it possible to completely overcome the problems. that could arise from the subsequent adaptation of the card to new standards.
Selon un autre avantage de l'invention, les microcircuits de la carte restent les mêmes quelles que soient les interfaces qui seront montées sur la carte.According to another advantage of the invention, the microcircuits of the card remain the same whatever the interfaces which will be mounted on the card.
D'autres avantages, caractéristiques et détails de l'invention ressortiront du complément de description qui va suivre en référence à des dessins annexés, donnés uniquement à titre d'exemple et dans lesquels :Other advantages, characteristics and details of the invention will emerge from the additional description which follows with reference to the appended drawings, given solely by way of example and in which:
- la figure 1 est une vue schématique sous forme d'un schéma-bloc d'un premier mode de réalisation d'une carte à puce ayant une interface de communication normalisée à contacts et pouvant fonctionner suivant un mode de fonctionnement synchrone ou asynchrone dans un environnement à lecteur de carte à contacts,- Figure 1 is a schematic view in the form of a block diagram of a first embodiment of a smart card having a standardized communication interface with contacts and capable of operating in a synchronous or asynchronous operating mode in a environment with contact card reader,
- la figure 2 est un diagramme des temps pour expliquer la sélection du mode de fonctionnement asynchrone pour la carte illustrée à la figure 1 ,FIG. 2 is a time diagram for explaining the selection of the asynchronous operating mode for the card illustrated in FIG. 1,
- la figure 3 est un diagramme des temps pour expliquer la sélection du mode de fonctionnement synchrone pour la carte illustrée à la figure 1 , et - la figure 4 est une vue schématique sous forme d'un schéma-bloc d'un second mode de réalisation d'une carte à puce ayant en plus une interface sans contact de type acoustique et/ou radiofréquence.- Figure 3 is a timing diagram to explain the selection of the synchronous operating mode for the card illustrated in Figure 1, and - Figure 4 is a schematic view in the form of a block diagram of a second mode of realization of a smart card having in addition a contactless interface of acoustic and / or radiofrequency type.
La carte à puce 10 illustrée sur la figure 1 comprend un ensemble E de microcircuits électroniques et au moins une interface 11 de communication normalisée à contacts. Selon la norme ISO 7816, ces contacts sont au nombre de huit et certains d'entre eux sont dédiés à l'entrée de signaux déterminés, en particulier d'un signal VCC ou tension d'alimentation, d'un signal de séquencement ou d'horloge CLK et d'un signal de remise à zéro RST. L'interface 11 comprend également un contact de masse GND et un contact d'entrée-sortie I/O.
Cette carte à puce 10 est destinée à être utilisée dans un environnement à lecteur de carte à contacts avec un fonctionnement synchrone ou asynchrone suivant le type de lecteur.The smart card 10 illustrated in FIG. 1 comprises a set E of electronic microcircuits and at least one standardized communication interface 11 with contacts. According to ISO 7816, these contacts are eight in number and some of them are dedicated to the input of determined signals, in particular a VCC signal or supply voltage, a sequencing signal or d CLK and a reset signal RST. The interface 11 also includes a GND ground contact and an I / O input / output contact. This smart card 10 is intended for use in an environment with a contact card reader with synchronous or asynchronous operation depending on the type of reader.
La sélection du mode de fonctionnement est assurée par une logique L qui est notamment reliée aux contacts dédiés aux signaux VCC, CLK et RST d'une part, et à l'ensemble E de microcircuits électroniques d'autre part.The selection of the operating mode is ensured by a logic L which is in particular connected to the contacts dedicated to the signals VCC, CLK and RST on the one hand, and to the set E of electronic microcircuits on the other hand.
La sélection du mode de fonctionnement asynchrone est décrite ci-après en référence à la figure 2. Supposons que le temps to corresponde à l'instant où la carte est physiquement connectée au lecteur à contacts.The selection of the asynchronous operating mode is described below with reference to FIG. 2. Suppose that the time to corresponds to the time when the card is physically connected to the contact reader.
Ensuite, le processus de mise sous tension de la carte 10 est enclenché :Then, the power-up process of the card 10 is started:
- à l'instant t1 , après avoir forcé le signal de remise à zéro RST à un niveau bas, le lecteur force le signal RST à un niveau bas et monte le signal VCC au niveau haut qui correspond à l'entrée d'une tension pour alimenter l'ensemble E des microcircuits électroniques de la carte,- at time t1, after having forced the reset signal RST to a low level, the reader forces the signal RST to a low level and raises the signal VCC to the high level which corresponds to the input of a voltage to supply all of the electronic microcircuits of the card,
- à l'instant t2, le lecteur envoie un signal d'horloge CLK, supérieur à 1 MHz dans un mode de fonctionnement standard, - à l'instant t3, le lecteur monte le signal RST au niveau 1 , et- at time t2, the reader sends a clock signal CLK, greater than 1 MHz in a standard operating mode, - at time t3, the reader raises the signal RST to level 1, and
- à l'instant t4, la carte répond selon un mode de fonctionnent asynchrone en utilisant le contact I/O de l'interface 11.- at time t4, the card responds according to an asynchronous operating mode using the I / O contact of the interface 11.
Ainsi, si la logique de sélection L détecte la présence du signal VCC (VCC = "1 ") et, à l'arrivée du signal d'horloge CLK, échantillonne le signal RST à un niveau bas (RST = "0") sur un front montant du signal d'horloge entre les instants t2 et t3, elle informe l'ensemble E des microcircuits électroniques que le mode de fonctionnement est asynchrone. .Thus, if the selection logic L detects the presence of the signal VCC (VCC = "1") and, on arrival of the clock signal CLK, samples the signal RST at a low level (RST = "0") on a rising edge of the clock signal between instants t2 and t3, it informs the assembly E of the electronic microcircuits that the operating mode is asynchronous. .
Le mode de fonctionnement asynchrone sera alors maintenu tant que la carte ne sera pas physiquement déconnectée du lecteur,
c'est-à-dire tant que l'ensemble E des microcircuits électroniques sera sous tension.The asynchronous operating mode will then be maintained until the card is physically disconnected from the reader, that is to say as long as all of the electronic microcircuits are energized.
La sélection du mode de fonctionnement synchrone est décrite ci-après en référence à la figure 3. Supposons également que le temps to corresponde à l'instant où la carte est physiquement connectée au lecteur.The selection of the synchronous operating mode is described below with reference to FIG. 3. Suppose also that the time to corresponds to the instant when the card is physically connected to the reader.
Ensuite :Then:
- à l'instant t1 , le lecteur monte le signal VCC et le signal RST au niveau haut, - à l'instant t2, le lecteur envoie un signal d'horloge CLK, de l'ordre de 100 KHz par exemple, et- at time t1, the reader raises the signal VCC and the signal RST to the high level, - at time t2, the reader sends a clock signal CLK, of the order of 100 KHz for example, and
- à l'instant t3, la carte répond suivant un protocole de communication déterminé et selon un mode de fonctionnement synchrone en utilisant le contact I/O de l'interface 11. Ainsi, si la logique de sélection L détecte la présence du signai VCC (VCC = "1") et, à l'arrivée du signal d'horloge CLK, fait un échantillonnage du signal RST à un niveau haut (RST = "1") sur un front montant du signal d'horloge entre les instants t2 et t3, elle informe l'ensemble E des microcircuits électroniques que le mode de fonctionnement est synchrone.- at time t3, the card responds according to a determined communication protocol and according to a synchronous operating mode using the I / O contact of the interface 11. Thus, if the selection logic L detects the presence of the VCC signal (VCC = "1") and, on arrival of the clock signal CLK, samples the signal RST at a high level (RST = "1") on a rising edge of the clock signal between times t2 and t3, it informs the set E of the electronic microcircuits that the operating mode is synchronous.
Par ailleurs, la carte peut passer à tout moment en mode de fonctionnement asynchrone et y rester si la logique de sélection L échantillonne le signal RST à un niveau bas.Furthermore, the card can switch to asynchronous operating mode at any time and remain there if the selection logic L samples the RST signal at a low level.
La carte à puce 10 peut être équipée d'une interface acoustique 12, connue en soi, pour être également utilisée dans un environnement hors lecteur de carte, cette interface 12 étant reliée à la logique de sélection L.The smart card 10 can be equipped with an acoustic interface 12, known per se, to also be used in an environment outside the card reader, this interface 12 being connected to the selection logic L.
Une telle carte à puce 10 est schématiquement illustrée à la figure 4, sachant que le fonctionnement de l'interface acoustique 12 nécessite une alimentation interne au moyen d'une pile P. Par ailleurs, la carte à puce
10 comprend également un circuit 12 ou circuit "pull up" qui a pour fonction de maintenir le signal RST à un niveau haut, tant que l'interface acoustique 12 n'est pas activée ou que la carte 10 n'est pas insérée dans une fente d'un lecteur de carte à contacts. L'activation de l'interface acoustique 12 est faite par l'utilisateur au moyen d'une touche tactile T qui est avantageusement constituée par le contact de remise à zéro RST et le contact de masse GND de l'interface 11. Un doigt de l'utilisateur sur les contacts RST et GND a pour effet de forcer le signal RST à un niveau bas. Ainsi, après activation de la touche tactile T, si la logique de sélection L détecte l'absence du signal VCC (VCC = "0") et un niveau bas pour le signal RST (RST - "0"), elle informe l'ensemble E des microcircuits électroniques que le mode de fonctionnement est acoustique et sélectionne l'interface 12. Ainsi, lorsque la carte à puce 10 comprend plusieurs interfaces de communication, la logique L sélectionne le mode de fonctionnement de la carte ainsi que l'interface associée.Such a smart card 10 is schematically illustrated in FIG. 4, knowing that the operation of the acoustic interface 12 requires an internal power supply by means of a battery P. In addition, the smart card 10 also includes a circuit 12 or "pull up" circuit which has the function of maintaining the RST signal at a high level, as long as the acoustic interface 12 is not activated or that the card 10 is not inserted in a contact card reader slot. The activation of the acoustic interface 12 is done by the user by means of a tactile key T which is advantageously constituted by the reset contact RST and the ground contact GND of the interface 11. A finger of the user on the RST and GND contacts has the effect of forcing the RST signal to a low level. Thus, after activation of the touch key T, if the selection logic L detects the absence of the VCC signal (VCC = "0") and a low level for the RST signal (RST - "0"), it informs the set E of electronic microcircuits that the operating mode is acoustic and selects the interface 12. Thus, when the smart card 10 comprises several communication interfaces, the logic L selects the operating mode of the card as well as the associated interface .
La carte à puce 10 peut être équipée d'une interface 13 de type radiofréquence, connue en soi, qui est illustrée sur la figure 4, sachant que l'interface acoustique 12 peut être présente ou non. L'interface radiofréquence 13 est reliée à la logique de sélection L et incorpore notamment une antenne capable de détecter la présence d'un champ électromagnétique déterminé, sachant que ce champ peut être rayonné par un lecteur de carte sans contact. L'interface 13 est reliée à l'ensemble E des microcircuits électroniques par la logique de sélection L. Lorsque ce champ électromagnétique est détecté par la carte, la logique de sélection L sélectionne en priorité le mode de fonctionnement radiofréquence, ce qui correspond à l'absence du signal VCC (VCC = "0") et à un niveau haut pour le signal RST (RST = "1 ").The smart card 10 can be equipped with an interface 13 of radio frequency type, known per se, which is illustrated in FIG. 4, knowing that the acoustic interface 12 may or may not be present. The radio frequency interface 13 is connected to the selection logic L and notably incorporates an antenna capable of detecting the presence of a determined electromagnetic field, knowing that this field can be radiated by a contactless card reader. The interface 13 is connected to the set E of electronic microcircuits by the selection logic L. When this electromagnetic field is detected by the card, the selection logic L selects in priority the radio frequency operating mode, which corresponds to the absence of the VCC signal (VCC = "0") and at a high level for the RST signal (RST = "1").
En effet, si la carte à puce 10 est équipée d'une interface acoustique 12, le circuit 12 ou circuit "pull up" est alimenté par la pile P pour
maintenir le signal RST à un niveau haut. Par contre, si la carte à puce 10 n'est pas équipée d'une interface acoustique, c'est l'énergie du champ électromagnétique qui est utilisée pour alimenter le circuit 12.Indeed, if the smart card 10 is equipped with an acoustic interface 12, the circuit 12 or “pull up” circuit is supplied by the battery P for keep the RST signal high. On the other hand, if the smart card 10 is not equipped with an acoustic interface, it is the energy of the electromagnetic field which is used to power the circuit 12.
Cependant, la détection du champ électromagnétique n'implique pas que l'utilisateur soit à cet instant désireux d'utiliser sa carte. Dans ces conditions, la validation du mode de fonctionnement radiofréquence va être conditionnée par une action volontaire de l'utilisateur, à savoir l'activation de la touche tactile T par exemple.
However, the detection of the electromagnetic field does not imply that the user is at this instant eager to use his card. Under these conditions, the validation of the radio frequency operating mode will be conditioned by a voluntary action by the user, namely the activation of the touch key T for example.