stryInsights
2026-10-21 15:33:45

5GC 코어 네트워크의 AMF 주도 퍼지 절차

5GC AMF의 퍼지(purge) 절차는 만료된 사용자 가입 데이터 및 이동성 관리 컨텍스트를 삭제하는 역할을 합니다. 사용자 등록 해제 이후의 주요 처리 단계에는 `Nudm_SDM_Unsubscribe`, `Nudm_UECM_Deregistration`, `PurgeFlag`, `GUAMI` 관련 처리, 그리고 AMF 컨텍스트 정리 과정이 포함됩니다.

Becke Telcom

5GC 코어 네트워크의 AMF 주도 퍼지 절차

UE가 오랫동안 네트워크에 접속하지 않아 AMF의 암묵적 등록 해제 타이머 조건이 충족될 수 있습니다. 이 시점의 문제는 UE가 등록을 어떻게 완료하는지가 아닙니다. UE에 NAS 등록 해제 메시지를 전달하는 것조차 불가능할 수 있기 때문입니다. 대신 네트워크는 AMF가 해당 UE에 대해 여전히 보유하는 가입자 데이터, 이동성 관리 컨텍스트, UDM 구독 및 등록 상태를 어떻게 처리할지 결정해야 합니다.

이 정리 단계는 AMF Purge(AMF 퍼지)가 수행합니다. 3GPP는 이를 Purge of Subscriber Data in AMF(AMF의 가입자 데이터 제거) 절차로 정의합니다. UE가 암묵적 또는 명시적으로 등록 해제된 후, AMF는 로컬에 저장된 Subscriber Data와 MM Context를 삭제하고 UDM과 유지하던 관련 관계를 종료할 수 있습니다.

따라서 퍼지 분석을 Registration Request, Authentication 또는 Registration Accept부터 다시 시작해서는 안 됩니다. 핵심은 등록 관계가 이미 종료된 뒤 AMF와 UDM 사이에서 오래된 등록 관련 상태를 어떻게 정리하는지를 추적하는 것입니다.

퍼지, 등록 및 네트워크 주도 등록 해제의 차이

퍼지는 암묵적 등록 해제 조건이 충족된 뒤 수행될 수 있어 등록 해제와 혼동되지만, 두 절차는 동일하지 않습니다.

절차주요 목적확인할 대표 신호 메시지
최초 등록UE와 5GS 사이의 등록 관계 수립Registration Request / Accept
네트워크 주도 등록 해제기존 5GS 등록 관계 종료Deregistration Request 및 관련 정리 신호
AMF 퍼지AMF의 오래된 가입자 데이터와 MM Context를 삭제하고 UDM의 관련 상태 정리SDM Unsubscribe 및 UECM Deregistration

암묵적 등록 해제 상황에서는 UE가 장기간 연결 불가능한 상태일 수 있으므로 퍼지 절차 자체에 UE가 참여할 필요가 없습니다. 트레이스에 UE 측 Registration 또는 Deregistration NAS 메시지가 없다고 해서 퍼지가 실행되지 않았다는 뜻은 아닙니다.

보다 정확히 말하면, 등록 해제는 UE가 현재 5GS 등록 관계를 더 이상 유지하지 않는다는 사실을 확정하는 절차이고, 퍼지는 그 관계와 연관되어 AMF와 UDM에 남은 상태를 제거하는 절차입니다.

네트워크가 UE 등록을 종료하는 이유는 5GC 코어 네트워크의 네트워크 주도 등록 해제 절차를 참조하십시오. 퍼지는 등록 해제 이후의 AMF 측 정리 작업으로 이어집니다.

5GC 최초 등록, 네트워크 주도 등록 해제 및 AMF 퍼지의 차이: 등록 해제 후 AMF 컨텍스트와 UDM 관계를 정리하는 퍼지 절차
5GC 최초 등록, 네트워크 주도 등록 해제 및 AMF 퍼지의 차이: 등록 해제 후 AMF 컨텍스트와 UDM 관계를 정리하는 퍼지 절차

AMF 퍼지의 트리거와 정리 범위

일반적인 트리거는 AMF 측 암묵적 등록 해제 타이머의 조건이 충족되는 경우입니다. 네트워크는 더 이상 UE를 정상 등록 상태로 취급할 수 없으므로 남아 있는 컨텍스트 정리를 진행합니다.

