下面来整理一下 TS 23.502 中的 UE or network requested PDU Session Modification (non-roaming and roaming with local breakout)。

首先是信令流程图:

接着是信令流程图的解读:

为什么会有modify这个procedure呢?协议上说,在当UE 和 network 之间的QOS参数发生改变时会执行这个procedure。

其中,在TS 23.501 5.7节中定义了何时使用此过程进行QoS更改的条件以及UE和网络之间交换的QoS参数。

观察上面信令流程图的第一步,第一步中使用了1a,1b,1c,1d,1e这样的描述方式,表明触发这个modify procedure 的情况是有多种的。

概括起来有以下几种触发:

UE发起PDU会话修改过程,携带新的QoS参数,报文过滤器(Packet Filters)。

PCF发起PDU会话策略修改过程,通过SM Policy Association Modification通知SMF触发PDU会话修改。

UDM更新用户会话签约数据,通过Nudm_SDM_Notification通知SMF。

SMF本地操作触发,或者SMF发现AMF故障,修改一个PDU会话。

RAN指示SMF,一个具体的QoS流资源已经释放,RAN发送N2消息到AMF,包括QFI,用户位置信息以及QoS流释放指示。

以下为各个步骤的简单摘要,详情请参考 23.502 4.3.3.2

(注:下文的发xxxx消息,其实是调用对应网元的相关服务,例如SMF提供的服务,可以在TS  29502 查询到对应的uri)

1a UE 发起的 modification

UE 通过一个NAS消息:PDU Session Modification Request 发起modification procedure。

这个NAS消息带有以下IE:

N1 SM container(PDU Session Modification Request (PDU session ID, Packet Filters, Operation, Requested QoS, Segregation, 5GSM Core Network Capability, Number Of Packet Filters, [Always-on PDU Session Requested])),

PDU Session ID, UE Integrity Protection Maximum Data Rate

NAS消息由(R)AN转发给AMF,并带有用户位置信息的指示。AMF 收到PDU Session Modification Request后,发送Nsmf_PDUSession_UpdateSMContext到SMF。

当UE请求对于selected SDF(s)的特定QOS 处理时,这个PDU Session Modification Request消息会包括Packet Filters来解释对应的SDF(s),包括 Packet Filter Operation 和  Requested QoS以及可选的Segregation indication

Note:

1. 当UE在LADN的可用范围之外时,UE不得触发针对与LADN对应的PDU会话的PDU会话修改过程。
                    2. 如果更改了PS Data Off Status,则应将其包含在PDU会话修改请求消息的PCO中。
                    3. 对于在EPS中建立的PDU会话,当UE第一次从EPS移动到5GS时,如果UE想要改变PDU会话,则UE在PDU Session Modification Request message 中包括 Always-on PDU Session Requested 指示。。
                    4. 当部署了PCF时,如果提供了PS Data Off事件触发器,则SMF将进一步向PCF报告PS Data Off状态,TS 23.503 中定义了用于3GPP PS Data Off的SMF和PCF的其他行为。
                    5. 5GSM核心网络功能由UE提供,并由SMF进行处理。(Core Network Capability)
                    6. UE完整性保护最大数据速率(UE Integrity Protection Maximum Data Rate)指示UE可以支持的UP完整性保护的最大数据速率。

7. Number Of Packet Filters 表示单个 QoS rules支持的packet filters数量

     1b SMF requested modification

PCF发起PDU会话策略修改,PCF 通过发起SM Policy Association Modification procedure去通知SMF有关策略的修改。在4.16.5.2中有如下图:

可以关注一下上图的步骤3和步骤4:

3. The PCF makes a policy decision. The PCF may determine that updated or new policy information need to be sent to the SMF.

If the AF provided a Background Data Transfer Reference ID in step 1a, the PCF may retrieve it from the UDR by invoking the Nudr_DM_Query (BDT Reference Id, Policy Data, Background Data Transfer) service.

4. If the PCF has determined that SMF needs updated policy information in step 3 the PCF issues a Npcf_SMPolicyControl_UpdateNotify request with possibly updated policy information about the PDU Session.

           

             1c SMF requested modification

UDM通过Nudm_SDM_Notification(SUPI,会话管理订阅数据)更新Session Management Subscription Data 。 SMF更新会话管理订阅数据,并通过返回带有(SUPI)的Ack来确认UDM

1d SMF requested modification

SMF可以决定修改PDU会话。

1 基于本地配置的策略触发此过程,

2 从(R)AN触发此过程(请参见第4.2.6节和第4.9.1节)。

3 如果激活了UP连接(如服务请求过程中所述),并且SMF已标记5GC中的一个或多个QoS流的状态已删除但尚未与UE同步 (QoS Flows are deleted in the 5GC but not synchronized)

注意:

如果SMF收到步骤1b〜1d中的其中一种触发器,则SMF将启动SMF请求的PDU会话修改过程。

 2 SMF 可能执行SM Policy Asso Modify

这一步中,SMF可能需要通过执行SMF触发的SM Policy Asso Modify procedure 来向PCF报告某些已订阅的事件(如下图 4.16.5.1)。

需要注意的是,如果PDU会话修改过程由步骤1b(pcf 触发修改)或1d(smf本身触发)触发,则可以跳过此步骤。

如果未部署动态PCC,则SMF可以应用本地策略来决定是否更改QoS配置文件。

当PDU会话修改仅需要在UPF处action时,不调用步骤3至7。

该步骤的主要作用是请求pcf对QOS进行授权

2a SMF 发送N4 Modification Req 给upf

如果尚未向PDU会话激活冗余传输,并且SMF决定对新的QoS流执行冗余传输,则如果SMF分配了CN(core network)                  隧道信息,则SMF会分配一个附加的CN隧道信息。 附加的CN隧道信息通过N4会话修改请求提供给UPF。 SMF还指                  示UPF对QoS流执行数据包复制和消除。
                如果在PDU会话上激活了冗余传输,并且SMF决定停止冗余传输,则SMF指示UPF释放用作PDU会话的冗余隧道的CN 隧道信息,并且还指示UPF停止 对应的QoS流的数据包复制和消除。

2b Upf 发送N4 Modification Rsp 给SMF

如果在步骤2a中尚未激活对PDU会话的冗余传输,并且SMF在步骤2a中指示UPF对QoS流执行数据包复制和消除,如果UPF分配了CN隧道信息,则UPF会分配一个额外的CN隧道信息。 额外的CN隧道信息将提供给SMF。
                 如果在步骤2a中尚未激活向PDU会话的冗余传输,并且SMF决定对具有两个I-UPF的新QoS流执行冗余传输,则如果CN隧道信息由UPF分配,则UPF会分配CN Tunnuel Info。 将两个I-UPF的CN隧道信息提供给SMF。

3a SMF 回复 Nsmf Pdusession updateSmcontext

3a是对应于UE或者AN发起的modify. 这个回复所带的IE非常丰富:

Nsmf_PDUSession_UpdateSMContext (N2 SM information (PDU Session ID, QFI(s), QoS Profile(s), Session-AMBR), N1 SM container (PDU Session Modification Command (PDU Session ID, QoS rule(s), QoS rule operation, QoS Flow level QoS parameters if needed for the QoS Flow(s) associated with the QoS rule(s), Session-AMBR, [Always-on PDU Session Granted])))

如果UE请求PDU Session Modification以将PDU会话修改为始终在线的PDU会话(Always-on PDU Session),则SMF在PDU Session Modification command 中应包括“始终在线的PDU会话授权”指示(Always-on PDU Session Granted indication),以指示PDU会话是否更改为始终在线的PDU会话。

AMF 应该将上面信息中的N2 SM information转发给R(AN). 这个N2 SM information的作用如下:

1. It may include the QoS profiles and the corresponding QFIs to notify the (R)AN that one or more QoS flows were added, or modified.

2. It may include only QFI(s) to notify the (R)AN that one or more QoS flows were removed.

3 .如果在步骤1e中由(R)AN 版本触发了PDU会话修改,则N2 SM information携带对(R)AN版本的acknowledgement。 如果UE针对没有建立的用户平面资源的PDU会话请求PDU会话修改,则提供给(R)AN的N2SM信息包括用于建立用户平面资源的信息。

AMF 应该将上面信息中的N1 SM container转发给UE. 它的作用如下:

It may include the QoS rules, QoS Flow level QoS parameters if needed for the QoS Flow(s) associated with the QoS rule(s) and corresponding QoS rule operation and QoS Flow level QoS parameters operation to notify the UE that one or more QoS rules were added, removed or modified

3b SMF 发起 N1N2MessageTransfer

3b 是对应于smf发起的modify。该消息的IE为:

N2 SM information (PDU Session ID, QFI(s), QoS Profile(s), Session-AMBR),

N1 SM container (

PDU Session Modification Command (

PDU Session ID, QoS rule(s),

QoS Flow level QoS parameters if needed for the QoS Flow(s) associated with the QoS rule(s),

QoS rule operation and QoS Flow level QoS parameters operation, Session-AMBR

)

),

如果UE处于CM-IDLE状态且ATC已激活,则AMF基于Namf_Communication_N1N2MessageTransfer更新并存储UE                    上下文,并跳过步骤4、5、6和7。

当UE reachable 时, 例如:当UE进入CM-CONNECTED状态时,AMF转发N1消息以使UE上下文与UE同步。

3c SMF 发送 Nsmf PduSession SMContextStatusNotify

               3c是对应于UDM数据更新而导致的SMF 发起的modify请求。

