WO2016169733A1 - System and method for managing logical channels for accessing several virtual profiles in a secure element - Google Patents

System and method for managing logical channels for accessing several virtual profiles in a secure element Download PDF

Info

Publication number
WO2016169733A1
WO2016169733A1 PCT/EP2016/056731 EP2016056731W WO2016169733A1 WO 2016169733 A1 WO2016169733 A1 WO 2016169733A1 EP 2016056731 W EP2016056731 W EP 2016056731W WO 2016169733 A1 WO2016169733 A1 WO 2016169733A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
secure element
virtual profile
host device
profiles
Prior art date
Application number
PCT/EP2016/056731
Other languages
French (fr)
Inventor
Lionel Rozak-Draicchio
Original Assignee
Gemalto Sa
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
Application filed by Gemalto Sa filed Critical Gemalto Sa
Priority to KR1020177030048A priority Critical patent/KR102045662B1/en
Priority to ES16715477T priority patent/ES2770322T3/en
Priority to EP16715477.2A priority patent/EP3286934B1/en
Publication of WO2016169733A1 publication Critical patent/WO2016169733A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/77Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information in smart cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • H04W12/086Access security using security domains
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • H04W12/42Security arrangements using identity modules using virtual identity modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • H04W12/45Security arrangements using identity modules using multiple identity modules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45587Isolation or security of virtual machine instances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/72Subscriber identity

