【5G系列】Network Slicing学习总结(3)


前面的default configured NSSAI章节,提到了默认配置切片更新需要使用UE PARAMETER UPDATE流程。在这个章节里,就介绍一下这部分。

1 网络流程

在UE已成功通过身份验证并注册到5G系统之后,UDM可以随时决定执行UE参数更新。执行过程如下图所示。
在这里插入图片描述
【流程描述】

  1. UDM希望执行UE参数更新。如果要更新的任何UE参数的最终消费者(例如,更新的路由ID数据)是USIM,则UDM必须使用安全的分组机制(secured packet)来保护这些参数以更新参数 存储在USIM上。 然后,UDM将通过包括受安全数据包保护的参数(如果有)以及最终消费方为ME的任何UE参数,来准备UE参数更新数据(UPU数据)。意思就UE PARAMETER UPDATE消息的不同数据类型UE parameters update data set type。
  2. UDM必须通过将UPU数据包含在AUSF中来调用Nausf_UPUProtection服务操作消息,以获取UPU-MAC-IAUSF和CounterUPU。 如果UDM决定UE要确认收到的UE参数更新数据的成功安全检查,则UDM必须在UE参数更新数据中设置相应的指示(参见TS 24.501 [35]),并在其中包含ACK指示。 Nausf_UPUProtection服务操作消息,以表明它也需要预期的UPU-XMAC-IUE。(意思就是如果网络需要校验UE安全检查结果,则需要让UE回复ACK消息,并将XMACue通过ACK投上来)
    【注意】:需要ACK的是双向校验,在UPU-MAC-IAUSF的计算中包含UE参数更新数据使UE可以验证它是否已被任何中介篡改。 预期的UPU-XMAC-IUE允许UDM验证UE是否正确接收到UE Parameters Update Data。
  3. UDM将调用Nudm_SDM_Notification服务操作,该服务操作在接入和移动预订数据内包含UE参数更新数据,UPU-MAC-IAUSF,CounterUPU。 如果UDM请求确认,它将临时存储预期的UPU-XMAC-IUE。
  4. 收到Nudm_SDM_Notification消息后,AMF将向服务的UE发送DL NAS传输消息。 AMF必须在DL NAS传输消息中包含从UDM接收到的透明容器。(AMF透传)
  5. UE在接收到DL NAS Transport消息后,应在接收到的UE Parameters Update Data和CounterUPU上以与AUSF(如附件A.19中所指定)相同的方式计算UPU-MAC-IAUSF,并验证其是否与 在DL NAS传输消息中接收的UPU-MAC-IAUSF值。 如果UPU-MAC-IAUSF的验证成功并且UPU数据包含受安全分组保护的任何参数(请参见3GPP TS 31.115 [65]),则ME必须使用3GPP TS 31.111中的过程将安全分组转发到USIM。 [66]。 如果UPU-MAC-IAUSF的验证成功,并且UPU数据包含不受安全分组保护的任何参数,则ME必须使用UDM Updata数据中接收到的参数来更新其存储的参数。
  6. 如果UDM已从UE请求确认,并且UE已成功验证并更新了UDM提供的UE参数更新数据,则UE将向服务AMF发送UL NAS传输消息。 UE将生成附件A.20中规定的UPU-MAC-IUE,并将生成的UPU-MAC-IUE包括在UL NAS传输消息中的透明容器中。
  7. 如果在UL NAS传输消息中收到带有UPU-MAC-IUE的透明容器,则AMF必须将带有透明容器的Nudm_SDM_Info请求消息发送给UDM。
  8. 如果UDM指示UE要确认收到的UE参数更新数据的成功安全检查,则UDM必须将收到的UPU-MAC-IUE与UDM在步骤4中临时存储的预期UPU-XMAC-IUE进行比较。

2【A.19】UPU-MAC-IAUSF generation function

When deriving a UPU-MAC-IAUSF from KAUSF, the following parameters 
shall be used to form the input S to the KDF.
-	FC = 0x7B,
-	P0 = UE Parameters Update Data,
-	L0 = length of UE Parameters Update Data 
- 	P1 = CounterUPU
-	L1 = length of CounterUPU
The input key Key shall be KAUSF. 
The UPU-MAC-IAUSF is identified with the 128 least significant bits of the 
output of the KDF.

3【A.20】UPU-MAC-IUE generation function

When deriving a UPU-MAC-IUE from KAUSF, the following parameters 
shall be used to form the input S to the KDF.
-	FC = 0x7C,
-	P0 = 0x01 (UPU Acknowledgement: Verified the UE Parameters Update Data successfully)
-	L0 = length of UPU Acknowledgement (i.e. 0x00 0x01)
- 	P1 = CounterUPU
-	L1 = length of CounterUPU
The input key Key shall be KAUSF.
The UPU-MAC-IUE is identified with the 128 least significant bits of the output of the KDF.

