EP0993647A1 - Method for controlling communication between a microprocessor chip card and a contact terminal or a contactless terminal - Google Patents

Method for controlling communication between a microprocessor chip card and a contact terminal or a contactless terminal

Info

Publication number
EP0993647A1
EP0993647A1 EP99929035A EP99929035A EP0993647A1 EP 0993647 A1 EP0993647 A1 EP 0993647A1 EP 99929035 A EP99929035 A EP 99929035A EP 99929035 A EP99929035 A EP 99929035A EP 0993647 A1 EP0993647 A1 EP 0993647A1
Authority
EP
European Patent Office
Prior art keywords
criterion
microprocessor
contact
contactless
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
EP99929035A
Other languages
German (de)
French (fr)
Inventor
Lothar Fannasch
Johannes Dietrich
Andreas Rottmann
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Idemia Germany GmbH
Original Assignee
Orga Kartensysteme GmbH
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
Priority claimed from DE19834079A external-priority patent/DE19834079A1/en
Application filed by Orga Kartensysteme GmbH filed Critical Orga Kartensysteme GmbH
Publication of EP0993647A1 publication Critical patent/EP0993647A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • 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/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07749Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card
    • G06K19/07766Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card comprising at least a second communication arrangement in addition to a first non-contact communication arrangement
    • G06K19/07769Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card comprising at least a second communication arrangement in addition to a first non-contact communication arrangement the further communication means being a galvanic interface, e.g. hybrid or mixed smart cards having a contact and a non-contact interface
    • 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/0723Record 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 an arrangement for non-contact communication, e.g. wireless communication circuits on transponder cards, non-contact smart cards or RFIDs

Definitions

  • the invention relates to a method for using a microprocessor chip card which can be operated both in contact and in a contactless manner.
  • Contact cards have electrical contact surfaces for power supply and data exchange with a corresponding terminal that works in touch. Contact cards have been widely used for a long time as telephone cards, health insurance cards, bank cards etc.
  • Contactless cards contain a coil as an antenna for energy supply and data exchange with a corresponding contactless (inductive) terminal.
  • an antenna interface is provided which generates a DC voltage for supplying power to the microprocessor from an AC voltage induced in the coil.
  • the antenna interface also serves as a signal converter for the data to be exchanged between the contactless terminal and the microprocessor.
  • the subject matter of the invention is a method for a card which can be operated with contact as well as without contact and thus combines the functionalities of the two card types described above.
  • the mode of operation contact or contactless
  • the use of the card should be designed in such a way that the card automatically recognizes the mode of operation it has to work without the card user having to do anything. 2
  • a solution to this problem is proposed in DE 39 35 364 Cl.
  • a comparator is provided in the microprocessor chip card, to which the DC voltage supplied via one of the contact surfaces for supplying the microprocessor and the DC voltage generated by the antenna interface are fed as input signals.
  • a different signal is generated at the output of the comparator, and depending on this signal, a multiplexer is activated, which either sends the signal lines coming from the contact surfaces or the signal lines coming from the antenna interface to the microprocessor switches through.
  • This type of switching between the two functions is costly, however, since a comparator and a multiplexer must also be provided on the microprocessor chip card.
  • the object of the invention is therefore to provide a cost-effective and reliable method for controlling the communication of a microprocessor chip card, which can be operated both in contact and also in a contactless manner, so that the chip card recognizes the respective mode of operation independently, without the help of the card user, with additional electronic modules in the chip card to differentiate between the contact-based and the contactless mode of operation.
  • FIG. 1 shows the top view of the chip card according to the invention. You can see the contact areas and the coil running under the card surface.
  • the components of the chip card are shown in more detail in FIG.
  • the contact field comprises five contact areas, one for the supply voltage (VCC), one for the ground (GND), one for the reset line (RST), one for the clock signal (CLK) supplied by the contact-working terminal and one for the serial, bidirectional Data transmission (I / O) is provided.
  • Connection lines run directly from these contact areas to corresponding inputs of the microprocessor module.
  • the antenna interface which is connected to the ends of the coil acting as an antenna. The antenna interface generates a DC voltage from an AC voltage induced in the coil to supply the microprocessor chip.
  • the connection line provided for this purpose is short-circuited to the corresponding connection line for the contact field in a node, so that both lines are each led directly to the single supply voltage input of the microprocessor module.
  • the antenna interface also serves as a signal converter for the data to be exchanged between the contactless terminal and the microprocessor module.
  • the data transfer between the microprocessor module and the antenna interface also takes place on a serial, bidirectional data line (I / O) bit by bit in the form of defined voltage pulses.
  • the data transfer between the antenna interface and the contactless terminal takes place by frequency, amplitude and / or phase modulation of the electromagnetic radiation sent by the terminal or the antenna interface.
  • the antenna interface transforms the data transfer in both directions.
  • the I / O line going from the antenna interface to the microprocessor module is also short-circuited in a node with the corresponding I O line for the contact field, so that both lines go directly to the one data input / Output (I / O port) of the microprocessor module are connected.
  • Microprocessor module two I O ports, with a separate I / O line from the antenna interface and the contact field to the microprocessor module.
  • the antenna interface is also able to generate the clock signal (CLK) necessary for the operation of the microprocessor module.
  • CLK clock signal line
  • the clock signal line (CLK) going from the antenna interface to the microprocessor module is also short-circuited in a node with the corresponding clock signal line for the contact field, so that both lines are led directly to the one, single clock input.
  • a ground line (GND) and a reset line (RST) also go from the antenna interface to the microprocessor module. These are also short-circuited in account points with the corresponding lines coming from the contact field, so that only one line is led to the microprocessor module.
  • the microprocessor module consists of a CPU, a volatile working memory (RAM), a read-only memory (ROM), in which the operating system is stored, and a non-volatile, rewritable memory (EEPROM), in which users can store programs and control programs.
  • RAM volatile working memory
  • ROM read-only memory
  • EEPROM non-volatile, rewritable memory
  • T contact For the contact-type data exchange and for the contactless exchange of data there are respectively different data transfer protocols (T contact; T Konta t ⁇ os).
  • Corresponding programs are stored in the non-volatile memory (ROM and or EEPROM) of the microprocessor module in the card, which enable the microprocessor to support these two protocols, so that the microprocessor is programmed to carry out both modes of operation.
  • the term data transmission protocol means definitions (e.g. bit length (etu), level, synchronization bits, etc.) for the lowest physical layer of communication between the microprocessor and the contact terminal and between the microprocessor and the antenna interface, as well as application programs and command sets, that are higher in a transmission layer model.
  • the microprocessor module and the antenna interface are preferably integrated on a semiconductor module.
  • the invention takes advantage of the fact that the microprocessor carries out a so-called internal power-on reset and / or receives a reset signal after the supply voltage is high enough for its operation.
  • the contact-based terminal when a card has been inserted as far as it will go, triggers the supply voltage via a card-in microswitch in the terminal and immediately switches on the clock signal.
  • a typical lower limit for the supply voltage is 3V, for example.
  • the terminal with contacts always delivers the same value, eg 5V, while the level of the DC voltage generated by the antenna interface depends, among other things, on the distance from the card to the terminal.
  • the voltage actually applied in the contactless case may differ, for example once 3.5V and then, for example, 4V. However, this has no effect on the operation of the microprocessor. The only important thing is that the supply voltage is sufficiently high.
  • the terminal also sends the reset signal and sends it to the microprocessor via the corresponding contact surface (however, the microprocessor can also generate its own power-on reset for the first time) the card the so-called answer-to-reset (ATR), which contains, among other things, information relating to the respective data transmission protocol in the form of a predetermined bit sequence. Only when the terminal has received and "understood” it, ie is able to read the transmitted ATR and that The actual communication begins to support the respective protocol. However, if the terminal did not receive a correct ATR within a certain time window (approx. A few tens of milliseconds) after the reset or could not read it, the terminal sends a reset to the card again.
  • ATR answer-to-reset
  • the supply voltage is generated via the antenna interface when a card is inserted into the transmission range of the contactless terminal.
  • a reset is sent to the microprocessor about a few tens of milliseconds later. This reset signal is generated by the antenna interface. This can be done automatically after the supply voltage has exceeded a certain threshold or depending on a signal triggered by the contactless terminal and detected by the antenna interface.
  • the method according to the invention can also be used in this case for microprocessors which automatically generate an internal reset, the so-called power-on reset, when the supply voltage is present.
  • a protocol selection criterion is now stored in the memory (RAM or EEPROM) of the microprocessor module, and the microprocessor is to be programmed so that it performs a check of the stored criterion after a reset, the microprocessor depending from the result of this check, the communication is activated according to the contact protocol or the contactless protocol; i.e. takes a "contact-related program branch path” or a "contactless program branch path".
  • a corresponding control program is virtually stored as a start routine in the EEPROM and / or ROM memory of the microprocessor module.
  • the protocol selection criterion can take two values (A) or (B).
  • the protocol selection criterion if it is stored in the non-volatile EEPROM memory, is preferably set to a specific starting value (A) by the card manufacturer or card issuer prior to delivery to the user.
  • A a specific starting value
  • the method according to the invention also works if the starting value is indefinite, only the two values (A or B) being possible.
  • the rigidity value of the data stored in the EEPROM protocol selection criterion is (B. 0).
  • the control program is designed so that if the protocol selection criterion has the value (B), the "contactless program branch path", and if the protocol selection criterion has the value (A), the "contact-related program branch path" becomes.
  • the card-in switch After entering the card in the terminal with contacts, the card-in switch is actuated, the supply voltage is switched on and then a reset is sent from the terminal to the card.
  • the microprocessor of the card now checks the value of the protocol selection criterion. Since the value is (B), the "contactless program branch path" is taken according to the program. The value of the protocol selection criterion is also automatically changed from (B) to (A) according to the program. The card then sends the "contactless ATR", which is not understood by the contact terminal. Since the terminal with contact did not receive the ATR properly after the first reset, it sends a reset to the card again. As a result, the protocol selection criterion is checked again.
  • the "contact-related program branch path” is chosen according to the program.
  • the value of the protocol selection criterion is automatically changed according to the program - this time from (A) to (B).
  • the "contact-based ATR” is sent and the desired communication takes place.
  • the microprocessor of the card After inserting the card into the transmission range of the contactless terminal, the supply voltage is built up via the antenna interface and the reset for the microprocessor is triggered. According to the invention, the microprocessor of the card now checks the value of the protocol selection criterion. In this case, since the value is (B), the correct “contactless program branching path” is taken in accordance with the program, the card sends the “contactless ATR”, and the desired communication takes place.
  • the antenna interface builds up the supply voltage, and a reset is triggered each time the supply voltage has exceeded a certain threshold. For various reasons, the supply voltage may fluctuate initially when the card is inserted into the transmission range of the terminal.
  • the supply voltage once it has exceeded the threshold necessary for the operation of the microprocessor, falls below this threshold again, then rises again above this threshold, falls again, etc. until it is finally stable above the threshold.
  • the reasons for the initial fluctuation of the supply voltage are that in order to build up the supply voltage, power has to be drawn from the electromagnetic field of the terminal by the card via the coil.
  • the time course of the voltage build-up depends sensitively on the position in which the card is brought into the field (effective area of the contactless terminal), whether the card position is changed, how quickly the card is inserted into the field, etc., which also plays a role that the field itself is not homogeneous, but that the intensity decreases quadratically with increasing distance from the terminal.
  • the general method according to the invention described above would be used to switch back and forth between the “contactless data transmission protocol” and the “contact-based data transmission protocol” until the supply voltage is stable above the threshold lies. Since the number of voltage breakdowns and rises is naturally uncontrolled, it would not be defined which data transmission protocol is now active when the supply voltage is finally stable above the threshold.
  • a first criterion (protocol pattern) is provided, which can take two defined values (AI or B1) or an undefined value.
  • a second criterion (start bit) is provided, which can assume two defined values (A2 or B2).
  • the microprocessor carries out a check of the second criterion according to the program, and if the second criterion has the value (A2), the microprocessor a) has a "contact-related program branch path" and b) sets the value of the first criterion to (B1) by means of a write operation in the memory, and then c) sends the “contact-based answer-to-reset”,
  • the microprocessor embarks on the a) "contact-dependent program branch path", and b) the value of the first criterion by a write operation in the memory from (AI) to (B 1) changes, and then c) sends the "contact-based answer-to-reset",
  • the microprocessor a) takes the "contactless program branch path", and b) sends the "contactless answer-to-reset", and immediately thereafter c) the The value of the first criterion changes from (Bl) to (AI) by a write operation in the memory.
  • the first criterion is preferably stored in the volatile memory (RAM) of the microprocessor module. It should be noted that the RAM memory only retains its memory values after a certain delay (in the range of seconds, in some cases up to a few tens of seconds) after the supply voltage drops, so that the remaining storage time also bridges temporary voltage dips (in the millisecond range) is sufficient.
  • the RAM memory allows faster access compared to the EEPROM. However, the access times in the EEPROM are also sufficient for most applications, so that the 1st criterion is also stored in the EEPROM.
  • the second criterion is preferably saved as a start bit in the EEPROM.
  • the supply voltage is built up via the antenna interface. Once the supply voltage has exceeded the predetermined threshold, the reset for the microprocessor is triggered. According to the invention, the microprocessor now checks the value of the 1st criterion (protocol pattern). If the value of the 1st criterion is stored in the RAM, its value is still undetermined at this point in time and the microprocessor now checks the value of the 2nd criterion according to the program.
  • the two possible, defined values of the protocol pattern (A1, B1) consist of several bits (for example two bytes), which are evaluated using a special algorithm. This ensures that a random bit pattern is not interpreted as a defined protocol pattern in the actually undefined state.
  • the microprocessor takes the "contact-related program branch path” and sets the value of the first criterion to (B1). Now breaks directly or during or after the attempt to send the "contact-laden ATR" - which must fail because the card is in the field of the contactless terminal - the supply voltage briefly together and again exceeds the threshold, so a new reset is triggered. The microprocessor thus jumps back to the beginning of the start routine and checks the 1st criterion (protocol pattern) again. Since the value of the first criterion is now (B1), the "contactless program branch path" is automatically adopted and the "contactless ATR" is sent.
  • the first criterion is set in such a way that the "contactless program branching path" is taken automatically after a reset - and until the "contactless ATR" has been successfully sent. This ensures that there is no uncontrolled switching between the two data transmission protocols due to the fluctuation in the supply voltage.
  • the microprocessor After entering the card in the terminal with contacts, the card-in switch is actuated, the supply voltage is switched on and then a reset is sent from the terminal to the card.
  • the microprocessor now checks the value of the 1st criterion (protocol pattern). Since the value of the 1st criterion is still undetermined at this point in time, the microprocessor now checks the value of the 2nd criterion according to the program.
  • the microprocessor takes the "contact-related program branch path” and sets the value of the first criterion according to the program (B1). The microprocessor then sends in the correct manner the "contact ATR". Contact-based communication is thus established.
  • the microprocessor then follows the "contactless program branch path" after the reset, since the value of the 1st criterion is now the same (B1).
  • the procedure is as above 14 addressed, the value of the 1st criterion in the "contactless program branch path” changed after sending the "contactless ATR” from (Bl) to (AI). This switchover point is always reached safely, since the voltage supply to the card in the terminal with contacts is stable.
  • Claim 9 requests protection for a card programmed according to the invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

