5 Services offered by the GMLC

29.5153GPP5G SystemGateway Mobile Location ServicesRelease 18Stage 3TS

5.1 Introduction

The table 5.1-1 shows the GMLC Services and GMLC Service Operations:

Table 5.1-1: List of GMLC Services

Service Name

Service Operations

Operation

Semantics

Example Consumer(s)

Ngmlc_Location

ProvideLocation

Request/Response

H-GMLC, NEF

LocationUpdate

Request/Response

AMF, V-GMLC

LocationUpdateNotify

Notify

NEF

CancelLocation

Request/Response

H-GMLC, NEF

EventNotify

Notify

H-GMLC, NEF

Table 5.1-2 summarizes the corresponding APIs defined for this specification.

Table 5.1-2: API Descriptions

Service Name

Clause

Description

OpenAPI Specification File

apiName

Annex

Ngmlc_Location

6.1

Ngmlc Location Service

TS29515_Ngmlc_Location.yaml

ngmlc-loc

A.2

5.2 Ngmlc_Location Service

5.2.1 Service Description

The Ngmlc_Location service enables an NF to request location determination (current geodetic and optionally local and/or civic location) for a target UE. The following are the key functionalities of this NF service.

– Allow the consumer NF to request the current geodetic and optionally local and/or civic location of a target UE.

– Allow the consumer NF to subscribe/unsubscribe the geodetic and optionally local and/or civic location of a target UE for some certain events.

– Allow the consumer NF to cancel an on-going periodic or triggered location request of a target UE.

– Allow the consumer NF to get notified about the geodetic and optionally local and/or civic location of a target UE when some certain events are detected.

5.2.2 Service Operations

5.2.2.1 Introduction

The service operations defined for the Ngmlc_Location services are as follows:

– ProvideLocation

– LocationUpdate

– LocationUpdateSubscribe- LocationUpdateNotify

– CancelLocation

– EventNotify

5.2.2.2 ProvideLocation

5.2.2.2.1 General

The following procedures are supported using the "ProvideLocation" service operation:

– Provide Location of a single UE

– Provide Locaitons of a group of UEs

5.2.2.2.2 Provide Location of a single UE

The service operation is used during the procedures:

– 5GC-MT-LR Procedure for the commercial location service (see 3GPP TS 23.273 [4], clause 6.1.2)

– Deferred 5GC-MT-LR Procedure for Periodic, Triggered and UE Available Location Events (see 3GPP TS 23.273 [4], clause 6.3.1)

The ProvideLocation service operation is invoked by a NF Service Consumer, e.g. a NEF or GMLC, towards the GMLC to request to provide the location information (geodetic location and, optionally local and/or civic location) for a target UE or to subscribe to periodic or triggered deferred location for a target UE. See Figure 5.2.2.2.2-1.

Figure 5.2.2.2.2-1: ProvideLocation Request/Response for a target UE

1. The NF Service Consumer shall send an HTTP POST request to the URI associated with the "provide-location" custom operation. The input parameters for the request (the target UE identification (SUPI or GPSI), required QoS, supported GAD shapes, LCS client type, external Service Identity, Codeword, service coverage, LDR type, serving AMF address, LDR reference, scheduled location time) should be included in the HTTP POST request body, H-GMLC Callback URI may be included in the HTTP POST request body to V-GMLC (eventually to AMF) for implicit subscripiton of EventNotify provided by AMF, and NEF Callback URI may be included in the HTTP POST request body to GMLC/H-GMLC for implicit subscripiton of EventNotify provided by GMLC/H-GMLC.

2a. On success, "200 OK" shall be returned. The response body shall contain the parameters related to the determined position of the UE if any (geodetic position, local position, civic location, positioning methods…).

If geographic area(s) are received in the request for area event, the GMLC (or V-GMLC when roaming) shall convert the received geographic area(s) into a corresponding list of cell and/or tracking area identities when invoking AMF location services.

2b On failure or redirection, one of the HTTP status code listed in Table 6.1.3.2.2-2 may be returned. For a 4xx/5xx response, the message body may contain a ProblemDetails structure with the "cause" attribute set to one of the application errors listed in Table 6.1.3.2.2-2.

5.2.2.2.3 Provide Locations of a group of UEs

The service operation is used during the procedures:

– Bulk Operation of LCS Service Request Targeting to Multiple UEs (see 3GPP TS 23.273 [4], clause 6.8)

The ProvideLocation service operation is invoked by a NF Service Consumer, e.g. a NEF, towards the GMLC (e.g. (H)GMLC when roaming) to request to provide the location information (geodetic location and, optionally local and/or civic location) for a target group of UEs or to subscribe to periodic or triggered deferred location for a target group of UEs. See Figure 5.2.2.2.3-1.