the SMF may provide the SMF derived CN assisted RAN parameters tuning to the AMF. The SMF invokes Nsmf_PDUSession_SMContextStatusNotify (SMF derived CN assisted RAN parameters tuning) towards the AMF. The AMF stores the SMF derived CN assisted RAN parameters tuning in the associated PDU Session context for this UE.

 4. The AMF may send N2 PDU Session Request Message to the (R)AN.

               The IE of this messages:

(

N2 SM information received from SMF,

NAS message (PDU Session ID, N1 SM container (PDU Session Modification Command))

)

这是一条NGAP消息,消息名称叫:Pdu session resource Modify Request

5 (R)AN may issue AN specific signalling exchange with the UE

The (R)AN may issue AN specific signalling exchange with the UE that is related with the information received from SMF.      这是nas消息: PDU Session Modification Command

  6  The (R)AN 回复 N2 PDU Session Request 给AMF

gnb不用等UE的回复,可以直接发RSP给AMF ,消息名称是:PDU Session Resource Modify Rsp

该消息包含有:

N2 PDU Session Ack (N2 SM information (List of accepted/rejected QFI(s), AN Tunnel Info, PDU Session ID, Secondary RAT usage data), User location Information)

In case of Dual Connectivity, if one or more QFIs were added to the PDU Session, the Master RAN node may assign one or more of these QFIs to a NG-RAN node which was not involved in the PDU Session earlier.

In this case the AN Tunnel Info includes a new N3 tunnel endpoint for QFIs assigned to the new NG-RAN node.                        Correspondingly,

if one or more QFIs were removed from the PDU Session, a (R)AN node may no longer be involved in the PDU Session anymore, and the corresponding tunnel endpoint is removed from the AN Tunnel Info. The NG-RAN may reject QFI(s) if it cannot fulfil the User Plane Security Enforcement information for a corresponding QoS Profile

7 AMF 发送 Nsmf_PDUSession_UpfateSMContext 给SMF

AMF通过Nsmf_PDUSession_UpdateSMContext服务操作将从AN接收到的N2 SM information和User location Information转发到SMF。

SMF 回复Nsmf_PDUSession_UpdateSMContext Response. N2 SM information may include Secondary RAT Usage Data.

If the (R)AN rejects QFI(s)【QOS flow id】 the SMF is responsible of updating the QoS rules and QoS Flow level QoS parameters if needed for the QoS Flow(s) associated with the QoS rule(s) in the UE accordingly.

8 SMF 发送 Nsmf_PDUSession_Modification 给UPF

smf 通过上面提到的消息,去更新UPF中的N4消息 。如果有新的QoS Flow(s)创建,那么SMF使用UL Packet Detection Rules of the new QoS Flow去更新UPF。

注意:

This allows the UL packets with the QFI of the new QoS Flow to be transferred.

If an additional AN Tunnel Info is returned by RAN in step 6, the SMF informs the UPF about this AN Tunnel Info for redundant transmission. In the case of redundant tramsmission with two I-UPFs, the SMF provides AN Tunnel Info to two I-UPFs. If CN Tunnel Info of two I-UPFs is allocated by the UPFs in step 2b, the SMF also provides the DL CN Tunnel Info of two I-UPFs to the UPF (PSA).

  9 UE acknowledges

       The UE acknowledges the PDU Session Modification Command by sending a NAS message (PDU Session ID, N1 SM container (PDU Session Modification Command Ack)) message

 10 The (R)AN forwards the NAS message to the AMF.

注意: 第9,第10步在协议上只是一笔带过,其实这两步就是UE 回复一个nas消息:PDU session Modify complete 给基站,然后g-nb 发起一个UL Nas Transport 给AMF。

11  AMF 发送 Nsmf_PDUSession_UpdateSMContext 给SMF

AMF 收到第10步的消息后,通过Nsmf_PDUSession_UpdateSMContext 将NAS消息打包给SMF。

主要是告知smf, UE侧已经确认了对QOS的修改。

If the SMF initiated modification is to delete QoS Flows (e.g. triggered by PCF) which do not include QoS Flow associated with the default QoS rule and the SMF does not receive response from the UE, the SMF marks that the status of those QoS Flows is to be synchronized with the UE.

12  SMF 发送 N4 session Modify req 给UPF

       For a PDU Session of Ethernet PDU Session Type, the SMF may notify the UPF to add or remove Ethernet Packet Filter Set(s) and forwarding rule(s).

NOTE 4:  The UPFs that are impacted in the PDU Session Modification procedure depends on the modified QoS parameters and on the deployment. For example in case of the session AMBR of a PDU Session with an UL CL changes, only the UL CL is involved. This note also applies to the step 8

13 SMF 与PCF的交互

