百科全書
2026-07-23 18:10:42
從4G到5G的閒置移動性如何觸發移動性註冊更新?
從4G到5G的閒置移動性如何觸發移動性註冊更新、N26介面的重要性、用戶端(UE)上下文如何從MME遷移到AMF,以及5GC如何在無連接狀態轉換的情況下完成註冊、訂閱處理、策略控制和會話上下文準備。

貝克電信

從4G到5G的閒置移動性如何觸發移動性註冊更新?

當行動裝置從 4G 覆蓋範圍移動到 5G 覆蓋範圍時,網路不一定會將此事件視為一次全新的 5G 註冊。實際行為取決於裝置狀態、互通架構,以及網路是否支援 EPC 與 5GC 之間的 N26 介面。在一種典型情境中,使用者設備(UE)已經附著在 4G 網路上,建立了預設承載,進入閒置狀態,然後移動到 5G 覆蓋區域。此時,裝置會啟動 5G 註冊程序,但註冊類型並非初始註冊,而是行動註冊更新(Mobility Registration Update)

這個差異相當重要。初始註冊通常代表 UE 在 5G 中從頭開始;而行動註冊更新則表示網路端已經持有可用的 4G 側上下文,5G 核心網路需要盡可能順暢地接管使用者的行動性與會話相關資訊。在基於 N26 的部署中,AMF 可以向 MME 請求 UE 上下文,重複使用或轉換關鍵資訊,並在 5G 側繼續執行註冊流程。

最簡單的理解方式是設想一位使用者在體育場外,處於 4G 覆蓋下,已經附著至 LTE/EPC 並建立了一條預設承載,隨後停止主動資料傳輸並進入閒置狀態。當使用者走進體育場時,室內區域由 5G 覆蓋。UE 發現 5G 細胞後,透過 gNodeB 開始註冊,網路隨即啟動 4G 到 5G 的閒置模式移動性程序。

為何存在此情境

4G 到 5G 的互通不僅是無線存取的問題,同時也是核心網路的連續性問題。在無線側,存取點從 eNodeB 變更為 gNodeB。在核心側,移動性錨點從 MME 變更為 AMF。同時,某些功能由於採用合併形式部署,可能在邏輯上保持連續。例如,HSS 與 UDM 可能共置,PGW‑C 與 SMF 可能合併,PGW‑U 與 UPF 可能合併。這使得網路在將 UE 移至 5G 系統時,能夠重複使用部分既有的 4G 服務上下文。

此處討論的程序假設採用帶有 N26 介面的單一註冊模式。N26 允許 AMF 和 MME 交換 UE 上下文,這是 5G 側無需從零重建一切的主要原因。若沒有此上下文交換,5G 註冊將依賴不同的互通方式,且會話連續性的處理也會不同。

情境中的「閒置」部分與「4G 到 5G」部分同樣重要。UE 並非處於作用中的連線狀態交遞,而是已經在 LTE/EPC 側進入 ECM‑IDLE 狀態。因此,主要任務並非即時切換使用中的使用者平面隧道,而是遷移並解讀 UE 上下文,以便 5GC 在 UE 於 5G 覆蓋下註冊後,能夠繼續管理該訂戶。

從 4G 到 5G 的閒置模式移動性,顯示 UE 從 LTE eNodeB 覆蓋移動到 5G gNodeB 覆蓋,包含 MME AMF N26 介面和行動註冊更新
在閒置模式移動性中,UE 從 4G 覆蓋移動到 5G 覆蓋,並啟動行動註冊更新,而非一般的初始註冊。

網路中的變化

最明顯的變化發生在 RAN 側。UE 原本由 LTE eNodeB 服務,之後透過 5G gNodeB 連接。gNodeB 接收 UE 的註冊相關信令,並將其轉發至選定的 AMF。這是將 UE 從 LTE/EPC 接取環境移動到 5GS 接取環境的第一步。

核心側的變化較為複雜。在 4G 中,MME 持有行動管理資訊,並在附著及預設承載建立後,擁有 UE 的 MM 及 SM 上下文。在 5G 中,AMF 負責接取與行動管理。在此程序期間,AMF 需要從 MME 取得 UE 上下文,才能建立正確的 5G 側行動上下文。

如果 PGW‑C 與 SMF 合併,且 PGW‑U 與 UPF 合併,則使用者平面與會話控制錨點在實體上可能不會改變。這種合併部署讓轉換更容易理解:UE 改變了接取和行動控制域,而服務錨點可以保持邏輯連續。註冊更新有助於 5G 核心獲知 4G 側已存在的內容。

就實際運作而言,網路並非單純地「讓使用者登入 5G」,而是將 4G 行動性與承載狀態轉譯為 5G 行動性與會話管理框架。正因如此,該程序包含了 GUTI 映射、上下文請求、上下文回應、UDM 註冊、策略擷取、SM 上下文建立,以及最後的註冊接受。

