# Patent

## Title
Method for transferring securely the subscription information and user data from a first terminal to a second terminal

## Abstract

The present invention concerns a method for transferring securely the subscription information and user data from a first terminal to a second terminal, the terminals respectively containing a first and a second UICC. According to the invention, the method consists in:

    
    
        i—transmitting an identifier of the second terminal to the first terminal;
        ii—transmitting from the first terminal to a secure vault the identifier of the second terminal and an identifier of the first UICC;
        iii—transmitting from the secure vault to the first terminal a subscription installation public key of the second terminal;
        iv—in the first UICC, packaging and encrypting the subscription information and user data with the subscription public installation key of the second terminal;
        v—transmitting the package to the second UICC of the second terminal;
        vi—installing the package on the second UICC.

## Background
This disclosure is a national phase of PCT/EP2011/071737, filed Dec. 5, 2011, a continuation-in-part of U.S. application Ser. No. 13/312,309, filed Dec. 6, 2011, and claims priority to European Application No. 10306359.0, filed Dec. 6, 2010, the disclosures of which are hereby incorporated by reference.


The present invention concerns a method for transferring securely the subscription information and user data from a first terminal to a second terminal.
Subscription information and user data of a user are, in the telecommunication domain, stored in a secure element called UICC (Universal Integrated Circuit Card). A UICC embeds a Sim application and is installed, fixedly or not, in terminals, like for example mobile phones. In some cases, the terminals are constituted by machines that communicate with other machines for M2M (Machine to Machine) applications.
A UICC can be in the format of a smart card, or may be in any other format such as for example but not limited to a packaged chip as described in PCT/SE2008/050380, or any other format. It can be used in mobile terminals in GSM and UMTS networks for instance. The UICC ensures network authentication, integrity and security of all kinds of personal data.
In a GSM network, the UICC contains mainly a SIM application and in a UMTS network it is the USIM application. A UICC may contain several other applications, making it possible for the same smart card to give access to both GSM and UMTS networks, and also provide storage of a phone book and other applications. It is also possible to access a GSM network using an USIM application and it is possible to access UMTS networks using a SIM application with mobile terminals prepared for this. With the UMTS release 5 and later stage network like LTE, a new application, the IP multimedia Services Identity Module (ISIM) is required for services in the IMS (IP Multimedia Subsystem). The telephone book is a separate application and not part of either subscription information module.
In a CDMA network, the UICC contains a CSIM application, in addition to 3GPP USIM and SIM applications. A card with all three features is called a removable user identity card, or R-UIM. Thus, the R-UIM card can be inserted into CDMA, GSM, or UMTS handsets, and will work in all three cases.
In 2G networks, the SIM card and SIM application were bound together, so that “SIM card” could mean the physical card, or any physical card with the SIM application.
The UICC smart card consists of a CPU, ROM, RAM, EEPROM and I/O circuits. Early versions consisted of the whole full-size (85×54 mm, ISO/IEC 7810 ID-1) smart card.
Since the card slot is standardized, a subscriber can easily move his wireless account and phone number from one handset to another. This will also transfer their phone book and text messages. Similarly, usually a subscriber can change carriers by inserting a new carrier's UICC card into their existing handset. However, it is not always possible because some carriers (e.g. in U.S.) SIM-LOCK the phones that they sell, thus preventing competitor carriers' cards being used.
The integration of the ETSI framework and the Application management framework of Global Platform is standardized in the UICC configuration.
UICCs are standardized by 3GPP and ETSI.
A UICC can normally be removed from a mobile terminal, for example when the user wants to change his mobile terminal. After having inserted his UICC in his new terminal, the user will still have access to his applications, contacts and credentials (network operator).
It is also known to solder or weld the UICC in a terminal, in order to get it dependent of this terminal. This is done in M2M (Machine to Machine) applications. The same objective is reached when a chip (a secure element) containing the SIM or USIM applications and files is contained in the terminal. The chip is for example soldered to the mother-board of the terminal or machine and constitutes an e-UICC.
A parallel can be done between e-UICCs and UICCs that are not totally linked to devices but that are removable with difficulty because they are not intended to be removed, located in terminals that are distant or deeply integrated in machines. A special form factor of the UICC (very small for example and therefore not easy to handle) can also be a reason to consider it as in fact integrated in a terminal. The same applies when a UICC is integrated in a machine that is not intended to be opened.
In the next description, welded UICCs or chips containing or designed to contain the same applications than UICCs will generally be called embedded UICCs or embedded secure elements (in contrast to removable UICCs or removable secure elements). This will also apply to UICCs or secure elements that are removable with difficulty.
The present invention concerns a method for transferring a subscription between terminals with embedded secure elements (embedded UICCs) storing subscription information over NFC.
In the future, when there will be soft SIMs or embedded SIMs inside terminals, it will be necessary to transfer securely the subscription information (IMSI, Ki, Opc, user data like the phonebook, etc) from one terminal to another (for example by touching them together), in order to avoid reprovisioning the IMSI, Ki, Opc over-the-air into the new terminal using remote personalisation.
Today, if a user wants to change his mobile terminal, he can simply extract the UICC card from his old terminal to insert it in the new one. But this is not possible if the new one does not have a slot for inserting the Sim card (i.e. has an embedded UICC) or if the format of the UICC does not fit to the new terminal. The same problem occurs if the old terminal contains an embedded secure element: the Sim application cannot be extracted manually.


