行业洞察
2026-09-16 18:06:18

5GC UE发起的去注册流程

5GC UE发起的去注册涉及请求范围、条件性SMF/UPF及策略清理、正常去注册与关机的区别、T3521,以及已释放或保留上下文的信令检查。

贝克电信

5GC UE发起的去注册流程

仅凭RRC Release不能证明UE已完成去注册。已注册的UE可以释放接入信令连接,同时由AMF保留注册上下文、SMF保留PDU会话。UE发起的去注册则从NAS Deregistration Request开始,并结束指定接入的注册。

分析信令跟踪时,应依次确认请求范围、适用的会话与策略清理,以及预期的NAS响应。AMF、SMF、UPF、PCF与UDM各自保存不同部分的状态,不会在同一瞬间删除所有UE记录。

先确认去注册范围

UE使用其5G-GUTI向AMF发送Deregistration Request。应检查Deregistration type、其中的Switch off指示,以及Access Type。目标可以是3GPP接入、非3GPP接入,或在两种接入由同一AMF服务时同时覆盖两者。承载请求的接入不一定就是要移除的接入。

在NAS编码层面,接入类型是去注册类型信息元素的一部分,并非下图以示意IEI标注的独立字段。身份与完整性保护必须根据实际NAS上下文检查;未受保护或无法验证的请求,可能需要先处理安全程序再清理资源。

UE向AMF发送Deregistration Request的示意图,强调身份、去注册类型与接入范围。
UE向AMF发送Deregistration Request的示意图,强调身份、去注册类型与接入范围

释放属于目标接入的PDU会话

如果目标接入没有PDU会话,就跳过会话释放步骤。否则,AMF针对每个受影响的会话,向相关SMF发送Nsmf_PDUSession_ReleaseSMContext。独立的PDU会话释放可移除数据会话,同时维持注册有效;去注册的范围则更广。若多接入(MA)PDU会话在两种接入上均有用户平面资源,对其中一种接入去注册只会释放该接入的用户平面资源;会话仍可在另一种接入上保留。

SMF释放已配置的会话资源,例如IP地址或前缀,并向适用UPF请求释放N4会话。在N4上,PFCP Session Deletion Request与PFCP Session Deletion Response构成删除交换。成功删除后,该PFCP会话及其相关规则会被移除,包括适用的PDR、FAR、QER与URR,相关隧道资源也会释放。

SMF返回SM上下文释放响应。在归属路由漫游场景下,还需V-SMF与H-SMF协调。参考流程的顺序具有条件性:若需要辅助RAT使用量报告,AMF会先完成NAS接受通知与接入释放,取得使用量数据,再继续清理会话与策略。

UE、AMF、SMF与UPF在去注册及用户平面资源释放中的角色示意图。
UE、AMF、SMF与UPF在去注册及用户平面资源释放中的角色示意图

依条件移除失效的策略与UDM关联

若适用动态PCC,SMF会结束SM策略关联,并视情况使用Npcf_SMPolicyControl_Delete。对于SMF为该UE及相关DNN和S-NSSAI处理的最后一个PDU会话,SMF会使用Nudm_SDM_Unsubscribe与Nudm_UECM_Deregistration,移除UDM内相应的订阅与SMF注册关联。

当UE不再通过任何接入注册时,AMF会结束现有的AM策略与UE策略关联。不能据此推断必须清除用户签约配置文件、历史计费数据或所有UDM记录。其他仍有效的已注册接入或会话可能还需要上下文,应核对具体关联及范围。

以UE上下文为中心,汇总AM策略、SM策略、UE策略、PCF与UDM清理的图表。
以UE上下文为中心,汇总AM策略、SM策略、UE策略、PCF与UDM清理的图表

正常去注册与关机的结束方式不同

在Normal de-registration中,UE预期收到Deregistration Accept,并使用T3521监督响应。若定时器到期,需依规定执行重试与失败处理。AMF也会在相关N2信令连接存在时,释放与NG-RAN或适用非3GPP接入网关之间的连接。

在Switch off中,AMF不会发送Deregistration Accept。UE无需等待此确认即可关机。因此,这种情况下没有响应是预期行为,不能仅据此判定去注册失败。

突然断电或失去覆盖可能导致请求完全未抵达AMF。网络会通过可达性监督,以及在符合条件时的隐式去注册来处理这类异常消失。这不同于成功收到关机请求的情况。

实用信令跟踪检查列表

  1. 确认UE至AMF的方向、5G-GUTI、完整性验证结果、去注册类型及目标接入。

  2. 在寻找释放消息前,先确认受影响的PDU会话与N4上下文此前是否存在。

  3. 依UE与会话识别信息,关联AMF至SMF、SMF至UPF及策略/UDM交易,并检查响应与保留状态。

  4. 仅在适用的非关机情况下预期NAS接受响应,并纳入接入释放及使用量报告所造成的条件性顺序。

常见问题

关机请求一定能送达吗?

不一定。突然断电或失去无线覆盖可能阻止发送。未看到请求,并不能证明AMF已经移除注册状态。

