IndustryInsightsについて
2026-10-21 15:33:45

5GCのAMF起動パージ手順:UDMシグナリングとコンテキストのクリーンアップ

AMFパージは登録解除後にローカルの加入者データとモビリティコンテキストを削除します。SDM Unsubscribe、UECM PATCH、purgeFlag、GUAMI検証、アクセスごとの状態が、整合性のあるクリーンアップの鍵になります。

ベッケテレコム

5GCのAMF起動パージ手順:UDMシグナリングとコンテキストのクリーンアップ

AMFパージとは、UEの登録が暗黙的または明示的に解除された後、ローカルに保存された加入者データとモビリティ管理(MM)コンテキストを任意に削除する処理です。関連するUDMシグナリングによって加入者データの通知を解除し、対象アクセスの登録をパージ済みとしてマークします。プロビジョニング済みの加入者アカウントを削除する処理ではありません。

典型的な調査は、到達不能なUEと古いAMFコンテキストから始まります。技術上の論点は、そのコンテキストを破棄できるか、UDMとのどの関係を変更する必要があるか、新しい登録状態や現在も有効な登録状態が保護されるかです。主なやり取りは Nudm_SDM_Unsubscribe と Nudm_UECM_Deregistration です。

登録解除に続いてAMFパージを行う場合

3GPPでは、この手順をAMF内の加入者データのパージと呼びます。TS 23.502、Release 18、4.5.3節では、登録解除後にローカルの加入者データとMMコンテキストをパージするかどうかは実装上の選択肢とされています。AMFがパージを選択した場合、UDMに対して関連する通知購読解除および登録解除の操作を実行しなければなりません。

この区別はタイマー満了時に重要です。タイマーの条件は到達可能性と暗黙的な登録解除の処理に属し、共通のパージタイマーを定義したり、すべてのUEレコードの即時削除を要求したりするものではありません。まず対象の登録が終了した理由を確認し、その後、保持していたコンテキストのパージをAMFが選択したかを判断します。

手順目的確認する証拠
初期登録アクセスおよびモビリティの登録を確立するRegistration Request、加入者情報の取得、Registration Accept
登録解除対象アクセスの登録を終了するトリガー、アクセス範囲、該当する場合のNAS交換、登録状態
AMFパージ保持されたローカルデータを破棄し、UDMと同期するローカルのクリーンアップ、SDM Unsubscribe、UECMのパージ通知

関連するネットワーク起動の登録解除手順では、先行する判断とUEへの通知を扱います。パージ自体は、UEから新たなRegistration RequestやNAS Deregistration Acceptを受け取る必要がありません。暗黙的な登録解除では、UEがすでに利用不能になっている場合があります。

登録、登録解除、その後のAMFパージの概念的な比較
登録は関係を確立し、登録解除は該当する登録を終了させます。任意のAMFパージは保持されたローカルデータを処理します。廃棄の記号は、UDM内の加入者アカウントの削除を表すものではありません。

削除されるものと残り得るもの

3種類の状態を区別してください。AMF内の加入者データのコピーには、アクセスとモビリティの処理に必要な取得済み情報が含まれます。MMコンテキストはUEのモビリティ管理と登録管理を支えます。SDMの購読は独立した通知関係であり、UDMはこれを通じて購読対象データの変更を通知します。

UDMは、UEコンテキスト管理(UECM)を通じてAMFの登録情報も保持します。パージ時には、対象アクセスについてパージ済みを示す情報が付加されます。この操作を単に「UDMの登録を削除する」と説明すると、SDM購読リソースの削除とAMF登録リソースの変更の違いが不明確になります。

パージはサービス利用資格の撤回でもありません。プロビジョニング済みの加入契約は別の事項です。後で戻ってきたUEは適切な登録手順を実行し、その時点で有効な加入契約とネットワーク条件に基づいてアクセスが判断されます。初期登録のシグナリングフローでは、識別、認証、必要なサービングコンテキストの再構築を扱います。

3GPPアクセスと非3GPPアクセスが共存する場合、アクセス範囲の確認が不可欠です。一方のアクセスで登録が終了しても、もう一方に有効な関係がないことの証拠にはなりません。残存コンテキストをリークと判断する前に、どのアクセスが終了し、どの残存状態がまだそのコンテキストを必要としているかを確認します。同様に、SMFとUPFのセッションリソースの調査にはPDUセッション解放手順を使用してください。AMFパージの確認応答だけでは、それらの削除は証明されません。

SDM Unsubscribeは通知の購読を削除する

参照フローでは、ローカルの加入者データとMMコンテキストのパージ後にUDMとのやり取りを開始します。SDM Unsubscribeの要求と応答に続いて、UECM Deregistrationの要求と応答が示されています。したがって、ローカル削除を「両方のUDM応答後にのみ行われる必須の最終処理」と説明すべきではありません。

個別のSDM購読に対して、AMFは作成時の Location ヘッダーで示された購読リソースへHTTP DELETEを送信します。パスの例を以下に示します。

SDM購読リソース

DELETE {apiRoot}/nudm-sdm/v2/{supi}/sdm-subscriptions/{subscriptionId}

パケットを関連付ける際は、実際に保存された購読URIと導入済みのAPIバージョンを使用します。この例はリソースのパターンであり、UDMが返したURIの代わりにはなりません。SUPI、購読ID、元のAMFを照合し、別のコンテキストの購読を古い購読と取り違えないようにします。