The present invention proposes to solve this problem.
The present invention concerns a method for transferring securely the subscription information and user data from a first terminal to a second terminal, the terminals respectively containing a first and a second UICC. According to the invention, the method consists in:
i—transmitting an identifier of the second terminal to the first terminal;
ii—transmitting from the first terminal to a secure vault the identifier of the second terminal and an identifier of the first UICC;
iii—transmitting from the secure vault to the first terminal a subscription installation public key of the second terminal;
iv—in the first UICC, packaging and encrypting the subscription information and user data with the subscription public installation key of the second terminal;
v—transmitting the package to the second UICC of the second terminal;
vi—installing the package on the second UICC.
Steps i and v are preferably executed over NFC.
The invention preferably applies to embedded UICCs (non removable).
The following description is a use case where subscription information and user data are transmitted over NFC from a first to a second terminal.
If for example, a user has a terminal X (first terminal) and wants to upgrade to a terminal Y (second terminal), the flow would be as follows:

    
    
        Device X is touched against Device Y. A menu appears on Device X presenting the user a set of options, one of which is “transfer subscription”.
        Device Y receives a pop-up on the user interface confirming if a new subscription should be installed. This must be approved. Device Y returns its IMEI to Device X over NFC.
        Device X sends its IMSI together with Device Y's IMEI over the radio network to a secure vault. The secure vault stores Device Y's subscription installation key which is encrypted and returned to Device X (if authorised).
        Device X then packages, encrypts and signs the IMSI, K, Opc plus user data securely with Device Y's key.
        A notification appears on Device X's screen prompting the user to re-tap the devices to complete the transfer.
        Device X securely transfers the subscription information to Device Y over NFC and once installed device Y alerts the secure vault of the change (in order to confirm the transaction has taken place).
        Device Y may now access the radio network using the subscription.
    
    


It is also possible to establish a Bluetooth communication between the two terminals or any other channel. Using Bluetooth requires however pairing, exchange of keys etc.
A wifi or Zigbee connexion can also be used. In general, any personal network, wireless area network, short range wired (or not) technology can be used.
The invention allows transfer of subscriptions remotely without passing by an OTA server (only contact with network is needed for authorisation/key exchange/notification of completion of the subscriptions).
In another use case, if Device Y does not have the same profile/capabilities installed as Device X, the secure vault can do a remote personalization of the UICC in Device Y. In this case, it requests Device X to package its profile in its current state (including profile, subscription, keys, user data etc) and upload it to the secure vault. In the case where the two secure elements are not compatible or are different versions, the virtual profile would have to pass through the secure vault and then be transformed for Device Y's different embedded UICC and then repersonalized for the Device Y.

## Claims

1. Method for transferring securely subscription information and user data from a first terminal to a second terminal, said terminals respectively containing a first and a second UICC, said method comprising:
i—transmitting an identifier of said second terminal to said first terminal;
ii—transmitting from said first terminal to a secure vault said identifier of said second terminal and an identifier of said first UICC;
iii—transmitting from said secure vault to said first terminal a subscription installation public key of said second terminal;
iv—in said first UICC, packaging and encrypting said subscription information and user data with said subscription public installation key of said second terminal;
v—transmitting said package to said second UICC of said second terminal; and
vi—installing said package on said second UICC.

2. Method according to claim 1, wherein steps i and v are executed over near field communication (NFC).

3. Method according to claim 1, wherein said UICCs are embedded UICCs.