Definitions

  • the present invention relates to methods for managing logical channels for accessing several profiles embedded in a secure element. It relates particularly to methods of managing several active profiles in a secure element.
  • a secure element is either a tamper-resistant physical component able to store data and to provide services in a secure manner or a software component providing a trusted storage area and trusted services.
  • a secure element has a limited amount of memory, a processor with limited capabilities and is devoid of battery.
  • a UICC Universal Integrated Circuit Card
  • a secure element can be installed, fixedly or not, in a terminal, like a mobile phone for example.
  • the terminals are constituted by machines that communicate with other machines for M2M (Machine to Machine) applications.
  • a secure element 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.
  • a UICC can be used in mobile terminals in GSM, CDMA or UMTS networks for instance. The UICC ensures network authentication, integrity and security of all kinds of personal data. The UICC communicates and cooperates with the baseband (also called baseband processor or baseband radio processor) of the terminal equipment.
  • a secure element may contain a profile which can include a set of applications, a set of personal data and a set of secret data.
  • the profile could be linked to a subscription. It may contain network access applications (NAA) , payment applications or third party applications providing security for a specific service (e.g. NFC applications) .
  • NAA network access applications
  • payment applications or third party applications providing security for a specific service (e.g. NFC applications) .
  • a physical secure element can emulate several virtual secure elements, each one represented as one profile. In such a case, these profiles are called logical profiles or virtual profiles.
  • An emulated profile is hereinafter called virtual profile.
  • each virtual profile is a software based profile.
  • the invention concerns a way to manage several virtual profiles which are run in parallel in a single secure element.
  • the basic behaviour is to manage only one active virtual profile at a time.
  • An active virtual profile may use several logical channels in parallel.
  • a swap operation allows to disable the currently active virtual profile and to active another one.
  • ATR Answer-To-Reset
  • the logical channel 0 is allocated to the default selected application of the virtual profile.
  • the logical channel 0 is used as the main channel for some types of commands (e.g. Proactive commands as defined in ETSI TS 102 223 for example) .
  • An object of the invention is to solve the above mentioned technical problem.
  • the object of the present invention is a system comprising a host device and a secure element connected to the host device, the secure element comprising a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles, the system comprising a discovery agent configured to provide a subset of the plurality of virtual profiles and configuration data for each virtual profile of said subset.
  • the system comprises capability data reflecting the maximum of logical channels handled by the host device.
  • the system comprises an allocating agent configured to cooperate with the discovery agent to allocate a range of logical channels to each virtual profile of the subset based on the capability data and to determine in each of the ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted.
  • the secure element may store each virtual profile of said plurality of virtual profiles in as many security domains
  • the discovery agent may have a fixed identifier and the discovery agent may be stored and managed in the secure element independently of the security domains.
  • each virtual profile may have a current state which can be either enabled or disabled
  • the configuration data may provide the current state of each virtual profile
  • the allocating agent may be configured to allocate a range of logical channels only to the virtual profiles having an enabled current state .
  • each virtual profile may have a current state which can be either enabled or disabled
  • the subset provided by the discovery agent may contain only virtual profiles having an enabled current state.
  • each virtual profile may have a current state which can be either enabled or disabled
  • the system may comprise a registry containing the current state of all virtual profiles and said registry may be managed by an entity configured to automatically update the registry each time a virtual profile is enabled, disabled, installed or removed, said entity being either the discovery agent or a spying agent stored in the system.
  • each virtual profile may have a current state which can be either enabled or disabled and the secure element may be configured to automatically initiate an allocation of range of logical channels as soon as the a virtual profile is enabled, disabled or removed.
  • each virtual profile may comprise an application selected by default and the system may be configured to assign the main logical channel to the application selected by default for each virtual profile .
  • Another object of the invention is a method for managing logical channels in a system comprising a host device and a secure element connected to the host device.
  • the secure element includes a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles.
  • the system includes capability data reflecting the maximum of logical channels handled by the host device. The method comprises the following steps :
  • the secure element includes a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles.
  • the secure element includes a discovery agent configured to provide a subset of the plurality of virtual profiles and configuration data for each virtual profile of said subset, the configuration data including a number of logical channels required for running each virtual profile.
  • the secure element includes a command dispatcher configured to receive from the host device a range of logical channels allocated to each virtual profile of the subset and to determine in each of the ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted.
  • Another object of the invention is a host device connected to a secure element comprising a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles.
  • the host device is configured to send a request to the secure element for retrieving a subset of the plurality of virtual profiles and configuration data for each virtual profile of said subset.
  • the host device includes capability data reflecting the maximum of logical channels handled by the host device.
  • the host device includes an allocating agent configured to cooperate with the discovery agent to allocate a range of logical channels to each virtual profile of the subset based on the capability data and to determine in each of the ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted
  • FIG. 1 is an example of a system comprising a host device and a secure element according to the invention
  • FIG. 2 is an example of a set of virtual profile and associated configuration data according to the invention
  • Figure 3 is an example of ranges of logical channel allocated to the virtual profiles comprised in a secure element according to the invention.
  • FIG. 4 is an example of a logical channels allocated to the default selected application of the virtual profiles comprised in a secure element according to the invention. (Detailed description of the preferred embodiments)
  • the invention may apply to any types of secure element intended to contain several virtual profiles and able to communicate through a plurality of logical channels.
  • the invention applies to secure elements of UICC type and embedded-UICC (e-UICC) type .
  • the secure element may be coupled to any type of host machine able to establish a communication session with the secure element.
  • the host machine may be a mobile phone, tablet PC, a vehicle, a meter, a slot machine, a TV or a computer.
  • Figure 1 shows a system SY comprising a host device HO and a secure element SC according to the invention.
  • the host device HO is a mobile phone having a single hardware communication interfaces M2 for communicating with a secure element.
  • the host device HO comprises several basebands (not drawn) which are designed to communicate with secure elements of UICC type.
  • the host device HO comprises a communication component (not drawn) configured to multiplex messages sent to (and to demultiplex messages received from) the secure element SC through the hardware communication interfaces M2. More specifically, the communication component is configured to allow the basebands to simultaneously communicate with as many distinct virtual profiles embedded in the secure element SC.
  • the host device HO is configured to uniquely assign a baseband to each virtual profile having an "enabled" state. Thanks to the allocation of both a baseband and a logical channel range to each "enabled" virtual profile, the host device HO can reboots (reset) each virtual profile independently of the others.
  • the secure element SC is an UICC which comprises a communication interface Ml, an operating system OS and four security domains SDR, SD1, SD2 and SD3 (as defined by Global Platform Card Specifications v2.x) .
  • the security domain SD1 comprises a virtual profile PI
  • the security domain SD2 comprises a virtual profile P2
  • the security domain SD3 comprises a virtual profile P3.
  • the secure element SC comprises an execution component (not drawn) which is configured to run simultaneously several virtual profiles.
  • the virtual profile PI comprises three applications All, A12 and A13.
  • the application A13 is the application selected by default (default selected application) in the virtual profile PI.
  • the application A13 is a Telecom application (UICC)
  • the application All is a payment application
  • the application A12 is a transport application.
  • UICC Telecom application
  • the virtual profile P2 comprises two applications A21 and A22, where A21 is one that is selected by default and the virtual profile P3 comprises two applications A31 and A32, where A32 is one that is selected by default.
  • the virtual profile PI and P3 are enabled while the virtual profile P2 is disabled. In other words, the virtual profile PI and P3 are active.
  • the security domain SDR acts as a root security domain.
  • the other security domains (SD1-SD3) depend on the security domain SDR.
  • the security domain SDR comprises a discovery agent EDA which is configured to provide a subset of the virtual profiles embedded in the secure element SC and configuration data corresponding to each virtual profile of the subset.
  • the security domain SDR does not comprise any virtual profile. Since the discovery agent EDA belongs to the security domain SDR, the discovery agent EDA is stored and managed independently of the virtual profiles (i.e. independently of the other security domains) embedded in the secure element SC.
  • the configuration data includes at least the number of logical channels required for running each virtual profile that belongs to the subset.
  • the discovery agent EDA can have a fixed identifier (common to a batch of secure elements) so that the host device can be configured to easily access the discovery agent EDA.
  • the operating system OS comprises a command dispatcher AD which is in charge to forward the commands received through the communication interface Ml to the relevant virtual profile or application according to the used logical channel.
  • the host device HO comprises a capability data CA reflecting the maximum of logical channels handled by the host device HO.
  • the capability data CA may indicate that the host device HO can manage up to 20 logical channels.
  • the host device HO comprises an allocating agent AG which is configured to allocate a range of logical channels only to the virtual profiles having an "enabled" current state.
  • the allocating agent AG uses the capability data CA when allocating the ranges of logical channels.
  • the allocating agent AG is adapted to provide the command dispatcher AD with the allocated ranges. In one example, the allocating agent AG directly sends the allocated ranges to the command dispatcher AD. In another example, the allocating agent AG sends the allocated ranges to the discovery agent EDA which in turn sends the allocated ranges to the command dispatcher AD.
  • the main channel (also called basic channel) of virtual profile is defined as the logical channel having the lowest number among the range of logical channels allocated to the virtual profile .
  • the main channel is selected by the allocating agent AG or by the discovery agent EDA either at random or according to a preset criterion (e.g. fixed number required by an application) .
  • the main channel remains permanently available for communicating with a virtual profile which has been booted.
  • the main channel is automatically opened when the virtual profile is booted.
  • the other logical channels i.e. different from the main channel) can be opened and closed at any time as needed.
  • the main channel is assigned to the application selected by default in the virtual profile.
  • the security domain SDR comprises a registry RG which contains the current state of all virtual profiles embedded in the secure element SC.
  • the registry RG may also contain the number of required logical channels for each virtual profile.
  • the operating system OS comprises a spying agent SP configured to automatically update the registry RG each time a virtual profile is installed, removed, enabled or disabled.
  • the discovery agent EDA may act as the spying agent SP and automatically update the registry RG.
  • the spying agent SP (or the discovery agent EDA) may be configured to automatically initiate a new allocation of logical channel ranges as soon as a virtual profile is becomes enabled, disabled or is removed from the secure element SC.
  • the discovery agent EDA and the allocating agent AG may be both implemented on the same side: either in the host device HO or in the secure element SC.
  • the method for allocating logical channels to the virtual profiles may be performed as follows.
  • the host device HO resets the secure element SC which sends its Answer-To-Reset (ATR according to IS07816-3) via the logical channel 0.
  • ATR Answer-To-Reset
  • the host device HO requires the discovery agent EDA to transmit a list of virtual profiles and the configuration data associated to each virtual profile.
  • the list comprises all virtual profiles embedded in the secure element SC.
  • the list comprises an identifier (AID of the security domain comprising the virtual profile for instance) corresponding to each virtual profile.
  • the configuration data comprises the state of each virtual profile and the number of logical channel (s) required for each virtual profile .
  • Figure 2 shows an example of the list and associated configuration data that are sent by the discovery agent EDA.
  • the security domain of the virtual profile PI has an identifier equal to AID1, a state set to "enabled” and needs three logical channels to run.
  • the security domain of the virtual profile P2 has an identifier equal to AID2, a state set to "disabled” and needs two logical channels to run and the security domain of the virtual profile P3 has an identifier equal to AID3, a state set to "enabled” and needs two logical channels to run.
  • the list may comprise only the virtual profiles having a state set to "enabled".
  • the sent data comprise only the identifier of the security domain comprising each virtual profile and the associated required logical channel.
  • the system identifies the subset of virtual profiles which have an "enabled” state.
  • this subset can comprise only a part of the virtual profiles embedded in the secure element SC, can comprise all virtual profiles embedded in the secure element SC or can even be empty.
  • the host device HO allocates a range of logical channel (s) to each virtual profile belonging to the subset.
  • the allocation operation is carried out using the capability data CA. If the maximum number of logical channels handled by the host device HO is too low, a temporary allocation of logical channels may be performed.
  • a monitoring agent may analyze the behavior of the virtual profiles to track the real number of logical channels used by each virtual profile. Thus the monitoring agent may detect that a specific virtual profile uses fewer than the number of logical channels previously required. For instance the monitoring agent may detect that a virtual profile only uses 2 logical channels among the 3 initially required logical channels. In this case only two logical channels will be allocated to this virtual profile.
  • the host device HO may ask the user to disable a service so that the overall need decreases.
  • a main channel is determined in each allocated range.
  • the allocated ranges are sent to the EDA.
  • the Figure 3 shows an example of allocation of logical channel (s) range to the "enabled" virtual profiles.
  • the logical channels 0, 1 and 2 are allocated to the virtual profile PI and the logical channels 3 and 4 are allocated to the virtual profile P3.
  • No logical channel is allocated to the virtual profile P2 since it is in a "disabled" state.
  • the discovery agent EDA provides the command dispatcher AD with the allocated ranges.
  • the main channel is linked to the application selected by default in each virtual profile.
  • the Figure 4 shows the main logical channel assigned to the default selected application of each "enabled" virtual profile.
  • the logical channel 0 has been assigned to the application A13 and in the virtual profile P3, the logical channel 3 has been assigned to the application A32.
  • the host device HO boots each virtual profile having an "enabled” state by using the main channel of each virtual profile.
  • the discovery agent EDA or the spying agent SP
  • the discovery agent EDA can be configured to inform the allocating agent AG to start a new logical channel allocation process.
  • this request for new allocation can be sent using the main logical channel of any "enabled" virtual profile. If there is no "enabled” virtual profile, the request may be sent through the logical channel 0.
  • the logical channels used at Figures 1-4 comply with IS07816-4 and are provided as examples only.
  • the logical channel mechanism may be different, provided that the logical channels allow exchanging data through a single physical communication interface.
  • the secure element may comprise any number of virtual profiles.
  • the Host device is not necessary a Telecom equipment.
  • the virtual profile can be a subscription for any kind of services: payment, service access, transport, loyalty or identity for example.
  • the architecture of the host device and the architecture of the secure element shown at Figure 1 are provided as examples only. These architectures may be different.
  • the allocating agent AG and the discovery agent EDA may be merged as a unique agent .
  • the above described communication interfaces are physical interfaces which may work in either contact mode or in contactless mode.

