百科全書
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 .