Method and apparatus for interfacing smart cards with terminals

Abstract: The present invention relates to a method and to an apparatus for interfacing smart cards with any terminal. The memory capacity and the features of smart cards are increasing exponentially. Therefore a terminal with a card reader designed today will hardly be able to follow future evolution of smart cards. The invention uses a process which allows efficient use of the smart card capacities by actual terminals. This process is based on the following architecture: A terminal equipped with a display, a pointing device (e.g. a keyboard), a smart card reader and a smart card are combined together. The terminal must have the following capacities which are quite normal: to display a list of action which will be described in ASCII characters; to select actions; to enter key sequences; to display messages and clear them afterwards. A communication protocol between the smart card and the terminal is implemented in the terminal comprising special commands.

Description: The present invention relates to a method and to a system for interfacing smart cards with any terminal. Background The use of smart card devices is growing quickly. The memory capacity and the features of such smart cards, like those of other electronic components, are increasing exponentially. Therefore a terminal with a card reader designed today will hardly be able to follow future evolution of smart cards. Invention It is an object of the present invention to disclose a method of using different smart cards with any terminal. The method of the invention is defined in claim 1. Advantageous additional embodiments of the inventive method are described in subclaims 2 to 4. It is a further object of the present invention to disclose a system for the inventive method. The system of the invention is defined in claim 5. The invention uses a process which allows efficient use of the smart card capacities by actual terminals. This process is based on the following architecture: A terminal equipped with a display, a pointing device (e.g. a keyboard), a smart card reader and a smart card which is likely to be changed in future are combined together. The terminal must have the following capacities which are quite normal: to display a list of actions which will be described in ASCII characters; to select actions; to enter key sequences; to display messages and clear them afterwards. A communication protocol between the smart card and the terminal is implemented in the terminal comprising the following commands: a) issued by the smart card SEND ACTION LIST: the smart card sends to the terminal a list of actions; SEND KEY SEQUENCE: asks the terminal to request the user to enter an information; DISPLAY MESSAGE: requires the terminal to display a message; DISPLAY ERASABLE MESSAGE: like command DISPLAY MESSAGE but the user will initiate the message clearing. b) issued by the terminal: ACTION LIST REQUEST: the terminal asks the smart card to send a list of actions; ACTION SELECTED: the terminal returns to the smart card data of the action selected by the user; KEY SEQUENCE: the terminal sends to the smart card a key sequence; END OF CLEAR: the terminal informs the smart card that the command DISPLAY ERASABLE MESSAGE and/or a command CLEAR SCREEN have been finished. The above mentioned command names are examples and may be changed. The function of these commands is essential. Drawing Preferred embodiments of the invention will now be described with reference to the accompanying drawing, in which: Fig. 1 shows a terminal combined with a smart card read er. Preferred embodiments A terminal 1 is equipped with display means 2, one or more pointing devices 3 such as e.g. keyboard or mouse, a smart card reader 4 and a smart card 5. The terminal 1 may be equipped with a specific user interface based on different policies, for instance displaying pop-up menus or drawing keys on a touch sensitive display. All these user interfaces have the above mentioned capacities. A communication protocol between the smart card and the terminal comprising the following or additional commands is implemented in the terminals: a) issued by the card: SEND ACTION LIST: the smart card will send to the terminal a list of actions. Each action will be constituted by a number identifying the action, a length byte and the name of the action written in ASCII characters. In answer to that message the terminal will display the list of actions and wait until the user has selected one. After that it will send the command ACTION SELECTED. SEND KEY SEQUENCE: asks the terminal to request the user to enter an information. The parameters are e.g. the number of expected characters, masks for the permitted characters (for instance only 0-9), some texts to be displayed in order to explain something to the user. DISPLAY MESSAGE: requires the terminal to display a message and waits for the next action performed by the smart card. DISPLAY ERASABLE MESSAGE: Identical to DISPLAY MESSAGE but the user will initiate the message clearing. CLEAR SCREEN: the whole display shall be cleared. END OF SESSION: b) issued by the terminal: ACTION LIST REQUEST: the terminal will ask the smart card to send a list of possible actions. ACTION SELECTED: the terminal will return to the smart card a number identifying the action selected by the user. KEY SEQUENCE: the terminal will send to the smart card a key sequence. END OF CLEAR: the terminal will inform the smart card that the actions DISPLAY ERASABLE MESSAGE and/or CLEAR SCREEN have been finished. By using this protocol any smart card emulating the protocol will be able to interface itself with any terminal emulating the same protocol whatever its user interface is. Advantageously the smart card will be able to perform through the terminal actions which were not defined when the terminal was created. The terminal will follow technological progresses of smart cards. Advantageously terminals with different user interfaces may use the same smart card. That can be useful in case of terminals belonging to different services but sharing the same smart card, for instance in PAY TV where each program provider has its own personalized decoder but is able to use the smart cards of the other providers, or for GIE ("Groupement d'interêt économique") like in banking. Advantageously the protocol also allows delivering of different type of cards being able to perform more or different actions (something similar to the CB VISA and the PREMIER CB).