Abstract

The invention is a system comprising a host device and a secure element including a plurality of virtual profiles and an execution component configured to run simultaneously several of said virtual profiles. The system comprises a discovery agent configured to provide a subset of the plurality of virtual profiles, configuration data for each virtual profile of said subset and capability data reflecting the maximum of logical channels handled by the host device. The system comprises an allocating agent configured to cooperate with the discovery agent to allocate a range of logical channels to each virtual profile of the subset based on the capability data and to determine in each of the ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted.

Description

SYSTEM AND METHOD FOR MANAGING LOGICAL CHANNELS FOR ACCESSING SEVERAL VIRTUAL PROFILES IN A SECURE ELEMENT
(Field of the invention)
The present invention relates to methods for managing logical channels for accessing several profiles embedded in a secure element. It relates particularly to methods of managing several active profiles in a secure element.
(Background of the invention)
A secure element is either a tamper-resistant physical component able to store data and to provide services in a secure manner or a software component providing a trusted storage area and trusted services. In general, a secure element has a limited amount of memory, a processor with limited capabilities and is devoid of battery. For instance a UICC (Universal Integrated Circuit Card) is a secure element which embeds SIM applications for telecommunication purposes. A secure element can be installed, fixedly or not, in a terminal, like a mobile phone for example. In some cases, the terminals are constituted by machines that communicate with other machines for M2M (Machine to Machine) applications.
A secure element 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. A UICC can be used in mobile terminals in GSM, CDMA or UMTS networks for instance. The UICC ensures network authentication, integrity and security of all kinds of personal data. The UICC communicates and cooperates with the baseband (also called baseband processor or baseband radio processor) of the terminal equipment.
It is known to solder or weld the secure element in a host device, in order to get it dependent of this host device. This is done in M2M (Machine to Machine) applications. The same objective is reached when a chip (a secure element) containing a Payment application, SIM or USIM applications and files is contained in the host device. The chip is for example soldered to the mother-board of the host device or machine and constitutes an embedded-secure element (eSE) .
A secure element may contain a profile which can include a set of applications, a set of personal data and a set of secret data.
The profile could be linked to a subscription. It may contain network access applications (NAA) , payment applications or third party applications providing security for a specific service (e.g. NFC applications) .
A physical secure element can emulate several virtual secure elements, each one represented as one profile. In such a case, these profiles are called logical profiles or virtual profiles. An emulated profile is hereinafter called virtual profile. Usually each virtual profile is a software based profile.
The invention concerns a way to manage several virtual profiles which are run in parallel in a single secure element. In the state of the art, the basic behaviour is to manage only one active virtual profile at a time. An active virtual profile may use several logical channels in parallel. A swap operation allows to disable the currently active virtual profile and to active another one. Thus only one virtual profile is active at a time in a device session. Moreover, according to the IS07816-4 standard, the logical channel 0 (zero) has a specific role: it is the default one allowing to retrieve the Answer-To-Reset (ATR) from the secure element. The logical channel 0 is allocated to the default selected application of the virtual profile. In addition, the logical channel 0 is used as the main channel for some types of commands (e.g. Proactive commands as defined in ETSI TS 102 223 for example) .
There is a need to handle several sets of logical channel (s) for accessing as many virtual profiles simultaneously active in a secure element.
(Summary of the Invention)
An object of the invention is to solve the above mentioned technical problem.
The object of the present invention is a system comprising a host device and a secure element connected to the host device, the secure element comprising a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles, the system comprising a discovery agent configured to provide a subset of the plurality of virtual profiles and configuration data for each virtual profile of said subset. The system comprises capability data reflecting the maximum of logical channels handled by the host device. The system comprises an allocating agent configured to cooperate with the discovery agent to allocate a range of logical channels to each virtual profile of the subset based on the capability data and to determine in each of the ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted.
Advantageously, the secure element may store each virtual profile of said plurality of virtual profiles in as many security domains, the discovery agent may have a fixed identifier and the discovery agent may be stored and managed in the secure element independently of the security domains.
Advantageously, each virtual profile may have a current state which can be either enabled or disabled, the configuration data may provide the current state of each virtual profile and the allocating agent may be configured to allocate a range of logical channels only to the virtual profiles having an enabled current state .
Advantageously, each virtual profile may have a current state which can be either enabled or disabled, the subset provided by the discovery agent may contain only virtual profiles having an enabled current state.
Advantageously, each virtual profile may have a current state which can be either enabled or disabled, the system may comprise a registry containing the current state of all virtual profiles and said registry may be managed by an entity configured to automatically update the registry each time a virtual profile is enabled, disabled, installed or removed, said entity being either the discovery agent or a spying agent stored in the system.
Advantageously, each virtual profile may have a current state which can be either enabled or disabled and the secure element may be configured to automatically initiate an allocation of range of logical channels as soon as the a virtual profile is enabled, disabled or removed.
Advantageously, each virtual profile may comprise an application selected by default and the system may be configured to assign the main logical channel to the application selected by default for each virtual profile .
Another object of the invention is a method for managing logical channels in a system comprising a host device and a secure element connected to the host device. The secure element includes a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles. The system includes capability data reflecting the maximum of logical channels handled by the host device. The method comprises the following steps :
- identifying a subset of virtual profiles which have an enabled state, allocating a range of logical channels to each virtual profile of the subset based on the capability data,
- determining in each of the allocated ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted.
Another object of the invention is a secure element able to connect a host device. The secure element includes a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles. The secure element includes a discovery agent configured to provide a subset of the plurality of virtual profiles and configuration data for each virtual profile of said subset, the configuration data including a number of logical channels required for running each virtual profile. The secure element includes a command dispatcher configured to receive from the host device a range of logical channels allocated to each virtual profile of the subset and to determine in each of the ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted.
Another object of the invention is a host device connected to a secure element comprising a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles. The host device is configured to send a request to the secure element for retrieving a subset of the plurality of virtual profiles and configuration data for each virtual profile of said subset. The host device includes capability data reflecting the maximum of logical channels handled by the host device. The host device includes an allocating agent configured to cooperate with the discovery agent to allocate a range of logical channels to each virtual profile of the subset based on the capability data and to determine in each of the ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted
(Brief description of the drawings)
Other characteristics and advantages of the present invention will emerge more clearly from a reading of the following description of a number of preferred embodiments of the invention with reference to the corresponding accompanying drawings in which:
- Figure 1 is an example of a system comprising a host device and a secure element according to the invention,
- Figure 2 is an example of a set of virtual profile and associated configuration data according to the invention,
Figure 3 is an example of ranges of logical channel allocated to the virtual profiles comprised in a secure element according to the invention, and
- Figure 4 is an example of a logical channels allocated to the default selected application of the virtual profiles comprised in a secure element according to the invention. (Detailed description of the preferred embodiments)
The invention may apply to any types of secure element intended to contain several virtual profiles and able to communicate through a plurality of logical channels. In particular, the invention applies to secure elements of UICC type and embedded-UICC (e-UICC) type .
The secure element may be coupled to any type of host machine able to establish a communication session with the secure element. For example the host machine may be a mobile phone, tablet PC, a vehicle, a meter, a slot machine, a TV or a computer.
Figure 1 shows a system SY comprising a host device HO and a secure element SC according to the invention.
In this example, the host device HO is a mobile phone having a single hardware communication interfaces M2 for communicating with a secure element. The host device HO comprises several basebands (not drawn) which are designed to communicate with secure elements of UICC type. The host device HO comprises a communication component (not drawn) configured to multiplex messages sent to (and to demultiplex messages received from) the secure element SC through the hardware communication interfaces M2. More specifically, the communication component is configured to allow the basebands to simultaneously communicate with as many distinct virtual profiles embedded in the secure element SC. The host device HO is configured to uniquely assign a baseband to each virtual profile having an "enabled" state. Thanks to the allocation of both a baseband and a logical channel range to each "enabled" virtual profile, the host device HO can reboots (reset) each virtual profile independently of the others.
The secure element SC is an UICC which comprises a communication interface Ml, an operating system OS and four security domains SDR, SD1, SD2 and SD3 (as defined by Global Platform Card Specifications v2.x) . The security domain SD1 comprises a virtual profile PI, the security domain SD2 comprises a virtual profile P2 and the security domain SD3 comprises a virtual profile P3. The secure element SC comprises an execution component (not drawn) which is configured to run simultaneously several virtual profiles.
The virtual profile PI comprises three applications All, A12 and A13. The application A13 is the application selected by default (default selected application) in the virtual profile PI. For example, the application A13 is a Telecom application (UICC) , the application All is a payment application and the application A12 is a transport application.
Similarly, the virtual profile P2 comprises two applications A21 and A22, where A21 is one that is selected by default and the virtual profile P3 comprises two applications A31 and A32, where A32 is one that is selected by default.
The virtual profile PI and P3 are enabled while the virtual profile P2 is disabled. In other words, the virtual profile PI and P3 are active.
The security domain SDR acts as a root security domain. The other security domains (SD1-SD3) depend on the security domain SDR. The security domain SDR comprises a discovery agent EDA which is configured to provide a subset of the virtual profiles embedded in the secure element SC and configuration data corresponding to each virtual profile of the subset.
The security domain SDR does not comprise any virtual profile. Since the discovery agent EDA belongs to the security domain SDR, the discovery agent EDA is stored and managed independently of the virtual profiles (i.e. independently of the other security domains) embedded in the secure element SC.
The configuration data includes at least the number of logical channels required for running each virtual profile that belongs to the subset.
Advantageously, the discovery agent EDA can have a fixed identifier (common to a batch of secure elements) so that the host device can be configured to easily access the discovery agent EDA.
The operating system OS comprises a command dispatcher AD which is in charge to forward the commands received through the communication interface Ml to the relevant virtual profile or application according to the used logical channel.
The host device HO comprises a capability data CA reflecting the maximum of logical channels handled by the host device HO. For instance, the capability data CA may indicate that the host device HO can manage up to 20 logical channels.
The host device HO comprises an allocating agent AG which is configured to allocate a range of logical channels only to the virtual profiles having an "enabled" current state. The allocating agent AG uses the capability data CA when allocating the ranges of logical channels. The allocating agent AG is adapted to provide the command dispatcher AD with the allocated ranges. In one example, the allocating agent AG directly sends the allocated ranges to the command dispatcher AD. In another example, the allocating agent AG sends the allocated ranges to the discovery agent EDA which in turn sends the allocated ranges to the command dispatcher AD.
In one embodiment, the main channel (also called basic channel) of virtual profile is defined as the logical channel having the lowest number among the range of logical channels allocated to the virtual profile .
In another embodiment, the main channel is selected by the allocating agent AG or by the discovery agent EDA either at random or according to a preset criterion (e.g. fixed number required by an application) .
The main channel remains permanently available for communicating with a virtual profile which has been booted. The main channel is automatically opened when the virtual profile is booted. The other logical channels (i.e. different from the main channel) can be opened and closed at any time as needed.
Preferably, the main channel is assigned to the application selected by default in the virtual profile.
In the example of Figure 1, the security domain SDR comprises a registry RG which contains the current state of all virtual profiles embedded in the secure element SC. Advantageously, the registry RG may also contain the number of required logical channels for each virtual profile. In the example of Figure 1, the operating system OS comprises a spying agent SP configured to automatically update the registry RG each time a virtual profile is installed, removed, enabled or disabled. Alternatively, the discovery agent EDA may act as the spying agent SP and automatically update the registry RG.
Advantageously, the spying agent SP (or the discovery agent EDA) may be configured to automatically initiate a new allocation of logical channel ranges as soon as a virtual profile is becomes enabled, disabled or is removed from the secure element SC.
In another example, the discovery agent EDA and the allocating agent AG may be both implemented on the same side: either in the host device HO or in the secure element SC.
According to an example of the invention, the method for allocating logical channels to the virtual profiles may be performed as follows.
During a first step, the host device HO resets the secure element SC which sends its Answer-To-Reset (ATR according to IS07816-3) via the logical channel 0.
Then at a second step, the host device HO requires the discovery agent EDA to transmit a list of virtual profiles and the configuration data associated to each virtual profile.
Preferably, the list comprises all virtual profiles embedded in the secure element SC. The list comprises an identifier (AID of the security domain comprising the virtual profile for instance) corresponding to each virtual profile. In this case, the configuration data comprises the state of each virtual profile and the number of logical channel (s) required for each virtual profile .
Figure 2 shows an example of the list and associated configuration data that are sent by the discovery agent EDA.
The security domain of the virtual profile PI has an identifier equal to AID1, a state set to "enabled" and needs three logical channels to run.
Similarly, the security domain of the virtual profile P2 has an identifier equal to AID2, a state set to "disabled" and needs two logical channels to run and the security domain of the virtual profile P3 has an identifier equal to AID3, a state set to "enabled" and needs two logical channels to run.
Alternatively, the list may comprise only the virtual profiles having a state set to "enabled". In this case, the sent data comprise only the identifier of the security domain comprising each virtual profile and the associated required logical channel.
In both cases, the system identifies the subset of virtual profiles which have an "enabled" state.
It should be noted that this subset can comprise only a part of the virtual profiles embedded in the secure element SC, can comprise all virtual profiles embedded in the secure element SC or can even be empty.
At a third step, the host device HO allocates a range of logical channel (s) to each virtual profile belonging to the subset. The allocation operation is carried out using the capability data CA. If the maximum number of logical channels handled by the host device HO is too low, a temporary allocation of logical channels may be performed. In another example, a monitoring agent may analyze the behavior of the virtual profiles to track the real number of logical channels used by each virtual profile. Thus the monitoring agent may detect that a specific virtual profile uses fewer than the number of logical channels previously required. For instance the monitoring agent may detect that a virtual profile only uses 2 logical channels among the 3 initially required logical channels. In this case only two logical channels will be allocated to this virtual profile. In another example, the host device HO may ask the user to disable a service so that the overall need decreases.
At a fourth step, a main channel is determined in each allocated range.
At a fifth step, the allocated ranges are sent to the EDA.
The Figure 3 shows an example of allocation of logical channel (s) range to the "enabled" virtual profiles. The logical channels 0, 1 and 2 are allocated to the virtual profile PI and the logical channels 3 and 4 are allocated to the virtual profile P3. No logical channel is allocated to the virtual profile P2 since it is in a "disabled" state.
At a sixth step, the discovery agent EDA provides the command dispatcher AD with the allocated ranges. The main channel is linked to the application selected by default in each virtual profile.
The Figure 4 shows the main logical channel assigned to the default selected application of each "enabled" virtual profile. In the virtual profile PI, the logical channel 0 has been assigned to the application A13 and in the virtual profile P3, the logical channel 3 has been assigned to the application A32.
At a seventh step, the host device HO boots each virtual profile having an "enabled" state by using the main channel of each virtual profile.
When the state of a virtual profile has changed, the discovery agent EDA (or the spying agent SP) can be configured to inform the allocating agent AG to start a new logical channel allocation process. Advantageously, this request for new allocation can be sent using the main logical channel of any "enabled" virtual profile. If there is no "enabled" virtual profile, the request may be sent through the logical channel 0.
The logical channels used at Figures 1-4 comply with IS07816-4 and are provided as examples only. The logical channel mechanism may be different, provided that the logical channels allow exchanging data through a single physical communication interface.
It must be understood, within the scope of the invention, that the above-described embodiments are provided as non-limitative examples. In particular, the secure element may comprise any number of virtual profiles. The Host device is not necessary a Telecom equipment. The virtual profile can be a subscription for any kind of services: payment, service access, transport, loyalty or identity for example.
The architecture of the host device and the architecture of the secure element shown at Figure 1 are provided as examples only. These architectures may be different. For example, the allocating agent AG and the discovery agent EDA may be merged as a unique agent .
The above described communication interfaces are physical interfaces which may work in either contact mode or in contactless mode.