Disclosed is a chip card with a microprocessor that can be operated in a contact or contactless manner and that easily and automatically recognizes the mode in which it should be operating.

Description

1 1
Titel: Verfahren zur Steuerung der Kommunikation zwischen einer Mikroprozessor- Chipkarte und einem kontaktbehaftet arbeitenden Terminal oder einem kontaktlos arbeitenden TerminalTitle: Method for controlling the communication between a microprocessor chip card and a contact-based terminal or a contactless terminal
Die Erfindung bezieht sich auf ein Verfahren zur Nutzung einer Mikroprozessor-Chipkarte, die sowohl kontaktbehaftet als auch kontaktlos betreibbar ist.The invention relates to a method for using a microprocessor chip card which can be operated both in contact and in a contactless manner.
Kontaktbehaftete Karten verfügen über elektrische Köntaktflächen für die Energieversorgung und den Datenaustausch mit einem entsprechenden im Berührungskontakt arbeitenden Terminal. Kontaktbehaftete Karten sind seit längerer Zeit als Telefonkarten, Krankenversichertenkarten, Bankkarten etc.weit verbreitet.Contact cards have electrical contact surfaces for power supply and data exchange with a corresponding terminal that works in touch. Contact cards have been widely used for a long time as telephone cards, health insurance cards, bank cards etc.
Kontaktlose Karten enthalten eine Spule als Antenne für die Energieversorgung und den Datenaustausch mit einem entsprechenden kontaktlos (induktiv) arbeitenden Terminal. Dabei ist ein Antennen-Interface vorgesehen, das aus einer in der Spule induzierten Wechselspannung eine Gleichspannung zur Spannungsversorgung des Mikroprozessors erzeugt. Das Antennen-Interface dient auch als Signalumformer für die zwischen dem kontaktlos arbeitenden Terminal und dem Mikroprozessor auszutauschenden Daten.Contactless cards contain a coil as an antenna for energy supply and data exchange with a corresponding contactless (inductive) terminal. In this case, an antenna interface is provided which generates a DC voltage for supplying power to the microprocessor from an AC voltage induced in the coil. The antenna interface also serves as a signal converter for the data to be exchanged between the contactless terminal and the microprocessor.
Gegenstand der Erfindung ist ein Verfahren für eine Karte, die sowohl kontaktbehaftet als auch kontaktlos betreibbar ist und somit die Funktionalitäten der beiden oben beschriebenen Kartentypen in sich vereint. Bei der Realisierung eines derartigen Verfahrens gibt es das Problem, daß bei jeder Anwendung der Karte die Funktionsweise (kontaktbehaftet oder kontaktlos) bestimmt werden muß. Dabei soll die Benutzung der Karte so ausgelegt sein, daß die Karte selbständig, ohne Dazutun des Kartenbenutzers erkennt, in welcher Funktionsweise sie zu arbeiten hat. 2The subject matter of the invention is a method for a card which can be operated with contact as well as without contact and thus combines the functionalities of the two card types described above. When realizing such a method, there is the problem that the mode of operation (contact or contactless) must be determined each time the card is used. The use of the card should be designed in such a way that the card automatically recognizes the mode of operation it has to work without the card user having to do anything. 2
Ein Lösung dieses Problems wird in der DE 39 35 364 Cl vorgeschlagen. Hier ist ein Komparator in der Mikroprozessor-Chipkarte vorgesehen, dem als Eingangssignale die über eine der Köntaktflächen gelieferte Gleichspannung für die Versorgung des Mikroprozessors und die vom Antennen-Interface erzeugte Gleichspannung zugeführt sind. Je nach dem welche Spannung am Komparator anliegt, wird am Ausgang des Komparators ein unterschiedliches Signal erzeugt, wobei in Abhängigkeit von diesem Signal wiederum ein Mulitplexer angesteuert wird, der wahlweise die von den Köntaktflächen kommenden Signalleitungen oder die vom Antennen-Interface kommenden Signalleitungen an den Mikroprozessor durchschaltet. Diese Art der Umschaltung zwischen den beiden Funktionsweisen (kontaktbehaftet oder kontaktlos) ist allerdings kostenaufwendig, da auf der Mikroprozessor-Chipkarte zusätzlich ein Komparator und ein Multiplexer vorzusehen ist.A solution to this problem is proposed in DE 39 35 364 Cl. A comparator is provided in the microprocessor chip card, to which the DC voltage supplied via one of the contact surfaces for supplying the microprocessor and the DC voltage generated by the antenna interface are fed as input signals. Depending on which voltage is applied to the comparator, a different signal is generated at the output of the comparator, and depending on this signal, a multiplexer is activated, which either sends the signal lines coming from the contact surfaces or the signal lines coming from the antenna interface to the microprocessor switches through. This type of switching between the two functions (contact or contactless) is costly, however, since a comparator and a multiplexer must also be provided on the microprocessor chip card.
Aufgabe der Erfindung ist daher die Schaffung eines kostengünstigen und zuverlässigen Verfahrens zur Steuerung der Kommunikation einer Mikroprozessor-Chipkarte, die sowohl kontaktbehaftet also auch kontaktlos betreibbar ist, so daß die Chipkarte selbständig, ohne Dazutun des Kartenbenutzers die jeweilige Funktionsweise erkennt, wobei auf zusätzliche elektronische Bausteine in der Chipkarte zur Unterscheidung zwischen der kontaktbehafteten und der kontaktlosen Betriebsweise verzichtet werden soll.The object of the invention is therefore to provide a cost-effective and reliable method for controlling the communication of a microprocessor chip card, which can be operated both in contact and also in a contactless manner, so that the chip card recognizes the respective mode of operation independently, without the help of the card user, with additional electronic modules in the chip card to differentiate between the contact-based and the contactless mode of operation.
Diese Aufgabe wird durch die Merkmale des Patentanspruches 1 gelöst. This object is solved by the features of claim 1.
Anhand der beigefügten Zeichnungen soll die Erfindung näher erläutert werden.The invention will be explained in more detail with reference to the accompanying drawings.
In Figur 1 ist die Draufsicht auf die erfindungsgemäße Chipkarte gezeigt. Man erkennt die Kontaktflächen und die unter der Kartenoberfläche verlaufende Spule.FIG. 1 shows the top view of the chip card according to the invention. You can see the contact areas and the coil running under the card surface.
In Figur 2 sind die Komponenten der Chipkarte näher dargestellt.The components of the chip card are shown in more detail in FIG.
Das Kontaktfeld umfaßt fünf Kontaktflächen, wobei eine für die Versorgungsspannung (VCC), eine für die Masse (GND), eine für die Resetleitung (RST), eine für das vom kontaktbehaftet arbeitenden Terminal gelieferte Taktsignal (CLK) und eine für die serielle, bidirektionale Datenübertragung (I/O) vorgesehen ist. Von diesen Kontaktflächen aus verlaufen Verbindungsleitungen direkt zu entsprechenden Eingängen des Mikroprozessor- Bausteins. Neben dem Kontaktfeld gibt es das Antennen-Interface, das mit den Enden der als Antenne wirkenden Spule verbunden ist. Das Antennen-Interface erzeugt aus einer in der Spule induzierten Wechselspannung eine Gleichspannung zur Versorgung des Mikroprozessorchips. Die hierfür vorgesehene Verbindungsleitung ist mit der entsprechenden Verbindungsleitung für das Kontaktfeld in einem Knotenpunkt kurzschlußmäßig verbunden, so daß beide Leitungen jeweils direkt an den einen einzigen Versorgungsspannungseingang des Mikroprozessor-Bausteins geführt sind. Darüber hinaus dient das Antennen-Interface auch als Signalumformer für die zwischen dem kontaktlos arbeitendem Terminal und dem Mikroprozessor- Baustein auszutauschenden Daten. Der Datentransfer zwischen dem Mikroprozessor- Baustein und dem Antennen-Interface erfolgt ebenfalls auf einer seriellen, bidirektionalen Datenleitung (I/O) bitweise in Form von definierten Spannungsimpulsen. Der Datentransfer zwischen dem Antennen-Interface und dem kontaktlos arbeitenden Terminal erfolgt durch Frequenz-, Amplituden- und/oder Phasenmodulation der jeweils vom Terminal oder dem Antennen-Interface gesendeten elektromagnetischen Strahlung. Dabei leistet das Antennen-Interface die Umformung des Datentransfers in beide Richtungen. Die vom Antennen-Interface zum Mikroprozessor-Baustein gehende I/0-Leitung ist dabei in einer ersten Ausführungsform der Erfindung ebenfalls in einen Knotenpunkt mit der entsprechenden I O-Leitung für das Kontaktfeld kurzschlußmäßig verbunden, so daß beide Leitungen direkt an den einen einzigen Dateneingang/ Ausgang (I/O-Port) des Mikroprozessor- Bausteins angeschlossen sind. In einer zweiten Ausführungsform weist der 4The contact field comprises five contact areas, one for the supply voltage (VCC), one for the ground (GND), one for the reset line (RST), one for the clock signal (CLK) supplied by the contact-working terminal and one for the serial, bidirectional Data transmission (I / O) is provided. Connection lines run directly from these contact areas to corresponding inputs of the microprocessor module. In addition to the contact field, there is the antenna interface, which is connected to the ends of the coil acting as an antenna. The antenna interface generates a DC voltage from an AC voltage induced in the coil to supply the microprocessor chip. The connection line provided for this purpose is short-circuited to the corresponding connection line for the contact field in a node, so that both lines are each led directly to the single supply voltage input of the microprocessor module. In addition, the antenna interface also serves as a signal converter for the data to be exchanged between the contactless terminal and the microprocessor module. The data transfer between the microprocessor module and the antenna interface also takes place on a serial, bidirectional data line (I / O) bit by bit in the form of defined voltage pulses. The data transfer between the antenna interface and the contactless terminal takes place by frequency, amplitude and / or phase modulation of the electromagnetic radiation sent by the terminal or the antenna interface. The antenna interface transforms the data transfer in both directions. In a first embodiment of the invention, the I / O line going from the antenna interface to the microprocessor module is also short-circuited in a node with the corresponding I O line for the contact field, so that both lines go directly to the one data input / Output (I / O port) of the microprocessor module are connected. In a second embodiment, the 4
Mikroprozessor- Baustein zwei I O-Ports auf, wobei vom Antennen-Interface und dem Kontaktfeld je eine separate I/O-Leitung zum Mikroprozessor- Baustein geführt ist. Daneben ist das Antennen-Interface auch noch in der Lage, das für den Betrieb des Mikroprozessor- Bausteins nötige Taktsignal (CLK) zu generieren. Die vom Antennen-Interface zum Mikroprozessor- Baustein gehende Taktsignalleitung (CLK) ist dabei ebenfalls in einen Knotenpunkt mit der entsprechenden Taktsignal-Leitung für das Kontaktfeld kurzschlußmäßig verbunden, so daß beide Leitungen direkt an den einen, einzigen Takteingang geführt sind.Microprocessor module two I O ports, with a separate I / O line from the antenna interface and the contact field to the microprocessor module. In addition, the antenna interface is also able to generate the clock signal (CLK) necessary for the operation of the microprocessor module. The clock signal line (CLK) going from the antenna interface to the microprocessor module is also short-circuited in a node with the corresponding clock signal line for the contact field, so that both lines are led directly to the one, single clock input.
Ferner gehen auch von dem Antennen-Interface eine Masseleitung (GND) und eine Resetleitung (RST) zum Mikroprozessor- Baustein. Diese sind ebenfalls in Kontenpunkten mit den entsprechenden vom Kontaktfeld kommenden Leitungen kurzschlußmäßig verbunden, so daß an den Mikroprozessor- Baustein jeweils nur eine Leitung geführt ist.A ground line (GND) and a reset line (RST) also go from the antenna interface to the microprocessor module. These are also short-circuited in account points with the corresponding lines coming from the contact field, so that only one line is led to the microprocessor module.
Der Mikroprozessor-Baustein besteht aus einer CPU, einem flüchtigen Arbeitsspeicher (RAM), einem Festwertspeicher (ROM), im dem das Betriebssystem gespeichert ist, und einem nicht flüchtigen, wiederbeschreibbaren Speicher (EEPROM), in dem Anwende rogramme und Steuerprogramme abspeicherbar sind.The microprocessor module consists of a CPU, a volatile working memory (RAM), a read-only memory (ROM), in which the operating system is stored, and a non-volatile, rewritable memory (EEPROM), in which users can store programs and control programs.
Für den kontaktbehafteten Datenaustausch und für den kontaktlosen Datenaustausch gibt es jeweils verschiedene Datenübertragungsprotokolle (TKontakt; TKonta tιos). Dabei sind in dem nichtflüchtigen Speicher (ROM und oder EEPROM) des Mikroprozessor-Bausteins in der Karte entsprechende Programme gespeichert, die dem Mikroprozessor die Unterstützung dieser beiden Protokolle ermöglichen, so daß der Mikroprozessor zur Durchführung beider Betriebsweisen programmiert ist. Dabei werden unter den Begriff Datenübertragungsprotokoll sowohl Festlegungen (z.B. Bitlänge (etu), Pegel, Synchronisationsbits etc) für die unterste physikalische Schicht der Kommunikation zwischen dem Mikroprozessor und dem kontaktbehafteten Terminal und zwischen dem Mikroprozessor und dem Antennen-Interface verstanden als auch Anwenundungsprogramme und Befehlssätze, die in einem Übertragungsschichtmodell höher liegen. Der Mikroprozessor-Baustein und das Antennen-Interface sind vorzugsweise auf einem Halbleiterbaustein integriert. Alternativ dazu ist es jedoch auch vorgesehen, ein sogenanntes Kombimodul zu verwenden, das den Mikroprozessor-Baustein und das Antennen-Interface (samt Verbindungsleitungen zwischen den beiden) als separate Komponenten enthält.For the contact-type data exchange and for the contactless exchange of data there are respectively different data transfer protocols (T contact; T Konta t ι os). Corresponding programs are stored in the non-volatile memory (ROM and or EEPROM) of the microprocessor module in the card, which enable the microprocessor to support these two protocols, so that the microprocessor is programmed to carry out both modes of operation. The term data transmission protocol means definitions (e.g. bit length (etu), level, synchronization bits, etc.) for the lowest physical layer of communication between the microprocessor and the contact terminal and between the microprocessor and the antenna interface, as well as application programs and command sets, that are higher in a transmission layer model. The microprocessor module and the antenna interface are preferably integrated on a semiconductor module. As an alternative, however, it is also provided to use a so-called combination module, which contains the microprocessor module and the antenna interface (together with connecting lines between the two) as separate components.
Nachfolgend wird das erfϊndungsgemäße Verfahren zur Unterscheidung zwischen den Betriebsweisen anhand von Fig.3 beschrieben.The method according to the invention for distinguishing between the operating modes is described below with the aid of FIG.
Die Erfindung macht sich den Umstand zunutze, daß der Mikroprozessor nach dem Vorliegen einer für seinen Betrieb ausreichend hohen Versorgungsspannung einen sogenannten internen Power-On-Reset durchführt und/oder jeweils ein Reset-Signal empfängt.The invention takes advantage of the fact that the microprocessor carries out a so-called internal power-on reset and / or receives a reset signal after the supply voltage is high enough for its operation.
Im Falle der kontaktbehafteten Betriebsweise schaltet das kontaktbehaftete Terminal, wenn eine Karte bis zu einem Anschlag eingeschoben wurde, ausgelöst über einen im Terminal befindlichen Card-In-Mikroschalter die Versorgungsspannung und unmittelbar danach das Taktsignal ein. Ein typischer unterer Grenzwert für die Versorgungsspannung ist beispielsweise 3V. Das kontaktbehaftete Terminal liefert einen immer gleichen Wert z.B. 5V, während die Höhe der von dem Antennen-Interface erzeugten Gleichspannung u.a. von der Entfernung von Karte zum Terminal abhängt. So kann die tatsächlich anliegende Spannung im kontaktlosen Fall u.U. unterschiedlich sein, z.B. einmal 3,5V und dann z.B. 4V. Dies hat jedoch auf den Betrieb des Mikroprozessor keinen Einfluß. Entscheidend ist nur, daß eine ausreichend hohe Versorgungsspannung vorliegt. Ungefähr einige zehn Millisekunden nach dem Einschalten der Versorgungsspannung und des Taktsignals wird dann vom Terminal auch das Reset-Signal gesendet und über die entsprechende Kontaktfläche an den Mikroprozessor geführt (erstmalig kann der Mikrprozessor jedoch auch einen eigenen Power- On-Reset generieren) Daraufhin sendet dann die Karte den sogenannten Answer-To-Reset (ATR), der in Form einer vorherbestimmten Bit-Folge unter anderem eine Information bzgl. des jeweilgen Datenübertragungs-Protokolls enthält. Erst wenn das Terminal diesen empfangen und „verstanden" hat, d.h. in der Lage ist, den gesendeten ATR zu lesen und das 6 jeweilige Protokoll zu unterstützen, beginnt die eigentliche Kommunikation. Wenn allerdings das Terminal innerhalb eines bestimmten Zeitfensters (ca. einige zehn Millisekunden ) nach dem Reset keinen ordnungsgemäßen ATR empfangen hat oder diesen nicht lesen konnte, dann schickt das Termnial erneut einen Reset zur Karte.In the case of contact-based operation, the contact-based terminal, when a card has been inserted as far as it will go, triggers the supply voltage via a card-in microswitch in the terminal and immediately switches on the clock signal. A typical lower limit for the supply voltage is 3V, for example. The terminal with contacts always delivers the same value, eg 5V, while the level of the DC voltage generated by the antenna interface depends, among other things, on the distance from the card to the terminal. For example, the voltage actually applied in the contactless case may differ, for example once 3.5V and then, for example, 4V. However, this has no effect on the operation of the microprocessor. The only important thing is that the supply voltage is sufficiently high. Approximately a few tens of milliseconds after the supply voltage and the clock signal are switched on, the terminal also sends the reset signal and sends it to the microprocessor via the corresponding contact surface (however, the microprocessor can also generate its own power-on reset for the first time) the card the so-called answer-to-reset (ATR), which contains, among other things, information relating to the respective data transmission protocol in the form of a predetermined bit sequence. Only when the terminal has received and "understood" it, ie is able to read the transmitted ATR and that The actual communication begins to support the respective protocol. However, if the terminal did not receive a correct ATR within a certain time window (approx. A few tens of milliseconds) after the reset or could not read it, the terminal sends a reset to the card again.
Im Falle der kontaktlosen Betriebsweise wird die Versorgungsspannung beim Einführen einer Karte in den Sendebereich des kontaktlosen Terminals über das Antennen-Interface erzeugt. Auch im kontaktlosen Fall wird, wie im kontaktbehaftetn Fall, ungefähr einige zehn Millisekunden später ein Reset an den Mikroprozessor gesendet. Dieses Reset-Signal wird vom Antennen-Interface generiert. Dies kann jeweils automatisch erfolgen nachdem die Versorgungspannung eine bestimmte Schwelle überschritten hat oder auch in Abhängigkeit eines vom kontaktlosen Terminal ausgelösten und vom Antennen-Inteface detektierten Signals. Darüber hinaus ist auch in diesem Fall das erfmdungsgemäße Verfahren anwendbar für Mikroprozessoren, die nach dem Vorliegen der Versorgungsspannung automatisch einen internen Reset, den sogenannten Power-On-Reset generieren.In the case of the contactless mode of operation, the supply voltage is generated via the antenna interface when a card is inserted into the transmission range of the contactless terminal. Also in the contactless case, as in the case of contact, a reset is sent to the microprocessor about a few tens of milliseconds later. This reset signal is generated by the antenna interface. This can be done automatically after the supply voltage has exceeded a certain threshold or depending on a signal triggered by the contactless terminal and detected by the antenna interface. In addition, the method according to the invention can also be used in this case for microprocessors which automatically generate an internal reset, the so-called power-on reset, when the supply voltage is present.
Erfindungsgemäß ist nun in vorgesehen, im Speicher (RAM oder EEPROM) des Mikroprozessor-Bausteins ein Protokoll-Selektions-Kriterium abzuspeichern, und den Mikroprozessor so zu programmieren, daß dieser jeweils nach einem Reset eine Überprüfung des gespeicherten Kriteriums durchführt, wobei der Mikroprozessor in Abhängigkeit vom Ergebnis dieser Überprüfung die Kommunikation gemäß des kontaktbehafteten Protokolls oder des kontaktlosen Protokolls aktiviert; d.h. einen „kontaktbehafteten Programmverzweigungspfad" oder einen „kontaktlosen Programmverzweigungspfad" einschlägt. Zur Realisierung dieses Verfahrensablaufes ist in dem EEPROM- und/oder ROM- Speicher des Mikroprozessor-Bausteins ein entprechendes Steuerprogramm quasi als Startroutine gespeichert.According to the invention, a protocol selection criterion is now stored in the memory (RAM or EEPROM) of the microprocessor module, and the microprocessor is to be programmed so that it performs a check of the stored criterion after a reset, the microprocessor depending from the result of this check, the communication is activated according to the contact protocol or the contactless protocol; i.e. takes a "contact-related program branch path" or a "contactless program branch path". To implement this process sequence, a corresponding control program is virtually stored as a start routine in the EEPROM and / or ROM memory of the microprocessor module.
Das Protokoll-Selektions-Kriterium kann zwei Werte (A) oder (B) annehmen. In der einfachsten Ausführungsform ist das Protokoll-Selektions-Kriterium ein Bit, das durch einen entsprechenden Schreib- bzw. Löschvorgänge gesetzt (Wert = A ) bzw. zurückgesetzt ( 7The protocol selection criterion can take two values (A) or (B). In the simplest embodiment, the protocol selection criterion is a bit which is set (value = A) or reset by a corresponding write or delete operation ( 7
Wert = B ^.0) werden kann. Das erfindungsgemäße Verfahren funktioniert selbstverständlich auch mit einer invertierten Logik.Value = B ^ .0). The method according to the invention naturally also works with inverted logic.
Das Protokoll-Selektions-Kriterium wird, falls es im nichtflüchtigen EEPROM-Speicher gespeichert ist, vorzugsweise vom Kartenhersteller oder Kartenherausgeber vor der Auslierferung an den Benutzer auf einen bestimmten Startwert (A) gesetzt. Das erfindungsgemäße Verfahren funktioniert jedoch auch, wenn der Startwert unbestimmt ist, wobei ja nur die beiden Werte ( A oder B) möglich sind.The protocol selection criterion, if it is stored in the non-volatile EEPROM memory, is preferably set to a specific starting value (A) by the card manufacturer or card issuer prior to delivery to the user. However, the method according to the invention also works if the starting value is indefinite, only the two values (A or B) being possible.
Im folgenden sollen die beiden möglichen Szenarien durchgegangen werden. Der Starrwert des im EEPROM gespeicherten Protokoll-Selektions-Kriterium sei (B . 0). Das Steuerprogramm ist dabei so konzipiert, daß, wenn das Protokoll-Selektions-Kriterium den Wert (B) hat, der „kontaktlose Programmverzweigungspfad", und wenn das Protokoll- Selektions-Kriterium den Wert (A) hat, der „kontaktbehaftete Programmverzweigungspfad" eingeschlagen wird.The two possible scenarios are considered below. The rigidity value of the data stored in the EEPROM protocol selection criterion is (B. 0). The control program is designed so that if the protocol selection criterion has the value (B), the "contactless program branch path", and if the protocol selection criterion has the value (A), the "contact-related program branch path" becomes.
Zunächst soll der Verfahrensablauf für die Eingabe einer für das erfindungsgemäße Verfahren ausgelegten Karte in ein kontaktbehaftetes Terminal, d.h. der Fall, daß der Benutzer seine Karte kontaktbehaftet nutzen möchte, beschrieben werden.First of all, the procedure for entering a card designed for the inventive method into a contact-based terminal, i.e. the case that the user would like to use his card with contact be described.
Nach Eingabe der Karte in das kontaktbehaftete Terminal wird der Card-In-Schalter betätigt, die Versorgungsspannung eingeschaltet und dann ein Reset vom Terminal an die Karte gesendet. Erfϊndungsgemäß überprüft nun der Mikroprozessor der Karte den Wert des Protokoll-Selektions-Kriteriums. Da der Wert (B) ist, wird programmgemäß der „kontaktlose Prograrnmverzweigungspfad" eingeschlagen. Dabei wird automatisch programmgemäß auch der Wert des Protokoll-Selektions-Kriteriums von (B) nach (A) geändert. Anschließend sendet die Karte den „kontaktlosen ATR", der jedoch vom kontaktbehafteten Terminal nicht verstanden wird. Da das kontaktbehaftete Terminal auf den ersten Reset den ATR nicht ordnungsgemäß empfangen hat, sendet es erneut einen Reset an die Karte. Dies führt dazu, daß wiederum eine Überprüfung des Protokoll-Selektions-Kriteriums ausgeführt wird. Da nun o der Wert (A) ist, wird programmgemäß der „kontaktbehaftete Programmverzweigungspfad" eingeschlagen. Auch hierbei wird automatisch programmgemäß der Wert des Protokoll- Selektions-Kriteriums geändert - diesmal von (A) nach (B). Im nun richtig selektierten „kontaktbehafteten Programmverzweigungspfad" wird der „kontaktbehaftete ATR" gesendet, und die gewünschte Kommunikation findet statt.After entering the card in the terminal with contacts, the card-in switch is actuated, the supply voltage is switched on and then a reset is sent from the terminal to the card. According to the invention, the microprocessor of the card now checks the value of the protocol selection criterion. Since the value is (B), the "contactless program branch path" is taken according to the program. The value of the protocol selection criterion is also automatically changed from (B) to (A) according to the program. The card then sends the "contactless ATR", which is not understood by the contact terminal. Since the terminal with contact did not receive the ATR properly after the first reset, it sends a reset to the card again. As a result, the protocol selection criterion is checked again. Because now o is the value (A), the "contact-related program branch path" is chosen according to the program. Here too, the value of the protocol selection criterion is automatically changed according to the program - this time from (A) to (B). In the now correctly selected "contact-related program branch path" the "contact-based ATR" is sent and the desired communication takes place.
Zusätzliche Bauteile wie ein Spannungskomparator und ein Mulitplexer sind bei der erfindungsgemäßen Realisierung überflüssig.Additional components such as a voltage comparator and a multiplexer are unnecessary in the implementation according to the invention.
Jetzt soll der Verfahrensablauf für die Benutzung einer für das erfindungsgemäße Verfahren ausgelegten Karte in Verbindung mit einem kontaktlosen Terminal; d.h. der Fall, daß der Benutzer seine Karte kontaktlos nutzen möchte, beschrieben werden.Now the process flow for the use of a card designed for the method according to the invention in connection with a contactless terminal; i.e. the case that the user wants to use his card contactless, are described.
Nach dem Einführen der Karte in den Sendebereich des kontaktlosen Terminals wird über das Antennen-Interface die Versorgungsspannung aufgebaut und der Reset für den Mikroprozessor ausgelöst. Erfindungsgemäß überprüft nun der Mikroprozessor der Karte den Wert des Protokoll-Selektions-Kriteriums. Da der Wert (B) ist, wird in diesem Fall programmgemäß unmittelbar der richtige „kontaktlose Programmverzweigungspfad" eingeschlagen, die Karte sendet den „kontaktlosen ATR", und die gewünschte Kommunikation findet statt.After inserting the card into the transmission range of the contactless terminal, the supply voltage is built up via the antenna interface and the reset for the microprocessor is triggered. According to the invention, the microprocessor of the card now checks the value of the protocol selection criterion. In this case, since the value is (B), the correct “contactless program branching path” is taken in accordance with the program, the card sends the “contactless ATR”, and the desired communication takes place.
Nun soll noch auf ein Problem (vgl.Fig. 4) hingewiesen werden, daß bei der kontaktlosen Betriebsweise auftreten kann, wobei für diesen Fall weiter unten ein verfeinertes Steuerungsverfahren angegeben wird, mit dem diesem Problem begegnet werden kann.A problem (cf. FIG. 4) is now to be pointed out that can occur in the contactless mode of operation, in which case a more refined control method is specified below with which this problem can be countered.
Nach dem Einführen der Karte in den Sendebereich des kontaktlosen Terminals wird, wie oben bereits erwähnt, vom Antennen-Interface die Versorgungsspannung aufgebaut, wobei jedesmal, wenn die Versorgungsspannung eine bestimmte Schwelle überschritten hat, ein Reset ausgelöst wird. Dabei kann aus verschiedenen Gründen anfangs beim Einführen der Karte in den Sendebereich des Terminals ein Schwanken der Versorgungsspannung auftreten. 9After the card has been inserted into the transmission range of the contactless terminal, as already mentioned above, the antenna interface builds up the supply voltage, and a reset is triggered each time the supply voltage has exceeded a certain threshold. For various reasons, the supply voltage may fluctuate initially when the card is inserted into the transmission range of the terminal. 9
Gemeint ist hiermit, daß die Versorgungsspannung, nachdem sie einmal die für den Betrieb des Mikroprozessors notwendige Schwelle überschritten hat, wieder unter diese Schwelle abfällt, dann wieder über diese Schwelle ansteigt, wieder abfällt usw. bis sie schließlich stabil über der Schwelle liegt. Die Gründe für das anfängliche Schwanken der Versorgungsspannung liegen darin, daß zum Aufbau der Versorgungsspannung über eine gewisse Zeit aus dem elektromagnetischen Feld des Terminals von der Karte über die Spule Leistung aufgenommen werden muß. Dabei hängt der zeitliche Verlauf des Spannungsaufbaus empfindlich davon ab, in welcher Lage die Karte ins Feld (Wirkbereich des kontaktlosen Terminals) gebracht wird, ob die Kartenlage dabei verändert wird, wie schnell die Karte ins Feld eingebracht wird etc. , wobei auch eine Rolle spielt, daß das Feld an sich nicht homogen ist, sondern mit zunehmenden Abstand vom Terminal die Intensität quadratisch abnimmt.What is meant by this is that the supply voltage, once it has exceeded the threshold necessary for the operation of the microprocessor, falls below this threshold again, then rises again above this threshold, falls again, etc. until it is finally stable above the threshold. The reasons for the initial fluctuation of the supply voltage are that in order to build up the supply voltage, power has to be drawn from the electromagnetic field of the terminal by the card via the coil. The time course of the voltage build-up depends sensitively on the position in which the card is brought into the field (effective area of the contactless terminal), whether the card position is changed, how quickly the card is inserted into the field, etc., which also plays a role that the field itself is not homogeneous, but that the intensity decreases quadratically with increasing distance from the terminal.
Da jedoch jeweils, wenn die Versorgungsspannung die Schwelle überschritten hat, ein Reset ausgelöst wird, würde nach dem oben beschriebenen allgemeinen erfindungsgemäßen Verfahren so lange zwischen dem „kontaktlosen Datenübertragungsprotokoll" und dem „kontaktbehafteten Datenübertragungsprotokoll" hin und her geschaltet bis die Versorgungsspannung stabil über der Schwelle liegt. Da die Zahl der Spannungszusammenbrüche und Wiederanstiege naturgemäß unkontrolliert ist, wäre nicht definiert, welches Datentübertragungsprotokoll denn nun aktiv ist, wenn die Versorgungsspannung schließlich stabil über der Schwelle liegt. However, since a reset is triggered each time the supply voltage has exceeded the threshold, the general method according to the invention described above would be used to switch back and forth between the “contactless data transmission protocol” and the “contact-based data transmission protocol” until the supply voltage is stable above the threshold lies. Since the number of voltage breakdowns and rises is naturally uncontrolled, it would not be defined which data transmission protocol is now active when the supply voltage is finally stable above the threshold.
Aus diesem Grunde wird in einer speziellen Ausführungsform der Erfindung ein verfeinertes Verfahren angegeben, das diesem Problem Rechnung trägt.For this reason, a refined method is given in a special embodiment of the invention, which takes this problem into account.
In diesem verfeinerten Verfahren (vgl.Fig.5) ist ein erstes Kriterium (Protokoll-Muster) vorgesehen ist, das zwei definierte Werte (AI oder Bl) oder einen Undefinierten Wert annehmen kann. Daneben ist ein zweites Kriterium (Startbit) vorgesehen, das zwei definierte Werte (A2 oder B2) annehmen kann, wobei,In this refined method (see Fig. 5), a first criterion (protocol pattern) is provided, which can take two defined values (AI or B1) or an undefined value. In addition, a second criterion (start bit) is provided, which can assume two defined values (A2 or B2).
- wenn die Überprüfung des ersten Kriteriums ergibt, daß dieses Kriterium einen Undefinierten Wert hat, der Mikroprozessor progammgemäß eine Überprüfung des zweiten Kriteriums durchführt, wobei dann, wenn das zweite Kriterium den Wert (A2) hat, der Mikroprozessor a) einen „kontaktbehafteten Programmverzweigungspfad" einschlägt, und b) den Wert des ersten Kriteriums durch einen Schreibvorgang im Speicher auf (Bl) setzt, und danach c) den „kontaktbehafteten Answer-To-Reset" sendet,if the check of the first criterion shows that this criterion has an undefined value, the microprocessor carries out a check of the second criterion according to the program, and if the second criterion has the value (A2), the microprocessor a) has a "contact-related program branch path" and b) sets the value of the first criterion to (B1) by means of a write operation in the memory, and then c) sends the “contact-based answer-to-reset”,
- wenn die Überprüfung des ersten Kriteriums ergibt, daß dieses Kriterium den Wert (AI) hat, der Mikroprozessor den a) „kontaktbehafteten Programmverzweigungspfad" einschlägt, und b) den Wert des ersten Kriteriums durch einen Schreibvorgang im Speicher von (AI) nach (B 1 ) ändert, und danach c) den „kontaktbehafteten Answer-To-Reset" sendet,if the check of the first criterion shows that this criterion has the value (AI), the microprocessor embarks on the a) "contact-dependent program branch path", and b) the value of the first criterion by a write operation in the memory from (AI) to (B 1) changes, and then c) sends the "contact-based answer-to-reset",
- wenn die Überprüfung des ersten Kriteriums ergibt, daß dieses Kriterium den Wert (Bl) hat, der Mikroprozessor a) den „kontaktlosen Programmverzweigungspfad" einschlägt, und b) den „kontaktlosen Answer-To-Reset" sendet, und unmittelbar danach c) den Wert des ersten Kriteriums durch einen Schreib Vorgang im Speicher von (Bl) nach (AI) ändert.- If the check of the first criterion shows that this criterion has the value (B1), the microprocessor a) takes the "contactless program branch path", and b) sends the "contactless answer-to-reset", and immediately thereafter c) the The value of the first criterion changes from (Bl) to (AI) by a write operation in the memory.
Bei Verwendung von zwei Kriterien kann jeweils dann, wenn die Karte neu in ein Terminal (kontaktlos, kontaktbehaftet) eingeführt, sichergestellt werden, daß jedesmal mit einem bestimmten Protokoll begonnen wird. Das 1. Kriterium (Protokollmuster) ist vorzugsweise im flüchtigen Speicher (RAM) des Mikroprozessor-Bausteins gespeichert. Dabei ist anzumerken, daß auch der RAM-Speicher seine Speicherwerte erst mit einer gewissen Verzögerung (im Sekundenbereich, in Einzelfällen gar bis zu einigen zehn Sekunden) nach dem Abfall der Versorgungsspannung behält, so daß die Restspeicherzeit auch zur Überbrückung temporärer Spannungseinbrüche (im Millisekundenbereich) ausreicht. Der RAM-Speicher erlaubt im Vgl. zum EEPROM einen schnelleren Zugriff. Allerdings sind für die meisten Anwendungen auch die Zugriffszeiten im EEPROM ausreichend, so daß auch die Abspeicherung des 1. Kriteriums im EEPROM vorgesehen ist. Das 2. Kriterium wird als Startbit vorzugweise im EEPROM gespeichert.If two criteria are used, each time the card is inserted into a terminal (contactless, contact-based), it can be ensured that a certain protocol is started each time. The first criterion (protocol pattern) is preferably stored in the volatile memory (RAM) of the microprocessor module. It should be noted that the RAM memory only retains its memory values after a certain delay (in the range of seconds, in some cases up to a few tens of seconds) after the supply voltage drops, so that the remaining storage time also bridges temporary voltage dips (in the millisecond range) is sufficient. The RAM memory allows faster access compared to the EEPROM. However, the access times in the EEPROM are also sufficient for most applications, so that the 1st criterion is also stored in the EEPROM. The second criterion is preferably saved as a start bit in the EEPROM.
Auch hier sollen die beiden möglichen Szenarien einmal explizit durchgedacht werden.Here, too, the two possible scenarios should be explicitly considered.
Zunächst soll der Verfahrensablauf für eine für das erfindungsgemäße Verfahren ausgelegte Karte in Verbindung mit einem kontaktlosen Terminal, d.h. der Fall, daß der Benutzer seine Karte kontaktlos nutzen möchte, beschrieben werden.First of all, the procedure for a card designed for the inventive method in connection with a contactless terminal, i.e. the case that the user wants to use his card contactless, are described.
Nach dem Einführen der Karte in den Sendebereich des kontaktlosen Terminals wird über das Antennen-Interface die Versorgungsspannung aufgebaut. Hat die Versorgungsspannung einmal die vorbestimmte Schwelle überschritten, wird der Reset für den Mikroprozessor ausgelöst. Erfindungsgemäß überprüft nun der Mikroprozessor den Wert des 1. Kriteriums (Protokollmuster). Falls der Wert des 1. Kriteriums im RAM gespeichert ist, so ist dessen Wert zu diesem Zeitpunkt noch unbestimmt und der Mikroprozessor überprüft nun programmgemäß den Wert des 2. Kriteriums. Aus Sicherheitsgründen bestehen die beiden möglichen, definierten Wertes des Protokollmusters (A1,B1) aus mehreren Bits (z.B. zwei Bytes), die mittels eines speziellen Algoπthmus ausgewertet werden. Damit wird sichergestellt, daß im eigentlich Undefinierten Zustand nicht ein zufälliges Bitmuster als ein definiertes Protokollmuster interpretiert wird.After the card has been inserted into the transmission range of the contactless terminal, the supply voltage is built up via the antenna interface. Once the supply voltage has exceeded the predetermined threshold, the reset for the microprocessor is triggered. According to the invention, the microprocessor now checks the value of the 1st criterion (protocol pattern). If the value of the 1st criterion is stored in the RAM, its value is still undetermined at this point in time and the microprocessor now checks the value of the 2nd criterion according to the program. For security reasons, the two possible, defined values of the protocol pattern (A1, B1) consist of several bits (for example two bytes), which are evaluated using a special algorithm. This ensures that a random bit pattern is not interpreted as a defined protocol pattern in the actually undefined state.
Wenn die Überprüfung des 2. Kriteriums ergeben hat, daß dieses den Wert (A2) hat, so schlägt der Mikroprozessor den „kontaktbehafteten Prograrnmverzweigungspfad" ein und setzt den Wert des 1. Kriteriums auf (Bl). Bricht nun direkt oder während bzw. nach dem Versuch den „konaktbehafteten ATR" zusenden - der ja fehlschlagen muß, da die Karte sich im Feld des kontaktlosen Terminals befindet - die Versorgungsspannung kurzfristig zusammen und überschreitet wieder die Schwelle, so wird ein erneuter Reset ausgelöst. Damit springt der Mikroprozessor quasi an den Anfang der Startroutine zurück und überprüft erneut das 1. Kriterium (Protokollmuster). Da nun der Wert des 1. Kriteriums gleich (Bl) ist, wird automatisch der „kontaktlose Prograrnmverzweigungspfad" eingeschlagen, und der „kontaktlose ATR" gesendet. Selbst wenn jetzt durch Schwanken der Versorgungsspannung mehrere Resets ausgelöst werden, ist das 1. Kriterium so eingestellt, daß automatisch jeweils nach einem Reset - und zwar bis der „kontaktlose ATR" erfolgreich gesendet wurde - der „kontaktlose Prograrnmverzweigungspfad" eingeschlagen wird. Damit ist sichergestellt, daß nicht aufgrund des Schwankes der Versorgungsspannung in unkontrollierter Weise zwischen den beiden Datenübertragungprotokollen hin und her geschaltet wird.If the check of the second criterion has shown that it has the value (A2), the microprocessor takes the "contact-related program branch path" and sets the value of the first criterion to (B1). Now breaks directly or during or after the attempt to send the "contact-laden ATR" - which must fail because the card is in the field of the contactless terminal - the supply voltage briefly together and again exceeds the threshold, so a new reset is triggered. The microprocessor thus jumps back to the beginning of the start routine and checks the 1st criterion (protocol pattern) again. Since the value of the first criterion is now (B1), the "contactless program branch path" is automatically adopted and the "contactless ATR" is sent. Even if several resets are now triggered by fluctuations in the supply voltage, the first criterion is set in such a way that the "contactless program branching path" is taken automatically after a reset - and until the "contactless ATR" has been successfully sent. This ensures that there is no uncontrolled switching between the two data transmission protocols due to the fluctuation in the supply voltage.
Das in Fig.5 vorgesehene automatische Setzen des 2.Kriteriums auf den Wert (B2) jeweils nach einem Reset könnte man sich für die weiteren Reset (nach dem ersten Reset) sparen und durch eine entsprechende Abfrageroutine ersetzen, was durch die gestrichelte Linie angedeutet wird.The automatic setting of the second criterion to the value (B2) provided in FIG. 5 after each reset could be saved for the further reset (after the first reset) and replaced by a corresponding query routine, which is indicated by the dashed line .
Wenn der „kontaktlose ATR" gesendet wurde, hat die Versorgungsspannung einen stabilen Zustand oberhalb der Schwelle erreicht. Die nun erfolgende kurzzeitige Änderung des 1. Kriteriums von (Bl) nach (AI) ist ein notwendiges Merkmal für das weiter unten beschriebene zweite kontaktbehaftete Verwendungsszenano der Karte. Im weiteren kontaktlosen Datenaustausch wird jeweils nach Empfang eines vollständigen Datenstrings, was durch ein „End of Text -Signal" angezeigt wird, der Wert des 1. Kriteriums auf (Bl) gesetzt. Zu diesem Zeitpunkt ist klar, daß die Karte kontaklos betrieben wird. Damit ist sichergestellt, daß auch, wenn im Verlauf eines bereits etablierten kontaktlosen Datenaustausches ein temporärer Spannungseinbruch auftritt, automatisch immer der „kontaktlose Prograrnmverzweigungspfad" eingeschlagen wird. Die Karte ist somit, wie gewünscht, während dieser Zeit irnmmer auf kontaktlos eingestellt.When the "contactless ATR" has been sent, the supply voltage has reached a stable state above the threshold. The brief change of the 1st criterion from (Bl) to (AI) which is now taking place is a necessary feature for the second contact-related use scenario described below Map. In further contactless data exchange, the value of the 1st criterion is set to (B1) after receipt of a complete data string, which is indicated by an "End of Text signal". At this point in time it is clear that the card is operated without contact. This ensures that even if a temporary voltage drop occurs in the course of an already established contactless data exchange, the “contactless program branching path” is always taken automatically. The card is therefore, as desired, always set to contactless during this time.
Nun soll der Verfahrensablauf für die Eingabe einer für das erfindungsgemäße Verfahren ausgelegten Karte in ein kontaktbehaftetes Terminal, d.h. der Fall, daß der Benutzer seine Karte kontaktbehaftet nutzen möchte, beschrieben werden.Now the procedure for entering a card designed for the method according to the invention into a contact terminal, i.e. the case that the user would like to use his card with contact be described.
Nach Eingabe der Karte in das kontaktbehaftete Terminal wird der Card-In-Schalter betätigt, die Versorgungsspannung eingeschaltet und dann ein Reset vom Terminal an die Karte gesendet. Erfindungsgemäß überprüft nun der Mikroprozessor den Wert des 1. Kriteriums (Protokollmuster). Da der Wert des 1. Kriteriums zu diesem Zeitpunkt noch unbestimmt ist, überprüft der Mikroprozessor nun programmgemäß den Wert des 2. Kriteriums.After entering the card in the terminal with contacts, the card-in switch is actuated, the supply voltage is switched on and then a reset is sent from the terminal to the card. According to the invention, the microprocessor now checks the value of the 1st criterion (protocol pattern). Since the value of the 1st criterion is still undetermined at this point in time, the microprocessor now checks the value of the 2nd criterion according to the program.
Wenn die Überprüfung des 2. Kriteriums ergeben hat, daß dieses den Wert (A2) hat, so schlägt der Mikroprozessor den „kontaktbehafteten Prograrnmverzweigungspfad" ein und setzt den Wert des 1. Kriteriums programmgemäß auf (Bl). Danach sendet der Mikroprozessor in korrekter Weise den „kontaktbehafteten ATR". Die kontaktbehaftete Kommunikation ist somit etabliert.If the check of the second criterion has shown that it has the value (A2), the microprocessor takes the "contact-related program branch path" and sets the value of the first criterion according to the program (B1). The microprocessor then sends in the correct manner the "contact ATR". Contact-based communication is thus established.
Wenn nun die Karte im kontakbehafteten Terminal auch einen zweiten Reset erhält, was aus bestimmten Gründen nicht ausgeschlossen werden kann, dann schlägt der Mikroprozessor nach dem Reset den „kontaktlosen Prograrnmverzweigungspfad" ein, da der Wert des 1. Kriteriums mittlerweile gleich (Bl) ist. Um in diesem Fall wieder in den „kontaktbehafteten Prograrnmverzweigungspfad" zurückkehren zu können, wird wie bereits vorstehend 14 angesprochen, der Wert des 1.Kriteriums im „kontaktlosen Prograrnmverzweigungspfad" nach dem Senden des „kontaktlosen ATR" von (Bl) auf (AI) geändert. Dieser Umschaltpunkt wird immer sicher erreicht, da die Spannungsversorgung der Karte im köntaktbehafteten Terminal stabil ist.If the card in the terminal with contact is now also given a second reset, which cannot be ruled out for certain reasons, the microprocessor then follows the "contactless program branch path" after the reset, since the value of the 1st criterion is now the same (B1). In order to be able to return to the “contact-related program branching path” in this case, the procedure is as above 14 addressed, the value of the 1st criterion in the "contactless program branch path" changed after sending the "contactless ATR" from (Bl) to (AI). This switchover point is always reached safely, since the voltage supply to the card in the terminal with contacts is stable.
Mit Patentanspruch 9) wird Schutz für eine erfindungsgemäß programmierte Karte beantragt. Claim 9) requests protection for a card programmed according to the invention.