每次去注册都会包含PFCP删除吗?

不会。若没有相关的已建立PDU会话或N4上下文,就没有对应的删除对象。将缺少PFCP消息判定为故障前,应先调查此前的会话状态。

其他接入可以维持注册吗?

可以。去注册可以只针对一种接入。在预期AM策略或UE策略关联终止,或所有会话状态移除之前,应先检查所指示的范围。

网络发起的去注册有何不同?

NAS请求由AMF传向UE;若为隐式去注册,则没有此请求。即使部分后端清理步骤重叠,触发原因与预期响应仍然不同。

相关流程与标准

相反触发方向的流程,请参阅网络发起的去注册。若要理解隐式清理前的空闲可达性,请参阅周期性注册更新。

上述流程依据3GPP TS 23.502第4.2.2.3.2节、3GPP TS 24.501第5.5.2.2节及定时器表中的NAS行为,以及3GPP TS 29.244第6.3.4节的PFCP删除。应使规范版本与支持功能符合正在分析的部署环境。

推荐产品
目录
客服 电话
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

This Cookie Policy explains how we use cookies and similar technologies when you access or use our website and related services. Please read this Policy together with our Terms and Conditions and Privacy Policy so that you understand how we collect, use, and protect information.

By continuing to access or use our Services, you acknowledge that cookies and similar technologies may be used as described in this Policy, subject to applicable law and your available choices.

Updates to This Cookie Policy

We may revise this Cookie Policy from time to time to reflect changes in legal requirements, technology, or our business practices. When we make updates, the revised version will be posted on this page and will become effective from the date of publication unless otherwise required by law.

Where required, we will provide additional notice or request your consent before applying material changes that affect your rights or choices.

What Are Cookies?

Cookies are small text files placed on your device when you visit a website or interact with certain online content. They help websites recognize your browser or device, remember your preferences, support essential functionality, and improve the overall user experience.

In this Cookie Policy, the term “cookies” also includes similar technologies such as pixels, tags, web beacons, and other tracking tools that perform comparable functions.

Why We Use Cookies

We use cookies to help our website function properly, remember user preferences, enhance website performance, understand how visitors interact with our pages, and support security, analytics, and marketing activities where permitted by law.

We use cookies to keep our website functional, secure, efficient, and more relevant to your browsing experience.

Categories of Cookies We Use

Strictly Necessary Cookies

These cookies are essential for the operation of the website and cannot be disabled in our systems where they are required to provide the service you request. They are typically set in response to actions such as setting privacy preferences, signing in, or submitting forms.

Without these cookies, certain parts of the website may not function correctly.

Functional Cookies

Functional cookies enable enhanced features and personalization, such as remembering your preferences, language settings, or previously selected options. These cookies may be set by us or by third-party providers whose services are integrated into our website.

If you disable these cookies, some services or features may not work as intended.

Performance and Analytics Cookies

These cookies help us understand how visitors use our website by collecting information such as traffic sources, page visits, navigation behavior, and general interaction patterns. In many cases, this information is aggregated and does not directly identify individual users.

We use this information to improve website performance, usability, and content relevance.

Targeting and Advertising Cookies

These cookies may be placed by our advertising or marketing partners to help deliver more relevant ads and measure the effectiveness of campaigns. They may use information about your browsing activity across different websites and services to build a profile of your interests.

These cookies generally do not store directly identifying personal information, but they may identify your browser or device.

First-Party and Third-Party Cookies

Some cookies are set directly by our website and are referred to as first-party cookies. Other cookies are set by third-party services, such as analytics providers, embedded content providers, or advertising partners, and are referred to as third-party cookies.

Third-party providers may use their own cookies in accordance with their own privacy and cookie policies.

Information Collected Through Cookies

Depending on the type of cookie used, the information collected may include browser type, device type, IP address, referring website, pages viewed, time spent on pages, clickstream behavior, and general usage patterns.

This information helps us maintain the website, improve performance, enhance security, and provide a better user experience.

Your Cookie Choices

You can control or disable cookies through your browser settings and, where available, through our cookie consent or preference management tools. Depending on your location, you may also have the right to accept or reject certain categories of cookies, especially those used for analytics, personalization, or advertising purposes.

Please note that blocking or deleting certain cookies may affect the availability, functionality, or performance of some parts of the website.

Restricting cookies may limit certain features and reduce the quality of your experience on the website.

Cookies in Mobile Applications

Where our mobile applications use cookie-like technologies, they are generally limited to those required for core functionality, security, and service delivery. Disabling these essential technologies may affect the normal operation of the application.

We do not use essential mobile application cookies to store unnecessary personal information.

How to Manage Cookies

Most web browsers allow you to manage cookies through browser settings. You can usually choose to block, delete, or receive alerts before cookies are stored. Because browser controls vary, please refer to your browser provider’s support documentation for details on how to manage cookie settings.

Contact Us

If you have any questions about this Cookie Policy or our use of cookies and similar technologies, please contact us at support@becke.cc .