Claims

1. A system comprising a host device and a secure element connected to the host device, the secure element comprising a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles, the system comprising a discovery agent configured to provide a subset of the plurality of virtual profiles and configuration data for each virtual profile of said subset, the system comprising capability data reflecting the maximum of logical channels handled by the host device, the system comprising an allocating agent configured to cooperate with the discovery agent to allocate a range of logical channels to each virtual profile of the subset based on the capability data and to determine in each of the ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted.
2. The system according to claim 1, wherein the secure element stores each virtual profile of said plurality of virtual profiles in as many security domains, wherein the discovery agent has a fixed identifier and is stored and managed in the secure element independently of said security domains.
3. The system according to claim 1, wherein each virtual profile has a current state which can be either enabled or disabled, wherein the configuration data provides the current state of each virtual profile and wherein the allocating agent is configured to allocate a range of logical channels only to the virtual profiles having an enabled current state.
4. The system according to claim 1, wherein each virtual profile has a current state which can be either enabled or disabled, wherein the subset provided by the discovery agent contains only virtual profiles having an enabled current state.
5. The system according to claim 1, wherein each virtual profile has a current state which can be either enabled or disabled, wherein the system comprises a registry containing the current state of all virtual profiles and wherein said registry is managed by an entity configured to automatically update the registry each time a virtual profile is enabled, disabled, installed or removed, said entity being either the discovery agent or a spying agent stored in the system.
6. The system according to claim 1, wherein each virtual profile has a current state which can be either enabled or disabled and wherein the secure element is configured to automatically initiate an allocation of range of logical channels as soon as the a virtual profile is enabled, disabled or removed.
7. The system according to claim 1, wherein each virtual profile comprises an application selected by default and wherein the system is configured to assign the main logical channel to the application selected by default for each virtual profile.
8. A method for managing logical channels in a system comprising a host device and a secure element connected to the host device, the secure element comprising a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles, the system comprising capability data reflecting the maximum of logical channels handled by the host device, the method comprising the steps:
- identifying a subset of virtual profiles which have an enabled state,
allocating a range of logical channels to each virtual profile of the subset based on the capability data,
- determining in each of the allocated ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted.
9. A secure element able to connect a host device, the secure element comprising a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles, the secure element comprising a discovery agent configured to provide a subset of the plurality of virtual profiles and configuration data for each virtual profile of said subset, the configuration data including a number of logical channels required for running each virtual profile, the secure element comprising a command dispatcher configured to receive from the host device a range of logical channels allocated to each virtual profile of the subset and to determine in each of the ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted .
10. A host device connected to a secure element comprising a plurality of virtual profiles and an execution component configured to run simultaneously several of said plurality of virtual profiles, the host device being configured to send a request to the secure element for retrieving a subset of the plurality of virtual profiles and configuration data for each virtual profile of said subset, the host device comprising capability data reflecting the maximum of logical channels handled by the host device, the host device comprising an allocating agent configured to cooperate with the discovery agent to allocate a range of logical channels to each virtual profile of the subset based on the capability data and to determine in each of the ranges a main logical channel which remains permanently available when the virtual profile to which the range is allocated has been booted.
PCT/EP2016/056731 2015-04-22 2016-03-25 System and method for managing logical channels for accessing several virtual profiles in a secure element WO2016169733A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020177030048A KR102045662B1 (en) 2015-04-22 2016-03-25 System and method for managing logical channels for accessing several virtual profiles within a secure element
ES16715477T ES2770322T3 (en) 2015-04-22 2016-03-25 System and method to manage logical channels to access various virtual profiles in a secure element
EP16715477.2A EP3286934B1 (en) 2015-04-22 2016-03-25 System and method for managing logical channels for accessing several virtual profiles in a secure element

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US14/693,010 2015-04-22
US14/693,010 US9760728B2 (en) 2015-04-22 2015-04-22 System and method for managing logical channels for accessing several virtual profiles in a secure element

