SIM toolkit scheduling for multiple enabled ESIM profiles

By managing multiple STK sessions on the baseband processor of a wireless device and using the STK scheduler, the communication interference problem in the management of multiple eSIM profiles on eUICC is solved, and communication stability and error rate are improved, ensuring wireless service reliability.

CN118921650APending Publication Date: 2024-11-08APPLE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411303213.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-05-26
Filing Date
2022-06-06
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

On the embedded universal integrated circuit card (eUICC) of wireless devices, there is interference with the management and subscriber identity module (SIM) toolkit (STK) scheduling of multiple enabled electronic SIM (eSIM) profiles, resulting in communication interruptions and errors , especially when multiple parallel STK sessions are supported.

Method used

By managing multiple STK sessions at a baseband processor outside the eUICC of the wireless device, communicating using logical channels, and monitoring and scheduling of STK sessions through the STK scheduler to avoid overlapping and prioritizing high-priority actions, delays or terminations Low priority STK session to reduce error occurrence.

Benefits of technology

Effectively reduces STK session interference between multiple eSIM profiles, improves communication stability and error rate, and ensures the reliability of wireless services, especially when high-priority tasks such as emergency calls and roaming IMSI switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921650A_ABST
    Figure CN118921650A_ABST
Patent Text Reader

Abstract

The invention relates to SIM toolkit scheduling for a plurality of enabled ESIM profiles. Techniques for managing Subscriber Identity Module (SIM) toolkit (STK) scheduling for a plurality of enabled electronic Subscriber Identity Module (eSIM) profiles on an embedded Universal Integrated Circuit Card (eUICC) of a wireless device are set forth, including managing a plurality of STK sessions at a baseband processor external to the eUICC of the wireless device. To prevent STK communications of different eSIMs from interfering with execution of processes associated with the eSIM in advance, a baseband processor may schedule STK sessions to avoid overlapping and reduce the opportunity of errors in handling eSIM processes. The baseband processor may prioritize whether to queue commands for a second STK session for a second eSIM until a first STK session for a first eSIM ends, or to terminate the first STK session to process the second STK session.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with application date of June 6, 2022, application number 202210626957.1, and titled “SIM Toolkit Scheduling for Multiple Enabled ESIM Profiles”. Technical Field

[0002] The described embodiments set forth techniques for managing subscriber identity module (SIM) toolkit (STK) scheduling for multiple enabled electronic SIM (eSIM) profiles on an embedded universal integrated circuit card (eUICC) of a wireless device, including managing multiple STK sessions at a baseband processor external to the eUICC of the wireless device. Background Art

[0003] Wireless mobile network operators (MNOs) continue to upgrade wireless networks to support newer wireless communication standards, including fourth generation (4G) Long Term Evolution (LTE) and Long Term Evolution-Advanced (LTE-A) technologies and fifth generation (5G) technologies. Wireless devices continue to evolve to incorporate newer configurable wireless credentials, such as an eSIM that can be loaded into an eUICC of a wireless device and subsequently activated thereon. To support the newer 5G wireless communication standards, specifications for an eSIM for a 5G-enabled wireless device are being developed and standardized. As downloadable eSIMs become available to provide ready access to a variety of wireless services, the use of multiple eSIMs on a wireless device (including the simultaneous use of multiple eSIMs on an eUICC of a wireless device) is proposed. Communication between an eUICC of a wireless device and an eUICC external baseband processor for a new STK session (e.g., a session for a second eSIM) may interrupt processing of STK commands, thereby causing an error in an ongoing STK session (e.g., a session for a first eSIM). Summary of the invention

[0004] A representative embodiment describes a technique for managing subscriber identity module (SIM) toolkit (STK) scheduling for multiple enabled electronic subscriber identity module (eSIM) profiles on an embedded universal integrated circuit card (eUICC) of a wireless device, including managing multiple STK sessions at a baseband processor external to the eUICC of the wireless device. As downloadable eSIMs become available to provide ready access to a variety of wireless services, the use of multiple eSIMs on a wireless device (including the simultaneous use of multiple eSIMs on an eUICC of a wireless device) is proposed. A logical channel is used to manage communications between the eUICC of a wireless device and a processor external to the eUICC. Communications with the eSIM may include a logical channel for STK communications assigned to STK sessions. An eUICC operating system (OS) of an eUICC may not be able to handle multiple parallel STK sessions for communicating with multiple eSIMs. In order to preemptively prevent STK communications of different eSIMs from interfering with the execution of processes associated with the eSIM, an external processor of the wireless device, such as a baseband processor, may schedule STK sessions to avoid overlap and reduce the chance of errors in processing eSIM processes. An external processor may monitor any ongoing active STK sessions associated with an eSIM of an eUICC, wherein the eUICC includes multiple eSIMs and supports multiple enabled eSIMs. User input indicating one or more STK actions to be performed for a first eSIM of the eUICC may be reviewed by a STK scheduler process of the external processor before execution. The STK scheduler may allow the one or more STK actions to be performed on the first eSIM when there are no ongoing STK sessions for other eSIMs of the eUICC. When there is an ongoing active STK session for a second eSIM of the eUICC, the STK scheduler may determine whether at least one of the one or more STK actions of the first eSIM has a priority over the ongoing active STK session of the second eSIM. When none of the one or more STK actions has a superseding priority, the STK scheduler may add one or more entries to a queue so that the one or more STK actions are performed for the first eSIM after the active STK session of the second eSIM ends. When at least one of the one or more STK actions does have a replacement priority, the STK scheduler may send a message to the eUICC to terminate the ongoing active STK session of the second eSIM, and may subsequently perform one or more STK operations for the first eSIM after the active STK session of the second eSIM is terminated.In some embodiments, the user input includes one or more of the following: enabling one or more eSIMs of the eUICC of the wireless device; enabling multiple eSIMs of the eUICC of the wireless device; initiating a mobile originated (MO) voice call by the wireless device; initiating an MO voice call with high priority, such as an emergency call, by the wireless device; performing an International Mobile Subscriber Identity (IMSI) switch by the wireless device, for example when moving to a roaming network area; performing a Bearer Independent Protocol (BIP) session for the eSIM on the eUICC, such as for an over-the-air update of the eSIM.

[0005] The present disclosure is provided only for the purpose of summarizing some exemplary embodiments, so as to provide a basic understanding of some aspects of the subject matter described herein. Therefore, it should be understood that the above-mentioned features are only examples and should not be construed as reducing the scope or essence of the subject matter described herein in any way. Other features, aspects and advantages of the subject matter described herein will become apparent through the following detailed description, drawings and claims.

[0006] Other aspects and advantages of the embodiments described herein will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, which illustrate by way of example the principles of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The included drawings are for illustrative purposes and are only used to provide examples of possible structures and arrangements of the disclosed apparatus and methods for providing wireless computing devices. These drawings in no way limit any changes in form and detail that may be made to the embodiments by those skilled in the art without departing from the spirit and scope of the embodiments. The embodiments will be readily understood by the following detailed description in conjunction with the accompanying drawings, in which like reference numerals refer to like structural elements.

[0008] Figure 1 A block diagram showing different components of an example system configured to implement the various techniques described herein, according to some embodiments.

[0009] Figure 2 According to some embodiments, Figure 1 A block diagram of a more detailed view of exemplary components of a system.

[0010] Figure 3 Communication between a baseband processor and an eUICC of a UE is shown according to some embodiments.

[0011] Figure 4A An example of communication of multiple eSIMs without STK scheduling resulting in errors is shown according to some embodiments.

[0012] Figure 4BAn example of communication of multiple eSIMs with STK scheduling to reduce errors is shown in accordance with some embodiments.

[0013] Figure 5A An example is shown to enable communication of multiple eSIMs without STK scheduling resulting in errors according to some embodiments.

[0014] Figure 5B An example is shown to enable communication of multiple eSIMs with STK scheduling to reduce errors according to some embodiments.

[0015] Fig. 6A An example of communications used to initiate a voice call without STK scheduling resulting in errors according to some embodiments is shown.

[0016] Figure 6B An example of communications used to initiate a voice call with STK scheduling to reduce errors is shown in accordance with some embodiments.

[0017] Fig. 7A An example of communications to attempt IMSI switching associated with location roaming without STK scheduling resulting in errors is shown in accordance with some embodiments.

[0018] Figure 7B An example of communications to cause IMSI switching associated with location roaming with STK scheduling to reduce errors is shown in accordance with some embodiments.

[0019] Fig. 8A and Figure 8B An example of communications to handle a Bearer Independent Protocol (BIP) session of an eSIM without STK scheduling resulting in errors is shown in accordance with some embodiments.

[0020] Figure 8C and Fig.8D An example of communications for handling a BIP session of an eSIM with STK scheduling to reduce errors is shown in accordance with some embodiments.

[0021] Fig. 9 A flow diagram illustrating an exemplary sequence of actions by a baseband processor of a wireless device to schedule SIM Tool Kit (STK) communications with an eUICC in accordance with some embodiments.

[0022] Fig.10 A flow chart illustrating an exemplary set of actions performed by an apparatus of a wireless device for performing STK scheduling for multiple eSIMs of an eUICC according to some embodiments.

[0023] Fig.11 Shown is a detailed view of a representative computing device that can be used to implement the various methods described herein, according to some embodiments. DETAILED DESCRIPTION

[0024] Representative applications of the apparatus and methods according to the embodiments described in the present invention are provided in this section. These examples are provided only to add context and to help understand the described embodiments. It will therefore be apparent to those skilled in the art that the embodiments currently described may be practiced without some or all of these specific details. In other instances, well-known process steps are not described in detail to avoid unnecessarily obscuring the embodiments currently described. Other applications are possible, so that the following examples should not be considered restrictive.

[0025] A representative embodiment describes a technique for managing subscriber identity module (SIM) toolkit (STK) scheduling for multiple enabled electronic subscriber identity module (eSIM) profiles on an embedded universal integrated circuit card (eUICC) of a wireless device, including managing multiple STK sessions at a baseband processor external to the eUICC of the wireless device. As downloadable eSIMs become available to provide ready access to a variety of wireless services, the use of multiple eSIMs on a wireless device (including the simultaneous use of multiple eSIMs on an eUICC of a wireless device) is proposed. A logical channel is used to manage communications between the eUICC of a wireless device and a processor external to the eUICC. Communications with the eSIM may include a logical channel for STK communications assigned to STK sessions. An eUICC operating system (OS) of an eUICC may not be able to handle multiple parallel STK sessions for communicating with multiple eSIMs. In order to preemptively prevent STK communications of different eSIMs from interfering with the execution of processes associated with the eSIM, an external processor of the wireless device, such as a baseband processor, may schedule STK sessions to avoid overlap and reduce the chance of errors in processing eSIM processes. An external processor may monitor any ongoing active sessions associated with an eSIM of an eUICC, wherein the eUICC includes multiple eSIMs and supports multiple enabled eSIMs. User input indicating one or more STK actions to be performed for a first eSIM of the eUICC may be reviewed by a STK scheduler process of the external processor before execution. The STK scheduler may allow the one or more STK actions to be performed on the first eSIM when there are no ongoing STK sessions for other eSIMs of the eUICC. When there is an ongoing active STK session for a second eSIM of the eUICC, the STK scheduler may determine whether the one or more STK actions of the first eSIM have priority over the ongoing active STK session of the second eSIM. When the one or more STK actions do not have a superseding priority, the STK scheduler may add one or more entries to the queue so that the one or more STK actions are performed for the first eSIM after the active STK session of the second eSIM ends. When one or more STK actions do have override priority, the STK scheduler may send a message to the eUICC to terminate the ongoing active STK session of the second eSIM, and may subsequently perform the one or more STK operations for the first eSIM after the active STK session of the second eSIM is terminated.In some embodiments, the user input includes one or more of the following: enabling one or more eSIMs of the eUICC of the wireless device; enabling multiple eSIMs of the eUICC of the wireless device; initiating a mobile originated (MO) voice call by the wireless device; initiating an MO voice call with high priority, such as an emergency call, by the wireless device; performing an International Mobile Subscriber Identity (IMSI) switch by the wireless device when moving to a roaming network area; performing a Bearer Independent Protocol (BIP) session for the eSIM on the eUICC, such as for an over-the-air update of the eSIM.

[0026] The following references Figures 1 to 11 These and other embodiments will be discussed in detail; however, those skilled in the art will readily appreciate that the detailed description given herein with respect to these figures is for illustrative purposes only and should not be construed as limiting.

[0027] Figure 1 1 is a block diagram of various components of a system 100 configured to implement the various techniques described herein, according to some embodiments. More specifically, Figure 1 A simplified overview of a system 100 is shown, which includes a user equipment (UE) 102, a set of base stations 112-1 to 112-n managed by different mobile network operators (MNOs) 114, and a configuration server 116 in communication with the MNOs 114. The UE 102 may represent a mobile computing device (e.g., an Apple ® iPhone ® or iPad ® ), base stations 112-1 to 112-n may represent cellular wireless network entities configured to communicate with UE 102, including evolved NodeBs (eNBs) and / or next generation NodeBs (one or more gNBs), and MNO 114 may represent different wireless service providers that provide specific services (e.g., voice and data) that UE 102 may subscribe to. UE 102 may also be referred to as a wireless device, a mobile device, a mobile wireless device, etc.

[0028] like Figure 1As shown, the UE 102 may include processing circuitry, an embedded universal integrated circuit card (eUICC) 108, and a baseband processor 110, wherein the processing circuitry may include one or more processors 104 and a memory 106. In some embodiments, in addition to or in lieu of the eUICC, the UE 102 includes one or more physical UICC cards, also referred to as subscriber identity module (SIM) cards (not shown). These components of the UE 102 work together to enable the UE 102 to provide useful features to the user of the UE 102, such as local computing, location-based services, and Internet connectivity. The eUICC 108 may be configured to store multiple electronic SIMs (eSIMs) for accessing different services provided by one or more MNOs 114 through base stations 112-1 to 112-n. For example, the eUICC 108 may be configured to store and manage one or more eSIMs of one or more MNOs 114 for different subscriptions associated with the UE 102. In order to be able to access services provided by the MNOs, the eSIMs may be configured to the eUICC 108. In some embodiments, the eUICC 108 obtains one or more eSIMs (or updates to one or more eSIMs) from one or more associated provisioning servers 116. Note that the provisioning server 116 may be maintained by the manufacturer of the UE 102, the MNO 114, a third-party entity, etc. eSIM data communication between the provisioning server 116 and the eUICC 108 (or between the provisioning server 116 and processing circuitry of the UE 102 external to the eUICC 108, such as the processor 104) may use a secure communication channel. Multiple eSIMs may be downloaded to the eUICC 108 of the UE 102 from one or more provisioning servers 116 associated with one or more MNOs 114. The UE 102 may be configured to allow multiple eSIMs to be enabled simultaneously on the UE 102 to provide access to wireless services provided by the multiple eSIMs. Communication between multiple eSIMs enabled on the eUICC 108 and processing circuitry external to the eUICC 108 (e.g., the processor 104 and / or the baseband processor 110) may use a logical channel. Communications with the eSIM may include a SIM Tool Kit (STK) session that uses a logical channel between the baseband processor 110 and the eSIM. A STK scheduler operating on the baseband processor 110 may view inputs that may result in actions that affect an ongoing STK session of an eSIM. Multiple concurrent STK sessions may be avoided by delaying the initiation of a new STK session for a second eSIM while an ongoing active STK session of a first eSIM continues. In some cases, when the priority of an action associated with the second eSIM supersedes the STK session of the first eSIM, the active STK session of the first eSIM may be terminated early to establish a new STK session for the second eSIM.

[0029] Figure 2 According to some embodiments, Figure 1 A block diagram of a more detailed view 200 of certain components of a UE 102 is provided. Figure 2 As shown, the processor 104 in conjunction with the memory 106 may implement a main operating system (OS) 202 configured to execute application programs 204 (eg, native OS applications and user applications). Figure 2 As shown, the eUICC 108 may be configured to implement an eUICC OS 206 that is configured to manage the hardware resources of the eUICC 108 (e.g., a processor and memory embedded in the eUICC 108). The eUICC OS 206 may also be configured to manage an eSIM 208 stored by the eUICC 108, such as by installing, enabling, disabling, modifying, or otherwise performing management of the eSIM 208 within the eUICC 108 and providing access to the eSIM 208 to the baseband processor 110 to provide access to wireless services for the UE 102. The eUICC 108 OS may include an eSIM manager 210 that may perform management functions for various eSIMs. Figure 2 As shown in the illustration, each eSIM 208 may include a plurality of applets 212 that define the manner in which the eSIM 208 operates. For example, one or more of the applets 212, when implemented by the baseband processor 110 and the eUICC 108, may be configured to enable the UE 102 to communicate with the MNO 114 and provide useful features to the user of the UE 102 (e.g., voice connectivity, instant messaging services, Internet access, etc.).

[0030] Likewise Figure 2As shown, the baseband processor 110 of the UE 102 may include a baseband OS 214 configured to manage the hardware resources (e.g., processor, memory, different radio components, etc.) of the baseband processor 110. According to some embodiments, the baseband processor 110 may implement a baseband manager 216 configured to interact with the eUICC 108 to establish a secure channel with the provisioning server 116 and obtain information (such as eSIM data) from the provisioning server 116 for managing the eSIM 208. The baseband manager 216 may be configured to implement services 218, which represent a collection of software modules that are instantiated by various applets 212 of enabled eSIMs 208 included in the eUICC 108. For example, the services 218 may be configured to manage different connections between the UE 102 and the MNO 114 according to different eSIMs 208 enabled within the eUICC 108. The baseband manager 216 may be further configured to include a SIM Toolkit (STK) scheduler that manages STK sessions for communicating with one or more eSIMs 208 on the eUICC 108 .

[0031] Figure 3A diagram 300 is shown of communications between a baseband processor 110 of a UE 102 and an eUICC OS 206 of an eUICC 108 of the UE 102. The eUICC 108 of the UE 102 may be capable of enabling multiple eSIM profiles simultaneously, which may be referred to as multiple enabled profiles (MEP) capabilities. To reduce the chance of SIM toolkit (STK) sessions of different eSIMs 208 of the eUICC 108 interfering with each other, an STK scheduler 304 may monitor user input or other actions generated by the UE 102 to schedule STK session communications of the eSIMs 208 of the eUICC 108. The STK scheduler 304 may receive a SIM command or request, which may be associated with a user input, that requires an action to be performed by an element of the eUICC 108. The STK dispatcher 304 may interact with the SIM driver 302 software component, which may interact with the eUICC OS 206 of the eUICC 108 to communicate with the eSIM manager 210 therein, which may communicate with one or more eSIMs in the eSIM 208. The SIM driver 302 may receive SIM requests from the STK dispatcher 304, which may be generated by one or more SIM commands or requests provided to the STK dispatcher 304, and send SIM commands to the eUICC 108 to interact with the eUICC 108, the eUICC OS 206, and / or the eSIM 208 via the eSIM manager 210. The SIM driver 302 may also communicate terminal responses to the eUICC 108 in response to communications from the eUICC 108. The eUICC 108 may also send active commands to the SIM driver 302, which may be further processed by the baseband processor 110. The STK scheduler 304 may manage STK sessions to reduce interference with communications of multiple eSIMs 208 of the eUICC 108. In some cases, the STK scheduler 304 may interrupt an ongoing STK session associated with a first eSIM 208 to perform a priority action for a second eSIM 208. In some cases, the STK scheduler 304 may delay establishing a new STK session for the second eSIM 208 (or delay communications to the eUICC 108) that may interfere with an ongoing STK session of the first eSIM 208.

[0032] Figure 4AA diagram 400 of communications between a baseband processor 110 of a UE 102 and an eUICC 108 of the UE 102 is shown, wherein the communications are intended for multiple eSIMs 208 and result in one or more errors. Initially, the baseband processor 110 sends an envelope message to the eUICC 108 to establish a STK session for a first eSIM 208 (e.g., eSIM A). The eUICC 108 sends a 91XX message to the baseband processor 110 in positive response to the envelope message, establishing a STK session for eSIM A and indicating pending proactive commands. The baseband processor 110 then sends a Get message to the eUICC 108 to retrieve pending proactive commands for eSIM A from the eUICC 108. The eUICC 108 responds with a proactive command message for eSIM A, which may indicate an action taken by the baseband processor 110 with respect to eSIM A. Subsequently, without STK scheduling to separate the STK sessions of different eSIMs so as not to overlap, the baseband processor 110 may send another wrapped message to the eUICC 108, the wrapped message relating to establishing a second STK session for a second eSIM 208, e.g., eSIM B. The eUICC 108 responds to the wrapped message of the second eSIM 208 by sending a 9300 error message to the baseband processor 110 indicating that the eUICC 108 is busy and cannot respond to the second wrapped message for establishing the second STK session for eSIM B. In some cases, the software component that handles the STK session on the eUICC 108 may return the STK busy error indication. In some cases, the software component of the eUICC 108 may not be able to properly establish and maintain multiple parallel STK sessions for multiple eSIMs 208 at the same time. In some embodiments, the software component that handles the STK session on the eUICC 108 may cause one or more errors in the eUICC 108 processing of messages or actions for the ongoing STK session of eSIM A. In some cases, the baseband processor 110 terminates SIM A's STK session in response to the 9300 error message.

[0033] Figure 4BA diagram 450 of communications between a baseband processor 110 of a UE 102 and an eUICC 108 of the UE 102 is shown, wherein communications intended for multiple eSIMs 208 are managed by a STK scheduler 304 on the baseband processor 110 to delay establishment of a second STK session for a second eSIM 208 until a first STK session for a first eSIM 208 is terminated. Initially, the baseband processor 110 sends an envelope message to the eUICC 108 to establish an STK session for a first eSIM 208 (e.g., eSIM A). The eUICC 108 sends a 91XX message to the baseband processor 110 in positive response to the envelope message, establishing an STK session for eSIM A and indicating pending proactive commands. The baseband processor 110 then sends a get message to the eUICC 108 to retrieve pending proactive commands for eSIM A from the eUICC 108. The eUICC 108 responds with an active command message for eSIM A, which may indicate the action taken by the baseband processor 110 with respect to eSIM A. Subsequently, in the event that there is STK scheduling to separate the STK sessions of different eSIMs so as not to overlap, the baseband processor 110 may delay sending a message to establish a second STK session for a second eSIM 208, such as eSIM B, until after the STK session of eSIM A ends. The baseband processor 110 may send a terminal response message for eSIM A to the eUICC 108 to terminate the STK session for eSIM A, which may be due to the completion of the action required for the STK session of eSIM A, or may be interrupted by a higher priority action that requires the establishment of an STK session for another eSIM, such as eSIM B. After the STK session of eSIM A is terminated, the baseband processor 110 may send another wrapped message to the eUICC 108, which relates to the establishment of an STK session for a second eSIM 208, such as eSIM B. Since the previous STK session of eSIM A has terminated, the STK session of eSIM B may be established, and the eUICC 108 responds to the second eSIM 208's encapsulation message by sending a 9000 Status Response message of eSIM B to the baseband processor 110. By delaying the establishment of eSIM B's STK session until after the STK session of eSIM A is terminated, the baseband processor 110 (e.g., the STK scheduler therein) may reduce the chance of errors caused by conflicting messages from two different STK sessions of two different eSIMs 208 of the eUICC 108.

[0034] Figure 5AA diagram 500 of communication between a baseband processor 110 of a UE 102 and an eUICC 108 of the UE 102 is shown, wherein the communication is intended to enable multiple eSIMs 208 without STK scheduling. At 502, a reset of the eUICC 108 may occur, for example, due to powering on the UE 102 in which the eUICC 108 is housed. The eUICC 108 may store multiple eSIMs 208, such as eSIM A 208A and eSIM B 208B. Initially, after the power-on reset, both eSIM A 208A and eSIM B 208B may be in a disabled state. At 504, the eUICC 108 may send a message to the baseband processor 110 indicating that the eUICC 108 is capable of supporting multiple simultaneously enabled eSIMs 208, i.e., the eUICC 108 is capable of enabling multiple profiles (MEPs). At 506, the baseband processor 110 may determine that both eSIM A 208A and eSIM B 208B are in a disabled state. In some cases, a notification of the disabled state may be provided to the user of the UE 102. At 508, the baseband processor 110 may determine that both eSIM A 208A and eSIM B 208B are to be enabled, for example, due to input from a user of the UE 102 or input from a setting indicating that both eSIM A 208A and eSIM B 208B were previously enabled (e.g., before the UE 102 was powered on or other action that caused a reset to occur at 502). Without STK scheduling, the baseband processor 110 may seek to establish an STK session to enable eSIM A 208A and eSIM B 208B in parallel, which may result in errors, as discussed further herein. At 510, the baseband processor 110 sends a message to the eUICC 108 to enable eSIM A 208A. At 512, the eUICC 108 responds with a normal response message. At 514, the baseband processor 110 sends a terminal profile download message to the eUICC 108 for eSIM A 208A. At 516, the eUICC 108 responds with a 91XX command, indicating a pending proactive command for the eUICC 108. At 518, the eUICC 108 sends a get command to the eUICC to retrieve the pending proactive command. At 520, the eUICC 108 sends a proactive command to the baseband processor, wherein the proactive command indicates the establishment of an event list for eSIM A. Without STK scheduling, at 522, the baseband processor 110 sends a second message to the eUICC 108 to enable eSIM B 208B. At 524, the eUICC 108 determines that eSIM B 208B cannot be enabled because one or more processes are busy processing events for eSIM A 208A.The eUICC 108 responds to the enablement request for eSIM B from the baseband processor 110 with a 9300 Toolkit Busy error message. Without STK scheduling, the baseband processor 110 continues processing eSIM A 208A by sending a Terminal Response message to set the event list of eSIM A 208A at 528. At 930, the eUICC 108 responds with a 9000 Status message. The impact of the parallel STK sessions of eSIM A 208A and eSIM B 208B can lead to a number of errors at 532, such as the baseband processor 110 not providing the eUICC 108 with appropriate status messages associated with the "event" (e.g., voice call status, IMS registration status, location status), and incorrect or missing status information may adversely affect voice call initiation and establishment, UE registration, data connectivity, etc.

[0035] Figure 5BA diagram 550 of communication between a baseband processor 110 of a UE 102 and an eUICC 108 of the UE 102 is shown, wherein the communication uses STK scheduling to sequentially enable multiple eSIMs 208. At 502, a reset of the eUICC 108 may occur, for example, due to powering on the UE 102 in which the eUICC 108 is housed. The eUICC 108 may store multiple eSIMs 208, such as eSIM A 208A and eSIM B 208B. Initially, after the power-on reset, both eSIM A 208A and eSIM B 208B may be in a disabled state. At 504, the eUICC 108 may send a message to the baseband processor 110 indicating that the eUICC 108 is capable of supporting multiple simultaneously enabled eSIMs 208, i.e., the eUICC 108 is capable of enabling multiple profiles (MEPs). At 506, the baseband processor 110 may determine that both eSIM A 208A and eSIM B 208B are in a disabled state. In some cases, a notification of the disabled state may be provided to the user of the UE 102. At 508, the baseband processor 110 may determine that both eSIM A 208A and eSIM B 208B are to be enabled, for example, due to input from a user of the UE 102 or input from a setting indicating that both eSIM A 208A and eSIM B 208B were previously enabled (e.g., before the UE 102 was powered on or other action that caused the reset at 502 to occur). At 510, the baseband processor 110 sends a message to the eUICC 108 to enable eSIM A 208A. At 512, the eUICC 108 responds with a normal response message. At 514, the baseband processor 110 sends a terminal profile download message to the eUICC 108 for eSIM A 208A. At 516, the eUICC 108 responds with a 91XX command indicating the pending active command of the eUICC 108. At 518, the eUICC 108 sends a Get command to the eUICC to retrieve the pending active command. At 520, the eUICC 108 sends the active command to the baseband processor, where the active command indicates the establishment of an event list for eSIM A. With STK scheduling, at 552, the baseband processor 110 identifies the ongoing active STK session of eSIM A 208A, and at 554, the baseband processor 110 queues the pending request so that eSIM B 208B does not interfere with the ongoing active STK session of eSIM A 208A. At 556, the baseband processor 110 responds to the previous active command to establish the event list from the eUICC 108 (received at 520) by sending a Terminal Response to the eUICC 108 to establish the event list.At 558, the eUICC 108 responds with a 9000 status message. At 560, the active STK session of eSIM A 208A ends, after which the baseband processor 110 can resolve the pending queued request to enable eSIM B 208B. At 562, the baseband processor 110 sends a message to the eUICC 108 to enable eSIM B and receives a normal response message from the eUICC 108 at 564. At 566, the baseband processor 110 sends a terminal profile download message for eSIM B 208B to the eUICC 108. At 568, the baseband processor receives a 91XX message from the eUICC 108 indicating pending events for eSIM B 208B. At 570, the baseband processor 110 retrieves the pending events for eSIM B 208B by getting a message response. By delaying the activation of eSIM B 208B using the STK scheduler 304 until after the pending active STK session of eSIM A 208A is completed, the baseband processor 110 reduces the probability of errors occurring when processing commands of different eSIMs 208 by the eUICC 108 .

[0036] Fig. 6A A diagram 600 of communications between a baseband processor 110 of a UE 102 and an eUICC 108 of the UE 102 is shown, wherein the baseband processor 110 attempts to establish a mobile originated (MO) voice call without STK scheduling. At 602, initialization of the eUICC 108 occurs. At 604, the baseband processor 110 sends an envelope message to the eUICC 108 along with location status information (e.g., indicating normal service). At 608, the eUICC 108 sends a 91XX message to the baseband processor 110 indicating a pending event, such as a pending active event, for eSIM A 208A. At 610, the baseband processor 110 sends a get command to the eUICC 108 to retrieve the pending active command for eSIM A 208A. At 612, the eUICC 108 responds with an active command for eSIM A, such as a refresh command. At 614, the user of the UE 102 may trigger a mobile originated (MO) voice call to be established using the eSIM B 208B. Without STK scheduling, the baseband processor 110 may send an envelope message including call control information to the eUICC 108 for the eSIM B 208B at 616. While the eUICC 108 is in the process of processing the active command of the eSIM A 208A, the eUICC 108 may respond to the baseband processor 110 with a 9300 error message including a toolkit busy at 618. Therefore, the eUICC 108 cannot process the request for the MO voice call, and at 620, the MO voice call establishment fails.

[0037] Figure 6BA diagram 650 of communications between a baseband processor 110 of a UE 102 and an eUICC 108 of the UE 102 is shown, wherein the baseband processor 110 with STK scheduling establishes a mobile originated (MO) voice call of eSIM B 208B to manage an ongoing STK session of eSIM A 208A. The STK scheduler 304 of the baseband processor 110 may monitor ongoing active STK sessions and adjust communications of different eSIMs 208 accordingly. At 602, initialization of the eUICC 108 occurs. At 604, the baseband processor 110 sends an envelope message to the eUICC 108 along with location status information (e.g., indicating normal service). At 608, the eUICC 108 sends a 91XX message to the baseband processor 110 indicating a pending event, such as a pending active event, of eSIM A 208A. At 610, the baseband processor 110 sends a get command to the eUICC 108 to retrieve pending active commands of the eSIM A 208A. At 612, the eUICC 108 responds with an active command of the eSIM A, such as a refresh command. With STK scheduling, at 652, the baseband processor 110 identifies an ongoing active STK session of the eSIM A 208A. At 654, a user of the UE 102 may trigger an MO voice call via the eSIM B 208B. The STK scheduler 304 of the baseband processor 110 may determine that the establishment of the MO voice call has a higher priority and replaces the ongoing active STK session of the eSIM A 208A. At 656, the baseband processor 110 sends a terminal response message to the eUICC 108, which indicates a state that the terminal is busy with a call. The eUICC 108 may identify that the active STK session of the eSIM A 208A has terminated and that one or more pending events of the eSIM A 208 have not been serviced. At 660, the baseband processor 110 may determine that the active STK session of eSIM A 208A has terminated, and then send a wrapper message to the eUICC 108 to establish an MO call for eSIM B 208B at 662. The eUICC 108 may respond with a 9000 status message indicating no modification at 664. At 666, the baseband processor 110 and the eUICC 108 may continue to establish the MO voice call via eSIM B 208B. At 658, when feasible and without interfering with the establishment of the MO voice call, the eUICC 108 may send a 91XX message indicating a pending event for eSIM A 208A to the baseband processor 110. After the MO voice call is established, at 668, a 91XX message indicating a pending event for eSIM A 208A may be received by the baseband processor 110 from the eUICC 108.At 670, the baseband processor 110 sends a get message to the eUICC 108 to retrieve pending events for the eSIM A 208A. At 672, the baseband processor 110 identifies the re-establishment of the active STK session of the eSIM A 208A. At 674, the baseband processor 110 receives the pending event, e.g., an active refresh command, from the eUICC 108, and provides a terminal response message at 676. At 678, the baseband processor 110 identifies that the active STK session of the eSIM A 208A has ended. By prematurely terminating the active STK session of the eSIM A 208A, at 656, the STK scheduler allows the prioritized MO voice call to be set up and then subsequently handles (after re-establishment) the active STK session of the eSIM A 208A.

[0038] Fig. 7A A diagram 700 of communications between a baseband processor 110 of a UE 102 and an eUICC 108 of the UE 102 is shown, where the communications are associated with attempting to perform an IMSI switch for roaming without STK scheduling. At 702, initialization of the eUICC 108 occurs. At 704, a user of the UE 102 updates a fixed dialing number (FDN) of an eSIM A 208A. At 706, the baseband processor 110 sends a write command message to the eUICC 108 with updated elementary file (EF) information of the FDN of the eSIM A 208A. At 708, the eUICC 108 responds to the baseband processor 110 with a 91XX message indicating pending events for the eSIM A 208A. At 710, the baseband processor 110 sends a get command to the eUICC 108 to retrieve pending events for the eSIM A 208A. At 712, the eUICC 108 responds to the baseband processor 110 with a pending event, such as an active refresh - file change command for eSIM A 208A. While the active STK session for eSIM A 208A is ongoing, at 714, the UE 102 may change location, for example, move to a cellular wireless network area associated with roaming for eSIM B 208B. At 716, due to the change in location, the baseband processor 110 may send an enveloped message with a location status event to the eUICC 108 for eSIM B 208B. Since the STK handler of the eUICC 108 may have already processed the active STK session for eSIM A 208A, at 718, the eUICC 108 returns a 9300 Toolkit Busy error message to the baseband processor 110. At 720, the IMSI switch associated with the change in location of eSIM B 208B fails, and at 722, the UE 102 may be unable to register with the roaming cellular wireless network.

[0039] Figure 7BA diagram 750 of communications between a baseband processor 110 of a UE 102 and an eUICC 108 of the UE 102 is shown, where the communications are associated with an IMSI switch for roaming with STK scheduling. At 702, initialization of the eUICC 108 occurs. At 704, a user of the UE 102 updates a fixed dialing number (FDN) of an eSIM A 208A. At 706, the baseband processor 110 sends a write command message to the eUICC 108 with updated elementary file (EF) information of the FDN of the eSIM A 208A. At 708, the eUICC 108 responds to the baseband processor 110 with a 91XX message indicating pending events for the eSIM A 208A. At 710, the baseband processor 110 sends a get command to the eUICC 108 to retrieve pending events for the eSIM A 208A. At 712, the eUICC 108 responds to the baseband processor 110 with a pending event, such as an active refresh - file change command for eSIM A 208A. At 752, the baseband processor 110 identifies that an active STK session for eSIM A 208A is ongoing. While the active STK session for eSIM A 208A is ongoing, at 754, the UE 102 may change location, for example, move to a cellular wireless network area associated with roaming for eSIM B 208B. At 756, the baseband processor 110, such as its STK scheduler 304, adds an entry to a queue for encapsulation requests associated with the location change to allow the active STK session for eSIM A 208A to continue at 758 without being interfered with by the location change command. At 760, the baseband processor sends a terminal response refresh command to the eUICC 108 for eSIM A 208A, and receives a status normal 9000 message in response. At 764, the baseband processor 110 identifies that the active STK session of eSIM A 208A has ended. At 766, the baseband processor 110 may send a delayed envelope message with a location status event to the eUICC 108 for eSIM B 208B. The eUICC 108 may respond with a 91XX message indicating a pending event for eSIM B 208B. At 770, the IMSI switch for eSIM B 208B associated with the location change of the UE 102 may succeed. At 772, the baseband processor 110 responds to the 91XX message of eSIM B 208B with a command, and in response receives an active refresh command for eSIM B 208B from the eUICC 108 at 774. By queuing actions associated with the location change of eSIM B 208B, the baseband processor 110 increases the probability of an IMSI switch associated with a subsequent location change after completing the ongoing active STK session of eSIM A 208A.

[0040] Fig. 8A and Figure 8BDiagrams 800, 835 of communications between a baseband processor 110 of a UE 102 and an eUICC 108 of the UE 102 are shown, wherein the communications are associated with a Bearer Independent Protocol (BIP) session of multiple eSIMs 208 without STK scheduling, resulting in errors. At 802, initialization of the eUICC 108 occurs. At 804, the baseband processor 110 receives a short message service (SMS) message for eSIM A 208A indicating an over-the-air (OTA) update of eSIM A 208A. At 806, the baseband processor 110 sends a wrapped message including an SMS PP download indication to the eUICC 108 for eSIM A 208A. At 808, the eUICC 108 responds with a 91XX message indicating a pending event for eSIM A 208A. At 810, the baseband processor 110 sends a get command to the eUICC 108 to retrieve pending events of the eSIM A 208A. At 812, the eUICC 108 responds to the baseband processor 110 with a pending event, such as an active open channel command of the eSIM A 208A. At 814, the baseband processor 110 establishes an Internet Protocol (IP) data session for the OTA update of the eSIMA 208A, for example, using the BIP protocol of the IP session. At 816, the baseband processor 110 provides the eUICC 108 with a terminal response message of the eSIM A 208A, indicating the readiness of the OTA update of the eSIM A 208A. At 818, the eUICC 108 sends an active command message to the baseband processor 110 to send the data of the OTA update of the eSIMA 208A. At 820, the baseband processor 110 responds to the eUICC 108 with a terminal response. At 824, the baseband processor 110 receives an SMS message from eSIM B 208A indicating an over-the-air (OTA) update of eSIM B 208B. At 826, the baseband processor 110 sends a wrapped message including an SMS PP download indication to the eUICC 108 for eSIM B 208B. At 828, the eUICC 108 responds with a 91XX message indicating a pending event for eSIM B 208B. At 830, the baseband processor 110 sends a get command to the eUICC 108 to retrieve the pending event for eSIM B 208B. At 832, the eUICC 108 responds to the baseband processor 110 with a pending event, such as an active open channel command for eSIM B 208B. At 834, the baseband processor 110 establishes an Internet Protocol (IP) data session for the OTA update of eSIM B 208B, for example, using a BIP protocol for an IP session.At this point, two parallel BIP sessions are established, namely a first BIP session of eSIM A 208A and a second BIP session of eSIM B 208B.

[0041] At 836, the baseband processor 110 provides the eUICC 108 with a terminal response message of the eSIM B 208B, indicating the readiness of the OTA update of the eSIM B 208B. At 838, the eUICC 108 sends an active command message to the baseband processor 110 to send the data of the OTA update of the eSIM B 208B. At 840, the baseband processor 110 requests the IP data of the eSIM B 208B, for example, via the established BIP session of the eSIM B 208B. At 842, the baseband processor 110 responds to the eUICC 108 with a terminal response. At 844, the baseband processor 110 sends an envelope message indicating "data available" for the eSIM B 208B to the eUICC 108, and receives a 91XX message indicating a pending event of the eSIM B 208B as a response at 846. At 848, the baseband processor retrieves pending events of eSIM B 208B by sending a get command to the eUICC 108, and in response receives an active command of eSIM B 208B indicating that data of eSIM B 208B is ready to be received by the eUICC 108. At 852, the baseband processor 110 may receive incoming data via the established BIP session of eSIM B 208B, and at 854, provide a terminal response message to eSIM B 208B. As described at 856, the BIP session of eSIM B 208B intercepts the BIP session of eSIM A 208A, and the IP data transmission of the OTA update of eSIM A 208A is interrupted by the IP data transmission of the OTA update of eSIM B 208B. In some cases, the interruption of the data transmission may cause the OTA update of one eSIM (or other data transmission of the BIP session) to fail due to the processing of the OTA update of the other eSIM (or other data transmission of the BIP session). The parallel processing of two BIP sessions of two different eSIMs 208 may be problematic, leading to data transmission errors in some cases.

[0042] Figure 8C and Fig.8DDiagrams 860, 890 of communications between a baseband processor 110 of a UE 102 and an eUICC 108 of the UE 102 are shown, wherein the communications are associated with a Bearer Independent Protocol (BIP) session of multiple eSIMs 208 and with STK scheduling, thereby reducing errors. At 802, initialization of the eUICC 108 occurs. At 804, the baseband processor 110 receives a short message service (SMS) message for eSIM A 208A indicating an over-the-air (OTA) update of eSIM A 208A. At 806, the baseband processor 110 sends a wrapped message including an SMS PP download indication to the eUICC 108 for eSIM A 208A. At 808, the eUICC 108 responds with a 91XX message indicating a pending event for eSIM A 208A. At 810, the baseband processor 110 sends a get command to the eUICC 108 to retrieve pending events for the eSIM A 208A. At 862, the baseband processor 110 identifies that an active STK session of the eSIM A 208A is ongoing. At 864, the eUICC 108 responds to the baseband processor 110 with a pending event, such as an active open channel command of the eSIM A 208A. At 866, the baseband processor 110 establishes an Internet Protocol (IP) data session for the OTA update of the eSIM A 208A, for example, using the BIP protocol of the IP session. At 868, the baseband processor 110 provides the eUICC 108 with a terminal response message of the eSIM A 208A, indicating the readiness of the OTA update of the eSIM A 208A. At 870, the eUICC 108 sends an active command message to the baseband processor 110 to send the data of the OTA update of the eSIM A 208A. At 872, the baseband processor 110 responds to the eUICC 108 with a terminal response. At 874, the baseband processor 110 receives an SMS message for eSIM B 208A indicating an over-the-air (OTA) update for eSIM B 208B. Since an active STK session for eSIM A 208A is ongoing, the baseband processor 110 queues the OTA update SMS message for eSIM B 208B for later processing at 876. At 878, the baseband processor 110 continues processing the active STK session for eSIM A 208A by sending a wrapped message including a data available indication to the eUICC 108 for eSIM A 208A. At 880, the eUICC 108 responds with a 91XX message indicating pending events for eSIM A 208A. At 882, the baseband processor 110 sends a get command to the eUICC 108 to retrieve pending events for eSIM A 208BA.At 884, the eUICC 108 sends an active receive data command to the baseband processor 110 for eSIM A 208A. At 886, the baseband processor 110 responds to the eUICC 108 with a terminal response. At 891, the eUICC 108 sends an active close channel command to the baseband processor 110 to end the active STK session of eSIM A 208A. At 892, the baseband processor 110 responds to the eUICC 108 with a terminal response message. At 893, the baseband processor 110 recognizes that the active STK session of eSIM A 208A has completed. At 894, the baseband processor 110 retrieves the previously queued OTA update SMS message of eSIM B 208B and initiates an OTA update of eSIM B 208B by sending a wrapped message including an SMS PP download to the eUICC 108 for eSIM B 208B. At 895, the eUICC 108 responds with a 91XX message indicating pending events for eSIM B 208B. At 897, the baseband processor 110 sends a get command to retrieve pending events for eSIM B 208B. The eUICC 108 responds with an active open channel command message for eSIM B 208B at 898. At 899, the baseband processor 110 establishes an IP session for the OTA update of eSIM B 208B, for example, using a BIP protocol for IP sessions. The OTA update of eSIM B 208B may then proceed (not shown). By delaying the establishment of a second IP session for performing the OTA update of eSIM B 208B until the first IP session for the OTA update of eSIM A 208A, the baseband processor 110 avoids conflicts in the communication of data for the two IP sessions.

[0043] Fig. 9Flowchart 900 illustrates an exemplary set of actions taken by a baseband processor 110 of a UE 102 to schedule STK communications for multiple eSIMs 208 of an eUICC 108 of the UE 102. At 902, a reset of the eUICC 108 occurs. At 904, the eUICC 108 sends an ATR message indicating that the eUICC 108 is capable of enabling multiple eSIM 208 profiles (supporting MEPs). At 905, the baseband processor 110 determines whether there is a pending active 91XX command from the eUICC 108 for the eSIM 208, the 91XX command indicating a pending event for the eSIM 208. If there is no pending active 91XX command, the process may end. When there is a pending active 91XX command indicating a pending event for the eSIM 208, the baseband processor 110 may determine at 906 whether there is an ongoing active STK session for the eSIM 208. When there is no ongoing active STK session of the eSIM 208, the baseband processor continues processing 914 to retrieve pending events of the eSIM 208, for example, by sending a get command to the eUICC 108. At 916, the baseband processor 110 identifies that an active STK session of the eSIM 208 has begun. After intervention processing (not shown), at 918, the baseband processor 110 identifies that the active STK session of the eSIM 208 has been completed. At 920, the baseband processor 110 determines whether the queue (or message or other indication) of pending actions is empty. When the queue is empty, the process can end. When the queue is not empty, the baseband processor 110 can continue to determine whether an active 91XX command is pending by returning to 905. When there is an ongoing active STK session of the eSIM 208, as determined at 906, the baseband processor 110 can determine whether there is a critical user request to be processed, which can replace the ongoing active STK session of the eSIM 208. Note that a critical user request may be an action that affects a different eSIM 208 of the eUICC 108, for example, to establish an MO voice call to a second eSIM 208 of the eUICC 108. When the baseband processor 110 determines at 908 that the user request is not critical, for example, not having a high enough priority to replace an ongoing STK session of the eSIM 208, the baseband processor 110 stores the user request (e.g., an indication of a command associated with the user request) in a pending action queue at 910 for later processing, for example, when the ongoing active STK session of the eSIM 208 ends.When the baseband processor 110 determines at 908 that the user request is critical, e.g., of sufficiently high priority to supersede the ongoing active STK session of the eSIM 208, the baseband processor 110 terminates the ongoing active STK session of the eSIM 208 at 912, e.g., by sending a "cannot process command" reply message or a comparable termination message to the eUICC 108 to stop the ongoing active STK session of the eSIM 208 and allow the critical user request to be processed. In some embodiments, the active STK session of the eSIM 208 may be restarted after processing the actions associated with the critical user request.

[0044] Fig.10 A flow chart 1000 is shown of an exemplary set of actions performed by an apparatus of a wireless device 102 to perform STK scheduling for multiple eSIMs 208 of an eUICC 108. At 1002, the apparatus receives input to perform an action with a first eSIM 208 of an eUICC 108 of the wireless device 102. At 1004, the apparatus determines whether an active STK session of a second eSIM 208 on the eUICC 108 is ongoing. At 1006, when there is no ongoing active STK session of the second eSIM 208, the apparatus performs an action associated with the first eSIM 208. At 1008, when there is an ongoing active STK session of the first eSIM 208, the apparatus determines whether the action has priority to supersede the ongoing active STK session of the second eSIM 208. At 1010, when the action does not have priority to supersede, the apparatus adds an entry to a queue to perform the action of the first eSIM 208 after the active STK session of the second eSIM 208 ends. At 1012 , when the action does have override priority, the device sends a message to the eUICC 108 to terminate the ongoing active STK session of the second eSIM 208 , and then performs the action associated with the first eSIM 208 after the active STK session of the second eSIM 208 is terminated.

[0045] Fig.11 A detailed view of a representative computing device 1100 that can be used to implement the various methods described herein is shown in accordance with some embodiments. In particular, the detailed view shows that a computer system that can be included in Figure 1 The various components in the UE 102 are shown. Fig.11As shown, the computing device 1100 may include a processor 1102, which represents a microprocessor or controller for controlling the overall operation of the computing device 1100. The computing device 1100 may also include a user input device 1108 that allows a user of the computing device 1100 to interact with the computing device 1100. For example, the user input device 1108 may take a variety of forms, such as buttons, keypads, dials, touch screens, audio input interfaces, visual / image capture input interfaces, input in the form of sensor data, etc. Further, the computing device 1100 may include a display 610 that can be controlled by the processor 1102 to display information to the user. The data bus 1116 can facilitate data transfer between at least the storage device 1140, the processor 1102, and the controller 1113. The controller 1113 can be used to interact with and control different equipment through the equipment control bus 1114. The computing device 1100 may also include a network / bus interface 1111 coupled to the data link 1112. In the case of a wireless connection, the network / bus interface 1111 may include a wireless transceiver.

[0046] The computing device 1100 also includes a storage device 1140 (which may include a single disk or multiple disks, such as a hard drive), and includes a storage management module that manages one or more partitions within the storage device 1140. In some embodiments, the storage device 1140 may include flash memory, semiconductor (solid-state) memory, etc. The computing device 1100 may also include a random access memory (RAM) 1120 and a read-only memory (ROM) 1122. The ROM 1122 may store programs, utilities, or processes to be executed in a non-volatile manner. The RAM 1120 may provide volatile data storage and store instructions related to the operation of the computing device 1100. The computing device 1100 may also include a secure element (SE) 1150, which may represent the eUICC 108 of the UE 102.

[0047] Wireless Technology According to various embodiments described herein, the terms "wireless communication device", "wireless device", "mobile device", "mobile station" and "user equipment" (UE) may be used interchangeably herein to describe one or any number of common consumer electronic devices that may be capable of performing the processes associated with various embodiments of the present disclosure. According to various specific implementations, any of these consumer electronic devices may relate to: a cellular phone or smart phone, a tablet computer, a laptop or notebook computer, a media player device, an e-book device, a MiFi ®devices, wearable computing devices, and any other type of electronic computing device with fourth generation (4G) Long Term Evolution (LTE) and LTE-Advanced (LTE-A), fifth generation (5G) New Radio (NR), or similar “later generation” cellular wireless access communications capabilities.

[0048] In addition, it should be understood that the UE described herein may be configured as a multi-mode wireless device capable of communicating via traditional third generation (3G) and / or second generation (2G) RATs in addition to being able to communicate using 4G wireless networks and using one or more different wireless local area networks. The multi-mode UE may include support for communicating according to one or more different wireless communication protocols developed by standard entities, such as 3GPP's Global System for Mobile Communications (GSM), Universal Mobile Telecommunications System (UMTS), LTE, LTE-A, and 5G NR standards or 3GPP2's CDMA2000 (1xRTT, 2xEV-DO, HRPD, eHRPD) standards. The multi-mode UE may also support the use of wireless local area network protocols (e.g., Institute of Electrical and Electronics Engineers (IEEE) 802.11 (Wi-Fi), IEEE 802.16 (WiMAX)) and wireless personal area network protocols (e.g., Bluetooth ® Multiple wireless communication protocols can provide complementary functions and / or different services for multi-mode UEs.

[0049] It is understood that the use of personally identifiable information should be subject to privacy policies and practices that are generally recognized to meet or exceed industry or government requirements for maintaining user privacy. Specifically, personally identifiable information data should be managed and processed to minimize the risk of unintentional or unauthorized access or use, and the nature of the authorized use should be clearly stated to users.

[0050] The various aspects, embodiments, specific implementations or features of the embodiments may be used individually or in any combination. In addition, some aspects of the embodiments may be implemented by software, hardware or by a combination of hardware and software. The embodiments may also be implemented as computer program codes stored on a non-transient computer-readable medium. The computer-readable medium may be associated with any data storage device capable of storing data that can be read thereafter by a computer or computer system. Examples of computer-readable media include read-only memory, random access memory, CD-ROM, solid-state disk (SSD or flash memory), HDD, DVD, magnetic tape, and optical data storage devices. The computer-readable medium may also be distributed on a network-coupled computer system so that the computer program code may be executed in a distributed manner.

[0051] For the purpose of illustration, the foregoing description uses specific naming to provide a thorough understanding of the embodiments. However, it will be apparent to those skilled in the art that some of these specific details are not required to practice the embodiments. Therefore, the above description of specific embodiments herein is presented for the purpose of illustration and description. These descriptions are not intended to be exhaustive, all-inclusive, or to limit the described embodiments to the disclosed precise form or details. It will be apparent to those of ordinary skill in the art that, based on the above teachings, many modifications and variations are possible without departing from the essence and scope of the present disclosure.

Claims

1. An apparatus configured to operate in a wireless device, the apparatus include: at least one processor communicatively coupled to a memory storing instructions, the at least one processor configured to: receiving input for performing an action associated with a first electronic subscriber identity module, eSIM, wherein an active command of a second eSIM is pending and there is an ongoing active subscriber identity module toolkit (STK) session for the second eSIM; determining whether the action associated with the first eSIM has priority to supersede the ongoing active STK session of the second eSIM; When the action does not have a superseding priority, adding an entry to a queue to perform the action of the first eSIM after the active STK session of the second eSIM is terminated; as well as When the action does have superseding priority: terminating the ongoing active STK session of the second eSIM; as well as The actions associated with the first eSIM are performed after the active STK session of the second eSIM is terminated.

2. The device according to claim 1, in: Terminating the ongoing active STK session of the second eSIM includes sending a “cannot process command” message to an embedded universal integrated circuit card eUICC storing the second eSIM.

3. The device according to claim 2, in: The action includes activating the first eSIM; The active STK session is associated with enabling the second eSIM; and The action of enabling the first eSIM does not have a superseding priority over enabling the second eSIM.

4. The apparatus of claim 1 , wherein the at least one processor is further configured to: determining that the ongoing active STK session of the second eSIM has ended; and An action is performed for the first eSIM or the second eSIM based on a next pending entry in the queue.

5. The device according to claim 1, in: The actions include establishing a mobile originated call via the first eSIM; The active STK session is associated with a response refresh command; as well as The action of establishing the mobile originated call via the first eSIM has priority over responding to the refresh command.

6. The apparatus of claim 5, wherein terminating the ongoing active STK session of the second eSIM comprises sending a terminal response message to an eUICC storing the second eSIM, the terminal response message indicating that the wireless device is busy processing the mobile originated call.

7. The device according to claim 1, in: The actions include updating a location area of ​​the first eSIM based on mobility of the wireless device; The active STK session is associated with updating an International Mobile Subscriber Identity IMSI value associated with the second eSIM; and The action of updating the location area of ​​the first eSIM does not have a superseding priority over updating the IMSI value of the second eSIM.

8. The device according to claim 1, in: The actions include establishing an Internet Protocol (IP) data session for the first eSIM; The active STK session includes an IP data session of the second eSIM; and The action for establishing the IP data session of the first eSIM has no override priority for the IP data session of the second eSIM.

9. The apparatus of claim 1, wherein the apparatus comprises a baseband processor external to an eUICC of the wireless device.

10. A method for scheduling a Subscriber Identity Module Tool Kit (STK) for a wireless device configured with a plurality of Electronic Subscriber Identity Module (eSIM) profiles, the method include: Through the baseband processor of the wireless device: receiving input for performing an action associated with a first eSIM, wherein an active command of a second eSIM is pending and there is an ongoing active STK session for the second eSIM; determining whether the action associated with the first eSIM has priority to supersede the ongoing active STK session of the second eSIM; When the action does not have a superseding priority, adding an entry to a queue to perform the action of the first eSIM after the active STK session of the second eSIM is terminated; as well as When the action does have superseding priority: terminating the ongoing active STK session of the second eSIM; as well as The actions associated with the first eSIM are performed after the active STK session of the second eSIM is terminated.

11. The method according to claim 10, in: The baseband processor terminates the ongoing active STK session of the second eSIM by at least sending a “cannot process command” message to the embedded universal integrated circuit card eUICC storing the second eSIM.

12. The method according to claim 10, in: The action includes activating the first eSIM; The active STK session is associated with enabling the second eSIM; and The action of enabling the first eSIM does not have a superseding priority over enabling the second eSIM.

13. The method according to claim 10, further comprising: include: Determining that the ongoing active STK session has ended; as well as An action is performed for the first eSIM or the second eSIM based on a next pending entry in the queue.

14. The method according to claim 10, in: The actions include establishing a mobile originated call via the first eSIM; The active STK session is associated with a response refresh command; and The action of establishing the mobile originated call via the first eSIM has priority over responding to the refresh command.

15. The method of claim 14, wherein terminating the ongoing active STK session of the second eSIM comprises sending a terminal response message to an eUICC storing the second eSIM, the terminal response message indicating that the wireless device is busy processing the mobile originated call.

16. The method according to claim 10, in: The actions include updating a location area of ​​the first eSIM based on mobility of the wireless device; The active STK session is associated with updating an International Mobile Subscriber Identity IMSI value associated with the second eSIM; and The action of updating the location area of ​​the first eSIM does not have a superseding priority over updating the IMSI value of the second eSIM.

17. The method according to claim 10, in: The actions include establishing an Internet Protocol (IP) data session for the first eSIM; The active STK session includes an IP data session of the second eSIM; and The action for establishing the IP data session of the first eSIM has no override priority for the IP data session of the second eSIM.

18. A non-transitory computer readable medium storing instructions that configure a baseband processor of a wireless device to: receiving input for performing an action associated with a first electronic subscriber identity module, eSIM, wherein an active command of a second eSIM is pending and there is an ongoing active subscriber identity module toolkit (STK) session for the second eSIM; determining whether the action associated with the first eSIM has priority to supersede the ongoing active STK session of the second eSIM; When the action does not have a superseding priority, adding an entry to a queue to perform the action of the first eSIM after the active STK session of the second eSIM is terminated; as well as When the action does have superseding priority: terminating the ongoing active STK session of the second eSIM; as well as The actions associated with the first eSIM are performed after the active STK session of the second eSIM is terminated.

19. The non-transitory computer-readable medium of claim 18, wherein the instructions further configure the baseband processor to terminate the ongoing active STK session of the second eSIM by sending a "cannot process command" message to an embedded universal integrated circuit card (eUICC) storing the second eSIM.

20. The non-transitory computer readable medium of claim 18, wherein the instructions further configure the baseband processor to: Determining that the ongoing active STK session has ended; and An action is performed for the first eSIM or the second eSIM based on a next pending entry in the queue.