百科
2026-09-11 16:57:58

5GC中包含AMF重分配的初始注册

5GC AMF重分配会将进行中的注册转交给适合的AMF。切片选择、NSSF与NRF的作用、安全限制,以及直接或经RAN执行的NAS重路由,共同决定适用的信令路径。

贝克电信

5GC中包含AMF重分配的初始注册

当初始AMF不适合为UE提供服务时,AMF重分配允许5G核心网对进行中的Registration Request进行重路由。下文的切片相关案例探讨一个实际问题:gNB已经转发请求后,为什么AMF仍可能改变?答案取决于选择当时可用的信息、签约数据,以及转移注册的条件。

为什么第一次AMF选择可能只是暂定结果

gNB依据可用的接入网信息与配置选择初始AMF。临时身份识别信息、请求切片信息等RRC信息可能有助于选择;gNB并不会先取得用户完整的UDM数据,也不会像AMF一样解读NAS。NGAP Initial UE Message将NAS Registration Request送至选定的AMF。

以一辆联网汽车为说明案例:它签约了eMBB切片S-NSSAI1及V2X相关切片S-NSSAI3,后者标记为默认切片。这些标签描述的是配置示例,不是标准化切片识别码,也不保证提供自动驾驶服务。若没有可用的5G-GUTI或Requested NSSAI,gNB可以根据已有信息选择AMF1。仅缺少Requested NSSAI本身并不要求重分配。

没有5G-GUTI或Requested NSSAI的UE进行初始AMF选择的示意图;图中标示案例使用的eMBB与V2X切片。
5GC初始注册中,UE没有5G-GUTI且Registration Request未携带Requested NSSAI,因此gNB只能依据当前可用信息和默认配置选择Initial AMF

签约数据与切片选择使判断更加明确

初始AMF会在重路由决策需要时执行身份识别、上下文及安全处理。它并非每次都要在查询NSSF前重复完整的认证流程。如果未从旧AMF取得必要的切片选择签约数据,它会选择UDM,并利用Nudm_SDM_Get取得已签约的S-NSSAI及默认指示。

在汽车案例中,若获授权的切片选择需要AMF1无法提供的AMF能力,重分配才具有相关性。默认S-NSSAI是选择程序的一项输入,并不会单独强制迁移。必须综合考虑请求切片、签约、位置、网络配置与AMF能力。

需要切片选择时,Nnssf_NSSelection_Get可以向NSSF提供Requested NSSAI、带有默认指示的已签约S-NSSAI、TAI及其他适用信息。响应可能包含Allowed NSSAI、目标AMF Set或配置的候选AMF清单,以及按条件提供的已配置或被拒绝切片信息。目标AMF Set界定候选范围,不一定指定最终的单一实例。

NRF发现是有条件的:初始AMF需要目标地址且本地尚未存储该地址时,才查询Nnrf_NFDiscovery。候选能力与选择规则有助于选出适合的目标。因此,跟踪中缺少NRF交互并不自动代表错误。

UDM签约数据、NSSF切片选择及NRF候选发现的概念图;箭头并非逐步对应的协议信令顺序。
5GC中的Initial AMF使用UE订阅的S-NSSAI和TAI调用NSSF,获取Allowed NSSAI与Target AMF Set,再结合NRF信息确定Target AMF

直接与经RAN的重路由具有不同条件

这两条路径并非在所有条件下都能互换。依据TS 23.502,若UE与初始AMF之间已建立安全关联,初始AMF必须使用直接转发。经RAN重路由不会转移该安全上下文,可能使UE与目标AMF失去同步。

直接转发至目标AMF

初始AMF调用Namf_Communication_N1MessageNotify,转发完整的Registration Request及适用的注册上下文。其中包含接入网信息,以及可取得时的SUPI与MM上下文;从NSSF取得的适用信息也会携带。目标AMF继续注册,并以新的N2终结点信息更新RAN。本地策略及签约信息也会影响这条路径的使用。

经gNB间接转发

对于允许的、起始于CM-IDLE的情况,初始AMF发送NGAP Reroute NAS Request。gNB利用收到的信息,包括AMF Set ID,将Initial UE Message重路由至目标AMF。这是在网络侧进行NAS重路由,不是要求UE重新执行无线接入。若注册是在CM-CONNECTED状态通过Uplink NAS Transport送达,则不支持间接分支;已建立安全关联的限制同样适用。

经gNB的NGAP重路由与AMF之间直接Namf_Communication_N1MessageNotify转发的比较;路径是否适用取决于安全与连接状态。
5GC AMF重分配过程中,Initial AMF可通过NGAP Reroute NAS Request经gNB间接转发,也可通过Namf Communication N1MessageNotify把Registration Request直接传给Target AMF

继续注册并确认真正的故障点

目标AMF完成其余必要的注册处理。在此程序中,从初始AMF收到的安全上下文优先于从旧AMF取得的安全上下文。Registration Accept可能提供新的5G-GUTI及适用的切片信息。UE接收注册结果,无须自行管理内部的AMF选择。

  • 确认请求为何送达初始AMF:检查可用的RRC选择信息、初始AMF配置,以及收到的NGAP消息。

  • 核对已签约及请求的切片、TAI、AMF服务能力与NSSF结果。若选择程序有条件或数据已缓存,不应假定参考图中的每次交互都必须出现。

  • 若无法选出目标,检查AMF Set、候选能力、发现结果及目标可达性。若已发送Reroute NAS Request却没有新的Initial UE Message抵达,应检查RAN重路由与N2连通性。

  • 直接转发时,将Namf_Communication_N1MessageNotify、转移的上下文及目标的第一条N2消息相互关联。在将AMF变更视为成功转移之前,先确认安全上下文的连续性。

常见问题

这与AMF池的负载平衡相同吗?

不同。本文案例解决注册期间服务AMF是否适合的问题,尤其是切片支持能力。容量与权重可能影响实例选择,但跟踪中出现两个AMF,本身不足以证明切片不匹配或发生了负载平衡。

每个切片网络都需要重分配吗?

不需要。若初始AMF能服务获授权的切片,注册可以留在该AMF。缺少Requested NSSAI或使用默认切片,不足以证明必须发生重分配。

UE会发送新的Registration Request吗?

本文描述的重路由是在网络内转发既有请求。UE会收到后续NAS注册信令,也可能取得新的临时身份识别码,但不会自行选择目标AMF。

哪一条转发路径比较常见?

标准并未规定实际部署的使用频率。应依据实际消息、连接状态及安全上下文判断路径,而不是假定其中一种方法普遍优先。

相关程序与标准

一般初始注册:身份识别、认证与接入上下文

已注册UE移动后的Mobility Registration Update

3GPP TS 23.502,第4.2.2.2.3节:包含AMF重分配的注册

3GPP TS 38.413:NGAP Reroute NAS Request

推荐产品
目录
客服 电话
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 .