Publications (1)

Publication Number Publication Date
WO2016169733A1 true WO2016169733A1 (en) 2016-10-27

Family

ID=55701932

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2016/056731 WO2016169733A1 (en) 2015-04-22 2016-03-25 System and method for managing logical channels for accessing several virtual profiles in a secure element

Country Status (5)

Country Link
US (1) US9760728B2 (en)
EP (1) EP3286934B1 (en)
KR (1) KR102045662B1 (en)
ES (1) ES2770322T3 (en)
WO (1) WO2016169733A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3332569A1 (en) * 2015-06-11 2018-06-13 Giesecke+Devrient Mobile Security GmbH Managing multiple active subscriber identity module profiles
EP3709687A1 (en) * 2019-03-15 2020-09-16 Nxp B.V. Electronic device and method for managing an ic card with multiple sim profiles

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430574B (en) * 2018-04-26 2020-12-25 华为技术有限公司 Terminal application activation method, device, system and storage medium
JP7070318B2 (en) * 2018-10-16 2022-05-18 株式会社デンソー SIM router device and communication terminal device
FR3087988B1 (en) * 2018-10-30 2022-01-28 Idemia France MANAGEMENT OF SUBSCRIBER PROFILES SIMULTANEOUSLY ACTIVE IN AN EUICC CARD USING SEVERAL SEPARATE LINKS

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120289193A1 (en) * 2011-05-12 2012-11-15 Telefonaktiebolaget L M Ericsson (Publ) Method and Apparatus For Monitoring and Theft Prevention
US20130227646A1 (en) * 2012-02-14 2013-08-29 Apple Inc. Methods and apparatus for large scale distribution of electronic access clients
US20140342719A1 (en) * 2011-09-16 2014-11-20 Nokia Corporation Method and apparatus for accessing virtual smart cards

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6118788A (en) * 1997-10-15 2000-09-12 International Business Machines Corporation Balanced media access methods for wireless networks
US8340697B1 (en) * 2006-01-26 2012-12-25 Nextel Communications Inc. Method and computer-readable medium for dynamically adjusting a multimedia data resolution in a wireless environment
SE0700861L (en) 2007-04-05 2008-07-29 Straalfors Ab identity Carriers
US8996002B2 (en) * 2010-06-14 2015-03-31 Apple Inc. Apparatus and methods for provisioning subscriber identity data in a wireless network
EP2461613A1 (en) * 2010-12-06 2012-06-06 Gemalto SA Methods and system for handling UICC data
US9450759B2 (en) * 2011-04-05 2016-09-20 Apple Inc. Apparatus and methods for controlling distribution of electronic access clients

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120289193A1 (en) * 2011-05-12 2012-11-15 Telefonaktiebolaget L M Ericsson (Publ) Method and Apparatus For Monitoring and Theft Prevention
US20140342719A1 (en) * 2011-09-16 2014-11-20 Nokia Corporation Method and apparatus for accessing virtual smart cards
US20130227646A1 (en) * 2012-02-14 2013-08-29 Apple Inc. Methods and apparatus for large scale distribution of electronic access clients

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ANONYMOUS: "ISO/IEC 7816 Part 4: Interindustry command for interchange", 24 July 2008 (2008-07-24), pages 1 - 73, XP055278373, Retrieved from the Internet <URL:http://read.pudn.com/downloads132/doc/comm/563504/ISO-IEC 7816/ISO-IEC 7816-4.pdf> [retrieved on 20160607] *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3332569A1 (en) * 2015-06-11 2018-06-13 Giesecke+Devrient Mobile Security GmbH Managing multiple active subscriber identity module profiles
EP3332569A4 (en) * 2015-06-11 2019-03-20 Giesecke+Devrient Mobile Security GmbH Managing multiple active subscriber identity module profiles
EP3709687A1 (en) * 2019-03-15 2020-09-16 Nxp B.V. Electronic device and method for managing an ic card with multiple sim profiles
CN111698665A (en) * 2019-03-15 2020-09-22 恩智浦有限公司 Electronic device and method for managing IC card having multiple SIM profiles
US11457346B2 (en) 2019-03-15 2022-09-27 Nxp B.V. Electronic device and method for managing an IC card with multiple SIM profiles