Claims

Patentansprücheclaims
1 ) Verfahren zur Steuerung der Kommunikation zwischen einer Mikroprozessor-Chipkarte und einem kontaktbehaftet arbeitenden Terminal oder einem kontaktlos arbeitenden Terminal, wobei die Mikroprozessor-Chipkarte1) Method for controlling the communication between a microprocessor chip card and a contact terminal or a contactless terminal, the microprocessor chip card
- sowohl elektrische Kontaktflächen für eine kontaktbehaftete Energieversorgung und einen kontaktbehafteten Datenaustausch mit einem entsprechenden kontaktbehaftet arbeitenden Terminal aufweist, wobei über eine der Köntaktflächen, die mit einem entsprechenden Eingang des Mikroprozessors verbunden ist, vom Terminal eine Gleichspannung zur Spannungsversorgung des Mikroprozessors geliefert wird, und über eine der Kontaktflächen, die mit einem entsprechenden Daten-Eingang/ Ausgang des Mikroprozessors verbunden ist, der Datenaustausch mit dem Terminal durchgeführt wird,- Has both electrical contact surfaces for a contact-based energy supply and a contact-based data exchange with a corresponding contact-based terminal, whereby via one of the contact surfaces, which is connected to a corresponding input of the microprocessor, the terminal supplies a DC voltage for the voltage supply of the microprocessor, and via a the contact areas, which are connected to a corresponding data input / output of the microprocessor, the data exchange is carried out with the terminal,
- als auch mindestens eine Spule als Antenne für eine kontaktlose Energieversorgung und einen kontaktlosen Datenaustausch mit einem entsprechenden kontaktlos arbeitenden Terminal aufweist, wobei ein mit der Spule verbundenes Antennen-Interface vorgesehen ist, das aus einer in der Spule induzierten Wechselspannung eine Gleichspannung zur Spannungsversorgung des Mikroprozessors erzeugt, und daß diese Gleichspannung an einen entsprechenden Eingang des Mikroprozessor geführt ist, und das Antennen- Interface als Signalumformer für die zwischen dem kontaktlos arbeitenden Terminal und dem Mikroprozessor auszutauschenden Daten dient, wofür das Antennen-Interface mit einem entsprechenden Daten-Eingang/ Ausgang des Mikroprozessors verbunden ist, wobei der Mikroprozessor zur Durchführung der kontaktbehafteten und des kontaktlosen Betriebsweise entsprechend eines kontaktbehafteten und kontaktlosen Datenübertragungs- Protokolls programmiert ist,- Also has at least one coil as an antenna for a contactless power supply and a contactless data exchange with a corresponding contactless terminal, wherein an antenna interface connected to the coil is provided which, from an AC voltage induced in the coil, produces a DC voltage for the voltage supply to the microprocessor generated, and that this DC voltage is fed to a corresponding input of the microprocessor, and the antenna interface serves as a signal converter for the data to be exchanged between the contactless terminal and the microprocessor, for which the antenna interface with a corresponding data input / output of Is connected to the microprocessor, the microprocessor being programmed to carry out the contact-based and the contactless mode of operation in accordance with a contact-based and contactless data transmission protocol,
dadurch gekennzeichnet daßcharacterized in that
der Mikroprozessor so programmiert ist, daß dieser nach dem Vorliegen einer für seinen Betrieb ausreichenden Versorgungsspannung und jeweils nach einem Reset programmgemäß eine Überprüfung mindestens eines in einem Speicher des Mikroprozessorbausteins gespeicherten Kriteriums (Protokoll-Selektions-Information) durchgeführt und in Abhängigkeit vom Ergebnis dieser Überprüfung die Kommunikation gemäß des kontaktbehafteten oder des kontaktlosen Datenübertraguungsprotokolls aktiviert wird. 2) Verfahren nach Anspruch 1 ,the microprocessor is programmed in such a way that after a supply voltage sufficient for its operation and after a reset, according to the program, at least one criterion (protocol selection information) stored in a memory of the microprocessor module is carried out and, depending on the result of this check, the Communication is activated according to the contact-based or the contactless data transmission protocol. 2) Method according to claim 1,
dadurch gekennzeichnet, daß ein Kriterium vorgesehen ist, das zwei Werte (A oder B) annehmen kann, wobei,characterized in that a criterion is provided which can take two values (A or B),
- wenn die Überprüfung ergibt, daß das Kriterium den Wert (A) hat, der Mikroprozessor einen „kontaktbehafteten Prograrnmverzweigungspfad" einschlägt und den Wert des Kriteriums durch einen Schreibvorgang im Speicher von (A) nach (B) ändert, und danach den „kontaktbehafteten Answer-To-Reset" sendet,- If the check shows that the criterion has the value (A), the microprocessor embarks on a "contact-type program branch path" and changes the value of the criterion by a write operation in the memory from (A) to (B), and then the "contact-based Answer -To-Reset "sends,
- wenn die Überprüfung ergibt, daß das Kriterium den Wert (B) hat, der Mikroprozessor einen „kontaktlosen Prograrnmverzweigungspfad" einschlägt und den Wert des Kriteriums durch einen Schreibvorgang im Speicher von (B) nach (A) ändert und danach den „kontaktlosen Answer-To-Reset" sendet.if the check shows that the criterion has the value (B), the microprocessor embarks on a "contactless program branch path" and changes the value of the criterion by a write operation in the memory from (B) to (A) and then the "contactless answer" To-Reset "sends.
3) Verfahren nach Anspruch 2, dadurch gekennzeichnet, daß das Kriterium im nichtflüchtigen Speicher (EEPROM) des Mikroprozessorbausteins gespeichert ist.3) Method according to claim 2, characterized in that the criterion is stored in the non-volatile memory (EEPROM) of the microprocessor module.
4) Verfahren nach Anspruch 2, dadurch gekennzeichnet, daß das Kriterium im flüchtigen Speicher (RAM) des Mikroprozessorbausteins gespeichert ist. 4) Method according to claim 2, characterized in that the criterion is stored in the volatile memory (RAM) of the microprocessor module.
1717
5) Verfahren nach Anspruch 1, dadurch gekennzeichnet, daß5) Method according to claim 1, characterized in that
ein erstes Kriterium (Protokoll-Muster) vorgesehen ist, das zwei definierte Werte (AI oder Bl) oder einen Undefinierten Wert annehmen kann, und ein zweites Kriterium (Startbit) vorgesehen ist, das zwei definierte Werte (A2 oder B2) annehmen kann, wobei,a first criterion (protocol pattern) is provided, which can assume two defined values (AI or B1) or an undefined value, and a second criterion (start bit) is provided, which can assume two defined values (A2 or B2), whereby ,
- wenn die Überprüfung des ersten Kriteriums ergibt, daß dieses Kriterium einen Undefinierten Wert hat, der Mikroprozessor progammgemäß eine Überprüfung des zweiten Kriteriums durchführt, wobei dann, wenn das zweite Kriterium den Wert (A2) hat, der Mikroprozessor a) einen „kontaktbehafteten Prograrnmverzweigungspfad" einschlägt, und b) den Wert des ersten Kriteriums durch einen Schreibvorgang im Speicher auf (Bl) setzt, und danach c) den „kontaktbehafteten Answer-To-Reset" sendet,if the check of the first criterion shows that this criterion has an undefined value, the microprocessor carries out a check of the second criterion according to the program, and if the second criterion has the value (A2), the microprocessor a) has a "contact-related program branch path" and b) sets the value of the first criterion to (B1) by means of a write operation in the memory, and then c) sends the “contact-based answer-to-reset”,
- wenn die Überprüfung des ersten Kriteriums ergibt, daß dieses Kriterium den Wert (AI) hat, der Mikroprozessor den a) „kontaktbehafteten Prograrnmverzweigungspfad" einschlägt, und b) den Wert des ersten Kriteriums durch einen Schreibvorgang im Speicher von (AI) nach (Bl) ändert, und danach c) den „kontaktbehafteten Answer-To-Reset" sendet,- If the check of the first criterion shows that this criterion has the value (AI), the microprocessor embarks on the a) "contact-dependent program branch path", and b) the value of the first criterion by a write operation in the memory from (AI) according to (Bl ) changes, and then c) sends the "contact-based answer-to-reset",
- wenn die Überprüfung des ersten Kriteriums ergibt, daß dieses Kriterium den Wert (Bl) hat, der Mikroprozessor a) den „kontaktlosen Prograrnmverzweigungspfad" einschlägt, und b) den „kontaktlosen Answer-To-Reset" sendet, und unmittelbar danach c) den Wert des ersten Kriteriums durch einen Schreibvorgang im Speicher von (Bl) nach (AI) ändert. 6) Verfahren nach Anspruch 5, dadurch gekennzeichnet, daß der Mikroprozessor der Chipkarte in der „kontaktlosen Programmverzweigung" nach Empfang von zumindest einem vollständigen Datenstring den Wert des ersten Kriteriums durch einen Schreibvorgang im Speicher von (AI) nach (Bl) ändert.- If the check of the first criterion shows that this criterion has the value (B1), the microprocessor a) embarks on the "contactless program branch path" and b) sends the "contactless answer-to-reset", and immediately thereafter c) the The value of the first criterion changes from (B1) to (AI) by a write operation in the memory. 6) Method according to claim 5, characterized in that the microprocessor of the chip card in the "contactless program branch" changes after receiving at least one complete data string, the value of the first criterion by a write operation in the memory from (AI) to (B1).
7) Verfahren nach Anspruch 5 oder 6, dadurch gekennzeichnet, daß das 1. Kriterium (Protokoll-Muster) im flüchtigen Speicher (RAM) des Mikroprozessor- Bausteins gespeichert wird.7) Method according to claim 5 or 6, characterized in that the first criterion (protocol pattern) is stored in the volatile memory (RAM) of the microprocessor module.
8) Verfahren nach einem der Ansprüche 5 bis 7, dadurch gekennzeichnet, daß das 2. Kriterium (Starbit) im nichtflüchtigen Speicher (EEPROM) des Mikroprozessor- Bausteins gespeichert wird.8) Method according to one of claims 5 to 7, characterized in that the second criterion (star bit) is stored in the non-volatile memory (EEPROM) of the microprocessor module.
9) Mikroprozessor-Chipkarte zur Durchführung des Verfahrens gemäß Anspruch 1, dadurch gekennzeichnet, daß dieselbe in einem Speicher des Mikroprozessor-Bausteins mindestens ein Protokoll- Selektions-Kriterium gespeichert hat, und der Mikroprozessor so programmiert ist, daß dieser nach dem Vorliegen einer für seinen Betrieb ausreichenden Versorgungsspannung und jeweils nach einem Reset programmgemäß eine Überprüfung dieses Kriteriums durchführt und in Abhängigkeit vom Ergebnis dieser Überprüfung die Kommunikation gemäß des kontaktbehafteten oder des kontaktlosen Datenübertragungs-Protokolls aktiviert. 9) microprocessor chip card for carrying out the method according to claim 1, characterized in that the same has stored at least one protocol selection criterion in a memory of the microprocessor module, and the microprocessor is programmed so that it is one for his Operation sufficient supply voltage and each time after a reset carries out a check of this criterion according to the program and, depending on the result of this check, the communication is activated according to the contact-based or the contactless data transmission protocol.
EP99929035A 1998-05-07 1999-04-28 Method for controlling communication between a microprocessor chip card and a contact terminal or a contactless terminal Withdrawn EP0993647A1 (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
DE19820329 1998-05-07
DE19820329 1998-05-07
DE19834079A DE19834079A1 (en) 1998-02-21 1998-07-29 Communication between smart card and contact or non contact terminal
DE19834079 1998-07-29
PCT/DE1999/001247 WO1999059098A1 (en) 1998-05-07 1999-04-28 Method for controlling communication between a microprocessor chip card and a contact terminal or a contactless terminal

Publications (1)

Publication Number Publication Date
EP0993647A1 true EP0993647A1 (en) 2000-04-19

Family

ID=26046004

Family Applications (1)

Application Number Title Priority Date Filing Date
EP99929035A Withdrawn EP0993647A1 (en) 1998-05-07 1999-04-28 Method for controlling communication between a microprocessor chip card and a contact terminal or a contactless terminal

Country Status (2)

Country Link
EP (1) EP0993647A1 (en)
WO (1) WO1999059098A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10311123A1 (en) * 2003-03-12 2004-09-23 Giesecke & Devrient Gmbh Method for handling portable data carrier usable as electronic entry card, involves first interface with first data protocol for public network and second interface with second data protocol for testing purposes
EP1496468A1 (en) * 2003-07-11 2005-01-12 Axalto S.A. Procedure for the memory management in a portable carrier capable for mixed-type connections
US7237719B2 (en) 2003-09-03 2007-07-03 Stmicroelectronics, Inc. Method and apparatus for a USB and contactless smart card device
JP4617683B2 (en) * 2004-02-24 2011-01-26 ソニー株式会社 Semiconductor integrated circuit, portable module, and message communication method.
DE102004053475B4 (en) * 2004-11-05 2009-03-19 Hilberg, Wolfgang, Prof. Dr.-Ing. Digital universal chip card

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3935364C1 (en) * 1989-10-24 1990-08-23 Angewandte Digital Elektronik Gmbh, 2051 Brunstorf, De
DE4310334A1 (en) * 1993-03-31 1994-10-06 Walter Holzer Chip (smart) card with which contact is made
EP1376460B1 (en) * 1995-06-02 2008-04-09 Nxp B.V. Chip card
IL119943A (en) * 1996-12-31 2000-11-21 On Track Innovations Ltd Contact/contactless data transaction card

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO9959098A1 *

Also Published As

Publication number Publication date
WO1999059098A1 (en) 1999-11-18

Similar Documents

Publication Publication Date Title
DE60225093T2 (en) Power-on reset circuit for a smart card
EP0583690B1 (en) Chip card with field intensity detector
DE2837201C2 (en)
DE60133755T2 (en) CONTACTLESS COMMUNICATION MEDIUM AND SYSTEM
DE69926286T2 (en) Card reader / writer and communication method
DE60308113T2 (en) RFID tag with tuning circuit
EP2092458B1 (en) Portable data carrier
DE69532637T2 (en) System with contactless chip card
EP0846307B1 (en) Chip card
DE69223381T2 (en) CONTACTLESS IC CARD
DE10317289A1 (en) Integrated circuit with multiple communication modes and associated operating procedure
DE69923352T2 (en) METHOD AND DEVICE FOR COMPUTER CODE UPDATE USING AN INTERFACE TO INTEGRATED CIRCUIT
WO1997029454A1 (en) Device for processing and storage of data
EP0815530B1 (en) Method and device for adapting a chip card to different card terminals
DE69836410T2 (en) HYBRID DATA CARRIER AND SWITCHING WITH IMPROVED SWITCHING MODE
DE60223407T2 (en) COMMUNICATION STATION TO THE TRANSPONDER INVENTORY THROUGH SELECTABLE STORAGE AREAS OF THE TRANSPONDER
DE60307318T2 (en) METHOD FOR RECOGNIZING A GROUP ASSIGNMENT OF TRANSPONDER
DE69800294T2 (en) Communication interface with an IC card and device with such an interface
WO1999042952A1 (en) Data carrier for contactless and contacted operation
EP0993647A1 (en) Method for controlling communication between a microprocessor chip card and a contact terminal or a contactless terminal
DE69614812T2 (en) Procedure for managing concurrent access and device for performing this procedure
DE19834079A1 (en) Communication between smart card and contact or non contact terminal
EP1604329B1 (en) Chip card
EP0971305B1 (en) Method and device for communication control between a terminal and a plurality of chip cards
DE102008040453B4 (en) Non-contact communication device and method for contactless communication

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20000127

AK Designated contracting states

Kind code of ref document: A1

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

RAP1 Party data changed (applicant data changed or rights of an application transferred)

Owner name: SAGEM ORGA GMBH

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN WITHDRAWN

18W Application withdrawn

Effective date: 20060807