行业洞察
2026-07-27 17:30:46
5GC ULI参数与5G核心网中的用户位置上报
通过gNB上报的用户位置信息、NR ULI结构、TAI、NCGI、NCI、注册区域、MRU触发条件,以及位置数据在AMF、SMF、PCF、NEF和应用功能之间的传递路径,解析5GC ULI。

贝克电信

5GC ULI参数与5G核心网中的用户位置上报

在5G核心网中,用户位置信息并不是核心网自身能够直接发现的数据。UE的实时网络位置来自无线接入侧,尤其是当前为用户提供服务的gNB。gNB能够知道UE正在使用哪个小区、该小区属于哪个跟踪区域,以及应如何把无线侧位置向核心网上报。因此,ULI(即用户位置信息)是5GC信令中的重要参数。

ULI由gNB通过NGAP信令发送给AMF,为核心网提供注册、移动性管理、会话处理、策略控制、业务路由和应用能力开放所需的位置参考。在工程实践中,ULI并不是街道级定位结果,而是由TAI、NR CGI等无线接入标识构成的网络位置身份。这些标识使5G核心网能够在跟踪区域和小区层面判断UE所在位置。

5GC ULI上报示意图,显示gNB通过NGAP信令向AMF发送包含TAI和NR CGI的用户位置信息
在SA场景中,ULI主要使用TAI和NR CGI,使gNB能够通过NGAP信令向5G核心网上报UE位置信息。

ULI如何到达核心网

ULI的上报方向是从gNB到AMF。gNB会在多种N2消息中携带ULI参数,使AMF获得UE当前的网络侧位置。这一点非常重要,因为AMF的决策取决于UE位于何处、属于哪个跟踪区域,以及是否需要进行移动性更新或注册更新。

多种NGAP消息都可以携带ULI,包括PDU Session Resource Release Response、PDU Session Resource Modify Response、PDU Session Resource Notify、UE Context Release Complete、UE Context Modification Response、RRC Inactive Transition Report、Handover Notify和Path Switch Request。对于NAS传输,有两条消息尤其重要:Initial UE MessageUplink NAS Transport。由于这些消息承载5G NAS信令,AMF可以在NAS相关流程中获得UE的实时位置信息。

这种设计把位置上报逻辑保留在靠近无线网络的一侧。gNB观察当前服务小区,并通过NGAP转发相关标识;AMF随后把这些信息纳入更完整的移动性和会话上下文。

NR ULI包含哪些内容

ULI定义了不同的位置类型选项。总体而言,它可以在NSA相关场景中包含E-UTRA ULI,也可以在SA相关场景中包含NR ULI。在5G独立组网中,重点是NR ULI。

NR ULI主要由两部分组成:5G TAINR CGI,后者也称为NCGI。TAI标识跟踪区域,NCGI则在全球范围内标识具体的NR小区。两者结合后,可以同时向核心网提供UE的跟踪区域上下文和无线小区上下文。

TAI由MCC + MNC + TAC构成。MCC和MNC用于标识PLMN,TAC用于标识跟踪区域。借助这一结构,网络可以把UE关联到正确的运营商网络和跟踪区域。跟踪区域概念继承自4G,但在5G移动性管理中仍然十分重要。

NCGI由PLMN标识和NCI组成。NCI即NR Cell Identity,长度为36比特,其中包含gNB ID和Cell ID。由于gNB ID长度可变,Cell ID的长度取决于分配给gNB ID的比特数。例如,当gNB ID长度为24比特时,剩余的Cell ID长度为12比特。工程师在解释小区身份值或计算NCI和NCGI时,需要理解这种关系。

不同区域之间的关系

注册区域、跟踪区域、gNB和小区之间的关系,是理解5G移动性的核心。一个小区只属于一个基站,同时也只属于一个跟踪区域。一个跟踪区域可以包含多个基站和多个小区。根据无线规划方式,同一个gNB下的不同小区也可以被分配到不同的跟踪区域。

AMF服务区域由多个跟踪区域组成。在这一服务范围内,AMF可以根据策略为不同UE分配不同的注册区域。一个注册区域可以包含一个或多个跟踪区域。它在概念上类似4G使用的TA List,但应用于5G核心网的移动性上下文。

注册区域的作用是在保持UE可达的同时避免不必要的信令。如果UE在已分配的注册区域内移动,每次切换小区时都不需要触发移动性注册更新。如果UE移出该区域,就需要启动MRU,即Mobility Registration Update流程。

以用户乘坐地铁跨区移动为例。如果AMF为用户分配了包含TA1的注册区域,而用户从TA1中的gNB移动到TA2中的gNB,就越过了已分配的注册边界。即使AMF没有发生变化,由于注册区域已经改变,UE仍需要执行MRU。

5GC注册区域关系图,显示TA、gNB、NR小区、AMF服务区域,以及UE移出指定区域时触发MRU
注册区域规划把TA、gNB和小区之间的关系联系起来,使UE只有在移出已分配的移动区域时才触发MRU。

位置数据会传递到哪里

AMF从gNB接收到ULI后,多个5G核心网功能都可以使用该位置信息。AMF是第一个接收上报位置的核心网功能。随后,位置相关信息可根据网络设计共享给SMF用于会话管理、共享给PCF用于策略决策,也可传递给面向应用的功能。

典型信令路径可以表示为gNB → AMF → SMF → PCF。PCF可以为运营商自有的应用功能提供策略处理,例如IMS相关场景中的P-CSCF。另一条路径可以在符合开放规则和业务权限时,通过NEF把信息开放给第三方应用功能。

ULI相关信息也可能参与用户面业务开放。例如,SMF可以与UPF交互,而在某些业务设计中,UPF可以面向第三方应用执行HTTP Header Enrichment。这并不意味着每个应用都会自动获得完整位置数据,而是说明5G架构定义了可供策略、会话和应用功能使用网络侧用户位置信息的路径。

从技术阅读和SEO表达角度,最关键的结论很明确:ULI始于gNB,经AMF进入核心网,随后可以影响移动性、会话、策略和业务开放逻辑。TAI说明跟踪区域位置,NCGI说明NR小区身份,而注册区域逻辑决定UE何时必须通过MRU上报移动变化。

常见问题

为什么AMF不能直接知道UE的无线位置?

AMF是核心网功能。服务小区和无线侧位置由接入网观察,因此AMF必须依赖gNB通过NGAP上报的信息。

为什么Initial UE Message和Uplink NAS Transport很重要?

它们把NAS信令从UE侧传送到AMF,因此这些N2消息中携带的ULI可以帮助AMF把NAS流程与UE当前位置信息关联起来。

gNB ID长度变化会产生什么影响?

NCI始终保持36比特,因此更长的gNB ID会为Cell ID留下更少比特;更短的gNB ID则会为Cell ID留下更多比特。

一个gNB可以属于多个跟踪区域吗?

一个gNB可以包含被分配到不同跟踪区域的小区。小区才是关键规划单位,因为每个小区只属于一个TA。

MRU为什么对日常移动性很重要?

当UE移出已分配区域时,MRU可以更新注册区域信息,使网络在不过度增加区域内更新信令的情况下继续保持UE可达。

推荐产品
目录
客服 电话
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 .