註冊實際上如何開始

在 UE 能透過 5G 接取進行註冊之前,需要一個 5G 網路能夠辨識的身份。在此情境中,UE 根據互通規則將現有的 4G‑GUTI 映射為 5G‑GUTI。此映射身份與先前 5G 註冊中分配的原始 5G‑GUTI 不同,但能提供足夠資訊讓網路找到相關的 4G 側上下文。

接著,UE 發送 NAS 註冊請求(Registration Request)。註冊類型為行動註冊更新。該請求可能包含映射後的 5G‑GUTI、UE 狀態資訊,以及帶有 TAU 請求的 EPS NAS 訊息容器。UE 狀態具有重要意義,因為裝置並未以 N1 模式註冊,但仍以 S1 模式註冊,這告訴網路此非單純的獨立 5G 啟動,而是來自 EPS 側的互通案例。

隨後 gNodeB 將註冊請求轉發給 AMF。AMF 的選擇取決於 RRC 信令中可用的身份資訊。若 UE 擁有原始 5G‑GUTI,gNodeB 可根據 GUAMI 將請求路由至相關 AMF;若 UE 僅提供來自 EPS 的映射身份,gNodeB 可根據映射後的 GUAMI 資訊選擇新的 AMF。

程序的第一部分為後續所有步驟定下方向。AMF 現在必須了解 UE 從何處而來、哪個 MME 可能持有 4G 上下文,以及如何透過正確的介面請求該上下文。

上下文如何透過 N26 移動

收到註冊請求後,AMF 從映射後的 5G‑GUTI 中提取資訊,可將 GUAMI 相關資訊轉換為有助於識別對應 MME 的形式。接著 AMF 構建 MME 節點的 FQDN,並使用 DNS 取得 MME 的 S10 介面位址。此步驟是必要的,因為 AMF 需要傳輸路徑來向 MME 請求 UE 上下文。

AMF 向 MME 發送 GTPv2 上下文請求(Context Request)。請求中可能包含設定為 NR 的 RAT 類型、映射後的 4G‑GUTI、從註冊請求中複製的完整 TAU 請求訊息,以及 IP 位址和 TEID 等 S10 定址資訊。此時 N26 在程序中的角色變得清晰可見。AMF 並非在猜測 UE 狀態,而是向 MME 要求 EPC 中已存在的上下文。

MME 使用 4G 安全上下文驗證 TAU 請求,然後根據 UE 身份查找 UE 上下文。若找到上下文並接受,MME 會回傳 GTPv2 上下文回應(Context Response)。此回應可包含 IMSI、MM 上下文、安全相關資訊、UE‑AMBR、所選的 NAS 完整性與加密演算法、接取限制資訊,以及 PDN 連線資訊。

PDN 連線資訊特別有用,因為它將 4G 承載世界與後續的 5G 會話管理步驟連結起來。其中可能包含 APN、EBI、APN‑AMBR、PGW 側 S5‑C 資訊、承載上下文、承載 QoS,以及 PGW 側 S5‑U 資訊。AMF 隨後可將收到的 EPS MM 上下文轉換為 5G MM 上下文。

在某些情況下,也可能發生舊 AMF 上下文傳輸。若 UE 先前曾在 5G、移至 4G,而後又返回 5G,註冊請求可能攜帶額外 GUTI(Additional GUTI)。在這種情況下,AMF 可聯繫舊的 AMF 以獲取 UE 上下文,但此為選用步驟,並非每個 4G 至 5G 閒置移動情境都會出現。

MME 與 AMF 之間的 N26 上下文傳輸,顯示映射的 5G‑GUTI、DNS 查詢、GTPv2 上下文請求、上下文回應、EPS MM 上下文與 5G MM 上下文轉換
N26 允許 AMF 從 MME 擷取 UE 上下文,並將 EPS 行動資訊轉換為 5G 行動上下文。

5GC 如何完成更新

一旦 AMF 取得所需上下文,程序便開始接近一般的 5G 行動註冊流程。AMF 與 UDM/HSS 互動,以完成 3GPP 接取註冊、取得接取與行動訂閱資料、擷取 SMF 選擇訂閱資料,並訂閱未來的訂閱資料變更。這些步驟確保 AMF 擁有正確的訂戶資訊以進行 5G 接取管理。

AMF 也可能與 NRF 互動,以發現正確的網路功能。例如,當 AMF 需要 UDM 服務時,可發現支援所需服務(如 SDM 或 UECM)的 UDM;當需要與 SMF 協作時,可利用與 PGW‑C/SMF FQDN 相關的資訊,透過 NRF 相關程序發現 SMF 的 N11 介面位址。

策略控制同樣出現在程序中。若 AMF 已從舊 AMF 接收到可用的 PCF 資訊,可繼續使用該 PCF;否則可選擇一個 PCF,並取得接取與行動策略控制資訊。策略回應可能包含接取限制,例如不允許接取的區域或追蹤區域。

