行業洞察
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 .