Figure 5.2.2.2.3-1: ProvideLocation Request/Response for a target group

1. The NF Service Consumer shall send an HTTP POST request to the URI associated with the "provide-location" custom operation. The input parameters the target group identification (the External Group ID or the Internal Group ID), LCS client type, eventNotificationUri shall be included in the HTTP POST request body, LDR type, LDR reference shall be also included in the request if requesting the deferred LCS service, the required QoS, supported GAD shapes, external Service Identity, service coverage should be included in the request. If the request is related to location determination at the scheduled time, the scheduled location time shall be included in the HTTP POST request body.

GMLC shall translate the target group identification into the list of the UE identifications which belong to the target group by invoking the related service provided by UDM, then for each UE in the list, GMLC initiates following steps of procedures of the 5GC-MT-LR or Deferred 5GC-MT-LR as defined in 3GPP TS 23.273 [4] clause 6.8.

If geographic area(s) are received in the request for area event, the GMLC (or V-GMLC when roaming) shall convert the received geographic area(s) into a corresponding list of cell and/or tracking area identities when invoking AMF location services.

2a. On success, "200 OK" shall be returned. The response body shall contain the success type.

2b On failure or redirection, one of the HTTP status code listed in Table 6.1.3.2.2-2 may be returned. For a 4xx/5xx response, the message body may contain a ProblemDetails structure with the "cause" attribute set to one of the application errors listed in Table 6.1.3.2.2-2.

5.2.2.3 LocationUpdate

5.2.2.3.1 General

The service operation is used during the procedure:

– 5GC-MO-LR Procedure (see 3GPP TS 23.273 [4], clause 6.2)

The LocationUpdate enables the NF consumer (e.g. AMF) to update UE location information towards the GMLC. See Figure 5.2.2.3.1-1.

Figure 5.2.2.3.1-1: LocationUpdate Request/Response

1. The NF Service Consumer shall send an HTTP POST request to the URI associated with the "location-update" custom operation. The request body shall contain a LocUpdateData object..

2a. On success, "204 No content" shall be returned by the GMLC.

2b. On failure or redirection, one of the HTTP status code listed in Table 6.1.3.4.2-2 may be returned. For a 4xx response, the message body may contain a ProblemDetails structure with the "cause" attribute set to one of the application errors listed in Table 6.1.3.4.2-2.

5.2.2.4 CancelLocation

5.2.2.4.1 General

The service operation is used during the procedure:

– Deferred 5GC-MT-LR Procedure for Periodic, Triggered and UE Available Location Events (see 3GPP TS 23.273 [4], clause 6.3.3)

The CancelLocation enables the consumer NF to use the service operation to cancel a deferred 5GC-MT-LR procedure for periodic or triggered location for a single UE or for a group. See Figure 5.2.2.4.1-1.

Figure 5.2.2.4.1-1: CancelLocation Request/Response

1. The NF Service Consumer shall send an HTTP POST request to the URI associated with the "cancel-location" custom operation. The input parameters for the request ((H-)GMLC contact address, LDR reference number, LMF identification, serving AMF address) should be included in the HTTP POST request body.

2a. On success, "204 No Content" shall be returned.

2b. On failure or redirection, one of the HTTP status code listed in Table 6.1.3.3.2-2 may be returned. For a 4xx response, the message body may contain a ProblemDetails structure with the "cause" attribute set to one of the application errors listed in Table 6.1.3.3.2-2.

5.2.2.5 EventNotify

5.2.2.5.1 General

The following procedures are supported using the "EventNotify" service operation:

– EventNotify for a single UE

– EventNotify for the UEs in a target group

5.2.2.5.2 EventNotify for a single UE

The service operation is used during the procedure:

– Deferred 5GC-MT-LR Procedure for Periodic, Triggered and UE Available Location Events (see 3GPP TS 23.273 [4], clause 6.3.1 or clause 6.3.2)

The EventNotify for a single UE enables the consumer NF (e.g. (H)GMLC, NEF) to get notified about the geodetic and optionally local and/or civic location, the completion or activation of deferred location, mobility to a different AMF/MME of a UE with deferred location for a target UE when some certain events are detected. See Figure 5.2.2.5.2-1.

Figure 5.2.2.5.2-1: EventNotify Notification for a single UE