AMF가 주로 처리해야 하는 상태는 두 가지입니다.

첫째는 Subscriber Data(가입자 데이터)입니다. UE 등록 중 AMF는 UDM에서 접속 및 이동성 관리에 관련된 가입자 정보를 조회해 저장할 수 있습니다. 관련 가입자 정보가 변경되면 UDM으로부터 알림을 받기 위해 SDM Subscription을 설정할 수도 있습니다.

둘째는 MM Context(이동성 관리 컨텍스트)입니다. 여기에는 UE의 등록과 이동성 상태를 관리하는 데 AMF가 사용하는 정보가 포함됩니다. UE가 현재 등록 관계를 더 이상 유지하지 않으면 이 로컬 컨텍스트를 무기한 할당 상태로 남겨 두어서는 안 됩니다.

따라서 퍼지는 새 상태를 생성하는 것이 아니라 이전 상태를 삭제합니다. 일반적인 정리 작업은 다음과 같습니다.

  • UDM에 설정된 AMF의 가입자 데이터 구독 해지

  • UDM에 기록된 AMF의 UECM 등록 해제

  • AMF에 로컬로 저장된 UE 가입자 데이터와 MM Context 삭제

  • AMF에 저장된 UE 등록 상태를 실제 등록 해제 상태와 일치시킴

5GC AMF 퍼지에서 Subscriber Data, MM Context, UDM의 SDM Subscription 및 UECM Registration을 제거하여 사용하지 않는 UE 컨텍스트가 남지 않도록 처리
5GC AMF 퍼지에서 Subscriber Data, MM Context, UDM의 SDM Subscription 및 UECM Registration을 제거하여 사용하지 않는 UE 컨텍스트가 남지 않도록 처리

SDM 구독 해지와 UECM 등록 해제 신호

SBI 트레이스 관점에서 AMF 퍼지의 주요 신호 교환은 비교적 짧으며 AMF와 UDM 사이에 집중됩니다.

SDM Subscription 해지

AMF는 먼저 이전에 생성한 가입자 데이터 구독을 삭제해야 합니다. HTTP/2 트레이스에서는 다음과 같은 작업을 확인할 수 있습니다.

DELETE /nudm-sdm/v2/{SUPI}/sdm-subscriptions/{subscriptionId}

UDM은 Subscription ID를 사용해 해당 구독 관계를 찾아 삭제합니다. 구독을 삭제하면 이후 UE 가입자 데이터가 변경되더라도 삭제된 구독을 통해 해당 AMF에 알림이 전달되지 않습니다.

정상적인 경우 UDM은 구독이 성공적으로 삭제되었음을 나타내는 204 No Content를 반환할 수 있습니다.

UECM에서 AMF 등록 해제

다음으로 AMF는 UDM UECM에 있는 등록 상태를 갱신해야 합니다. 실제 네트워크 트레이스에서는 AMF 3GPP Access Registration 리소스에 대한 업데이트로 나타날 수 있으며 요청에는 GUAMI와 PurgeFlag=true가 함께 포함됩니다.

UDM은 수신한 정보를 이용해 해당 AMF 등록 레코드를 확인합니다. GUAMI가 저장된 서빙 AMF 정보와 일치하면 등록 데이터에 퍼지 상태가 반영되어 서빙 AMF가 해당 UE에 필요한 등록 해제 및 정리를 수행했음을 나타냅니다.

처리가 성공하면 UDM은 다시 204 No Content를 반환할 수 있습니다. 이 시점에는 AMF와 UDM 사이의 두 가지 주요 관계가 정리됩니다.

  1. SDM Subscription이 삭제됨

  2. UECM의 AMF Registration에 대한 등록 해제/퍼지 처리가 완료됨

마지막으로 AMF는 로컬에 저장된 UE 컨텍스트를 삭제하고 해당 등록 관리 상태를 RM-DEREGISTERED로 전환합니다.

