【5G核心网】5GC核心网之网元NRF

   NRF,Network Repository Function,网络仓储功能,支持以下功能:

    -  支持服务发现功能,从NF实例接收NF发现请求,并将发现的NF实例(被发现)的信息提供给NF实例。

    -  维护可用NF实例及其支持的服务的NF配置文件

    NF 实例的配置文件在 NRF 中包括以下新信息:

- NF instance ID.

- NF type.

- PLMN ID.

- Network Slice related Identifier(s) e.g. S-NSSAI, NSI ID.

- FQDN or IP address of NF.

- NF capacity information.

- NF priority information.

-- NF Specific Service authorization information.

- if applicable, Names of supported services.

- Endpoint Address(es) of instance(s) of each supported service.

- Identification of stored data/information.

- Other service parameter, e.g., DNN, notification endpoint for each type of notification that the NF service is interested in receiving.

- Location information for the NF instance.

- TAI(s).

- Routing Indicator, for UDM and AUSF.

- One or more GUAMI(s), in case of AMF.

- SMF area identity(ies) in case of UPF.

- UDM Group ID, range(s) of SUPIs, range(s) of GPSIs, range(s) of external group identifiers for UDM.

- UDR Group ID, range(s) of SUPIs, range(s) of GPSIs, range(s) of external group identifiers for UDR.

- AUSF Group ID, range(s) of SUPIs for AUSF.

                                                                      Figure 4-1: 5G System architecture

      作为例外,在漫游情况下,vNRF和hNRF之间的参考点命名为N27,NRF 提供的服务包括:

  - Nnrf_NFManagement

  - Nnrf_NFDiscovery

  - Nnrf_AccessToken (OAuth2 Authorization)

1. Nnrf_NFManagement 服务

    {apiRoot}/{apiName}/{apiVersion}/        nnrf-nfm

                                                   Figure 6.1.3.1-1: Resource URI structure of the NFManagement API 

                                                    Table 6.1.3.1-1: Resources and methods overview

    Nnrf_NFManagement 服务允许正在服务的 PLMN 中的网络功能实例在 NRF 中注册,更新或注销其配置文件。Nnrf_NFManagement 服务还允许 NRF 实例在同一 PLMN 中的另一个 NRF 中注册,更新或注销其配置文件。

    它还允许 NF 订阅 NF 实例及其 NF 服务的注册,注销和配置文件更改的通知。

 - NFRegister

 - NFUpdate

 - NFDeregister

 - NFStatusSubscribe

 - NFStatusNotify

 - NFStatusUnsubscribe 

 - NFListRetrieval

 - NFProfileRetrieval

   1.1 NFRegister

    -  通过向 NRF 提供请求 NF 的配置文件,在 NFR 中注册 NF,NRF 将请求 NF 标记为可供其他 NF 发现的 NF;

    -  注册与现有NF实例相关的服务

    -  将 NRF 信息注册到另一个 NRF 中,并且该信息用于转发或重定向服务发现请求

                                           Figure 5.2.2.2.2-1: NF Instance Registration

2. Nnrf_NFDiscovery 服务

    Nnrf_NFDiscovery 服务允许网络功能实例通过查询本地 NRF 来发现其他网络功能实例提供的服务。

    它还允许PLMN中的NRF向另一个PLMN中的NRF(例如某个UE的HPLMN)重新发出发现请求。

    -  NFDiscover:它向 NF 服务使用者提供与某些输入标准匹配的NF实例或NF服务的IP地址或FQDN。

   2.1 Service Discovery in the same PLMN

    通过查询“ nf-instances”资源来执行此服务操作。 该请求被发送到与 NF 服务使用者相同的 PLMN 中的 NRF。

                                     Figure 5.3.2.2.2-1: Service Discovery Request in the same PLMN

   2.2 Service Discovery in a different PLMN

    通过查询归属地 PLMN 的 NRF 中的“ nf-instances”资源来完成其他 PLMN 中的服务发现。

                                        Figure 5.3.2.2.3-1: Service Discovery in a different PLMN

   2.3 Service Discovery with intermediate redirecting NRF

    当在一个 PLMN 中部署多个 NRF 时,一个NRF可以查询另一NRF中的“ nf-instances”资源,以满足来自NF服务消费者的服务发现请求。 这两个 NRF 之间的查询由第三个 NRF 重定向。

                                           Figure 5.3.2.2.4-1: Service Discovery with intermediate redirecting NRF 

   2.4 Service Discovery with intermediate forwarding NRF

    当在一个 PLMN 中部署多个NRF时,一个NRF可以查询另一NRF中的“ nf-instances”资源,以满足来自NF服务消费者的服务发现请求。 这两个 NRF之间的查询由第三个 NRF 转发。

                                         Figure 5.3.2.2.5-1: Service Discovery with intermediate forwarding NRF

3. Nnrf_AccessToken 服务

4. 数据模型

   4.1 AmfInfo 结构

                                                    Table 6.1.6.2.11-1: Definition of type AmfInfo

    AMF 服务注册信息

   4.2 SmfInfo 结构

                                                        Table 6.1.6.2.12-1: Definition of type SmfInfo

猜你喜欢

转载自blog.csdn.net/zhonglinzhang/article/details/108139959