2.TAU

来源:互联网 发布:war包解析源码 编辑:程序博客网 时间:2024/04/30 04:36
消息序号Activity为什么要发送这些请求或命令?传递的参数重要的参数发生的条件或情况收到消息的网元会做哪些事情?要注意的一些点问题2TAU Request UE Core Network Capability,
old GUTI,
last visited TAI,
active flag,
EPS bearer status,
P‑TMSI Signature,
additional GUTI,
eKSI,
NAS sequence number, NAS-MAC,
KSI
RRC
参数:(selected networkold GUMMEI,load reblancing TAUold GUTI,
P‑TMSI Signature

active flag,
EPS bearer status

RRC参数:(selected networkold GUMMEI,load reblancing TAU必须eNodeB:

     1.找MME:根据selected network+old GUMMEI;
     2.如果MME和eNodeB不相连或GUMMEI不可及,或UE指示这个TAU是由于负载均衡引起的,则eNodeB选择MME;
  3TAU Request  complete TAU Request message
 TAI+ECGI
Selected Network必须new MME:

           1.
获取用户信息:通过old GUTI找到old MME/SGSN  4Context Request请求用户信息old GUTI,
complete TAU Request message,
P‑TMSI Signature,
 MME Address,
UE validated
old GUTI,
complete TAU Request message,
P‑TMSI Signature,
 MME Address,
UE validated
必须old MME/SGSN

          1.验证Context Request的有效性;
          2.启动定时器启动的timer的作用:
1) 控制old MME/SGSN删除MM上下文
2) 控制old SGSN删除Iu连接,Old MME如果有旧的S1连接也需要释放
3) 控制old MME/SGSN删除本地承载资源
4) 控制old MME/SGSN删除到old SGW的承载
 5Context Responseold MME(ME Identity (if available), MM Context, EPS Bearer Context(s), Serving GW signalling Address and TEID(s), ISR Supported, MS Info Change Reporting Action (if available), UE Core Network Capability, UE Specific DRX Parameters)
old S4 SGSN
(MM Context, EPS Bearer Context(s), Serving GW signalling Address and TEID(s), ISR Supported, MS Info Change Reporting Action (if available), UE Core Network Capability, UE Specific DRX Parameters)重要参数:
1.EPS Bearer Context(s):包含PDW地址等
2.Serving GW signalling Address and TEID(s)

3.UE Core Network Capability
如果UE在老的MME中未知
TAU Request消息完整性检查失败,
老的
MME返回一个合适的错误原因(error cause6Authentication /Security需要鉴权或安全功能   1.如果TAU Request完整性检查失败,则鉴权是必须的。
2.如果需要分配GUTI并且网络支持加密,则NAS消息应被加密。 鉴权结果:
1.失败:
      TAU更新应被拒绝,并且新的MME发送一个拒绝指示给老的MME/S4 SGSN。老的MME/S4 SGSN应继续就像从没收到过Identification and Context Request。
2.成功:
       继续。此时new MME已经有了用户的信息,new MME是否要换SGW。
new MME这几种情况下换SGW
1.S-GW不能继续服务UE时,
2.新的S-GW期望更久地服务UE
3.
有更优的UEPDN-GW的通道情况下
4.新的S-GW能和PDN-GW在同一节点上7Context Acknowledgeold MME/SGSN确认上下文收到,并指示SGW是否变化Serving GW change indication  old MME/SGSN

          1. 标记UE上下文在SGW,PGW,HSS中不可用(如果Serving GW change indication指示的话)MME在发送 Context Acknowledge后创建会话之前会创建MM上下文,如果:
1.Context Response或其他根本没有承载上下文,则拒绝TAU;
2.
有,则1.创建MM上下文;2.释放UE中未激活的EPS承载网络资源(EPS bearer status的作用) 8 Create Session Request请求会话建立IMSI,
bearer contexts,
MME Address and TEID,
Type,
 the Protocol Type over S5/S8,
 RAT type
bearer contexts,
MME Address and TEID,
Type,
 the Protocol Type over S5/S8,
 RAT type
 new SGW:

1.
更新上下文
2.分配资源:TEID-U/-C1.要带MMETEID-C/Address-C
2.PGW
的控制地址放在 the Protocol Type over S5/S8中,用户面地址放在bearer contexts 9 Modify Bearer Request通知PGW RAT Type的变化(计费)Serving GW Address and TEID,
RAT type
Serving GW Address and TEID, RAT type PGW:

1.
更新上下文
2.分配资源:TEID-U/-C1.要带SGWTEID-C/-U/Address-C-U 9aPCEF initiated IP‑CAN
 Session Modification 
通知PCRF RAT Type的变化(计费)RAT type 使用动态PCCPCRF:
1.
异步更新计费等情况,PGW不会等待PCRF的处理。如果PCRF响应导致EPS承载的修改,PDN-GW应发起承载更新流程 10 Modify Bearer Response MSISDN
Charging IdPGWTEID-C/-U/Address-C-U new SGW:
1.
更新上下文
 11 Create Session ResponseServing GW address and TEID for user plane and control plane
and PDN GW TEIDs (for GTP-based S5/S8) or GRE keys (for PMIP-based S5/S8) for uplink traffic and control plane
SGW、PGW的TEID-C/-U/Address-C-Unew MME:
1.检查有没有UE的签约上下文。没有则向HSS请求
为啥除了SGW的TEID(s)还带PGW的TEID(s)?
答:必须更新MME中的Bearer contexts(见Context Response中返回参数)。
12Update Location Request 向HSS请求UE的签约上下文MME Identity, IMSI, Update Type, MME CapabilitiesMME Identity, IMSI, Update Type, MME CapabilitiesHSS:
  可以允许或不允许更新位置。
  允许:继续
  不允许:发TAU Reject
13Cancel  Location 取消掉old MME/SGSN中的位置信息(MM上下文)IMSI, Cancellation Typeold MME/SGSN:
1.删除MM上下文;
2.如果有Iu连接,释放Iu连接
14Cancel Location AckIMSI15Iu Release Command如果有Iu连接,释放Iu连接16Iu Release Complete17Update Location AckIMSI, Subscription DataIMSI, Subscription Datanew MME:
  检查TA是否允许UE的接入
  允许:接受TAU
  不允许:发TAU Reject
18 Delete Session Request 删除到old S-GW的EPS承载资源Cause, TEID
如果在Context Acknowledge消息中收到Serving GW change indication,表明SGW变化了删除到old S-GW的EPS承载资源除了这步删除到old S-GW的EPS承载资源,
在第4步中启动的定时器超时时,
old MME/S4 SGSN会释放任何本地MME或SGSN承载资源,
19Delete Session Response TEIDold SGW:
  丢弃为这个UE缓存的任何分组
20TAU Accept GUTI,
TAI list,
EPS bearer status,
NAS sequence number,
NAS-MAC,
 IMS Voice over PS session supported Indication
GUTI,
TAI list,
EPS bearer status
UE:
  根据EPS bearer status删除UE中多余激活的承载;

new MME 和 UE:
  若TAU request中设置了active flag,则建立S1连接和RRC连接。
建立S1连接和RRC连接的方法:
   同附着流程中17-22步一样.

Initial context setup Request消息可和TAU Accept结合,减少消息的条数。回来的Initial context setup Response不能与TAU Complete结合,一是因为eNodeB不可能等到UE响应,二是TAU Complete可能消息还不会发送.
21TAU Complete确认收到了
新分配的GUTI
 当新分配了GUTI时发送
0 0
原创粉丝点击