5GC AMF 퍼지에서 AMF가 먼저 Nudm SDM Unsubscribe를 호출해 UDM 가입자 데이터 구독을 삭제한 뒤 GUAMI와 PurgeFlag로 Nudm UECM Deregistration 수행
5GC AMF 퍼지에서 AMF가 먼저 Nudm SDM Unsubscribe를 호출해 UDM 가입자 데이터 구독을 삭제한 뒤 GUAMI와 PurgeFlag로 Nudm UECM Deregistration 수행

AMF 퍼지 트레이스의 점검 항목

AMF 퍼지 장애 분석을 Registration Request부터 시작해서는 안 되며 일반적으로 gNB나 UPF부터 살펴볼 필요도 없습니다. 핵심은 AMF와 UDM 간 상태의 일관성입니다.

유용한 점검 항목은 다음과 같습니다.

  • SDM Subscription: AMF가 올바른 SUPI와 Subscription ID에 대해 Unsubscribe를 전송했는지 확인합니다.

  • UDM Response: SDM 삭제가 정상 완료되었고 UDM이 기존 구독 관계를 삭제했는지 확인합니다.

  • UECM Registration: AMF가 올바른 Access Type과 UE 등록 레코드에 대해 Deregistration을 수행했는지 확인합니다.

  • GUAMI: 요청에 포함된 GUAMI가 UDM에 저장된 서빙 AMF 정보와 일치하는지 확인합니다.

  • PurgeFlag: 요청이 퍼지 처리임을 올바르게 표시하는지 확인합니다.

  • AMF Local Context: UDM 측 작업이 완료된 뒤 AMF가 관련 Subscriber Data와 MM Context를 실제로 삭제했는지 확인합니다.

SDM Subscription은 이미 삭제됐지만 AMF에 기존 MM Context가 남아 있다면 AMF의 로컬 정리 과정에 문제가 있을 가능성이 큽니다. SDM Unsubscribe 자체가 실패한다면 Subscription ID와 SUPI, UDM에 저장된 해당 구독 관계부터 확인해야 합니다.

따라서 특정 NAS 메시지가 나타났는지만으로 퍼지 완료를 판단해서는 안 됩니다. 더 신뢰할 수 있는 기준은 AMF 로컬 컨텍스트, UDM 데이터 구독 및 UECM 등록 상태가 UE가 더 이상 등록되어 있지 않다는 사실과 모두 일치하는지 여부입니다.

자주 묻는 질문

AMF 퍼지와 암묵적 등록 해제는 같은 절차인가요?

정확히 같지는 않습니다. 암묵적 등록 해제 이후 퍼지가 이어질 수 있지만, 퍼지는 보다 구체적으로 AMF가 등록 해제 후 Subscriber Data와 MM Context를 정리하고 UDM에서 관련 SDM 구독과 UECM 등록을 제거하는 과정을 뜻합니다.

AMF 퍼지를 위해 UE가 NAS 메시지를 보내야 하나요?

반드시 그렇지는 않습니다. 암묵적 등록 해제 상황에서 UE가 이미 연결 불가능할 수 있습니다. 주요 퍼지 신호는 AMF와 UDM 간에 교환되므로 트레이스에 UE 측 Registration Request 또는 Deregistration Request가 없을 수 있습니다.

Nudm_SDM_Unsubscribe는 어떤 기능을 하나요?

AMF가 이전에 해당 UE에 대해 설정한 가입자 데이터 구독을 삭제합니다. 구독이 해지되면 UDM은 삭제된 구독을 통해 해당 AMF에 후속 가입자 데이터 변경 알림을 보내지 않습니다.

PurgeFlag의 목적은 무엇인가요?

퍼지 중 UECM Deregistration은 퍼지 관련 표시를 포함해 AMF가 해당 등록 관계를 정리 중임을 UDM에 알릴 수 있습니다. 신호 분석에서는 PurgeFlag를 GUAMI 및 관련 UECM Registration과 함께 해석해야 합니다.

퍼지 절차 중에 등록을 다시 수행하지 않는 이유는 무엇인가요?

퍼지는 종료된 이전 등록 관계를 정리할 뿐 새 관계를 만들지 않습니다. UE가 나중에 5GS에 다시 접속하면 그 시점의 UE 및 네트워크 상태에 따라 적절한 Registration 절차가 수행됩니다. 이는 별도의 신호 교환 순서입니다.

추천 제품
카탈로그
고객 서비스 전화
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 .