4 CounterUPU

  • a 16-bit counter, CounterUPU,初始值为0x00, 0x00,该值不可用于计算UPU-MAC-IAUSF;
  • 伴随密钥KAUSF 而生,更新counterUPU值为可被使用的初始值0x00,0x01;
  • 每生成一次UPU-MAC-IAUSF,counterUPU值累加;
  • UE接收到UE参数更新消息时,需要比较counterUPU值和UE自身存储的counterUPU值比较,如果不大于存储值,忽略该消息。
  • UE完整性校验通过后,才将消息中的counterUPU值更新到本地;
  • 在回复给网络侧ACK消息时,需要使用UPU消息中的counter值;
  • 如果counterUPU发生了缠绕,回到了0,应该暂时挂起UPU安全服务,直到KAUSF refresh完成后。

5空口流程

在这里插入图片描述

5.1 DL NAS TRANSPORT message content

在这里插入图片描述

5.2 payload container type

payload container type有如下取值,当取值为0110时,说明当前是UPU容器,参考UPU的格式解析。
在这里插入图片描述

5.3 UPU格式

在这里插入图片描述
UPU格式如下,
length:占两个字节;
UE parameters update header:占一个字节,有两种格式,根据第一个字节的取值区分,如下:
在这里插入图片描述
其中:
REG:代表需要做重新注册
ACK:代表需要UE在完成UE更新后回复ACK消息。
UPU data type:代表默认数据格式0或者1。1是终端给网络回复ACK用的。

Acknowledgement (ACK) value (octet 4, bit 2)

  • 0 acknowledgement not requested
  • 1 acknowledgement requested

Re-registration (REG) value (octet 4, bit 3)

  • 0 re-registrationt not requested
  • 1 re-registration requested

UPU data type (octet 4, bit 1)

  • 0 The UE parameters update transparent container carries a UE parameters update list
  • 1 The UE parameters update transparent container carries an acknowledgement of successful reception of a UE parameters update list

5.4 UE parameters update list

在这里插入图片描述

UE parameters update data set type
Bits 4 3 2 1
0 0 0 1 Routing indicator update data
0 0 1 0 Default configured NSSAI update data
在这里插入图片描述

5.5 default configured NSSAI update data怎么处理?

分为两种情况,摘取了24501的原文,并做了简要的说明:
1) 包含routing indicator update data
i) if the UE parameters update list includes a UE parameters update data set with UE parameters update data set type indicating “Routing indicator update data”,

  • the ME shall behave as if an SMS is received with protocol identifier set to SIM data download, data coding scheme set to class 2 message and SMS payload as secured packet contents of UE parameters update transparent container IE. The SMS payload is forwarded to UICC as specified in 3GPP TS 23.040 [4A]; and(投给USIM)
  • if the ACK bit of the UE parameters update header in the UE parameters update transparent container is set to “acknowledgment requested” and if the ME receives status bytes from the UICC indicating that the UICC has received the secured packet successfully, the ME shall send an acknowledgement in the Payload container IE of an UL NAS TRANSPORT message with Payload type IE set to “UE parameters update transparent container” as specified in subclause 5.4.5.2.2; and(需要等UICC成功处理secured packet后再回复ACK)
  • if the ME receives a REFRESH command from the UICC as specified in 3GPP TS 31.111 [22A] and if the REG bit of the UE parameters update header in the UE parameters update transparent container IE is set to “re-registration requested”, and:
    the UE is registered over 3GPP access, then the UE shall wait until it enters 5GMM-IDLE mode over 3GPP access, and then perform a de-registration procedure, delete its 5G-GUTI and initiate a registration procedure for initial registration as specified in subclause 5.5.1.2;(需要重新注册的,要等到自然回到IDLE后在执行去注册,再执行初始注册)
    2) 不包含routing indicator update data
    if the UE parameters update list includes a UE parameters update data set with UE parameters update data set type indicating “Default configured NSSAI update data”,
  • if the ACK bit of the UE parameters update header in the UE parameters update transparent container is set to “acknowledgment requested” and if the UE parameters update list does not include a UE parameters update data set with UE parameters update data set type indicating “Routing indicator update data”, the ME shall send an acknowledgement in the Payload container IE of an UL NAS TRANSPORT message with Payload type IE set to “UE parameters update transparent container” as specified in subclause 5.4.5.2.2(网络要求回复ACK,要在处理完后回复ACK)
  • the ME shall replace the stored default configured NSSAI with the default configured NSSAI included in the default configured NSSAI update data; and(替换本地的default configure NSSAI)
  • if the UE parameters update list does not include a UE parameters update data set with UE parameters update data set type indicating “Routing indicator update data”, the UE used the old default configured NSSAI to create the requested NSSAI in a REGISTRATION REQUEST message, the UE does not have a configured NSSAI for the current PLMN and the UE has an allowed NSSAI for the current PLMN which contains one or more S-NSSAIs that are not included in the new default configured NSSAI, the UE shall wait until it enters 5GMM-IDLE mode and then the UE shall initiate a registration procedure for mobility and periodic registration update as specified in subclause 5.5.1.3; and(默认配置切片暂时不生效,等回到IDLE后,执行移动周期注册成功后,生效)
  • 2
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值