An external AF sends an LCS Service Request to an NEF in the HPLMN for a target UE using an NEF API and includes an identification of the UE (e.g. SUPI or GPSI) and details of the location request such as whether a current or last know immediate location or a deferred location is requested, the location accuracy and response time, LDR request information and other information applicable to the type of request.
As an alternative to step 1a, a consumer NF in the HPLMN for a target UE invokes an Nnef_EventExposure_Subscribe service operation towards an NEF in the HPLMN and includes a global identification of the UE (e.g. SUPI or GPSI) and details of the location request as in step 1a.
Based on the service requirements in step 1a or step 1b (e.g. location QoS and whether an immediate or deferred location is requested) and on the availability of GMLC versus AMF based location service, the NEF determines whether the location request in step 1a or step 1b can be mapped to a GMLC based location service or to an AMF location event exposure service. The NEF determines to use whichever mapping is supported or, when both mappings are supported, may employ implementation or operator dependent procedures to make a choice. When a GMLC based location service is determined, steps 3-6 are performed and steps 7-15 are omitted. When an AMF location event exposure service is determined, steps 7-15 are performed and steps 3-6 are omitted. If NEF determines the location request is handled by AMF, it allocates an LDR reference number.
The NEF may take the potential load to the system, e.g. AMF/UDM load, or GMLC load, into consideration when deciding which location service to use, or whether to reject the request from NF or AF. The NEF may also take into account QoS. For example, when QoS accuracy exceeds cell ID, the GMLC location service shall be used if available.
When a GMLC based location service is determined in step 2, the NEF invokes an Ngmlc_Location_ProvideLocation Request service operation towards an HGMLC in the HPLMN. The service operation may include all of the information received from the AF or NF in step 1a or 1b.
For a request for an immediate location, the HGMLC performs steps 2-10 of the 5GC-MT-LR procedure in clause 6.1.1
in the case of regulatory location or steps 2-23 of the 5GC-MT-LR procedure in clause 6.1.2
in the case of commercial location. For a request for deferred location, the HGMLC performs steps 2-29 of the deferred 5GC-MT-LR procedure for periodic, triggered or UE available location events in clause 6.3.1
The HGMLC invokes the Ngmlc_Location_ProvideLocation Response service operation towards the NEF to confirm the request in step 3 for a request for deferred location or to return the UE location for a request for an immediate location.
If deferred location was requested in step 1, the HGMLC invokes one or more Ngmlc_Location_EventNotify service operations towards the NEF, to convey a single UE location in the case of deferred location for the UE available event or to convey an indication of location activation in the UE followed by one or more location event reports in the case of deferred location for periodic or triggered location events.
When an AMF location event exposure service is determined in step 2, if the NEF needs to verify the target UE privacy requirements, the NEF invokes a Nudm_SDM_Get
service operation towards the UDM of the target UE to get the privacy settings of the UE identified by its GPSI or SUPI. The UDM returns the target UE Privacy setting and the SUPI of the UE. The NEF checks the privacy settings. If the target UE is not allowed to be located, steps 8-14 are skipped.
The AMF location event exposure service does not support a real time query to the UE to verify UE privacy requirement by the user. If the NEF finds this is needed, the NEF either selects a GMLC location service or returns an error to the external AF or NF.
The NEF invokes a Nudm_UECM_Get service operation towards the UDM of the target UE with SUPI of this UE. The UDM returns the network addresses of the current serving AMF. If the location request is an immediate location request, the NEF checks the country codes of the serving node addresses. If the NEF finds out the current AMF locates out of the service coverage, the NEF returns an appropriate error message to the AF or NF.
The NEF invokes an Namf_EventExposure
Subscribe service operation towards the serving AMF for the target UE and indicates whether a one-time UE location is requested or multiple UE locations for some triggering event and includes information on location accuracy (e.g. cell ID or TA granularity). If the NEF has no direct access to AMF or is configured to use UDM for the AMF event exposure, procedure in clause 6.5.2
is used instead.
The AMF responds to the service operation in step 9.
If the UE is currently reachable and in CM-IDLE state and if location is requested in step 9 with a cell ID accuracy, the AMF perform a network triggered service request as described in TS 23.502
to place the UE in CM-CONNECTED state.
If an immediate location is requested in step 9 which the AMF can support based on AMF knowledge of the current or last known serving cell or serving TA for the UE, the AMF uses this information. Otherwise, the AMF invokes the NG-RAN location reporting procedure defined in clause 4.10 of TS 23.502
to obtain a single location or multiple UE locations according to the request in step 9. The AMF may convert any location that was obtained in the form of a cell ID or TAI into geographical information based on TS 23.032
and as defined in TS 29.518, clause 220.127.116.11.5
and TS 29.571, clauses 18.104.22.168
, 22.214.171.124 and 126.96.36.199 before proceeding to step 13.
The AMF invokes the Namf_EventExposure
Notify service operation towards the NEF to provide the current or last known UE location as obtained at step 12.
When the AMF determines that the UE is in roaming, it provides the current or last known UE location to NEF via I-NEF as described in clause 188.8.131.52.3a of TS 23.502
If the AMF invokes the NG-RAN location reporting procedure in step 12 to obtain multiple UE locations and receives multiple location reports from NG-RAN as part of step 12, the AMF invokes one or more additional Namf_EventExposure
Notify service operations towards the NEF to provide each additional UE location provided by NG-RAN. The AMF may convert each additional UE location in the form of a cell ID or TAI into geographical information as in step 12.
AMF conversion of a UE location in the form of a cell ID or TAI into geographical information in step 12 and step 14 can be PLMN operator dependent. However, it is expected that AMF conversion will normally be needed for a roaming UE to avoid VPLMN cell ID and TAI configuration in the HPLMN NEF.
In the case of LDR, the NEF may itself initiate the Namf_EventExposure Unsubscribe service operation, e.g. if when the UE's privacy setting stored in the UDM was changed. For every outstanding Deferred Location Request against that UE, the NEF shall perform a new privacy check based on the updated privacy setting stored in the UDM. If the privacy check passes, i.e. the LCS Client is still allowed to position the target UE, the handling of the outstanding Deferred Location Request should be continued. Otherwise, if the privacy check does not pass, i.e. the Location estimate of the target UE is not allowed to be provided to the LCS Client, the NEF shall initiate a cancellation. Then AMF then releases all resources for the LDR request, and NEF shall send a notification of cancellation of LDR request to consumer AF or NF in the step 17a, 17b.
Step 16a, 16b.
The NEF returns the first UE location received at step 5 or step 13 or a confirmation of a request for deferred location received at step 5 in the case of a GMLC location service to the external AF (step 15a) or NF (step 15b).
Step 17a, 17b.
If one or more additional location reports are received at step 6 or step 14, the NEF returns one or more additional locations to the external AF (step 16a) or NF (step 16b). If step 15 occurs, a notification of cancellation of LDR request shall be sent to the consumer AF (step 17a) or consumer NF (step 17b).
As part of step 16 and step 17, the NEF converts any UE location received in the form of a cell ID or TAI into geographical information prior to sending the location to a consumer AF or NF.