削除に成功すると 204 No Content が返されます。TS 29.503の5.2.2.4.2節では、有効な購読がない場合の 404 Not Found も説明されています。購読IDが不明な場合などが該当します。404の場合は、以前の削除試行と最初の作成応答を確認する必要があります。404だけでパージ全体の成功を判断することはできません。

削除後、その購読による将来のデータ変更通知はAMFに届かなくなります。同じ加入者に対するほかの購読は個別に評価しなければなりません。対応するUDMからUDRへの処理は手順のUDM側に属し、AMFだけで取得したキャプチャに現れるとは限りません。

UECM Deregistrationはアクセス別のパージフラグを設定する

AMFの登録解除では、サービス操作名はHTTP DELETEを意味しません。TS 29.503、Release 18、5.3.2.4.2節および5.3.2.4.3節では、対象のAMF登録リソースへのPATCHに対応付けています。

アクセス別のUECMリソース

PATCH {apiRoot}/nudm-uecm/v1/{ueId}/registrations/amf-3gpp-access
PATCH {apiRoot}/nudm-uecm/v1/{ueId}/registrations/amf-non-3gpp-access

ここで、{ueId} はこの操作のSUPIです。変更データには guami と purgeFlag: true が含まれます。これらはJSON属性の表記であり、「PurgeFlag」は仕様内の型名としても使われています。追加のパージ用エンドポイントを独自に想定したり、2つのアクセスリソースを交換可能なものとして扱ったりしてはいけません。

UDMはフラグを設定する前に、受信したGUAMIを保存済みの登録と照合します。要求が成功すると 204 No Content が返され、GUAMIが一致しない場合は 403 Forbidden になります。6.2.6.2.7節および6.2.6.2.8節の変更表は、MCC、MNC、AMF Region ID、AMF Set IDが異なる場合の拒否を明確に要求しています。

この検証は、古いサービングコンテキストから遅れて届くクリーンアップに関係します。トラブルシューティング上の推論として、不一致はサービング登録が変更されたことを示す場合があり、クリーンアップを強制すべきことを意味するとは限りません。すべての403を認可設定の問題と判断する前に、登録履歴と要求の発行元を比較してください。

SDM Unsubscribe、UECM Deregistration、GUAMI、PurgeFlagを示すAMFとUDMの図
SDM Unsubscribeは通知の購読を削除し、UECM Deregistrationはアクセス登録のpurgeFlagを更新します。取り消し線付きの加入者記号は概念的な表現であり、UDMの加入者アカウントやAMF登録リソース全体の削除を意味しません。

未完了のAMFパージを診断する方法

ローカルのAMFログとSBIトランザクションを関連付けます。HTTPの成功応答が確認するのは個別のUDM操作であり、ローカルコンテキストの削除には別の証拠が必要です。このパージ手順の前に、登録管理はすでに該当する登録解除状態へ移行しています。最後のUECM応答を、UEが初めてRM-DEREGISTEREDになるイベントとして扱ってはいけません。

観測結果次に確認する項目
SDM DELETEが404を返す元の購読URIを取得し、以前の削除や再試行の履歴を確認します。
UECM PATCHが403を返す要求のGUAMIを現在保存されている登録と直近のAMF変更に照らして比較します。
SDM削除は成功するがUECM更新は失敗する両方の結果を個別に追跡します。通知のクリーンアップだけでは、パージ済みの情報が記録されたことを証明できません。
UDM操作は成功するがローカルコンテキストが残るパージが選択されたか、ローカル削除ログ、まだ有効なアクセス状態を確認します。
一方のアクセスだけがパージされるもう一方に残る状態をエラーと判断する前に、そのアクセスの実際の登録を確認します。

試行ごとにSUPI、サービングAMF、アクセスリソース、購読URI、応答ステータス、タイムスタンプを記録します。古い要求の再試行と、同じ加入者による新しい登録を区別してください。タイムアウトしたトランザクションの結果は、サーバー側の処理と関連付けるまで不明です。タイムアウトは、UDMが何も変更しなかったことの証拠にはなりません。

SUPI、購読ID、GUAMI、PurgeFlag、MMコンテキスト、RM-DEREGISTEREDを列挙したAMFパージのトレース解析図
トレースの確認では、対象アクセスとサービングコンテキストを関連付ける必要があります。この図はパケットシーケンスではありません。RM-DEREGISTEREDはパージシナリオの前提条件であり、最後の応答によって作られる新たな状態ではありません。

よくある質問

ログのタイムスタンプが手順の順序と矛盾して見えるのはなぜですか?

まず、時刻同期、ログのバッファリング、記録項目が要求の作成・送信・処理・完了のどれを示すかを確認します。実装が手順の順序を変更したと結論付ける前に、トランザクション識別子とやり取りの両側を比較してください。ログの表示順序は必ずしも処理順序ではありません。

外部サポート向けにパージのトレースをどのように準備すべきですか?

認証情報、トークン、不要な加入者データを削除します。トランザクションの関連付けを維持できるよう、加入者識別子を一貫した方法で置き換え、関係するアクセスタイプ、応答原因、タイムスタンプ、バージョン情報を残します。事業者が承認したサポート手順を通じてトレースを共有してください。

導入環境の調査では、どの仕様バージョンを使用すべきですか?

ネットワークが表明するリリース、サポートするAPIバージョン、実装資料から確認を始めます。ここでの参考資料は、本説明に用いたRelease 18の改訂版を明示しています。別のリリースやソフトウェアビルドに詳細を適用する前に、関連する変更点を比較してください。

おすすめ商品
カタログ
顧客サービス 電話
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 .