stk(sat) refresh apdu

1) 终端向 SIM 卡下发 的封装指令 ( envelope command )
2) SIM 卡向终端发起 的主动上 艮指令 ( proactive command )

10 Terminal Profile
AA Terminal Capability
C2 Envolope
12 Fetch
14 Terminal Respone

跨 国运 营商在 不 同的地 区的归属 PLMN 、运 营商优先注册 网络 、竟争对手各不相 同,无法使用一张简单 的 EHPLMN/OPLMN/FPLMN 列表控制终端在 不同地 区的 网络接入 。

SIM 卡 可 以通 过 刷 新 (Refresh ) 方 式 通 知 终 端 更新EHPLMN/OPLMN/FPLMN 文件

REFRESH: 请求ME执行SIM卡的初始化过程,和/或提示ME SIM卡中的EF文件内容或结
构已经更高.命令可以使ME复位SIM卡,从而重新启动一个会话.

支持5种不同模式:
1) SIM卡初始化.
此模式通知ME在CHV1校验后,对SIM卡进行初始化
ME不应该电复位SIM卡

2)文件改变通知
词模式通知ME在SIM卡中文件结构或者内容已经改变的

3) SIM卡初始化和文件改变通知

4)SIM卡初始化和文件改变全部通知

5)SIM卡复位
此模式可使 ME终止绘画,并去激活SIM卡.随后,ME再次激活SIM卡,并开始新的SIM卡会话.

若ME采用3V电压, 上述过程中 ME确定SIM没有被更换的情况下,ME将沿用
前一会话所使用的电压,重启SIM卡.否则,ME应该进行电压转换.

一般情况下,命令完成后,发送 Terminal Respone. 然而,此模式 ME不发送.
这是正常的.

EF_IMSI更改过程
如果通过Data Download 或者 SIM卡应用工具箱   和 SIM卡发送的REFRESH命令
对EF_IMSI文件进行更改,下面的规定适用于SIM卡工具箱和ME:
1) SIM卡初始化.若 EF_IMSI文件发生改变, 此命令不被使用,因为MS的行为不可预知.
2)文件改变通知.若EF_IMSI文件发生改变,此命令不被使用,因为MS的行为不可预知
3)SIM卡初始化和文件改变通知.若EF_IMSI是文件通知改变的文件之一
那么ME将激活SIM重启过程.
4)文件初始化和文件全部改变通知,ME将激活MM重启过程
5) SIM卡复位.执行正常的SIM卡复位过程.

A typical 10-step IMSI swap scenario
In the example below, we describe the IMSI swap scenario. In this scenario, a vehicle with an embedded SIM is connected through a device to a German Network Partner with a specific IMSI (IMSI1). Later on, the vehicle is redeployed to Argentina and connects to an Argentine Network Partner of EMnify with a new IMSI (IMSI2).

1)SIM is initially provisioned with IMSI 1 as an active IMSI
2)SIM attaches the German Network (MCC 262)
3)SIM moves to Argentine (MCC 722)
4)SIM tries to reach network in Argentina with IMSI1
5)No roaming agreement is allowed. IMSI1 is rejected by the visited network.
6)The following message is displayed on the EMnify User Interface: “Location update rejected from VLR 34656022000 for IMSI 26201101234567891. This operator is currently not supported for this IMSI. A different IMSI or operator will be used for the network registration.”
7)SIM applet finds Argentina (MCC 722) as the new location
8)SIM Applet overwrites the active IMSI. IMSI1 is replaced with IMSI 3 according to IMSI Selection Table
9)SIM sends a refresh command to the device and a new network attach with IMSI3 is performed
10)SIM is connected with IMSI3 on an Argentine Network Partner of EMnify


Proactive Command:
Timer Managerment
Refresh
Poll Interval

Provide Locall Information

从TS 131.111的Rel 7中,ETSI定义了一个新的特性,在PRO_CMD_REFRESH指令中,增加了一个新的命令细节“Steering of Roaming”。通过这个命令,UICC可以发送一个PLMN列表给ME,达到如下的目的

替换EF_OPLMN中的PLMN列表,从最高优先级开始替换
从SIM和ME内存的FPLMN列表中删除相关PLMN信息
在接下来的流程中,优先使用此列表尝试
如果T计时器超时,优先尝试使用此列表PLMN来维持服务

SUBSCRIPTION_HOME和SUBSCRIPTION_ROAMING一般有不同的覆盖区域。

例如:
SUBSCRIPTION_HOME:覆盖区域A
SUBSCRIPTION_ROAMING:覆盖区域B、C、D

在A、B不交界的情况下,切换不会有任何问题。用户从A移动到B,SIM探测到这个位置切换,就自动把Subscription数据切换为Roaming subscription。

如果A、C交界。在A、C边境区域,可能C信号稍强,此时会尝试登陆C的网络,但是SIM还处于SUBSCRIPTION_HOME。这种情况下,就会导致“PLMN not allowed”结果。ME就会根据标准规定,把当前网络C写入了EF_FPLMN。在这种情况下,即使号码切换到SUBSCRIPTION_ROAMING,按照标准规定,手机也不会再尝试在EF_FPLMN中的网络。导致客户只能通过手动选择网络的方式,才能选到网络。

TS 131.122, $4.4.6 Steering of Roaming
If the MS receives a USAT REFRESH command qualifier (3GPP TS 31.111 [41]) of type “Steering of Roaming”, the MS shall:
a) replace the highest priority entries in the “Operator Controlled PLMN Selector with Access Technology” list with the list provided in the REFRESH command;
b) delete the PLMNs identified by the list in the REFRESH command from the Forbidden PLMN list and from the Forbidden PLMNs for GPRS service list, if they are present in these lists. This includes any information stored
in the SIM and the ME internal memory;
c) take the new information into account in subsequent attempts to access a higher priority PLMN; and
d) attempt to obtain service on a higher priority PLMN as specified in subclause 4.4.3.3 by acting as if timer T that controls periodic attempts has expired.
In order to avoid unnecessary signalling, the network operator should avoid repeatedly using steering of roaming of a particular MS.

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注