與 SMF 相關的部分,則是將繼承的 EPS 上下文之會話側轉換至 5G 服務框架。AMF 要求 PGW‑C/SMF 使用從 MME 收到的 EPS PDN 連線資訊來建立 SM 上下文。請求中可攜帶 EPS 上下文、待啟用的 PDU 會話清單(若有),以及 UE 回報的 EPS 承載上下文狀態。回應若顯示啟用中狀態,則表示 N3 隧道等使用者平面資源正在準備中。

最後,舊的 EPC 註冊將被清除。HSS/UDM 可能對 MME 觸發取消位置(Cancel Location),MME 則可能通知 SGW 釋放相關資源。隨後 AMF 向 UE 發送註冊接受(Registration Accept)。此訊息可包含新的 5G‑GUTI、允許的 NSSAI、T3512 計時器、追蹤區域清單(TA list)以及 EPS 承載狀態。UE 檢查收到的 EPS 承載狀態,並移除與指定 EPS 承載狀態無關的本機 QoS 流程規則或 QoS 參數,然後發送註冊完成(Registration Complete)。

為何閒置模式移動性與眾不同

此程序的關鍵在於,UE 在進入 5G 覆蓋時處於閒置狀態。由於沒有作用中的連線狀態使用者平面交遞,網路無需像在連線模式移動性期間那樣,為進行中的資料會話執行即時隧道切換。取而代之的是,重點在於上下文遷移與註冊更新。

這解釋了為何該程序在身份映射、DNS 發現、上下文請求、MM 上下文轉換、UDM 註冊、策略擷取及 SM 上下文建立上投入大量功夫。網路正在從 4G 側狀態重建 UE 的 5G 側控制平面狀態,而非單純地將作用中的無線連線從 eNodeB 轉發至 gNodeB。

對於研究信令的工程師而言,此區別有助於避免常見誤解。看到 4G 至 5G 的移動性,並不自動代表就是交遞。若 UE 處於閒置狀態,該程序更像是一種帶有繼承上下文的受控重新註冊;若 UE 處於連線狀態且正在移動,網路則須以不同方式考量無線交遞以及即時的使用者平面連續性。

這也是為何基於情境的說明,往往比單一大型標準圖表更容易理解。標準圖表可能包含許多選用步驟與合併情境。實務說明則可縮小視野:一個已在 4G 附著的 UE,進入閒置狀態,移動到 5G 覆蓋範圍,並使用 N26 將上下文從 MME 傳輸至 AMF。

最後筆記

4G 到 5G 的閒置模式移動性程序,不僅僅是簡單的覆蓋變更,而是一個結構化的互通流程,讓先前附著在 LTE/EPC 的 UE,可透過行動註冊更新在 5GS 中註冊。當網路希望在 MME 與 AMF 之間傳輸 UE 上下文時,此程序高度依賴 N26。

最重要的邏輯是上下文連續性。UE 將 4G‑GUTI 映射為 5G‑GUTI,gNodeB 轉發註冊請求,AMF 發現 MME,MME 回傳 EPS MM 及 SM 上下文,AMF 進行轉換並在 5G 側繼續註冊。隨後與 UDM、NRF、PCF 和 SMF 的互動,則完成訂閱、發現、策略及會話上下文的準備。

對網路學習而言,實務上的教訓很清楚:從 4G 到 5G 的閒置模式移動性,主要是執行 UE 上下文從 EPC 到 5GC 的遷移,不應與連線狀態交遞混淆,後者必須在 UE 保持作用中的同時,即時切換使用者平面路徑。

常見問題

在此情境中的註冊類型是什麼?

註冊類型為行動註冊更新(Mobility Registration Update)。它與初始註冊不同,因為 UE 已經擁有來自先前 LTE/EPC 附著的 4G 側上下文。

為何 N26 介面很重要?

N26 允許 AMF 和 MME 交換 UE 上下文,使得 5G 核心能取得原先保存在 EPC 中的行動性與會話相關資訊。

當 UE 從 4G 移動到 5G 時,什麼會改變?

接取側從 eNodeB 變更為 gNodeB,行動管理功能從 MME 變更為 AMF。部分合併的核心功能,例如 HSS/UDM 或 PGW‑C/SMF,可能保持邏輯上的連續性。

閒置模式移動性是否需要即時的使用者平面交遞?

不需要。在此情境中,UE 為閒置狀態,因此主要任務是上下文遷移與註冊更新,而非即時的使用者平面隧道切換。

UE 最後會接收到什麼?

UE 會接收到註冊接受(Registration Accept),其中可能包含新的 5G‑GUTI、允許的 NSSAI、註冊計時器、追蹤區域清單以及 EPS 承載狀態。隨後 UE 以註冊完成(Registration Complete)結束程序。

推薦產品
目錄
客服 電話
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 .