Also Published As

Publication number Publication date
US9760728B2 (en) 2017-09-12
US20160314309A1 (en) 2016-10-27
KR20170129239A (en) 2017-11-24
KR102045662B1 (en) 2019-11-15
EP3286934B1 (en) 2019-11-06
ES2770322T3 (en) 2020-07-01
EP3286934A1 (en) 2018-02-28

Similar Documents

Publication Publication Date Title
EP3286934B1 (en) System and method for managing logical channels for accessing several virtual profiles in a secure element
US9628981B2 (en) Method for changing MNO in embedded SIM on basis of special privilege, and embedded SIM and recording medium therefore
US20160088464A1 (en) Managing Selection and Triggering of Applications on a Card Computing Device
US10833715B2 (en) Embedded subscriber identity module including communication profiles
US11064343B2 (en) Management of subscriber profiles simultaneously active in an eUICC card using a plurality of separate links
US10387219B2 (en) Enabling multiple secure elements in a card computing device
US9867045B2 (en) Method of managing communication between a secure element and a host device
US9872167B2 (en) Method of managing several profiles in a secure element
US10117091B2 (en) Method for administering life cycles of communication profiles
US10346630B2 (en) Method of managing several profiles in a secure element
EP3138360B1 (en) Method of managing profiles in a token
JP6907411B2 (en) How to manage anti-tamper devices with multiple software containers
CN116249103A (en) Method, device and system for realizing one-card multi-number
EP2942985A1 (en) Method of managing subscription in a secure token

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16715477

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2016715477

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20177030048

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE