WO2017054172A1 - 一种Profile切换的方法及终端 - Google Patents

一种Profile切换的方法及终端 Download PDF

Info

Publication number
WO2017054172A1
WO2017054172A1 PCT/CN2015/091219 CN2015091219W WO2017054172A1 WO 2017054172 A1 WO2017054172 A1 WO 2017054172A1 CN 2015091219 W CN2015091219 W CN 2015091219W WO 2017054172 A1 WO2017054172 A1 WO 2017054172A1
Authority
WO
WIPO (PCT)
Prior art keywords
profile
terminal
euicc
instruction
switching
Prior art date
Application number
PCT/CN2015/091219
Other languages
English (en)
French (fr)
Inventor
高林毅
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580082924.3A priority Critical patent/CN107950041B/zh
Priority to US15/765,080 priority patent/US10182340B2/en
Priority to PCT/CN2015/091219 priority patent/WO2017054172A1/zh
Publication of WO2017054172A1 publication Critical patent/WO2017054172A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present invention relates to the field, and in particular, to a method and a terminal for switching a user information set profile.
  • eUICC embedded UICC
  • At least one user information set profile is usually installed in the eUICC.
  • the eUICC only supports one active profile, so only one network can be accessed at a time. So if you want to use the function of implementing two UICC cards with one eUICC, one of the solutions is to realize the dual card function through flexible and fast switching between the two profiles.
  • the terminal when the eUICC switches the profile, the terminal deletes the data of the profile that was originally activated in the cache, re-initializes the eUICC, and reads the data of the newly activated profile and stores it in the cache.
  • This profile switching process first needs to re-initialize the eUICC platform, that is, power off the eUICC first, then power on again, match the voltage level supported by the eUICC, renegotiate the communication protocol, and then use the newly activated profile to access the network.
  • the complete network authentication process is completed, and the authentication process generally takes a long time. Therefore, the entire profile switching process may result in service interruption, loss of service (for example, missed calls), and the user experience is poor.
  • the present invention provides a method and a terminal for profile switching, which can implement flexible and fast switching between multiple profiles, thereby implementing a single card dual standby function.
  • an embodiment of the present invention provides a method for switching a user information set profile, where Methods include:
  • the terminal sends an activation command to the embedded universal integrated circuit card eUICC.
  • the eUICC includes at least a first profile and a second profile.
  • the data of the first profile is saved in the buffer of the terminal, the terminal has accessed the network through the first profile, and the activation command is used for Instructing the eUICC to deactivate the first profile to activate the second profile;
  • the terminal receives the first instruction sent by the eUICC, where the first instruction is a response of the eUICC to the activation command, and is used to indicate that the terminal does not perform the restart of the eUICC;
  • the terminal reserves the cache according to the first instruction.
  • the data of the first profile saved in the first profile is stored in the cache; the terminal accesses the network through the second profile.
  • the method further includes:
  • the terminal sends a profile switching command to the eUICC, so that the eUICC deactivates the second profile, and activates the first profile; the terminal receives the profile switching success message sent by the eUICC.
  • the sending, by the terminal, the profile switching command to the eUICC includes: when the terminal receives the request for accessing the first profile, the terminal Send a profile switch command to the eUICC.
  • the sending, by the terminal, the profile switching command to the eUICC includes: when the terminal receives the request for accessing the first profile, and the current When the service that does not interact with the second profile is in progress, the terminal sends a profile switching command to the eUICC.
  • the method further includes: the terminal starts a profile switching timer; and the terminal sends the profile switching command to the eUICC, including: When the switchover timer expires, the terminal sends a profile switch command to the eUICC. After receiving the profile switch success message sent by the eUICC, the terminal further includes: the terminal restarts the profile switch timer.
  • the method further includes: the terminal receiving the reset response ATR message sent by the eUICC, where the ATR message includes the first indication parameter; the terminal sending the activation instruction to the eUICC includes: the terminal sending the profile activation instruction to the eUICC according to the first indication parameter.
  • the profile activation command is a Set Status command or a Store Data command
  • the Profile activation command includes a second indication parameter
  • the second indication parameter is used to cause the eUICC to send the first instruction to the terminal according to the second indication parameter
  • the method further includes: receiving, by the terminal, an instruction to disable the first target profile, the first profile and the second profile One of them is a first target profile; the terminal is detached from the network to which the first target profile belongs; the terminal terminates the profile switching timer.
  • the method further includes: receiving, by the terminal, an instruction to delete the second target profile, where the first profile and the second profile are One of the second target profiles; the terminal is detached from the network to which the second target profile belongs; the terminal terminates the profile switching timer; the terminal sends an instruction to delete the second target profile to the eUICC, so that the eUICC deletes the second target profile; Delete the data of the second target profile in the cache.
  • an embodiment of the present invention provides a method for switching a user information set profile, where the method is applied to an embedded universal integrated circuit card eUICC, where the eUICC includes at least a first profile and a second profile, and the data of the first profile is saved in the second profile.
  • the method includes: the eUICC receives an activation instruction sent by the terminal; the eUICC deactivates the first profile according to the activation instruction, activates the second profile; and the eUICC sends the second profile to the terminal according to the activation instruction.
  • An instruction is used to instruct the terminal not to perform the restart of the eUICC, retain the data of the first profile saved in the cache, and store the data of the second profile in the cache of the terminal to access the network through the second profile.
  • the method further includes: the eUICC receives a profile switching command sent by the terminal; the eUICC deactivates the second profile, activates the first profile; and the eUICC sends the profile to the terminal. Switch the success message.
  • the method further includes: sending, by the eUICC, a reset response ATR message to the terminal,
  • the ATR message includes a first indication parameter, so that the terminal sends a profile activation instruction to the eUICC according to the first indication parameter.
  • the profile activation instruction is a Set Status or a Store data instruction
  • the second embodiment is included in the Profile activation instruction
  • an embodiment of the present invention provides a terminal, where the terminal includes: a processor, an embedded universal integrated circuit card eUICC, and a cache, where the eUICC includes at least a first profile and a second profile, and the first profile data is saved.
  • the terminal has accessed the network through the first profile; the processor is configured to send an activation instruction to the eUICC; the eUICC is configured to deactivate the first profile according to the activation instruction, activate the second profile, and send the first to the processor.
  • the first instruction is used to instruct the processor not to perform the restart of the eUICC; the processor is further configured to: retain the data of the first profile saved in the cache according to the first instruction, and store the data of the second profile in the cache, The terminal is allowed to access the network through the second profile.
  • the processor is further configured to send a profile switching command to the eUICC, and the eUICC is further configured to: after receiving the profile switching command, deactivate the second profile, The first profile is activated, and a profile switching success message is sent to the processor.
  • the processor is configured to send a profile switch to the eUICC when receiving the request for accessing the first profile command.
  • the processor is configured to: when receiving the request for accessing the first profile, and currently does not have the second When the business of the profile interaction is in progress, the profile switching command is sent to the eUICC.
  • the processor is further configured to start a profile switching timer, and the processor is specifically configured to when the profile switching timer When the timeout occurs, the profile switching command is sent to the eUICC.
  • the processor is further configured to restart the profile switching timer after receiving the profile switching success message.
  • the eUICC is further configured to send a reset response ATR message to the processor, where the ATR message includes a first indication parameter, and the processor is specifically configured to be used according to the An indicator parameter sends a profile activation command to the eUICC.
  • the processor is specifically used to The eUICC sends a profile activation command, the profile activation command is a Set Status command or a Store Data command, and the profile activation command includes a second indication parameter.
  • the eUICC is specifically configured to send the first instruction to the processor according to the second indication parameter.
  • the processor is further configured to receive an instruction to disable the first target profile, and send the terminal from the first target profile The attached network is detached, and the profile switching timer is terminated, wherein the first target profile is one of the first profile and the second profile.
  • the processor is further configured to receive an instruction to delete the second target profile, and the terminal is to be associated with the second target profile The network is detached, and the profile switching timer is terminated, and the eUICC sends an instruction to delete the second target profile, where the second target profile is one of the first profile and the second profile; the eUICC is also used for receiving After the instruction sent by the processor to delete the second target profile, the second target profile is deleted; the processor is further configured to delete the data of the second target profile in the cache.
  • the eUICC includes at least a first profile and a second profile, and the terminal has accessed the network through the first profile, and the data of the first profile is saved in the buffer of the terminal, and the terminal sends an activation instruction to the eUICC, and the activation command is sent.
  • the eUICC is used to inactivate the first profile, activate the second profile, and send a first instruction to the terminal, where the first instruction indicates that the terminal does not need to perform the restart of the eUICC, and after receiving the first instruction sent by the eUICC, the terminal retains the saved in the cache.
  • the data of the first profile is stored in the cache of the second profile, and then accesses the network through the second profile.
  • the terminal does not restart the eUICC, and still retains the data of the profile before the handover, and uses these
  • the data resides in the network to which the profile before the switch belongs, and the profile can also be accessed by using the switched profile, so that fast switching between profiles can be realized, and the effect of single card dual standby is realized.
  • FIG. 1 is a schematic diagram of a logical architecture of an eUICC according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for switching a profile according to an embodiment of the present invention
  • FIG. 3 is another flowchart of a method for switching a profile according to an embodiment of the present invention.
  • FIG. 4 is a flow chart of information exchange between a terminal and an eUICC according to an embodiment of the present invention
  • FIG. 5 is a flowchart of another information interaction between a terminal and an eUICC according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of another information interaction between a terminal and an eUICC according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of another information interaction between a terminal and an eUICC according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of another information interaction between a terminal and an eUICC according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the present invention provides a method, a terminal, and an eUICC for profile switching, which can implement flexible and fast switching between multiple profiles, thereby implementing a single card dual standby function. The details are described below.
  • the embodiments of the present invention mainly relate to a network element of a device, an eUICC, and a mobile network operator (MNO).
  • a network element of a device an eUICC, and a mobile network operator (MNO).
  • MNO mobile network operator
  • the terminal in the embodiment of the present invention may be a smart phone, a tablet computer, an Internet of Things terminal device, or a terminal device having a wireless communication function, such as a handheld device, an in-vehicle device, a wearable device, and a computing device.
  • the eUICC in the embodiment of the present invention is generally embedded in the terminal by means of encapsulation or soldering. In this manner, the eUICC is inconvenient to be inserted and removed in the terminal.
  • the eUICC may also be embedded in the terminal. It is as free as the UICC.
  • the specific form of the eUICC in the terminal is not limited herein.
  • the eUICC in the embodiment of the present invention includes at least two profiles.
  • the profile refers to a set of file structures, data, and applications, and may include one or more network access applications and corresponding network access credentials.
  • network access applications such as International Mobile Subscriber Identity (IMSI), Personal Identity Authentication Key (KI), and the like.
  • IMSI International Mobile Subscriber Identity
  • KI Personal Identity Authentication Key
  • the terminal is deployed in a location that is inconvenient for manual card insertion or card replacement, the user can remotely configure the eUICC, such as remotely downloading, activating, deactivating, and deleting the profile in the eUICC to implement flexible management of the smart card.
  • Figure 1 is a schematic diagram of a logical architecture of the eUICC. As shown in the figure, the eUICC includes:
  • ECASD eUICC Controlling Authority Security Domain
  • the primary security domain root (ISD-R) is associated with a subscription management-secure routing (SM-SR, not shown) outside the eUICC, and is used to establish and SM.
  • SM-SR subscription management-secure routing
  • ISS-P Primary Security Domain Profile
  • the Issuer Security Domain Profile also known as the Profile domain, is a space for storing profiles, and is stored with a subscription management-data preparation unit (SM). -DP, not shown in the figure) Key for secure communication, and credentials for decrypting and installing the profile.
  • SM subscription management-data preparation unit
  • the SM-SR and the SM-DP in the embodiment of the present invention may be two logical entities, two physical entities, or the same logical entity, and the same physical entity, which is not limited by the present invention.
  • Profile two profiles are shown in Figure 1, one for the active profile and one for the inactive profile.
  • Each profile further includes: a file system, a network access application (NAA), policy rules, other applications, and a Mobile Network Operator Security Domain (MNO-SD).
  • NAA network access application
  • MNO-SD Mobile Network Operator Security Domain
  • the Local Profile Assistant Services is a module for managing profiles in the eUICC in the terminal.
  • the terminal manages the profile through the LPA service in the eUICC.
  • the eUICC operating system includes a platform service management unit (Platform Service Manager) and a telecom framework (Telecom Framework).
  • the platform service management unit is used to provide platform management functions and policy rule execution mechanisms.
  • the telecom framework is used to provide a standardized network authorization algorithm to NAA, and can also use a demand parameter configuration algorithm.
  • FIG. 1 is only a schematic diagram of the eUICC, and does not necessarily represent the actual eUICC logical structure. In practical applications, the actual logical structure may be changed.
  • a profile switching method provided by an embodiment of the present invention includes:
  • the terminal sends an activation instruction to the eUICC, where the eUICC receives an activation instruction sent by the terminal.
  • the initialization process of the eUICC is initiated: the terminal powers up the pins of the UICC in sequence, and then supplies power to the eUICC according to the lowest voltage level (such as 1.8V), matches the voltage level supported by the eUICC, and negotiates a communication protocol.
  • the lowest voltage level such as 1.8V
  • the eUICC includes a first profile and a second profile.
  • the first profile is in an active state. After the terminal initializes the eUICC, the terminal saves the data of the first profile in the cache of the terminal, and accesses the network through the first profile.
  • the profile data stored in the cache of the terminal is not all the data of the profile, but only part of the data in the profile, for example, the file under the MF in the profile file system and the data generated when the network access application NAA initializes.
  • the terminal in addition to buffering the data of the first profile, the terminal itself generates some data related to the first profile for caching, such as data such as an encryption key in the communication process.
  • the terminal initiates activation of the second profile, and sends an activation command to the eUICC, where the activation command may be an enhanced profile enable command for controlling the state of the profile, that is, switching the profile.
  • the activation of the second profile by the terminal may be initiated by the user in the user interface after the second profile is installed, or may be initiated by the terminal itself when the device is powered on. Activation of the second profile that is not activated in the eUICC.
  • the terminal before the terminal sends the second profile command to the eUICC, it is required to determine that the high priority service (such as a call) currently interacting with the first profile is in progress, and if not, send the activation to the eUICC.
  • the instruction of the second profile before the terminal sends the second profile command to the eUICC, it is required to determine that the high priority service (such as a call) currently interacting with the first profile is in progress, and if not, send the activation to the eUICC.
  • the instruction of the second profile is required to determine that the high priority service (such as a call) currently interacting with the first profile is in progress, and if not, send the activation to the eUICC.
  • the eUICC deactivates the first profile according to the activation instruction, and activates the second profile.
  • the eUICC After receiving the activation command sent by the terminal, the eUICC deactivates the first profile, activates the second profile, deactivates the profile, and activates the profile.
  • the specific manner is to change the state of the profile, for example, when the state machine of the profile is set to 1, it is activated. Status, the terminal can read the data of the profile; when the status machine of the profile is set to 0, it is deactivated, and the terminal cannot read the data of the profile.
  • the eUICC sends a first instruction to the terminal according to the activation instruction, where the terminal receives the first instruction sent by the eUICC.
  • the activation command sent by the terminal to the eUICC carries a special indication parameter.
  • the eUICC supports the single card dual standby function of the present invention, the eUICC sends a first instruction to the terminal according to the special indication parameter, and is used for The terminal is instructed not to perform the restart of the eUICC, that is, the eUICC is not re-initialized.
  • the profile activation command may be a Set Status command or a Store Data command in the prior art, and based on the existing Set Status command or the Store Data command, the special one is extended.
  • the indication parameter is used to indicate that the Set Status command or the Store Data command is a specific command different from the existing command, so that after receiving the command, the eUICC needs to perform a first instruction that sends an eUICC restart to the terminal. Wait for specific logic.
  • a message is returned, where the message includes the capability of the eUICC to support the profile switching method (ie, the single card dual standby feature) of the present invention.
  • the terminal is caused to send an activation instruction containing the special parameter to the eUICC.
  • the message returned to the terminal when the eUICC is powered on may be optimized based on the prior art Answer To Reset (ATR) message, and the parameter in the ATR message is extended to indicate that the eUICC supports the profile switch of the present invention.
  • ATR Answer To Reset
  • Method single card dual standby feature
  • Specific way Is the T4 field (the value of card capabilities) of the extended ATR message.
  • the first instruction sent by the eUICC may be a re-refresh Refresh command that is redefined according to the prior art, and the command carries a new mode, indicating that the terminal does not need to restart the eUICC.
  • the terminal retains data of the first profile saved in the cache according to the first instruction, and stores the data of the second profile in the cache.
  • the terminal After receiving the first instruction sent by the eUICC, the terminal does not restart the eUICC, and retains the data of the first profile saved in the cache, and the data terminal can still reside in the network to which the first profile belongs; the terminal initiates the second The initialization process of the profile reads the related data of the second profile and caches it in the cache.
  • the terminal does not read all the data of the second profile, but only part of the data in the profile, for example, the file under the MF in the profile file system and the data generated when the network access application NAA initializes.
  • the terminal in addition to buffering the data of the first profile, the terminal itself generates some data related to the first profile for caching, such as data such as an encryption key in the communication process.
  • the data of the first profile and the second profile are stored in the cache of the terminal independently of each other.
  • the terminal accesses the network by using the second profile.
  • the terminal After the terminal saves the data of the second profile in the cache, the terminal completes the network authentication through the second profile, and attaches to the network by using the second profile.
  • the terminal sends an activation instruction to the eUICC, so that the eUICC deactivates the first profile, activates the second profile, and sends a first instruction to the terminal, where the instruction indicates that the terminal does not restart the eUICC, and after receiving the first instruction, the terminal receives the first instruction.
  • the eUICC is not restarted, and the data of the first profile saved in the cache is retained, and the data of the second profile is stored in the cache, so that the terminal can access the network through the second profile.
  • the existing eUICC initialization process is optimized, so that after the profile switching occurs, the terminal does not restart the eUICC, and still retains the data of the profile before the handover, and uses the data to reside in the network to which the profile before the handover belongs.
  • the switched profile can also be used to access the network, so that fast switching between profiles can be realized, and single card dual standby can be realized. Effect.
  • the data of the first profile and the second profile are simultaneously saved in the cache of the terminal, and the terminal can be implemented by the profile switching instruction on the basis of the network in which the first profile and the second profile belong at the same time.
  • the fast switching between the profiles is performed in turn to implement the switch to access the first profile and access the second profile.
  • step 301 to step 305 is the same as step 201 to step 205, and details are not described herein.
  • the terminal starts a profile switching timer.
  • the profile switching timer is started, or the profile switching timer may be started after confirming that the terminal has accessed the network to which the second profile belongs through the second profile.
  • the terminal sends a profile switching command to the eUICC.
  • the terminal When the profile switching timer expires, the terminal initiates a profile switching process and sends a profile switching command to the eUICC.
  • the terminal when the terminal has not expired, the terminal receives the request for accessing the first profile (for example, a call incoming call request, an outgoing call request, etc.), and the terminal sends a profile switching command to the eUICC.
  • the first profile for example, a call incoming call request, an outgoing call request, etc.
  • the terminal when the terminal receives the request for accessing the first profile, the terminal does not immediately send the profile switching command to the eUICC, but needs to determine whether there is currently a service that interacts with the second profile. If yes, send a profile switch command to the eUICC.
  • the switching command may be a Local Switch or a Profile Switch command.
  • the eUICC deactivates the second profile and activates the first profile.
  • the eUICC After receiving the profile switching command sent by the terminal, the eUICC deactivates the second profile that is currently in the active state, and activates the first profile that is currently in the deactivated state.
  • the specific way to deactivate the profile and activate the profile is to change the state of the profile. For example, when the profile state machine is set to 1, it is active, the terminal can read the profile data; when the profile state machine is set to 0, it is deactivated. Status, the terminal cannot read the data of the profile.
  • the eUICC sends a profile switching success message to the terminal.
  • the eUICC deactivates the second profile, activates the first profile, and sends a profile switch success message to the terminal, so that the terminal can be switched to access the first profile by accessing the second profile.
  • the terminal restarts the profile switching timer.
  • the terminal After receiving the profile switching success message sent by the eUICC, the terminal restarts the profile switching timer to continue to switch between the first profile and the second profile.
  • the embodiment of the present invention is applicable to a scenario in which the terminal is already powered on, and there is only one profile in the eUICC, and the profile is in an active state, and then the user newly downloads a profile.
  • the eUICC has an activated first profile, and the eUICC downloads and installs the second profile.
  • the eUICC notifies the terminal that the second profile has been installed.
  • the terminal prompts the user through the UI interface that the second profile has been installed.
  • the user selects to activate the second profile.
  • the terminal determines whether a service (such as a call) that is currently interacting with the first profile is in progress, and if not, initiates a profile activation.
  • a service such as a call
  • the terminal sends a profile enable command for activating the profile to the eUICC.
  • the profile enable command may be optimized based on the Set Status command or the Store Data command in the prior art to indicate that the Set Status command or the Store Data command is a specific command different from the existing command, and the eUICC receives the command. After the command, specific logic such as sending a first instruction to the terminal that does not require an eUICC restart is required.
  • the code of P1 is as follows:
  • the RFU is a value that is reserved for later use and has not yet been defined.
  • the embodiment of the present invention may use b5 to b1 that have not been defined to indicate that the Set Status command is a specific command different from the existing command;
  • the Set Status command can be indicated as a specific command that is different from the existing command by adding an indication to other fields in the Set Status command (for example, the data field).
  • the eUICC deactivates the first profile and activates the second profile.
  • the eUICC sends a first instruction to the terminal, indicating that the terminal does not need to perform a restart of the UICC card (for example, a Refresh command, and the command carries a new mode);
  • the terminal After receiving the first instruction, the terminal retains data of the first profile in the cache, and initiates an initialization process for the second profile.
  • the terminal opens a new logical channel, establishes a new session session, reads the file under the MF in the second profile file system, and saves the file to the cache;
  • the terminal initializes the network access application NAA in the second profile, and saves the file to the cache.
  • the terminal accesses the network by using the NAA of the second profile.
  • the terminal notifies the user that the profile is successfully enabled through the UI interface.
  • the terminal starts a profile switch timer.
  • the profile switch timer expires, or when a request for accessing the first profile is received (for example, a call request), and no service currently interacting with the second profile is currently in progress, the first profile switching process is initiated.
  • the terminal sends a local switch command.
  • the eUICC deactivates the second profile and activates the first profile.
  • the eUICC sends an indication of a profile switch successful to the terminal.
  • the terminal restarts the profile switch timer, and when the timer expires, the next switch is performed, and the cycle is switched.
  • the terminal updates, to the first profile, a changed network parameter of the network of the first profile (eg, an event such as a location area update of the network of the first profile).
  • a changed network parameter of the network of the first profile eg, an event such as a location area update of the network of the first profile.
  • the update of the network data of the first profile may be a timing update, an event-triggered update, or an update when the terminal is powered off, and the update mechanism is not in the embodiment of the present invention. Make a limit.
  • the network parameter of the network of the first profile herein may be a network parameter that changes from the time of the last update, not only the first profile is deactivated, but the network parameter that changes during the second profile is used.
  • one of the profiles can be set as the primary card and the other as the secondary card.
  • the application scenario of the primary card and the secondary card is described below with reference to FIG. 5 .
  • the embodiment of the present invention is applicable to the fact that the terminal is already in the power-on state.
  • the eUICC has only one profile, and the profile is in the active state. After that, the user newly downloads a profile scenario, and the user sets the newly downloaded profile as the primary card, and the original profile is the secondary card. .
  • the eUICC has an activated first profile, and the eUICC downloads and installs the second profile.
  • the eUICC notifies the terminal that the second profile has been installed.
  • the terminal prompts the user through the UI interface that the second profile has been installed.
  • the user selects to activate the second profile and change the primary and secondary card settings.
  • the terminal determines whether a service (such as a call) that is currently interacting with the first profile is in progress, and if not, initiates a profile activation.
  • a service such as a call
  • the terminal restarts the protocol stack.
  • the terminal uses the secondary stack and the first profile to access the network.
  • the terminal sends a profile enable command for activating the profile to the eUICC.
  • the eUICC deactivates the first profile and activates the second profile.
  • the eUICC sends a first instruction to the terminal, indicating that the terminal does not need to restart the UICC card (for example, a Refresh command, and the command carries a new mode);
  • the terminal After receiving the first instruction, the terminal retains data of the first profile in the cache, and initiates an initialization process for the second profile.
  • the terminal opens a new logical channel, establishes a new session, and reads a file under the MF in the second profile file system, and saves the file to the cache.
  • the terminal initializes the network access application NAA in the second profile, and saves the file to the cache.
  • the terminal accesses the network by using the primary stack and the second profile NAA.
  • the terminal notifies the user that the profile is successfully enabled through the UI interface.
  • Steps 516 to 522 are the same as steps 414 to 420 in the embodiment shown in FIG. 4, and details are not described herein again.
  • the newly installed second profile is used as the primary card
  • the original activated first profile is used as the secondary card as an example to describe the primary and secondary secondary card settings
  • the user initiates the setting of changing the primary and secondary cards.
  • the profile set as the primary card accesses the network through the primary stack
  • the profile set as the secondary card accesses the network through the secondary stack.
  • the terminal is powered on, and initiates a normal eUICC initialization process: the eUICC is powered on, and the eUICC returns an Answer To Reset (ATR) message to the terminal.
  • ATR Answer To Reset
  • the ATR message contains a series of eUICC-supported capabilities, and the terminal negotiates with the eUICC based on the message.
  • the ATR parameter is optimized based on the prior art ATR parameter, and the parameter in the ATR message is extended to indicate that the eUICC supports the profile switching method (ie, the single card dual standby feature) of the present invention.
  • the specific way may be to extend the T4 field (the value of card capabilities) of the ATR message.
  • the terminal acquires the capability supported by the eUICC from the ATR, and determines whether the single card dual standby is supported.
  • the terminal initiates an initialization process of the first profile.
  • the terminal acquires data of the first profile from the eUICC, and saves the data of the first profile to the cache.
  • the terminal accesses the network by using the first profile.
  • the terminal sends a profile enable command to the eUICC.
  • the eUICC deactivates the first profile and activates the second profile.
  • the eUICC sends a first instruction to the terminal, indicating that the terminal does not need to perform a restart of the UICC card (for example, a Refresh command, and the command carries a new mode);
  • the terminal opens a new logical channel, establishes a new session, and performs an initialization process of the second profile.
  • the terminal caches data of the second profile.
  • the terminal reads the file in the MF in the second profile file system, and saves the file in the cache, and initializes the network access application NAA in the second profile, and saves it in the cache.
  • the terminal accesses the network by using the second profile.
  • Steps 612 to 618 are the same as steps 414 to 420 in the embodiment shown in FIG. 4, and details are not described herein again.
  • the user stops when switching between using the first profile and the second profile. Use one of the profiles of the process.
  • deactivating a profile refers to deactivating the profile and terminating the switch between profiles, so that the profile is always deactivated until the user actively resumes enabling the profile (ie, re-actively activated).
  • the profile ).
  • the user selects to disable the first profile in the dual card management interface.
  • step 702. If the first profile is in the deactivated state, the first profile needs to be activated first. When the terminal determines that the service that is currently not interacting with the second profile is in progress, the profile switching process is initiated. If the first profile is in an active state, step 706 is directly performed;
  • the terminal sends a local switch command to the eUICC.
  • the eUICC deactivates the second profile, and activates the first profile.
  • the eUICC sends a profile switching success indication to the terminal.
  • the terminal is detached from the network to which the first profile belongs.
  • the service that interacts with the first profile is terminated, and the service interaction cannot be performed through the first profile.
  • the terminal closes the session channel that interacts with the first profile.
  • the terminal stops the profile switching timer, and terminates the timing switching between the profiles.
  • the terminal sends a local switch command to the eUICC.
  • the eUICC After receiving the local switch command, the eUICC deactivates the first profile and activates the second profile.
  • the eUICC sends a profile switching success indication to the terminal.
  • the terminal After receiving the indication, the terminal accesses the second profile. At this point, the eUICC successfully deactivates the first profile and no longer switches between profiles.
  • the steps 801 to 811 are the steps of deactivating the first profile, which are the same as steps 701 to 711 in the embodiment shown in FIG. Let me repeat.
  • the terminal sends an instruction to delete the first profile to the eUICC.
  • the terminal may send a profile delete command to the eUICC, where the command carries the profile ID of the first profile or the AID of the ISD-P of the container stored in the first profile.
  • the eUICC deletes the first profile.
  • the eUICC After receiving the instruction to delete the first profile, the eUICC deletes the first profile that has been downloaded and installed.
  • the eUICC returns a response to the terminal.
  • the eUICC After deleting the first profile, the eUICC returns a response indicating that the deletion is successful to the terminal.
  • the terminal deletes data of the cached first profile.
  • the terminal in the embodiment of the present invention may be a smart phone, a tablet computer, an Internet of Things terminal device, or a terminal device having a wireless communication function, such as a handheld device, an in-vehicle device, a wearable device, and a computing device.
  • the eUICC is generally embedded in the terminal device by means of encapsulation or soldering, and is sold as part of the terminal device. Therefore, the eUICC is used as a part of the terminal device to introduce the terminal including the eUICC.
  • an embodiment of the present invention provides a terminal 9, which includes:
  • the terminal 9 in the embodiment of the present invention only describes the structure related to the present invention.
  • the terminal 9 includes a memory, a radio frequency transmitter, and the like, in addition to the foregoing processor 901, eUICC 9002, and cache 903.
  • a hardware device such as a display, and other hardware devices other than the present invention will not be described here.
  • the processor 901 is configured to send an activation command to the eUICC 9002.
  • the eUICC 9002 includes at least a first profile and a second profile.
  • the data of the first profile is saved in the cache 903, and the terminal has accessed through the first profile.
  • the internet
  • the eUICC 9002 is configured to deactivate the first profile according to the activation instruction, activate the second profile, and send a first instruction to the processor 901, where the first instruction is used to instruct the processor 901 not to perform the restart of the eUICC 9002;
  • the processor 901 is further configured to: retain the data of the first profile saved in the cache 903 according to the first instruction, and store the data of the second profile in the cache 903, so that the terminal is connected through the second profile. Into the network.
  • the terminal accesses the network through the second profile.
  • the processor 901 performs operation according to the data of the second profile of the cache 903, completes network authentication, and then accesses the network to which the second profile belongs through the radio frequency module, and specifically connects
  • the interaction between the network and other modules in the terminal device is prior art and will not be described in detail here.
  • the data of the first profile and the second profile are stored independently of each other in the cache of the terminal.
  • the processor 901 sends an activation instruction to the eUICC 9002, so that the eUICC 9002 deactivates the first profile, activates the second profile, and the eUICC 9002 sends a first instruction to the processor 901, the instruction instructing the processor 901 not to restart the eUICC.
  • the processor 901 after receiving the first instruction, the processor 901 does not restart the eUICC 9002, and retains the data of the first profile saved in the cache 903, and stores the data of the second profile in the cache 903, after which the processor 901 passes The second profile accesses the network.
  • the processor 901 does not perform the restart of the eUICC 9002, and still retains the data of the profile before the handover, and uses the data to reside in the profile before the handover.
  • the switched profile can also be used to access the network, so that fast switching between profiles can be realized, and the effect of single card dual standby is realized.
  • the processor 9001 is further configured to send a profile switching command to the eUICC 9002.
  • the eUICC 9002 is further configured to: after receiving the profile switching command, deactivate the second profile, activate the first profile, and send the profile switch to the processor 9001. A message so that the processor 9001 can access the first profile.
  • the processor 9001 is specifically configured to send a profile switching command to the eUICC 9002 when receiving the request to access the first profile.
  • the processor 9001 is specifically configured to send a profile switching command to the eUICC 9002 when receiving a request to access the first profile and the service that is not currently interacting with the second profile is in progress.
  • the processor 9001 is further configured to start a profile switching timer.
  • the profile switching timer expires, the profile switching command is sent to the eUICC 9002, and after receiving the above profile switching success message, the profile switching timer is restarted.
  • the eUICC 9002 is further configured to send a reset response ATR message to the processor 9001, where the ATR message includes a first indication parameter, and the processor 9001 is specifically configured to send the foregoing to the eUICC 9002 according to the first indication parameter.
  • Profile activation command is specifically configured to send the foregoing to the eUICC 9002 according to the first indication parameter.
  • the processor 9001 is specifically configured to send a profile activation command to the eUICC 9002, the profile activation command is a Set Status command or a Store Data command, and the profile activation command includes a second indication parameter; eUICC 9002, specifically for The first instruction is sent to the processor 9001 according to the second indication parameter.
  • the processor 9001 is further configured to receive an instruction to disable the first target profile, attach the terminal from the network to which the first target profile belongs, and terminate the profile switching timer, where A target profile is one of the first profile and the second profile.
  • the processor 9001 is further configured to receive an instruction to delete the second target profile, detach the terminal from the network to which the second target profile belongs, and terminate the profile switching timer, and send the deletion to the eUICC 9002.
  • the eUICC 9002 is further configured to: after receiving the instruction of deleting the second target profile sent by the processor 9001, deleting the first The second target profile; the processor 9001 is further configured to delete the data of the second target profile in the cache 9003.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供了一种Profile切换的方法及终端,能够实现多个Profile之间的灵活快速切换。本发明实施例的Profile切换方法包括:终端向eUICC发送激活指令,该eUICC中至少包括第一Profile和第二Profile,终端已通过第一Profile接入网络,第一Profile的数据已保存在终端的缓存中,该激活指令用于指示eUICC去激活第一Profile,激活第二Profile,并向终端发送第一指令,第一指令用于指示终端不执行eUICC的重启,终端接收第一指令后,保留缓存中的第一Profile的数据,并将第二Profile的数据存入缓存中,通过第二Profile接入网络。本发明实施例中,在Profile切换之后,终端不进行eUICC的重启,仍然使用切换前的数据驻留在切换前的Profile所属网络中,同时使用切换后的Profile也可以接入网络,从而可以实现Profile之间的快速切换。

Description

一种Profile切换的方法及终端 技术领域
本发明涉及领域,尤其涉及一种用户信息集Profile切换的方法及终端。
背景技术
随着物联网的快速发展,为了能更有效的管理物联网订购、更灵活有效的进行物联网终端配置,特别是为了满足特定应用场景和使用环境下的特殊要求,国际标准组织GSMA提出了嵌入式通用集成电路卡(embedded UICC,eUICC)的需求。eUICC可以应用于智能手机、平板电脑、可穿戴设备等和人们紧密相关的终端上,更好的满足人们对新智能卡的特殊要求以及终端向更高集成度方向发展的需要。
eUICC中通常安装有至少一个用户信息集Profile,在现有技术中,eUICC只支持一个激活的Profile,所以同一时刻只能接入一个网络。所以如果要使用用一个eUICC实现两个两张UICC卡的功能,其中的一种解决方案是通过两个Profile之间的灵活快速切换来实现双卡的功能。
然而现有技术中,eUICC在切换Profile时,终端会删除自身缓存中原来激活的Profile的数据,重新对eUICC进行初始化,读取新激活的Profile的数据并存储至缓存中。这种Profile切换的流程首先需要对eUICC平台进行重新初始化,即先对eUICC下电,再重新上电,匹配eUICC支持的电压等级,重新协商通信协议等,然后需要使用新激活的Profile接入网络,完成完整的网络鉴权过程,而该鉴权过程一般耗时较长。所以整个Profile切换过程会发生业务中断,业务丢失(例如:漏接电话)等情况,用户体验较差。
发明内容
本发明提供了一种Profile切换的方法及终端,能够实现多个Profile之间的灵活快速切换,从而实现单卡双待功能。
第一方面,本发明实施例提供了一种切换用户信息集Profile的方法,该 方法包括:
终端向嵌入式通用集成电路卡eUICC发送激活指令,eUICC至少包括第一Profile和第二Profile,第一Profile的数据保存在终端的缓存中,终端已通过第一Profile接入网络,激活指令用于指示eUICC去激活第一Profile,激活第二Profile;终端接收eUICC发送的第一指令,第一指令为eUICC对激活指令的响应,用于指示终端不执行eUICC的重启;终端根据第一指令保留缓存中保存的第一Profile的数据,并将第二Profile的数据存入缓存中;终端通过第二Profile接入网络。
结合第一方面,在第一方面的第一种可能的实现方式中,该方法还包括:
终端向eUICC发送Profile切换命令,以使得eUICC去激活第二Profile,激活第一Profile;终端接收eUICC发送的Profile切换成功消息。
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,终端向eUICC发送Profile切换命令包括:当终端接收到接入第一Profile的请求时,终端向eUICC发送Profile切换命令。
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,终端向eUICC发送Profile切换命令包括:当终端接收到接入第一Profile的请求,且当前没有与第二Profile交互的业务正在进行时,终端向eUICC发送Profile切换命令。
结合第一方面的第一种可能的实现方式,在第一方面的第四种可能的实现方式中,该方法还包括:终端启动Profile切换定时器;终端向eUICC发送Profile切换命令包括:当Profile切换定时器超时时,终端向eUICC发送Profile切换命令;终端接收eUICC发送的Profile切换成功消息之后还包括:终端重启Profile切换定时器。
结合第一方面或第一方面的第一种可能的实现方式至第一方面第四种可能的实现方式中的任一种可能的实现方式,在第一方面的第五种可能的实现方式中,该方法还包括:终端接收eUICC发送的复位应答ATR消息,ATR消息中包含第一指示参数;终端向eUICC发送激活指令包括:终端根据第一指示参数,向eUICC发送Profile激活指令。
结合第一方面或第一方面的第一种可能的实现方式至第一方面第四种可能的实现方式中的任一种可能的实现方式,在第一方面的第六种可能的实现方式中,Profile激活指令为Set Status命令或Store Data命令,Profile激活指令中包含第二指示参数,第二指示参数用于使得eUICC根据第二指示参数向终端发送第一指令。
结合第一方面第四种可能的实现方式,在第一方面的第七种可能的实现方式中,该方法还包括:终端接收停用第一目标Profile的指令,第一Profile和第二Profile中的其中一个为第一目标Profile;终端从第一目标Profile所属的网络中去附着;终端终止Profile切换定时器。
结合第一方面第四种可能的实现方式,在第一方面的第八种可能的实现方式中,该方法还包括:终端接收删除第二目标Profile的指令,第一Profile和第二Profile中的其中一个为第二目标Profile;终端从第二目标Profile所属的网络中去附着;终端终止Profile切换定时器;终端向eUICC发送删除第二目标Profile的指令,以使得eUICC删除第二目标Profile;终端删除缓存中的第二目标Profile的数据。
第二方面,本发明实施例提供了一种切换用户信息集Profile的方法,该方法应用于嵌入式通用集成电路卡eUICC,eUICC至少包括第一Profile和第二Profile,第一Profile的数据保存在终端的缓存中,终端已通过第一Profile接入网络,该方法包括:eUICC接收终端发送的激活指令;eUICC根据激活指令去激活第一Profile,激活第二Profile;eUICC根据激活指令向终端发送第一指令,第一指令用于指示终端不执行eUICC的重启,保留缓存中保存的第一Profile的数据,并将第二Profile的数据存入终端的缓存中,以通过第二Profile接入网络。
结合第二方面,在第二方面的第一种可能的实现方式中,该方法还包括:eUICC接收终端发送的Profile切换命令;eUICC去激活第二Profile,激活第一Profile;eUICC向终端发送Profile切换成功消息。
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,该方法还包括:eUICC向终端发送复位应答ATR消息, ATR消息中包含第一指示参数,以使得终端根据第一指示参数向eUICC发送Profile激活指令。
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第三种可能的实现方式中,Profile激活指令为Set Status或Store data指令,Profile激活指令中包含第二指示参数;eUICC根据激活指令向终端发送第一指令包括:eUICC根据第二指示参数向终端发送第一指令。
第三方面,本发明实施例提供了一种终端,该终端包括:处理器、嵌入式通用集成电路卡eUICC和缓存,其中,eUICC至少包括第一Profile和第二Profile,第一Profile的数据保存在缓存中,终端已通过第一Profile接入网络;处理器,用于向eUICC发送激活指令;eUICC,用于根据激活指令去激活第一Profile,激活第二Profile,并向处理器发送第一指令,第一指令用于指示处理器不执行eUICC的重启;处理器,还用于根据第一指令保留缓存中保存的第一Profile的数据,并将第二Profile的数据存入缓存中,以使得终端通过第二Profile接入网络。
结合第三方面,在第三方面的第一种可能的实现方式中,处理器,还用于向eUICC发送Profile切换命令;eUICC,还用于在接收Profile切换命令后,去激活第二Profile,激活第一Profile,向处理器发送Profile切换成功消息。
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,处理器,具体用于当接收到接入第一Profile的请求时,向eUICC发送Profile切换命令。
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,处理器,具体用于当接收到接入第一Profile的请求,且当前没有与第二Profile交互的业务正在进行时,向eUICC发送Profile切换命令。
结合第三方面的第一种可能的实现方式,在第三方面的第四种可能的实现方式中,处理器,还用于启动Profile切换定时器;处理器,具体用于当Profile切换定时器超时时,向eUICC发送Profile切换命令;处理器,还用于在接收到Profile切换成功消息之后,重启Profile切换定时器。
结合第三方面、第三方面的第一种可能的实现方式至第三方面的第四种可 能的实现方式,在第三方面的第五种可能的实现方式中,eUICC,还用于向处理器发送复位应答ATR消息,ATR消息中包含第一指示参数;处理器,具体用于根据第一指示参数,向eUICC发送Profile激活指令。
结合第三方面、第三方面的第一种可能的实现方式至第三方面的第四种可能的实现方式,在第三方面的第六种可能的实现方式中,处理器,具体用于向eUICC发送Profile激活指令,Profile激活指令为Set Status命令或Store Data命令,Profile激活指令中包含第二指示参数;eUICC,具体用于根据第二指示参数向处理器发送第一指令。
结合第三方面的第四种可能的实现方式,在第三方面的第七种可能的实现方式中,处理器,还用于接收停用第一目标Profile的指令,将终端从第一目标Profile所属的网络中去附着,并终止Profile切换定时器,其中,第一目标Profile为第一Profile和第二Profile中的其中一个。
结合第三方面的第四种可能的实现方式,在第三方面的第八种可能的实现方式中,处理器,还用于接收删除第二目标Profile的指令,将终端从第二目标Profile所属的网络中去附着,并终止Profile切换定时器,向eUICC发送删除第二目标Profile的指令,其中,第二目标Profile为第一Profile和第二Profile中的其中一个;eUICC,还用于在接收到处理器发送的删除第二目标Profile的指令后,删除第二目标Profile;处理器,还用于删除缓存中的第二目标Profile的数据。
从以上技术方案可以看出,本发明实施例的方案具有如下有益效果:
本发明实施例中,eUICC中至少包括第一Profile和第二Profile,终端已通过第一Profile接入网络,第一Profile的数据已保存在终端的缓存中,终端向eUICC发送激活指令,激活指令用于指示eUICC去激活第一Profile,激活第二Profile,并向终端发送第一指令,第一指令指示终端不需要执行eUICC的重启,终端接收eUICC发送的第一指令后,保留缓存中保存的第一Profile的数据,并将第二Profile的数据存入缓存中,再通过第二Profile接入网络。本发明实施例中,通过优化现有eUICC初始化流程,使得在发生Profile切换之后,终端不进行eUICC的重启,仍然保留切换前Profile的数据,使用这些 数据驻留在切换前的Profile所属网络中,同时使用切换后的Profile也可以接入网络,从而可以实现Profile之间的快速切换,实现单卡双待的效果。
附图说明
图1为本发明实施例中eUICC的一个逻辑架构示意图;
图2为本发明实施例中Profile切换方法的一种流程图;
图3为本发明实施例中Profile切换方法的另一种流程图;
图4为本发明实施例中终端和eUICC的一种信息交互流程图;
图5为本发明实施例中终端和eUICC的另一种信息交互流程图;
图6为本发明实施例中终端和eUICC的另一种信息交互流程图;
图7为本发明实施例中终端和eUICC的另一种信息交互流程图;
图8为本发明实施例中终端和eUICC的另一种信息交互流程图;
图9为本发明实施例中终端的一种结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、***、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
本发明提供了一种Profile切换的方法、终端及eUICC,能够实现多个Profile之间的灵活快速切换,从而实现单卡双待功能。以下进行详细说明。
本发明实施例主要涉及到终端(Device)、eUICC、移动网络运营商(Mobile Network Operator,MNO)几个网元。
本发明实施例中的终端可以是智能手机、平板电脑、物联网终端设备,还可以是具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备等终端设备。
本发明实施例中的eUICC一般是通过封装或者焊接等方式嵌入到终端中的形式存在,此种方式下,eUICC在终端中不方便插拔;此外,eUICC还也可以以不是嵌入在终端中,而是像UICC一样可以随意插拔的形式存在。eUICC在终端中的具体存在形式,此处不做限定。
本发明实施例中的eUICC中至少包含两个Profile,具体的,Profile是指文件结构、数据和应用程序等的集合,可以包括一个或多个网络接入应用及相应的网络接入信任状,如国际移动用户识别码(International Mobile Subscriber Identity,IMSI)、个人身份鉴权键(Key Identity,KI)等。当终端被部署在不方便进行人工插卡或换卡的位置时,用户可以对eUICC进行远程配置,例如远程下载、激活、去激活、删除eUICC中的Profile,实现智能卡的灵活管理。
图1为eUICC的一个逻辑架构示意图,如图所示,eUICC中包括:
eUICC权限控制安全域(eUICC Controlling Authority Security Domain,ECASD),保存有eUICC的密钥和证书;
主安全域根(Issuer Security Domain Root,ISD-R),和eUICC外的签约管理-安全路由单元(Subscription Manager-Secure Routing,SM-SR,图中未示出)相关联,用于建立和SM-SR之间的安全通信通道,以及创建新的主安全域Profile(Issuer Security Domain Profile,ISD-P);
主安全域Profile(Issuer Security Domain Profile,ISD-P),又称为Profile域,为用于存放Profile的空间,并且保存有和eUICC外的签约管理-数据准备单元(Subscription Manager-Data Preparing,SM-DP,图中未示出)进行安全通信的密钥,以及用于解密和安装Profile的信任状。
需要说明的是,本发明实施例中的SM-SR和SM-DP,可以是两个逻辑实体,两个物理实体,或者同一个逻辑实体,同一个物理实体,具体本发明不做限定。
Profile,图1中示出了两个Profile,一个为激活的Profile,一个为未激活的Profile。每个Profile又进一步包括:文件***、网络接入应用(Network Access Application,NAA)、策略规则、其他应用和移动网络运营商安全域(Mobile Network Operator Security Domain,MNO-SD)。
LPA服务(Local Profile Assistant Services),LPA为终端中用于对eUICC中Profile进行管理的模块,终端通过eUICC中的LPA服务对Profile进行管理。
eUICC操作***,包括平台服务管理单元(Platform Service Manager)和电信框架(Telecom Framework)。平台服务管理单元用于提供平台管理功能和策略规则执行机制。电信框架用于向NAA提供标准化的网络授权算法,还能够使用需求参数配置算法。
需要说明的是,图1所示的逻辑架构只是eUICC一种示意图,不一定代表实际的eUICC逻辑结构,在实际应用中,实际的逻辑结构可能会有所改变。
结合图2,本发明实施例提供的一种Profile切换方法,包括:
201、终端向eUICC发送激活指令,eUICC接收终端发送的激活指令;
终端启动后,发起对eUICC的初始化流程:终端对UICC的管脚按顺序上电,然后按照最低的电压等级(如1.8V)为eUICC供电,匹配eUICC支持的电压等级,协商通信协议等。
eUICC中包括第一Profile和第二Profile,第一Profile处于激活状态,终端对eUICC初始化后,将第一Profile的数据保存在终端的缓存中,并通过第一Profile接入网络。
具体的,此处保存在终端的缓存中的Profile数据并非Profile的全部数据,而只是Profile中的部分数据,例如:Profile文件***中MF下的文件和网络接入应用NAA进行初始化时生成的数据。且在实际应用中,终端除了缓存第一Profile的数据外,自身还会生成一些和第一Profile相关的数据进行缓存,例如通信过程中的加密密钥等数据。
之后,终端发起对第二Profile的激活,向eUICC发送激活指令,该激活指令可以是增强的Profile enable命令,用于控制Profile的状态,即进行Profile的切换。
在具体的实施中,终端发起对第二Profile的激活具体可以是在安装第二Profile后,由用户在用户界面发起第二Profile的激活流程,也可以是在开机时由终端自身发起对已存在于eUICC中的未激活的第二Profile的激活。
可选的,在实际应用中,终端向eUICC发送激活第二Profile指令之前,需要判断当前有和第一Profile交互的高优先级业务(如:通话)正在进行,若没有,才向eUICC发送激活第二Profile的指令。
202、eUICC根据该激活指令去激活第一Profile,激活第二Profile;
eUICC在接收到终端发送的激活指令后,去激活第一Profile,激活第二Profile,去激活Profile和激活Profile具体的方式是改变Profile的状态,例如:当Profile的状态机置为1时为激活状态,终端可以读取Profile的数据;当Profile的状态机置为0时为去激活状态,终端不可以读取该Profile的数据。
203、eUICC根据激活指令向终端发送第一指令,终端接收eUICC发送的第一指令;
在步骤201中,终端向eUICC发送的激活指令中携带了特殊的指示参数,当eUICC支持本发明的单卡双待功能时,eUICC会根据该特殊的指示参数向终端发送第一指令,用于指示终端不执行eUICC的重启,即不对eUICC进行重新初始化。
可选的,在一种具体的实施中,Profile激活指令可以为现有技术中的Set Status命令或Store Data命令,在此基础上,在现有的Set Status命令或Store Data命令中扩展特殊的指示参数,使用该指示参数来指示该Set Status命令或Store Data命令为区别于现有命令的特定命令,使得eUICC在收到该命令后,需要执行向终端发送不需要进行eUICC重启的第一指令等特定的逻辑。
进一步,在一种具体的实施中,在eUICC上电,与终端协商通信协议时,会返回消息,该消息中包含eUICC支持本发明的Profile切换方法(即单卡双待特性)的能力,以使得终端会向eUICC发送包含该特殊参数的激活指令。
具体的,eUICC上电时返回给终端的消息可以是在现有技术的复位应答(Answer To Reset,ATR)消息基础上进行优化,通过扩展ATR消息中的参数来指示eUICC支持本发明的Profile切换方法(即单卡双待特性)。具体方式可以 是扩展ATR消息的T4字段(card capabilities的值)。
进一步,在一种具体的实施中,eUICC发送的第一指令可以是在现有技术基础上重新定义的重新刷新Refresh命令,该命令携带新的mode,指示终端不需要进行eUICC的重启。
204、终端根据第一指令保留缓存中保存的第一Profile的数据,并将第二Profile的数据存入缓存中;
终端在接收到eUICC发送的第一指令后,不对eUICC进行重启,且保留缓存中保存的第一Profile的数据,使用这些数据终端仍然可以驻留在第一Profile所属网络中;终端发起对第二Profile的初始化流程,读取第二Profile的相关数据,并缓存到缓存中。
同理,终端读取的并非第二Profile的全部数据,而只是Profile中的部分数据,例如:Profile文件***中MF下的文件和网络接入应用NAA进行初始化时生成的数据。且在实际应用中,终端除了缓存第一Profile的数据外,自身还会生成一些和第一Profile相关的数据进行缓存,例如通信过程中的加密密钥等数据。
另外,需要说明的是,第一Profile和第二Profile的数据是相互独立的存储在终端的缓存中。
205、终端通过第二Profile接入网络。
终端在将第二Profile的数据保存在缓存中后,通过第二Profile完成网络鉴权,使用第二Profile附着到网络。
本发明实施例中,终端向eUICC发送激活指令,使得eUICC去激活第一Profile,激活第二Profile,并向终端发送第一指令,该指令指示终端不重启eUICC,终端接收到第一指令后,不对eUICC进行重启,且保留缓存中保存的第一Profile的数据,并将第二Profile的数据存入缓存中,以使得终端可以通过第二Profile接入网络。本发明实施例中,通过优化现有eUICC初始化流程,使得在发生Profile切换之后,终端不进行eUICC的重启,仍然保留切换前Profile的数据,使用这些数据驻留在切换前的Profile所属网络中,同时使用切换后的Profile也可以接入网络,从而可以实现Profile之间的快速切换,实现单卡双待 的效果。
进一步,在终端的缓存中同时保存了第一Profile、第二Profile的数据,在同时驻留在了第一Profile、第二Profile所属的网络中的基础上,终端可以通过Profile切换指令来实现两个Profile之间的轮流快速切换,来实现对接入第一Profile和接入第二Profile的切换。下面进行详细说明。
在进行切换之前,先要对第一Profile和第二Profile进行初始化,将第一Profile和第二Profile的数据保存到缓存中,具体过程与图2所示的实施例相同,即步骤301至步骤305与步骤201至步骤205相同,具体此处不做赘述。
306、终端启动Profile切换定时器;
在终端缓存了第二Profile的数据后,启动Profile切换定时器,或者,也可以在确认终端已通过第二Profile接入第二Profile所属的网络中之后,再启动Profile切换定时器。
307、当Profile切换定时器超时时,或终端接收到接入第一Profile的请求时,终端向eUICC发送Profile切换命令;
当Profile切换定时器到期时,终端发起Profile的切换流程,向eUICC发送Profile切换命令。
或者,当定时器还没有到期时,终端接收到了接入第一Profile的请求时(例如:通话呼入请求、呼出请求等),终端向eUICC发送Profile切换命令。
可选的,在实际应用中,当终端接收到了接入第一Profile的请求时,并不会立马向eUICC发送Profile切换命令,而是需要判断当前是否有与所述第二Profile交互的业务正在进行,若否,则向eUICC发送Profile切换命令。
可选的,该切换命令具体可以是Local Switch或Profile Switch命令。
308、eUICC去激活第二Profile,激活第一Profile;
eUICC接收到终端发送的Profile切换命令后,去激活当前处于激活状态的第二Profile,激活当前处于去激活状态的第一Profile。
去激活Profile和激活Profile具体的方式是改变Profile的状态,例如:当Profile的状态机置为1时为激活状态,终端可以读取Profile的数据;当Profile的状态机置为0时为去激活状态,终端不可以读取该Profile的的数据。
309、eUICC向终端发送Profile切换成功消息;
eUICC去激活第二Profile,激活第一Profile,向终端发送Profile切换成功消息,从而终端可以由接入第二Profile切换到接入第一Profile。
310、终端重启Profile切换定时器。
终端接收到eUICC发送的Profile切换成功消息后,同时重启Profile切换定时器,以继续定时在第一Profile和第二Profile之间进行切换。
下面以具体的应用场景为例,对本发明实施例中的Profile切换方法进行介绍。
结合图4,本发明实施例适用于终端已经处于开机状态,eUICC中原来只有一个Profile,该Profile处于激活状态,之后,用户新下载一个Profile的场景。
401、eUICC中有已激活的第一Profile,eUICC下载并安装第二Profile;
402、eUICC通知终端第二Profile已完成安装;
403、终端通过UI界面向用户提示第二Profile已安装完成;
404、用户选择激活第二Profile;
405、终端判断当前是否有和第一Profile交互的业务(如通话)正在进行,若否,则发起Profile激活;
406、终端向eUICC发送激活Profile的Profile enable命令;
可选的,该Profile enable命令可以在现有技术中的Set Status命令或Store Data命令基础上进行优化,来指示该Set Status命令或Store Data命令为区别于现有命令的特定命令,eUICC在收到该命令后,需要执行向终端发送不需要进行eUICC重启的第一指令等特定的逻辑。
以Set Status命令为例,现有命令参数如表1所示:
表1
Figure PCTCN2015091219-appb-000001
其中P1的编码如下:
表2
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
1 0 0 - - - - - Indicate Issuer Security Domain
0 1 0 - - - - - Indicate Application or Supplementary Security Domain
0 1 1 - - - - - Indicate Security Domain and its associated Applications
- - - X X X X X RFU
其中RFU为留作以后使用,目前尚未定义的值,本发明实施例可以使用尚未定义的b5到b1,来指示该Set Status命令为区别于现有命令的特定命令;
或,也可以通过在Set Status命令中的的其他字段(例如:data字段)中增加指示,来指示该Set Status命令为区别于现有命令的特定命令。
407、eUICC去激活第一Profile,激活第二Profile;
408、eUICC向终端发送第一指令,指示终端不需要进行UICC卡的重启(例如:Refresh命令,命令携带新的mode);
409、终端接收到第一指令后,保留缓存中的第一Profile的数据,发起对第二Profile的初始化流程;
410、终端打开新的逻辑通道,建立新的会话session,读取第二Profile文件***中MF下的文件,并保存到缓存中;
411、终端对第二Profile中的网络接入应用NAA进行初始化,保存到缓存中;
412、终端利用第二Profile的NAA接入网络;
413、终端通过UI界面通知用户Profile启用成功;
414、终端启动Profile switch定时器;
415、当Profile switch定时器到期,或收到接入第一Profile的请求时(例如通话请求),且当前无正在和第二Profile交互的业务正在进行时,发起第一Profile切换流程;
416、终端发送local switch命令;
417、eUICC去激活第二Profile,激活第一Profile;
418、eUICC向终端发送Profile切换成功(Profile switch successful)的指示;
419、终端重新启动Profile switch定时器,再等定时器超时时,进行下一次切换,如此循环切换。
420、终端将第一Profile的网络发生的变化的网络参数(例如:第一Profile的网络发生过位置区更新等事件)更新到第一Profile中。
需要说明的是,第一Profile(或第二Profile)的网络数据的更新可以是定时更新,也可以是事件触发更新,还可以是终端关机的时候再进行更新,更新的机制本发明实施例不做限定。
此处的第一Profile的网络发生变化的网络参数可以是从上一次更新的时间起发生变化的网络参数,不仅仅是第一Profile去激活,使用第二Profile期间发生变化的网络参数。
在两个Profile之间进行切换时,可以将其中的一个Profile设置为主卡、另一个设置为副卡,下面结合图5,对主卡、副卡的设置应用场景进行介绍。
本发明实施例适用于终端已经处于开机状态,eUICC中原来只有一个Profile,该Profile处于激活状态,之后,用户新下载一个Profile场景,且用户设置新下载的Profile为主卡,原Profile为副卡。
501、eUICC中有已激活的第一Profile,eUICC下载并安装第二Profile;
502、eUICC通知终端第二Profile已完成安装;
503、终端通过UI界面向用户提示第二Profile已安装完成;
504、用户选择激活第二Profile,并更改主副卡设置;
505、终端判断当前是否有和第一Profile交互的业务(如通话)正在进行,若否,则发起Profile激活;
506、终端重启协议栈;
507、终端使用副栈和第一Profile接入网络;
508、终端向eUICC发送激活Profile的Profile enable命令;
具体的可选的Profile enable命令与图5所示的实施例中描述的相同,此处不再赘述。
509、eUICC去激活第一Profile,激活第二Profile;
510、eUICC向终端发送第一指令,指示终端不需要进行UICC卡的重启(例如:Refresh命令,命令携带新的mode);
511、终端接收到第一指令后,保留缓存中的第一Profile的数据,发起对第二Profile的初始化流程;
512、终端打开新的逻辑通道,建立新的session,读取第二Profile文件***中MF下的文件,并保存到缓存中;
513、终端对第二Profile中的网络接入应用NAA进行初始化,保存到缓存中;
514、终端利用主栈和第二Profile的NAA接入网络;
515、终端通过UI界面通知用户Profile启用成功;
步骤516至步骤522与图4所示的实施例中的步骤414至步骤420相同,此处不再赘述。
需要说明的是,本发明实施例中只是以将新安装的第二Profile作为主卡,将原激活的第一Profile作为副卡为例对主副卡设置进行说明,除此之外,还可以在其他的场景下由用户主动发起更改主副卡的设置,设置为主卡的Profile通过主栈接入网络,设置为副卡的Profile通过副栈接入网络。
上面是基于eUICC重新下载安装新的Profile的场景对Profile切换方法进行的介绍,下面结合图6,从eUICC中已安装有两个Profile,用户正常开机的应用场景进行介绍。
如果eUICC中有多于两个Profile,则假设用户通过在关机前已经选择使用 第一Profile和第二Profile,所以开机后不会激活其他的Profile。
601、终端开机,发起正常的eUICC初始化流程:对eUICC进行上电,eUICC向终端返回复位应答(Answer To Reset,ATR)消息;
ATR消息包含一系列eUICC支持的能力,终端基于该消息来与eUICC进行通信协议等协商。
本发明实施例中,在现有技术的ATR参数基础上进行了优化,通过扩展ATR消息中的参数来指示eUICC支持本发明的Profile切换方法(即单卡双待特性)。具体方式可以是扩展ATR消息的T4字段(card capabilities的值)。
602、终端从ATR获取eUICC支持的能力,判断是否支持单卡双待;
603、终端发起第一Profile的初始化流程;
604、终端从eUICC中获取第一Profile的数据,将第一Profile的数据保存至缓存中;
605、终端利用第一Profile接入网络;
606、终端向eUICC发送Profile enable命令;
具体的可选的Profile enable命令与图5所示的实施例中描述的相同,此处不再赘述。
607、eUICC去激活第一Profile,激活第二Profile;
608、eUICC向终端发送第一指令,指示终端不需要进行UICC卡的重启(例如:Refresh命令,命令携带新的mode);
609、终端打开新的逻辑通道,建立新的session,进行第二Profile的初始化流程;
610、终端缓存第二Profile的数据;
具体为终端读取第二Profile文件***中MF下的文件,并保存到缓存中,对第二Profile中的网络接入应用NAA进行初始化,保存到缓存中。
611、终端利用第二Profile接入网络;
步骤612至步骤618与图4所示的实施例中的步骤414至步骤420相同,此处不再赘述。
下面结合图7,介绍在在使用第一Profile和第二Profile进行切换时,用户停 用其中的某一个Profile的流程。
需要说明的是,此处的停用某一个Profile是指的去激活该Profile,并终止Profile之间的切换,使得该Profile一直处于去激活状态,直到用户主动恢复启用该Profile(即重新主动激活该Profile)。
下面以停用第一Profile为例进行说明:
701、用户在双卡管理界面选择停用第一Profile;
702、若第一Profile为去激活状态,则需要先激活第一Profile,当终端确定当前无正在和第二Profile交互的业务在进行时,发起Profile切换流程。若第一Profile为激活状态时,直接执行步骤706;
703、终端向eUICC发送local switch命令;
704、eUICC去激活第二Profile,激活第一Profile;
705、eUICC向终端发送Profile切换成功指示;
706、终端从第一Profile所属的网络中去附着;
终端在从第一Profile所述的网络中去附着后,与第一Profile交互的业务将终止,且不能再通过第一Profile进行业务交互。
707、终端关闭和第一Profile进行交互的session通道;
708、终端停止Profile切换定时器,终止Profile之间的定时切换;
709、终端向eUICC发送local switch命令;
710、eUICC接收到local switch命令后,去激活第一Profile,激活第二Profile;
711、eUICC向终端发送Profile切换成功指示。
终端接收到该指示后,接入第二Profile。此时,eUICC成功停用第一Profile,不再进行Profile之间的切换。
下面结合图8,介绍在在使用第一Profile和第二Profile进行切换时,用户删除其中的某一个Profile的流程。下面以删除第一Profile为例进行说明:
因为在删除Profile之前,需要先停用待删除的目标Profile,步骤801至步骤811为停用第一Profile的步骤,与图7所示的实施例中的步骤701至步骤711相同,此处不再赘述。
812、终端向eUICC发送删除第一Profile的指令;
具体可以为终端向eUICC发送Profile delete指令,在指令中携带第一Profile的Profile ID或者存储在第一Profile的容器的ISD-P的AID。
813、eUICC删除第一Profile;
eUICC在接收到删除第一Profile的指令后,删除已下载安装的第一Profile。
814、eUICC向终端返回响应;
eUICC在删除了第一Profile之后,向终端返回删除成功的响应。
815、终端删除缓存的第一Profile的数据。
以上是对Profile切换方法进行的介绍,下面从硬件结构处理的角度对本发明中的终端进行介绍。
本发明实施例中的终端可以是智能手机、平板电脑、物联网终端设备,还可以是具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备等终端设备。
本发明实施例中,eUICC一般是通过封装或焊接等方式嵌入在终端设备中,作为终端设备中的一部分进行销售的,所以下面将eUICC作为终端设备的一部分,对包含eUICC的终端进行介绍。
结合图9,本发明实施例提供了一种终端9,该终端9包括:
处理器901、eUICC 9002和缓存903;
需要说明的是,本发明实施例中的终端9只描述与本发明相关的结构,在实际应用中,终端9除了以上处理器901、eUICC 9002和缓存903以外,还包括存储器、射频发射器、显示器等硬件设备,此处对本发明以外的其他硬件设备不做描述。
本发明实施例中,处理器901,用于向eUICC 9002发送激活指令,eUICC 9002至少包括第一Profile和第二Profile,第一Profile的数据保存在缓存903中,终端已通过第一Profile接入网络;
eUICC 9002,用于根据激活指令去激活第一Profile,激活第二Profile,并向处理器901发送第一指令,第一指令用于指示处理器901不执行eUICC 9002的重启;
处理器901,还用于根据第一指令保留缓存903中保存的第一Profile的数据,并将第二Profile的数据存入缓存903中,以使得终端通过第二Profile接 入网络。
具体的,终端通过第二Profile接入网络具体是处理器901根据缓存903的第二Profile的数据进行运算,完成网络鉴权,再通过射频模块接入第二Profile所属的网络中,具体的接入网络时与终端设备中其他模块之间的交互为现有技术,此处不做详细介绍。
另外,需要说明的是,第一Profile和第二Profile的数据是相互独立的存储在终端的缓存中的。
本发明实施例终端9的处理器901、eUICC 9002和缓存903之间的交互过程可以参阅前述图2所示实施例中的交互过程,具体此处不再赘述。
本发明实施例中,处理器901向eUICC 9002发送激活指令,使得eUICC 9002去激活第一Profile,激活第二Profile,eUICC 9002向处理器901发送第一指令,该指令指示处理器901不重启eUICC 9002,处理器901接收到第一指令后,不对eUICC 9002进行重启,且保留缓存903中保存的第一Profile的数据,并将第二Profile的数据存入缓存903中,之后,处理器901通过第二Profile接入网络。本发明实施例中,通过优化现有eUICC 9002初始化流程,使得在发生Profile切换之后,处理器901不进行eUICC 9002的重启,仍然保留切换前Profile的数据,使用这些数据驻留在切换前的Profile所属网络中,同时使用切换后的Profile也可以接入网络,从而可以实现Profile之间的快速切换,实现单卡双待的效果。
进一步,上述处理器9001,还用于向eUICC 9002发送Profile切换命令;eUICC 9002,还用于在接收Profile切换命令后,去激活第二Profile,激活第一Profile,向处理器9001发送Profile切换成功消息,以使得处理器9001可以接入第一Profile。
在一些实施方式中,上述处理器9001,具体用于当接收到接入第一Profile的请求时,向eUICC 9002发送Profile切换命令。
在一些实施方式中,上述处理器9001,具体用于当接收到接入第一Profile的请求,且当前没有与第二Profile交互的业务正在进行时,向eUICC 9002发送Profile切换命令。
在一些实施方式中,上述处理器9001,还用于启动Profile切换定时器, 当Profile切换定时器超时时,向eUICC 9002发送Profile切换命令,当在接收到上述Profile切换成功消息之后,重启Profile切换定时器。
在一些实施方式中,上述eUICC 9002,还用于向处理器9001发送复位应答ATR消息,ATR消息中包含第一指示参数;处理器9001,具体用于根据第一指示参数,向eUICC 9002发送上述Profile激活指令。
在一些实施方式中,上述处理器9001,具体用于向eUICC 9002发送Profile激活指令,Profile激活指令为Set Status命令或Store Data命令,Profile激活指令中包含第二指示参数;eUICC 9002,具体用于根据第二指示参数向处理器9001发送第一指令。
本发明实施例终端9的上述处理器9001、eUICC 9002和缓存903之间的交互过程可以参阅前述图3所示实施例中的交互过程,具体此处不再赘述。
另外,在一些实施方式中,上述处理器9001,还用于接收停用第一目标Profile的指令,将终端从第一目标Profile所属的网络中去附着,并终止Profile切换定时器,其中,第一目标Profile为第一Profile和第二Profile中的其中一个。
具体的处理器9001、eUICC 9002之间停用Profile的交互过程可以参阅前述图7所示实施例中的交互过程,具体此处不再赘述。
在一些实施方式中,上述处理器9001,还用于接收删除第二目标Profile的指令,将终端从第二目标Profile所属的网络中去附着,并终止Profile切换定时器,向eUICC 9002发送删除第二目标Profile的指令,其中,第二目标Profile为第一Profile和第二Profile中的其中一个;eUICC 9002,还用于在接收到处理器9001发送的删除第二目标Profile的指令后,删除第二目标Profile;处理器9001,还用于删除缓存9003中的第二目标Profile的数据。
具体的处理器9001、eUICC 9002之间删除Profile的交互过程可以参阅前述图8所示实施例中的交互过程,具体此处不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程, 在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (22)

  1. 一种切换用户信息集Profile的方法,其特征在于,所述方法包括:
    终端向嵌入式通用集成电路卡eUICC发送激活指令,所述eUICC至少包括第一Profile和第二Profile,所述第一Profile的数据保存在所述终端的缓存中,所述终端已通过所述第一Profile接入网络,所述激活指令用于指示所述eUICC去激活所述第一Profile,激活所述第二Profile;
    所述终端接收所述eUICC发送的第一指令,所述第一指令为所述eUICC对所述激活指令的响应,用于指示所述终端不执行所述eUICC的重启;
    所述终端根据所述第一指令保留缓存中保存的所述第一Profile的数据,并将所述第二Profile的数据存入缓存中;
    所述终端通过所述第二Profile接入网络。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述终端向所述eUICC发送Profile切换命令,以使得所述eUICC去激活所述第二Profile,激活所述第一Profile;
    所述终端接收所述eUICC发送的Profile切换成功消息。
  3. 根据权利要求2所述的方法,其特征在于,所述终端向所述eUICC发送Profile切换命令包括:
    当所述终端接收到接入所述第一Profile的请求时,所述终端向所述eUICC发送所述Profile切换命令。
  4. 根据权利3所述的方法,其特征在于,所述终端向所述eUICC发送Profile切换命令包括:
    当所述终端接收到接入所述第一Profile的请求,且当前没有与所述第二Profile交互的业务正在进行时,所述终端向所述eUICC发送所述Profile切换命令。
  5. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    所述终端启动Profile切换定时器;
    所述终端向所述eUICC发送Profile切换命令包括:
    当所述Profile切换定时器超时时,所述终端向所述eUICC发送所述Profile切换命令;
    所述终端接收所述eUICC发送的Profile切换成功消息之后还包括:
    所述终端重启所述Profile切换定时器。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述方法还包括:
    所述终端接收所述eUICC发送的复位应答ATR消息,所述ATR消息中包含第一指示参数;
    所述终端向eUICC发送激活指令包括:
    所述终端根据所述第一指示参数,向所述eUICC发送所述Profile激活指令。
  7. 根据权利要求1至5中任一项所述的方法,其特征在于:
    所述Profile激活指令为Set Status命令或Store Data命令,所述Profile激活指令中包含第二指示参数,所述第二指示参数用于使得所述eUICC根据所述第二指示参数向所述终端发送所述第一指令。
  8. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    所述终端接收停用第一目标Profile的指令,所述第一Profile和所述第二Profile中的其中一个为所述第一目标Profile;
    所述终端从所述第一目标Profile所属的网络中去附着;
    所述终端终止所述Profile切换定时器。
  9. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    所述终端接收删除第二目标Profile的指令,所述第一Profile和所述第二Profile中的其中一个为所述第二目标Profile;
    所述终端从所述第二目标Profile所属的网络中去附着;
    所述终端终止所述Profile切换定时器;
    所述终端向所述eUICC发送删除所述第二目标Profile的指令,以使得所述eUICC删除所述第二目标Profile;
    所述终端删除缓存中的所述第二目标Profile的数据。
  10. 一种切换用户信息集Profile的方法,其特征在于,所述方法应用于嵌入式通用集成电路卡eUICC,所述eUICC至少包括第一Profile和第二Profile,所述第一Profile的数据保存在终端的缓存中,所述终端已通过所述第 一Profile接入网络,所述方法包括:
    eUICC接收终端发送的激活指令;
    所述eUICC根据所述激活指令去激活所述第一Profile,激活所述第二Profile;
    所述eUICC根据所述激活指令向所述终端发送第一指令,所述第一指令用于指示终端不执行eUICC的重启,保留缓存中保存的所述第一Profile的数据,并将所述第二Profile的数据存入所述终端的缓存中,以通过所述第二Profile接入网络。
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:
    所述eUICC接收所述终端发送的Profile切换命令;
    所述eUICC去激活所述第二Profile,激活所述第一Profile;
    所述eUICC向所述终端发送Profile切换成功消息。
  12. 根据权利要求10或11所述的方法,其特征在于,所述方法还包括:
    所述eUICC向所述终端发送复位应答ATR消息,所述ATR消息中包含第一指示参数,以使得所述终端根据所述第一指示参数向所述eUICC发送所述Profile激活指令。
  13. 根据权利要求10或11所述的方法,其特征在于:
    所述Profile激活指令为Set Status或Store data指令,所述Profile激活指令中包含第二指示参数;
    所述eUICC根据所述激活指令向所述终端发送第一指令包括:
    所述eUICC根据所述第二指示参数向所述终端发送所述第一指令。
  14. 一种终端,其特征在于,所述终端包括:
    处理器、嵌入式通用集成电路卡eUICC和缓存,其中,所述eUICC至少包括第一Profile和第二Profile,所述第一Profile的数据保存在缓存中,所述终端已通过所述第一Profile接入网络;
    所述处理器,用于向eUICC发送激活指令;
    所述eUICC,用于根据所述激活指令去激活所述第一Profile,激活所述第二Profile,并向所述处理器发送第一指令,所述第一指令用于指示所述处理器不执行所述eUICC的重启;
    所述处理器,还用于根据所述第一指令保留缓存中保存的所述第一Profile的数据,并将所述第二Profile的数据存入缓存中,以使得所述终端通过所述第二Profile接入网络。
  15. 根据权利要求14所述的终端,其特征在于:
    所述处理器,还用于向所述eUICC发送Profile切换命令;
    所述eUICC,还用于在接收所述Profile切换命令后,去激活所述第二Profile,激活所述第一Profile,向所述处理器发送Profile切换成功消息。
  16. 根据权利要求15所述的终端,其特征在于:
    所述处理器,具体用于当接收到接入所述第一Profile的请求时,向所述eUICC发送所述Profile切换命令。
  17. 根据权利16所述的终端,其特征在于:
    所述处理器,具体用于当接收到接入所述第一Profile的请求,且当前没有与所述第二Profile交互的业务正在进行时,向所述eUICC发送所述Profile切换命令。
  18. 根据权利要求15所述的终端,其特征在于:
    所述处理器,还用于启动Profile切换定时器;
    所述处理器,具体用于当所述Profile切换定时器超时时,向所述eUICC发送所述Profile切换命令;
    所述处理器,还用于在接收到所述Profile切换成功消息之后,重启所述Profile切换定时器。
  19. 根据权利要求14至18中任一项所述的终端,其特征在于:
    所述eUICC,还用于向所述处理器发送复位应答ATR消息,所述ATR消息中包含第一指示参数;
    所述处理器,具体用于根据所述第一指示参数,向所述eUICC发送所述Profile激活指令。
  20. 根据权利要求14至18中任一项所述的终端,其特征在于:
    所述处理器,具体用于向所述eUICC发送所述Profile激活指令,所述Profile激活指令为Set Status命令或Store Data命令,所述Profile激活指令中包含第二指示参数;
    所述eUICC,具体用于根据所述第二指示参数向所述处理器发送所述第一指令。
  21. 根据权利要求18所述的终端,其特征在于:
    所述处理器,还用于接收停用第一目标Profile的指令,将所述终端从所述第一目标Profile所属的网络中去附着,并终止所述Profile切换定时器,其中,所述第一目标Profile为所述第一Profile和所述第二Profile中的其中一个。
  22. 根据权利要求18所述的终端,其特征在于:
    所述处理器,还用于接收删除第二目标Profile的指令,将所述终端从所述第二目标Profile所属的网络中去附着,并终止所述Profile切换定时器,向所述eUICC发送删除所述第二目标Profile的指令,其中,所述第二目标Profile为所述第一Profile和所述第二Profile中的其中一个;
    所述eUICC,还用于在接收到所述处理器发送的删除所述第二目标Profile的指令后,删除所述第二目标Profile;
    所述处理器,还用于删除缓存中的所述第二目标Profile的数据。
PCT/CN2015/091219 2015-09-30 2015-09-30 一种Profile切换的方法及终端 WO2017054172A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201580082924.3A CN107950041B (zh) 2015-09-30 2015-09-30 一种Profile切换的方法及终端
US15/765,080 US10182340B2 (en) 2015-09-30 2015-09-30 Profile switching method and terminal
PCT/CN2015/091219 WO2017054172A1 (zh) 2015-09-30 2015-09-30 一种Profile切换的方法及终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/091219 WO2017054172A1 (zh) 2015-09-30 2015-09-30 一种Profile切换的方法及终端

Publications (1)

Publication Number Publication Date
WO2017054172A1 true WO2017054172A1 (zh) 2017-04-06

Family

ID=58422560

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/091219 WO2017054172A1 (zh) 2015-09-30 2015-09-30 一种Profile切换的方法及终端

Country Status (3)

Country Link
US (1) US10182340B2 (zh)
CN (1) CN107950041B (zh)
WO (1) WO2017054172A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110169100A (zh) * 2017-12-19 2019-08-23 华为技术有限公司 配置文件管理的方法、嵌入式通用集成电路卡和终端
CN110324808A (zh) * 2018-03-30 2019-10-11 中兴通讯股份有限公司 配置文件的切换方法、装置与移动终端
CN111434087A (zh) * 2017-11-30 2020-07-17 三星电子株式会社 用于提供通信服务的方法和电子设备
CN111480350A (zh) * 2017-12-18 2020-07-31 华为技术有限公司 嵌入式sim卡的数据访问的方法和设备
CN112153628A (zh) * 2020-09-29 2020-12-29 恒宝股份有限公司 码号资源的激活管理、指令处理、重启管理方法、装置

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769983A (zh) * 2018-05-16 2018-11-06 北京握奇智能科技有限公司 一种单sim双号双待机的方法和***
WO2020032589A1 (en) * 2018-08-07 2020-02-13 Samsung Electronics Co., Ltd. Method, apparatus, and system for authorizing remote profile management
CN108924821B (zh) * 2018-08-10 2021-09-14 恒宝股份有限公司 一种管理与运营商无关应用的方法及其eUICC卡
US10951731B2 (en) * 2018-10-12 2021-03-16 Qualcomm Incorporated Profile switch feature in subsidy locked devices with eUICC
WO2020080909A1 (en) 2018-10-19 2020-04-23 Samsung Electronics Co., Ltd. Method and apparatus for handling remote profile management exception
KR102546972B1 (ko) * 2018-10-19 2023-06-26 삼성전자 주식회사 프로파일 원격관리 예외 처리 방법 및 장치
IT201800009917A1 (it) * 2018-10-30 2020-04-30 St Microelectronics Srl Dispositivo resistente alla manomissione implementante una embedded Universal Integrated Circuit Card e corrispondenti dispositivo elettronico, procedimento e prodotto informatico
CN109548004A (zh) * 2018-12-07 2019-03-29 深圳市海派通讯科技有限公司 Profile切换方法及***
GB2580124B (en) * 2018-12-21 2021-12-29 Arm Cloud Services Ltd System and method for data transfer
CN110177366B (zh) * 2019-04-26 2023-11-03 深圳市广和通无线通信软件有限公司 单卡多模模组及单卡多模切换方法
EP3986087A4 (en) * 2019-08-01 2022-08-24 Huawei Technologies Co., Ltd. METHOD FOR SWITCHING NETWORKS OF OPERATORS AND ELECTRONIC DEVICE
CN111163455B (zh) * 2020-02-18 2023-04-07 Oppo广东移动通信有限公司 用户识别号的迁移方法、装置、终端及存储介质
CN113825186B (zh) * 2020-06-19 2023-08-01 维沃移动通信有限公司 离开网络的控制方法、装置和通信设备
EP4233330A4 (en) * 2020-11-19 2024-04-17 Samsung Electronics Co., Ltd. METHOD AND DEVICE FOR HANDLING PROFILES TAKING INTO ACCOUNT DETACHABLE EUICC WITH SUPPORT FOR MULTIPLE ACTIVATED PROFILES
CN114339721A (zh) * 2021-12-28 2022-04-12 武汉天喻信息产业股份有限公司 eSIM***码管理方法、存储介质、电子设备及装置
WO2024091273A1 (en) * 2022-10-28 2024-05-02 Google Llc Mobile device incognito mode with automatic reversion to default operational mode
CN115955667B (zh) * 2022-12-16 2024-04-09 中国联合网络通信集团有限公司 一种基于eUICC的码号变更方法、装置及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158934A (zh) * 2011-04-01 2011-08-17 华为技术有限公司 网络选择方法和设备
CN103167576A (zh) * 2011-12-19 2013-06-19 宇龙计算机通信科技(深圳)有限公司 终端和通信模块切换方法
CN103634791A (zh) * 2012-08-27 2014-03-12 华为终端有限公司 切换运营商网络的方法、用户设备及远程管理平台
EP2835996A1 (en) * 2013-08-09 2015-02-11 Giesecke & Devrient GmbH Methods and devices for performing a mobile network switch

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050186977A1 (en) * 2004-02-23 2005-08-25 Research In Motion Limited Automated switching of user notification profiles in a mobile device
CN101257674B (zh) 2007-02-28 2012-07-04 北京三星通信技术研究有限公司 一种双卡接口快速切换装置及切换方法
CN101355749B (zh) * 2007-07-24 2013-06-05 华为技术有限公司 配置业务参数的方法、***、服务器和终端
WO2013048084A2 (ko) * 2011-09-28 2013-04-04 주식회사 케이티 프로파일 관리 방법, 내장 uicc 및 내장 uicc 탑재 기기
US8577337B2 (en) * 2012-03-05 2013-11-05 Rogers Communications Inc. Radio management method and system using embedded universal integrated circuit card
JP6114394B2 (ja) * 2012-09-21 2017-04-12 アップル インコーポレイテッド ネットワークアクセスを必要とせずに電子的アクセスクライアントの制御された切り替えを行う装置及び方法
CN103702377B (zh) * 2012-09-27 2017-04-12 华为终端有限公司 一种网络切换方法和设备
CN103731894B (zh) * 2012-10-12 2018-01-02 华为终端(东莞)有限公司 网络切换方法及装置
CN103731823B (zh) * 2012-10-15 2017-04-12 华为终端有限公司 签约管理安全路由设备切换的方法及设备
CN102917426B (zh) * 2012-11-15 2015-04-29 中国联合网络通信集团有限公司 物联网终端的运营商网络切换方法及装置
JP2014126865A (ja) * 2012-12-27 2014-07-07 Fujitsu Ltd 暗号処理装置および方法
KR102231948B1 (ko) * 2014-07-17 2021-03-25 삼성전자 주식회사 프로파일 관리서버의 업데이트 방법 및 장치
US10516540B2 (en) * 2016-01-28 2019-12-24 Apple Inc. Management of profiles in an embedded universal integrated circuit card (eUICC)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158934A (zh) * 2011-04-01 2011-08-17 华为技术有限公司 网络选择方法和设备
CN103167576A (zh) * 2011-12-19 2013-06-19 宇龙计算机通信科技(深圳)有限公司 终端和通信模块切换方法
CN103634791A (zh) * 2012-08-27 2014-03-12 华为终端有限公司 切换运营商网络的方法、用户设备及远程管理平台
EP2835996A1 (en) * 2013-08-09 2015-02-11 Giesecke & Devrient GmbH Methods and devices for performing a mobile network switch

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111434087A (zh) * 2017-11-30 2020-07-17 三星电子株式会社 用于提供通信服务的方法和电子设备
CN111434087B (zh) * 2017-11-30 2022-12-02 三星电子株式会社 用于提供通信服务的方法和电子设备
CN111480350A (zh) * 2017-12-18 2020-07-31 华为技术有限公司 嵌入式sim卡的数据访问的方法和设备
CN110169100A (zh) * 2017-12-19 2019-08-23 华为技术有限公司 配置文件管理的方法、嵌入式通用集成电路卡和终端
EP3703400A4 (en) * 2017-12-19 2020-11-25 Huawei Technologies Co. Ltd. PROCESS FOR PROFILE MANAGEMENT, EMBEDDED UNIVERSAL CHIP CARD AND TERMINAL
CN110169100B (zh) * 2017-12-19 2021-10-15 华为技术有限公司 配置文件管理的方法、嵌入式通用集成电路卡和终端
EP4009680A1 (en) * 2017-12-19 2022-06-08 Huawei Technologies Co., Ltd. Profile management method, embedded universal integrated circuit card, and terminal
US11516672B2 (en) 2017-12-19 2022-11-29 Huawei Technologies Co., Ltd. Profile management method, embedded universal integrated circuit card, and terminal
CN110324808A (zh) * 2018-03-30 2019-10-11 中兴通讯股份有限公司 配置文件的切换方法、装置与移动终端
CN112153628A (zh) * 2020-09-29 2020-12-29 恒宝股份有限公司 码号资源的激活管理、指令处理、重启管理方法、装置
CN112153628B (zh) * 2020-09-29 2023-12-05 恒宝股份有限公司 码号资源的激活管理、指令处理、重启管理方法、装置

Also Published As

Publication number Publication date
CN107950041A (zh) 2018-04-20
CN107950041B (zh) 2020-04-14
US20180288606A1 (en) 2018-10-04
US10182340B2 (en) 2019-01-15

Similar Documents

Publication Publication Date Title
WO2017054172A1 (zh) 一种Profile切换的方法及终端
US11064352B2 (en) Embedded universal integrated circuit card (eUICC) file system management with profile switching
JP6231044B2 (ja) 電子的加入者識別モジュール(eSIM)のアプリケーション識別情報の取り扱い
US8954114B2 (en) Apparatuses and methods for providing multi-standby mode of wireless communications using single subscriber identity card with multiple subscriber numbers
EP3340667A1 (en) Method, device and system for migration from sim card to euicc
US10769279B2 (en) Secure element operating system update notification
CN105916144B (zh) 用于动态地支持不同认证算法的技术
US10805793B2 (en) Communication method and device
US20200137555A1 (en) Management of subscriber profiles simultaneously active in an euicc card using a plurality of separate links
CN106131816B (zh) 虚拟sim卡管理方法及终端
TW201611645A (zh) 在嵌入式通用積體電路卡(uicc)中的支援用戶識別模組工具組應用程式
KR101802685B1 (ko) 서비스에 액세스하는 방법 및 대응하는 디바이스
CN106210023B (zh) 虚拟sim卡同步管理方法和终端
WO2014183350A1 (zh) 终端、身份识别卡实现方法以及鉴权方法和装置
WO2012062073A1 (zh) 一种双网终端及其开关机的方法
EP3370402A1 (en) Data setting system, data update system and data setting method
US20230064618A1 (en) Embedded Subscriber Identity Module ESIM Card Identification Method and Terminal Device
CN115442794A (zh) 用于多个已启用的esim配置文件的sim工具包调度
US20230336970A1 (en) Electronic device performing verification using embedded sim and operating method therefor
WO2023228694A1 (en) Communication apparatus and communication method
WO2022161363A1 (zh) 一种网络接入方法、装置及终端设备
CN115412897A (zh) 配置用户身份识别模块的方法及客户终端设备
CN114900831A (zh) 一种上网策略管理方法、装置和存储介质
EP2890164A1 (en) Method for accessing a service, corresponding device and system

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: 15905084

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15765080

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15905084

Country of ref document: EP

Kind code of ref document: A1