使用4G的童鞋在上网的时候,可能经常会发现这么一个现象:手机网络会在LTE和2/3G之间发生切换,当LTE信号不佳时会自动切换到2/3G网络上;反之则又会从2/3G切回LTE。那么在这个切换的过程中,手机的数据在移动网中发生了什么?下面我们就以LTE->3G的情况来分析一下整个切换的流程。
切换分为两个阶段:准备阶段和执行阶段。
(1)准备阶段
图来自参考文档3GPP 23.401。
1 源ENB决定要发起一个系统间切换到目的接入网——UTARN IU模式。这时候上下行数据仍在UE, 源ENB,SGW,PGW之间传输。
2 源ENB发一个handover required包(包含S1AP Cause, Target RNC Identifier, CSG ID, CSG access mode, Source eNodeB Identifier, Source to Target Transparent Container)给源MME,请求核心网在目的RNC, SGSN,SGW上建立相应的资源。
S1mme接口,通过s1apid关联到流
3 源MME从Target RNC Identifier IE中获取handover类型为到UTRAN的IRAT handover。源MME通过发送一个forward Relocation Request消息给目的SGSN(包含IMSI,Target Identification, CSG ID, CSG Membership Indication, MM Context, PDN Connections, MME Tunnel Endpoint Identifier for Control Plane, MME Address for Control plane, Source to Target Transparent Container, RAN Cause, MS Info Change Reporting Action, CSG Information Reporting Action , UE Time Zone, ISR Supported),向SGSN发起handover资源申请。
S3接口,基于GTP-C协议,此消息包含IMSI,可通过IMSI关联到LTE s1mme接口建的流,且包含了S3接口的MME控制面隧道信息(teid+ip),可用做S3接口建流关联用。
4 目的SGSN决定SGW是否要重定位(由于PLMN切换的关系)。如果要重定位,目的SGSN选择目的SGW,并发送一个Create Session Req消息(包含IMSI, SGSN Tunnel Endpoint Identifier for Control Plane, SGSN Address for Control plane, PDN GW address(es) for user plane, PDN GW UL TEID(s) for user plane, PDN GW address(es) for control plane, and PDN