1. The GMLC shall send an HTTP POST to the locationNotificationUri to send a notification. The input parameters for the notification (Notification Correlation ID, UE (SUPI and if available GPSI), Type of location related event (e.g. deferred location for the UE available event, activation of location for periodic or triggered location, mobility of a target UE to a new AMF or MME for a deferred location, Geodetic Location, Local Location, Civic Location, Position Methods Used, serving LMF identification etc.) should be included in the HTTP POST request body. The locationNotificationUri shall be set to:

If the notification is sent from (V)GMLC to (H)GMLC when roaming with (V)GMLC used,

– the hgmlcCallBackURI received from the AMF/LMF;

If the notification is sent from (H)GMLC to NEF,

– the callback URI of NEF provided by NEF during requesting the ProvideLocation service operation for the periodic or triggered deferred location for a target UE or ;

– the callback URI of NEF locally provisioned in the (H)GMLC.

2a. If the notification is received, the NF Service Consumer shall reply with the status code 204 indicating the notification is received, in the response message.

2b. On failure or redirection, one of the HTTP status code listed in Table 6.1.4.2.3.1-2 may be returned. For a 4xx response, the message body may contain a ProblemDetails structure with the "cause" attribute set to one of the application errors listed in Table 6.1.4.2.3.1-2.

5.2.2.5.3 EventNotify for the UEs in a target group

The service operation is used during the procedure:

– Bulk Operation of LCS Service Request Targeting to Multiple UEs (see 3GPP TS 23.273 [4], clause 6.8)

The EventNotify for the UEs in a target group enables the consumer NF (e.g. NEF) to get notified about the geodetic and optionally local and/or civic locations (immediate locations or deferred locations) for the UEs in target group, the failures of requesting location for the UEs in the target group, completion or activation of deferred location for the UEs in the target group. See Figure 5.2.2.5.3-1.

Figure 5.2.2.5.3-1: EventNotify Notification for the UEs in a target group

1. The GMLC/(H)GMLC shall send an HTTP POST to the locationNotificationUri to send a notification. The Request body shall contain event report(s) for one or more UEs in the group. The event report for each UE shall include the LDR Reference, UE identifier (SUPI or GPSI), location data (location data for immediate location service request or location data for deferred location service request) or failure cause of positioning. The locationNotificationUri shall be set to:

– the callback URI of NEF provided by NEF during requesting the ProvideLocation service operation for a target group of UEs or;

– the callback URI of NEF locally provisioned in the GMLC/(H)GMLC.

2a. If the notification is received, the NF Service Consumer shall reply with the status code 204 indicating the notification is received, in the response message.

2b. On failure or redirection, one of the HTTP status code listed in Table 6.1.4.2.3.1-2 may be returned. For a 4xx response, the message body may contain a ProblemDetails structure with the "cause" attribute set to one of the application errors listed in Table 6.1.4.2.3.1-2.

5.2.2.6 LocationUpdateNotify

5.2.2.6.1 General

The service operation is used during the procedure:

– 5GC-MO-LR Procedure (see 3GPP TS 23.273 [4], clause 6.2)

The LocationUpdateNotify enables the NF consumer (e.g. NEF) to get notified about the UE location information update. See Figure 5.2.2.6.1-1.

Figure 5.2.2.6.1-1: LocationUpdateNotify Notification

1. The GMLC shall send an HTTP POST request to the callback URI of the NF consumer (e.g. NEF). The response body shall contain a LocUpdateNotification object.

The callback URI (e.g. NEF address for callback) is locally configured on GMLC or discovered via NRF.

2a. On success, "204 No content" shall be returned by the NF consumer.

2b. On failure or redirection, one of the HTTP status code listed in Table 6.1.4.3.3.1-2 may be returned. For a 4xx response, the message body may contain a ProblemDetails structure with the "cause" attribute set to one of the application errors listed in Table 6.1.4.3.3.1-2.

5.2.2.7 LocationUpdateSubscribe

5.2.2.7.1 General

This service operation is used by a NF Service Consumer (e.g. NEF) to trigger a subscription to notifications on UE location information update for the 5GC-MO-LR Procedure (see 3GPP TS 23.273 [4], clause 6.2). See Figure 5.2.2.6A.1-1.

NOTE: This service operation is not used by the current stage 2 specifications in 3GPP TS 23.273 [4], i.e. the subscription to notifications on UE location information update is implicit.

Figure 5.2.2.7.1-1: Subscription to UE location information update

1. The NF service consumer (e.g. NEF) sends a POST request to the parent resource, i.e. collection of subscriptions (…/loc-update-subs), to create a subscription to UE location information update for the 5GC-MO-LR Procedure, as provided in LocUpdateSubs information conveyed in the message body.

2a. On success, "204 No content" shall be returned by the GMLC.

2b. On failure or redirection, one of the HTTP status code listed in Table 6.1.3.4.2-2 may be returned. For a 4xx/5xx response, the message body may contain a ProblemDetails structure with the "cause" attribute set to one of the application errors listed in Table 6.1.3.4.2-2.