如果smf在步骤1b或者2中有交互,那么smf会回复pcf这次modify是否成功。

   

5G 核心网 PDU Session Modification 信令流程相关推荐

  1. 5G 核心网 PDU Session Release 信令流程

    下面来整理一下 3GPP TS 23.502 V15.11.0 (2020-09) 中的 UE or network requested PDU Session Release for non-roa ...

  2. 5G 核心网 UE Requested PDU Session Establishment 信令流程

    I am back !!! 本系列博客将陆续更新至  3GPP TS 23.502 V15.11.0 (2020-09) 版本 首先放上 23501 中的 5G 系统架构图 : 5G 核心网采用的是S ...

  3. 【5G核心网】 PDU Session Modification PDU会话修改

    当修改在 UE 和网络之间的一个或几个 QoS 参数时修改时,使用该过程. 1. UE or network requested PDU Session Modification (non-roami ...

  4. 5G 核心网 5GS to EPS handover for single-registration mode with N26 interface

    在当前的环境下,5G 核心网组网后,必然会与现有的4G EPC 进行交互.在23501当中有5G 和 EPC 交互架构图.其中需要关注的是N26接口.(如下图所示) 那么当 UE 在4G 和 5G 之 ...

  5. 【5G基础学习笔记】 5G核心网架构

    1. 5G 不同应用场景需求指标差异 2. 5G 时代的网络挑战及改进方向 控制面与用户面分离: 好的扩展性和伸缩性(比如升级),4G 分离不彻底,S-GW P-GW 还包含控制会话功能 网络功能服务 ...

  6. 【5G核心网】控制面与用户面协议栈

    本章节指定 5GS 实体之间的整体网络协议栈,比如在 UE 和 5GC 网络功能,在 5G-AN 和 5GC 网络功能,或者在 5GC 网络功能之间 1. 控制平面--5GAN和5G核心网:N2 N2 ...

  7. 【5GC】开源5G核心网(Open5GS)架构详解

    博主未授权任何人或组织机构转载博主任何原创文章,感谢各位对原创的支持! 博主链接 本人就职于国际知名终端厂商,负责modem芯片研发. 在5G早期负责终端数据业务层.核心网相关的开发工作,目前牵头6G ...

  8. 5G核心网SBA架构

    作者:柒号华仔 个人主页:欢迎访问我的主页 个人信条:星光不问赶路人,岁月不负有心人. 个人方向:专注于4G/5G领域,同时兼顾其他网络协议,编解码协议,C/C++,linux等,感兴趣的小伙伴可以关 ...

  9. 5G核心网之SBA架构(面向服务)

    前言 随着技术演进和发展,云原生提出的"微服务"概念得到了大家的认可,微服务概念指将原本具有多个功能的集合体分拆为多个具有独立功能的个体,每个个体都具有自己的微服务.5GC将微服务 ...

最新文章

  1. 简单的安卓app小程序代码_开发一款APP大概需要多少钱?
  2. 放弃鼠标,提高效率——像用Vim一样使用FF
  3. 在db2数据库上模拟死锁场景 还是z上的
  4. TreeView控件的基本使用 界面篇 winform
  5. AI实战 | Tensorflow自定义数据集和迁移学习(附代码下载)
  6. 学计算机专业的需要买电脑吗,高三党升级“准大一生”,有必要买电脑吗?学长的回答可以参考...
  7. java单例模式_Java 实现单例模式的 9 种方法
  8. TopCoder SRM502 Div1 1000 动态规划
  9. java c 网络_编程中Java与C/C++,Internet区别
  10. 导出数据库数据生成word【2】--itext直接写word中写入内容
  11. 【方太】顺利通过CMMI3认证
  12. Android简单制作自定义圆形头像
  13. IEEE协会首次在京举办研讨会,王飞跃称不存在AI芯片
  14. 黑色星期五移动购物销售额iOS设备占逾80%
  15. openstreetmap website部署
  16. 好用看得见!深度操作系统Deepin装机使用体验
  17. node 获取文件编码,批量转换文件编码
  18. python软件基金会在哪个国家举行_官宣!Python 开发者大会(PyCon US)提供在线订阅啦!...
  19. [Java学习打卡]
  20. nginx代理下载pdf文件,提示文件已损坏

热门文章

  1. 牛客练习赛79E小G的数学难题
  2. IaaS、PaaS、SaaS详解(通俗易懂)
  3. 凌空天行宣布完成数千万人民币天使轮融资,源码资本领投...
  4. EventBus 事件机制详解(Google Guava)
  5. Vue时间戳获取当前时间
  6. 收录180篇文献,上海交大推出深度学习图像合成领域首篇综述
  7. 仓库各环节自动化方案、设备、参数与玩家
  8. c语言复习:界面设计
  9. Cstr 和Str有什么区别
  10. 整合dtk + hpssacli2.4