Information
-
Patent Application
-
20030115371
-
Publication Number
20030115371
-
Date Filed
December 28, 200122 years ago
-
Date Published
June 19, 200321 years ago
-
CPC
-
US Classifications
-
International Classifications
- G06F009/54
- G06F009/00
- G06F015/163
- G06F015/16
Abstract
A method of setting a communication environment between a mobile terminal and a smart card using a layered architecture of a protocol stack is disclosed. The mobile terminal and the smart card are provided with a plurality of applications and a plurality of applications, respectively, and also provided with a transmission layer for receiving and transferring the data and an application layer for processing the data. The answer-to-reset signal which is a response of the smart card comprises an information on the communication environment supported by the smart card, as well as an information contained in the typical answer-to-reset. Therefore, in case of setting the communication environment between the smart card and the mobile terminal, the communication environment very suitable for the relevant application can be dynamically established, so that a stable communication channel can be promptly provided to a user of the mobile terminal employing the smart card. Since the method according to the present invention can provide the communication environment very suitable for the relevant application, it contributes greatly to the activation of the smart card in the mobile communication.
Description
BACKGROUND OF THE INVENTION
[0001] 1. Field of the Invention
[0002] The present invention relates to a method of setting a communication environment between a mobile terminal and a smart card using a layered architecture of a protocol stack, and more particularly, to a method of setting a communication environment between a mobile terminal and a smart card using a layered architecture of a protocol stack to rapidly and stably ensure an optimum data transmission speed adapted to each application when a mobile terminal user uses a multi-applications smart card.
[0003] 2. Background of the Related Art
[0004] Generally, smart cards used in mobile and compact terminals are in charge of storing and processing an important information.
[0005] Typical smart card has limitations in storing and processing aspects of the information, which are inherent functions, because of the hardware restriction. The hardware restriction exerts on enormous influence on the selection of the data communication speed and the communication protocol between the smart card and the mobile terminal.
[0006] In addition, the typical smart card is constructed for a single application because of the above hardware restriction.
[0007] A process of selecting the communication speed and communication protocol in the prior smart card system will now be explained with reference to FIG. 1.
[0008]
FIG. 1 is a schematic view illustrating the process of selecting the communication speed and communication protocol in the prior smart card system.
[0009] As shown in FIG. 1, if a smart card 10 is inserted into a mobile terminal 20, the terminal provides power to the smart card (step S101), and typically sends a reset signal to the smart card. The smart card uses the reset signal to reset itself, or to initiate an internal reset function. After reset, the smart card 10 returns an answer-to-reset (ATR) signal to the terminal (step S102).
[0010] Generally, the ATR signal is a multi-byte signal including basic information concerning the smart card 10 to the terminal 20, the information comprising communication speed, communication protocol, voltage, electric current, data guard time and the like.
[0011] The mobile terminal 20 receiving the ATR signal sends a command of requesting protocol and parameters selection (PPS) to the smart card 10 (step S103), so that it attempts to establish a new communication environment between the smart card 10 and the mobile terminal 20.
[0012] If the new communication environment can be established according to the command of requesting the protocol and parameters selection, the smart card 10 sends a signal responding to the command of requesting the protocol and parameters selection to the mobile terminal 20 (step S104). Meanwhile, if the smart card 10 cannot support the request of the protocol and parameters selection of the mobile terminal 20, the smart card 10 is in wait for a new reset.
[0013] If the smart card 10 selects the relevant protocol and parameters, the mobile terminal 20 sends a command for opening a logical channel to the smart card under the communication environment with the protocol and parameters selected. In other words, the mobile terminal 20 sends a command for requesting the opening of the logical channel (step S105).
[0014] Accordingly, the smart card 10 sends a signal responding to the request of the logical channel opening of the mobile terminal 20 to the mobile terminal 20 (step S1106).
[0015] If the logical channel is established between the smart card 10 and the mobile terminal 20 through the above mentioned process, the mobile terminal 20 sends a command for requesting application selection to the smart card 10 (step S107).
[0016] The smart card 10 selects the application according to the request of the mobile terminal, and sends a signal responding to the request of the application selection to the mobile terminal 20, thereby completing the initial operation of the application selection.
[0017] The process described hereinbefore relates to a general method of selecting the communication speed, the communication protocol, and the application selection relevant to the selected communication protocol in the typical smart card system. In actual practice, however, most typical smart cards are used as a dedicated smart card for only a single application. Therefore, the process of selecting the protocol and parameters is generally omitted.
[0018] In addition, since the mobile terminal and the relevant smart card take into consideration of only the dedicated application between them, a program for transmitting a data and a program for driving the application are realized in not a layered form, but an integrated form.
[0019] The above method cannot support other high speed of communication environment besides the selected communication speed and communication protocol. Furthermore, there is a disadvantage that the above method cannot be designed to use a number of different application programs.
SUMMARY OF THE INVENTION
[0020] Accordingly, the present invention is directed to a method of establishing an optimum communication environment between a smart card and a mobile terminal that substantially obviates one or more problems due to limitations and disadvantages of the related art.
[0021] An object of the present invention is to provide a smart card and a mobile terminal to rapidly and stably establish a communication environment very suitable for each application in a multiple application smart card system.
[0022] Another object of the present invention is to provide a smart card and a mobile terminal, in which an application layer and a transmission layer are embodied in the form of a layered architecture to selectively use a communication speed and a communication protocol very suitable for each application in a multiple application smart card system.
[0023] Still another object of the present invention is to provide a method of establishing an optimum communication environment between a smart card and a mobile terminal in a multiple application smart card system by sending answer-to-reset signal together with an application information of the smart card and an information, such as a communication speed, a communication protocol or the like, for supporting each application.
[0024] To achieve the object and other advantages, the present invention is characterized in that a mobile terminal and a smart card includes a layered architecture of a protocol stack, respectively, and the application layer of the smart card and the mobile terminal includes a plurality of applications capable of being switched to each other, and that the smart card sends an answer-to-reset signal comprising an information on a communication environment, which can be supported by the smart card itself, to the mobile terminal, and the mobile terminal receives and analyzes the answer-to-reset signal to establish the optimum communication environment required by the application of the mobile terminal.
[0025] According to one aspect of the present invention, there is provided a method of setting a communication environment between a mobile terminal and a smart card using a layered architecture of a protocol stack, the system comprising: if the mobile terminal provides power to the smart card, sending an answer-to-reset signal from the smart card to the mobile terminal; determining whether or not the received answer-to-reset signal complies with an answer-to-reset signal pattern required by the mobile terminal; if the received answer-to-reset signal complies with an answer-to-reset signal pattern required by the mobile terminal, analyzing the answer-to-reset signal transferred from the smart card to establish a communication environment very suitable for an application to be used at present; if the optimum communication environment is established, sending a command for requesting to open a logical channel, which is to be used in the application, to the smart card; opening the logical channel in response to the command for requesting to open the logical channel received from the mobile terminal, and sending a signal responding to the command to the mobile terminal; and opening the logical channel to be used in the application to ensure a communication channel between the smart card and the mobile terminal. The answer-to-reset signal transferred from the smart card comprises at least one of a communication speed and a communication protocol, which are supported by the smart cart itself, as well as a voltage, an electric current, and a data protecting range.
[0026] In the determining step, if the received answer-to-reset signal does not comply with an answer-to-reset signal pattern required by the mobile terminal, the method further comprising the steps of: determining whether or not a process of a protocol and parameters selection is executed in the mobile terminal; if the mobile terminal executes the process of the protocol and parameters selection, sending a command for requesting to select the protocol and parameters to the smart card; determining whether the process of the protocol and parameters selection is supported by the smart card, which receives the command for requesting to select the protocol and parameters from the mobile terminal; and if the smart card supports the protocol and parameters selection, sending a signal responding to the command for requesting to select the protocol and parameters to the mobile terminal to ensure the communication channel between the smart card and the mobile terminal.
[0027] If the smart card does not support the protocol and parameter selection, the smart card is converted into a standby state waiting for a reset signal to be received from the mobile terminal.
[0028] The smart card and the mobile terminal comprise a transmission layer for transmitting and receiving a data, and an application layer for processing the data, respectively.
[0029] The application layer of the smart card and the mobile terminal includes a plurality of applications, and the transmission layer of the smart card and the mobile terminal includes a plurality of communication environments capable of supporting the plurality of applications of the application layer.
[0030] The transmission layer and the application layer are independently embodied to each other, so that one application can be supported by a plurality of communication protocols and one communication protocol can support a plurality of applications.
[0031] According to another aspect of the present invention, there is provided a storage medium for executing a method of setting a communication environment between a mobile terminal and a smart card using a layered architecture of a protocol stack, the storage medium capable of being read by a digital processor, and storing a program of commands executed by the digital processor, the program being implemented by types, with the program comprising the steps of: if the terminal provides power to the smart card, sending an answer-to-reset signal from the smart card to the mobile terminal; determining whether or not the received answer-to-reset signal complies with an answer-to-reset signal pattern required by the mobile terminal; if the received answer-to-reset signal complies with an answer-to-reset signal pattern required by the mobile terminal, analyzing the answer-to-reset signal transferred from the smart card to establish a communication environment very suitable for an application to be used at present; if the optimum communication environment is established, sending a command for requesting to open a logical channel, which is to be used in the application, to the smart card; opening the logical channel in response to the command for requesting to open the logical channel received from the mobile terminal, and sending a signal responding to the command to the mobile terminal; and opening the logical channel to be used in the application to ensure a communication channel between the smart card and the mobile terminal.
[0032] It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.
BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principle of the invention. In the drawings:
[0034]
FIG. 1 is a schematic view illustrating the process of selecting the communication speed and communication protocol in a prior smart card system;
[0035]
FIG. 2 is a schematic view illustrating the process of determining a communication speed, a communication protocol and a relevant application between a mobile terminal and a smart card using a layered architecture of a protocol stack according to the present invention; and
[0036]
FIG. 3 is a flowchart of a process of setting an optimum communication environment between the smart card and the mobile terminal according to one preferred embodiment of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0037] The method for setting a communication environment between a mobile terminal and a smart card using a layered architecture of a protocol stack according to one preferred embodiment of the present invention will now be explained with reference to the accompanying drawings.
[0038]
FIG. 2 is a schematic view illustrating the process of determining a communication speed, a communication protocol and a relevant application between a mobile terminal and a smart card using a layered architecture of a protocol stack according to the present invention.
[0039] The smart card 100 and the mobile terminal 200 according to the present invention comprise, as shown in FIG. 2, transmission layers 120 and 220 for transmitting and receiving a data, and application layers 110 and 210 for processing the data, respectively.
[0040] The above construction is characterized by an advantage of maintaining independence between the layers when certain application changes a communication protocol between the smart card 100 supporting multi-applications and the mobile terminal 200.
[0041] Looking through the feature of the operation occurred between the smart card 100 and the mobile terminal 200 with reference to FIG. 2, if a smart card 100 is inserted into a mobile terminal 200, the terminal provides power to the smart card 100 (step S201), and typically sends a reset signal to the smart card.
[0042] If the power is applied from the mobile terminal 200 to the smart card 100, after the smart card 100 uses the reset signal to reset itself, or to initiate an internal reset function. The smart card 100 sends an information on a communication environment, which can be supported by the smart card itself, to the mobile terminal 200 (step S202). In other words, after reset, the smart card 100 returns an answer-to-reset (ATR) signal to the mobile terminal 200.
[0043] The mobile terminal 200 analyzes the ATR signal transferred from the smart card 100, in other words, the information (for example, communication speed, communication protocol, voltage, electric current, data guard time and the like) on the communication environment transferred from the smart card 100 to determine whether the optimum communication environment concerning the relevant application is established or not.
[0044] After the mobile terminal 200 analyzes the communication environment of the smart card 100, the mobile terminal 200 sends a command for requesting to open a logical channel to the smart card 100 to open the logical channel with the smart card 100 (step S203).
[0045] Accordingly, the smart card 100 opens the logical channel of the mobile terminal 200 in response to the command for requesting to open the logical channel received from the mobile terminal 200, and sends a signal responding to the command for requesting to open the logical channel to the mobile terminal 200.
[0046] An application layer 110 of the smart card 100 includes a plurality of applications 111 and 112, and a transmission layer 120 includes a plurality of communication environments 121 and 122 capable of supporting the plurality of applications of the application layer 110. Also, an application layer 210 of the mobile terminal 200 includes a plurality of applications 211 and 212, and a transmission layer 220 includes a plurality of communication environments 221 and 222 capable of supporting the plurality of applications of the application layer 210.
[0047] Unlike the typical smart card system in which one application is operated in only single communication environment, the smart card system according to the present invention can establish a dynamic communication environment between the smart card 100 and the mobile terminal 200, depending upon the selection of the mobile terminal 200.
[0048] The feature of dynamically establishing the communication environment has an advantage of reconstructing the communication environment very suitable for a service to be used for one application.
[0049] For example, during the first application is used at present, if the second application is driven to search a certain position by accessing to a bank using the smart card, it is desirable to select a communication environment employing a T=0 protocol using a small memory capacity, in order to have no an influence on the first application used at present.
[0050] In addition, after accessing to the bank, if the application is no used at present and a data transfer requiring the security such as account transfer is needed, it is desirable to establish a communication environment employing a T=1 protocol supporting a secure messaging.
[0051] The mobile terminal of the present invention analyzes the communication environment information of the smart card, which is transferred with an ATR signal, and selects the communication speed and the communication protocol, so that the communication environment very suitable for the present application can be established by selecting the dynamical communication environment as described above.
[0052] The method of setting the communication environment between the mobile terminal and the smart card employing a layered architecture of a protocol stack according to the present invention will now be explained with reference to FIG. 3.
[0053]
FIG. 3 is a flowchart of a process of setting an optimum communication environment in the smart card and the mobile terminal according to one preferred embodiment of the present invention.
[0054] When a user of the mobile terminal 200 drives the application by use of the smart card 100, the terminal provides power to the smart card.
[0055] According to the power from the mobile terminal 200, the smart card 100 sends an answer-to-reset (ATR) signal to the mobile terminal 200 according to the (step S302). The ATR signal comprises the information on a communication environment (in other words, the communication speed and the communication protocol) supported by the smart cart itself, as well as the information related with voltage, electric current, and data guard time.
[0056] The mobile terminal 200 receiving the ART signal from the smart card 100 determines whether the received ART signal complies with an ART signal pattern required by the mobile terminal 200 (step S303).
[0057] As the result of the above determination, if yes, the mobile terminal analyzes the responding information from the smart card 100 to establish a communication environment very suitable for the application to be used at present (step S309). The information required by the mobile terminal 200 comprises the information on a communication environment (in other words, the communication speed and the communication protocol) supported by the smart cart itself, as well as the information related with voltage, electric current, and data guard time.
[0058] If the optimum communication environment is established, the mobile terminal 200 sends a command for requesting to open a logical channel, which is to be used in the relevant application, to the smart card 100 (step S311).
[0059] The smart card 100 opens the logical channel according to the command for requesting to open the logical channel received from the mobile terminal 200, and sends a signal responding to the command to the mobile terminal 200 (step S312). Accordingly, the mobile terminal 200 opens the logical channel to be used in the relevant application to ensure a communication channel between the smart card 100 and the mobile terminal 200 (step S310).
[0060] In step S303, however, if no, the mobile terminal 200 determines whether a process of a protocol and parameters selection is executed (step S304).
[0061] As the result of the above determination, in case that the mobile terminal 200 executes the process of the protocol and parameters selection, the mobile terminal 200 sends a command for requesting to select the protocol and parameters to the smart card 100 (step S305).
[0062] The smart card 100 receiving the command for requesting to select the protocol and parameters from the mobile terminal 200 determines whether the process of the protocol and parameters selection is supported by the smart card 100 (step S306).
[0063] As the result, if the smart card 100 does not support the protocol and parameters selection, the smart card 100 is converted into a standby state waiting for a reset signal to be received from the mobile terminal 200 (step S308). Otherwise, if the smart card 100 supports the protocol and parameters selection, the smart card 100 sends a response to the command for requesting to select the protocol and parameters to the mobile terminal 200 (step S307).
[0064] Therefore, the mobile terminal 200 can ensure the communication channel.
[0065] If the protocol and parameters selection is not executed in step S304, the process proceeds to step S310. Specifically, the mobile terminal 200 sends the command for requesting to open the logical channel, which is to be used in the relevant application, to the smart card 100 (step S311). The smart card 100 opens the logical channel according to the command for requesting to open the logical channel received from the mobile terminal 200, and sends the signal responding to the command to the mobile terminal 200 (step S312). Accordingly, the mobile terminal 200 opens the logical channel to be used in the relevant application to ensure a communication channel between the smart card 100 and the mobile terminal 200 (step S310).
[0066] As described above, the method according to the present invention can establish the communication environment very suitable for the relevant application between the smart card and the mobile terminal by adopting a new type of answer-to-reset signal, and support the typical communication environment.
[0067] According to the method for setting the communication environment between the smart card and the mobile terminal by use of a layered architecture of protocol stack according to the present invention, the mobile terminal and the smart card are provided with a plurality of applications and a plurality of applications, respectively, and also provided with a transmission layer for receiving and transferring the data and an application layer for processing the data. The answer-to-reset signal which is a response of the smart card comprises an information on the communication environment supported by the smart card, as well as an information contained in the typical answer-to-reset. Therefore, in case of setting the communication environment between the smart card and the mobile terminal, the communication environment very suitable for the relevant application can be dynamically established, so that a stable communication channel can be promptly provided to a user of the mobile terminal employing the smart card.
[0068] In particular, since the method according to the present invention can provide the communication environment very suitable for the relevant application, it contributes greatly to the activation of the smart card in the mobile communication.
[0069] The forgoing embodiment is merely exemplary and is not to be construed as limiting the present invention. The present teachings can be readily applied to other types of apparatuses. The description of the present invention is intended to be illustrative, and not to limit the scope of the claims. Many alternatives, modifications, and variations will be apparent to those skilled in the art.
Claims
- 1. A method of setting a communication environment between a mobile terminal and a smart card using a layered architecture of a protocol stack, the system comprising:
if the terminal provides power to the smart card, sending an answer-to-reset signal from the smart card to the mobile terminal; determining whether or not the received answer-to-reset signal complies with an answer-to-reset signal pattern required by the mobile terminal; if the received answer-to-reset signal complies with an answer-to-reset signal pattern required by the mobile terminal, analyzing the answer-to-reset signal transferred from the smart card to establish a communication environment very suitable for an application to be used at present; if the optimum communication environment is established, sending a command for requesting to open a logical channel, which is to be used in the application, to the smart card; opening the logical channel in response to the command for requesting to open the logical channel received from the mobile terminal, and sending a signal responding to the command to the mobile terminal; and opening the logical channel to be used in the application to secure a communication channel between the smart card and the mobile terminal.
- 2. The method as claimed in claim 1, wherein the answer-to-reset signal transferred from the smart card comprises at least one of a communication speed and a communication protocol, which are supported by the smart cart itself.
- 3. The method as claimed in claim 1, in the determining step, if the received answer-to-reset signal does not comply with an answer-to-reset signal pattern required by the mobile terminal, the method further comprising the steps of:
determining whether or not a process of a protocol and parameters selection is executed in the mobile terminal; if the mobile terminal executes the process of the protocol and parameters selection, sending a command for requesting to select the protocol and parameters to the smart card; determining whether the process of the protocol and parameters selection is supported by the smart card, which receives the command for requesting to select the protocol and parameters from the mobile terminal; and if the smart card supports the protocol and parameters selection, sending a signal responding to the command for requesting to select the protocol and parameters to the mobile terminal to ensure the communication channel between the smart card and the mobile terminal.
- 4. The method as claimed in claim 1, wherein the smart card and the mobile terminal comprise a transmission layer for transmitting and receiving a data, and an application layer for processing the data, respectively.
- 5. The method as claimed in claim 4, wherein the application layer of the smart card and the mobile terminal includes a plurality of applications, and the transmission layer of the smart card and the mobile terminal includes a plurality of communication environments capable of supporting the plurality of applications of the application layer.
- 6. The method as claimed in claim 4 or 5, wherein the transmission layer and the application layer are independently embodied to each other, so that one application is supported by a plurality of communication protocols and one communication protocol supports a plurality of applications.
- 7. A storage medium for executing a method of setting a communication environment between a mobile terminal and a smart card using a layered architecture of a protocol stack, the storage medium capable of being read by a digital processor, and storing a program of commands executed by the digital processor, the program being implemented by types, with the program comprising the steps of:
if the terminal provides power to the smart card, sending an answer-to-reset signal from the smart card to the mobile terminal; determining whether or not the received answer-to-reset signal complies with an answer-to-reset signal pattern required by the mobile terminal; if the received answer-to-reset signal complies with an answer-to-reset signal pattern required by the mobile terminal, analyzing the answer-to-reset signal transferred from the smart card to establish a communication environment very suitable for an application to be used at present; if the optimum communication environment is established, sending a command for requesting to open a logical channel, which is to be used in the application, to the smart card; opening the logical channel in response to the command for requesting to open the logical channel received from the mobile terminal, and sending a signal responding to the command to the mobile terminal; and opening the logical channel to be used in the application to ensure a communication channel between the smart card and the mobile terminal.
Priority Claims (1)
Number |
Date |
Country |
Kind |
2001-76825 |
Dec 2001 |
KR |
|