行業洞察
2026-07-30 17:15:11
5GC SBI介面概述:從參考點到服務化架構
從參考點架構的限制、服務化架構、NF服務、API式互動、UDM服務範例、SBA架構圖,以及查找3GPP服務操作的實務方法,解析5GC SBI介面。

貝克電信

5GC SBI介面概述:從參考點到服務化架構

理解5GC SBI介面最簡單的方法,是先從一個實際問題開始:5G核心網路為什麼需要全新的互動模型?在5G之前,行動核心網路通常透過參考點架構來描述。每一對網路元件都透過已定義的介面通訊,例如LTE/EPC中MME與HSS之間的S6a。這種點對點模型容易繪製與說明,但隨著網路功能和服務需求日益多樣化,其彈性逐漸不足。

5G核心網路採用不同的方式。它不再將每個網路元件視為只能透過固定參考點連接的封閉模組,而是導入服務化架構。網路功能對外提供服務,其他經授權的網路功能則透過服務化介面使用這些服務。這正是SBI的核心概念。

5GC SBI介面概覽,顯示AMF、SMF、UDM、PCF、NRF與AUSF在服務化架構中提供服務
SBI模型讓5GC網路功能能夠透過標準化的服務化介面對外提供服務。

參考點架構為何出現限制

當網路元件之間的互動關係穩定且可預測時,參考點架構能夠良好運作。如果MME需要與HSS通訊,S6a參考點便用來描述這項關係;如果SGW需要與PGW通訊,則由另一個參考點描述該路徑。這種模型使架構直觀且容易理解。

問題在於擴充性。一旦架構及其參考點在某個規範版本中固定下來,再增加新的通訊關係就會變得困難。例如,如果兩個原本沒有定義介面的網路功能之間出現新需求,標準架構可能無法提供清楚的支援方式。廠商雖然可以開發專有方案,但專有方案會降低互通性,並增加網路演進的難度。

5G核心網路是為更廣泛的服務而設計,包括行動寬頻、IMS、網路切片、政策控制、邊緣服務、能力開放,以及彈性的用戶資料處理。僵化的點對點模型會使這類演進更加複雜。SBI允許一個網路功能提供多項服務,並由經授權的服務使用方依需求呼叫,從而解決這個問題。

如何用微服務理解SBI

可以用銀行櫃檯作為類比。從客戶角度來看,櫃檯提供的是現金提款服務。客戶不需要知道內部流程是由會計、櫃員、經理,還是多名人員共同完成,只需要確認申請能夠被受理、處理並完成。

但從銀行內部來看,一項服務可能由多個角色共同完成。一個角色負責核對帳戶並記錄交易,另一個角色負責準備現金,經理還可能審核異常或高額業務。這些角色可以由不同人員負責,也可以在較小的分行中合併。重點是,即使內部分工改變,對外提供的服務仍然清楚。

5GC採用相同的概念。網路功能可以被視為服務提供者,其內部能力則劃分成多個服務模組。其他網路功能透過標準化的API式互動呼叫所需服務。如此可提升彈性,因為服務使用方不需要為每一種可能的功能關係建立專用的一對一參考點。

UDM是一個典型例子。在4G中,MME透過S6a介面存取HSS的多項功能。在5G中,相關能力被拆分成不同的UDM服務,例如用於UE註冊資訊的UECM、用於簽約資料管理的SDM,以及用於驗證相關資料的UEAuthentication。經授權的網路功能可以依照既定規則使用這些服務。

SBI在5GC中的意義

在5GC術語中,NF即網路功能,是指AMF、SMF、UDM、AUSF、PCF、NRF或NEF等已定義的處理功能。NF服務是由某個NF對外提供,並由其他經授權的NF使用的具體能力。服務化介面則描述某個網路功能如何對外提供一組服務。

SBI名稱通常以大寫字母N開頭,後面接小寫形式的網路功能名稱。例如,Nudm表示UDM對外提供的SBI,Namf表示AMF對外提供的SBI,Nsmf表示SMF對外提供的SBI。這種命名方式有助於快速辨識服務介面由哪個網路功能提供。

參考點與SBI之間的差異十分重要。參考點描述兩個網路功能之間的關係,而SBI描述一個網路功能如何提供可由不同授權使用方使用的服務。架構重點因此從固定的成對連線,轉向可重複使用的服務能力。

5GC參考點架構與基於SBI的SBA比較,顯示點對點介面和可重複使用的NF服務
參考點架構著重固定關係,而SBI著重每個網路功能對外提供的可重複使用服務。

SBA如何維持架構彈性

5GC定義了以SBI為基礎的SBA模型。在SBA架構圖中,許多控制平面網路功能以服務提供者的形式出現,並透過服務化介面連接。這並不表示參考點架構圖會完全消失。為了方便過渡、相容與溝通說明,參考點圖仍會保留,尤其是在工程師需要討論N1、N2、N3、N4、N6或N11等熟悉關係時。

兩種視圖具有不同用途。參考點視圖適合說明連線關係與程序路徑,SBA視圖適合說明服務公開、服務使用,以及網路功能之間以API為基礎的互動。要完整理解5GC,通常需要結合這兩種視圖。

在工程實務中,SBI不只是一張架構圖,它也影響工程師在3GPP規範中搜尋、辨識與理解服務的方式。網路功能服務列在3GPP TS 23.501第7.2節中。例如,可以在該章節找到Namf_Communication、Namf_EventExposure、Namf_MT與Namf_Location等AMF服務。

具體的服務操作、訊息名稱、參數以及已知的服務使用方,則在3GPP TS 23.502第5.2.2節中說明。例如,AMF服務操作可能包括UEContextTransfer、CreateUEContext、ReleaseUEContext、N1MessageNotify、N1N2MessageTransfer及相關操作。這種查找方式可以協助工程師從SBI的高階概念進一步進入實際程序分析。

常見問題

為什麼5GC仍然保留參考點架構圖?

參考點架構圖仍適用於過渡、相容與程序說明。即使控制平面採用服務化設計,它也能協助工程師討論熟悉的連線路徑。

SBI是否只用於UDM?

不是。UDM只是其中一個例子。AMF、SMF、PCF、AUSF、NRF、NEF以及其他5GC控制平面功能,都可以透過各自的服務化介面提供服務。

NF與NF服務有什麼差別?

NF是指AMF或UDM等網路功能本身。NF服務則是指該網路功能對外提供,供經授權使用方使用的某項具體能力。

工程師應如何理解SBI名稱?

名稱通常以大寫N開頭,後面接小寫的網路功能名稱。Nudm表示UDM的服務化介面,Namf表示AMF的服務化介面。

通常在哪裡查看SBI操作?

網路功能服務清單通常在3GPP TS 23.501第7.2節中查看,詳細的服務操作及相關參數通常在TS 23.502第5.2.2節中查看。

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