Claims: A method for interfacing smart cards with terminals, whereby a smart cart (5) is connected by a smart card reader (4) to a terminal (1) and whereby said terminal is provided with display means(2) and with at least one pointing device (3), said method comprising the following steps: first, said terminal (1) sends to said smart card (5) first data which cause said smart card to send a list of different actions to said terminal (1); in reply to said first data said smart card (5) sends to said terminal (1) second data containing said list of said actions; in reply to said second data said terminal (1) sends to said smart card (5) third data identifying an action selected by a user from said list in said second data; said smart card (5) sends to said terminal (1) fourth data which request said user to enter an information using said pointing device (3); said terminal (1) sends to said smart card (5) fifth data identifying a key sequence entered by the user; said smart card (5) sends to said terminal (1) sixth data identifying a message to be displayed on said display means and commanding said terminal to wait for the next action performed by said smart card, or sends to said terminal (1) seventh data identifying a message to be displayed on said display means and commanding said terminal to wait for the clearing of said message by said user; said terminal (1) sends to said smart card (5) eigth data identifying that said user has cleared said message and/or said whole display means (2); said smart card (5) sends to said terminal (1) ninth data which cause said terminal to clear said display means (2); said smart card (5) sends to said terminal (1) tenth data identifying the end of the session. The method according to claim 1, characterized in that said second data contain numbers identifying said different actions, a byte identifying the length of each of said actions and ASCII characters identifying the name of each of said actions. The method according to claim 1 or 2, characterized in that said fourth data contain numbers of expected characters and/or masks of permitted characters and/or messages which explain something to said user. The method according to anyone of claims 1 to 3 , characterized in that said third data contain a number identifying the kind of said action selected by said user. A system for applying the method of any of claims 1 to 4, said system comprising a terminal (1), display means (2), one or more pointing devices (3), a card reader (4) and a smart card (5), characterised in that said terminal having means for sending the following commands to said smart card: first data which cause said smart card to send a list of different actions to said terminal (1); third data identifying an action selected by a user from said list in said second data; fifth data identifying a key sequence entered by the user; eighth data identifying that said user has cleared said message and/or the whole of said display means (2); and said smart card having means for sending the following commands to said terminal: second data containing said list of said actions; fourth data which request said user to enter an information using said pointing device (3); sixth data identifying a message to be displayed on said display means and commanding said terminal to wait for the next action performed by said smart card; seventh data identifying a message to be displayed on said display means and commanding said terminal to wait for the clearing of said message by said user; ninth data which cause said terminal to clear said display means (2); tenth data identifying the end of a session; said terminal having means for receiving and executing said commands from said smart card, and said smart card having means for receiving and executing said commands from said terminal.

Inventors: DIEHL ERIC ING, DIEHL, ERIC, ING.
Applicants: THOMSON MULTIMEDIA SA, THOMSON MULTIMEDIA
Application year: 1991
Main classification: G06K19
IPC codes: G06K17, G06K7, G06K19, G07F7