5.5 Metrics collection and reporting
26.5013GPP5G Media Streaming (5GMS)General description and architectureRelease 18TS
5.5.1 General
Metrics collection and reporting can be done in different ways, depending on the relationship between the Application Provider and the 5GMS System operator. The following clauses show simplified signalling examples for two different use-cases.
5.5.2 RAN-based reporting procedure
In the first use-case, shown in Figure 5.5.2-1 below, the 5GMS System operator controls the metrics collection and reporting using the RAN-based configuration method. In this case the metrics are configured via the RAN and the control plane, independent of 5GMS functional support.
Figure 5.5.2-1: Metrics collection and reporting via RAN-based configuration
The different steps are explained below:
1: Overall metrics configuration is done on the network level, for instance defining which geographical areas that shall have metrics collection active, which metrics to collect, and how metrics shall be reported. If per-slice metrics collection and reporting is supported, a slice scope may be present in the metrics configuration, indicating the specific slice instance(s) for metrics collection and reporting.
2: The metrics configuration(s) is/are sent from the OAM to the RAN, which does not forward that information to the UE at this stage.
3: Time passes, and it is assumed that the UE moves around during that period.
4: The UE enters an area (cell, location area, etc.,) which is inside the geographical constraint. This is discovered by the RAN, and it now needs to activate metrics collection and reporting for the UE.
5: The actual metrics configuration is sent from the RAN to the Media Session Handler, via the control plane.
6: Additional time passes, and the UE has a metrics configuration, but no streaming session has started.
7: A streaming session is started.
8: The session setup is done in conjunction with signalling transactions (not shown here).
8a: If a slice scope is included in the metrics configuration set, the Media Session Handler shall check the running slice which is carrying the current media streaming (e.g. via the AT Command +CGDCONT [24] or the specific traffic mapping with URSP [4]). If the running slice is within the slice scope, the metrics collection and reporting shall be excuted. Additionally, the running slice shall also be included into the metrics reports.
9: A new metrics collection job is created in the Media Player.
10: A reference to the new metrics collection job is returned.
11: The configuration for the metrics collection job is sent to the Media Player (i.e. which metrics should be measured) along with the measurement resolution interval). The metrics reporting interval timer is activated in the Media Session Handler.
12: Media is delivered and rendered, and…
13: …more media is delivered…
14: The configured metrics reporting interval has elapsed, and the Media Session Handler now requests the collected metrics from the Media Player.
15: The Media Player returns the collected metrics.
16: The metrics are reported via the control plane.
17: The session continues…
18: more media is delivered, and then the session is finished.
19: The Media Session Handler requests the final metrics collected.
20: The Media Player returns the final collected metrics.
21: The metrics are reported to the OAM via the control plane.
21a: The OAM may determine the per-slice QoE metrics based on the metrics reports and the slice scope.
22: The metrics collection job is deleted.
23: Time passes, the UE moves around.
24: The UE leaves the geographical area specified by the metrics configuration.
25: The RAN sends metrics (de)configuration to the UE, to stop future metrics collection.
5.5.3 5GMSd AF-based reporting procedure
The second use-case, shown in figure 5.5.3-1 below, illustrates a scenario where the metrics collection and reporting is configured by the 5GMSd AF. In this example, it is assumed that the metrics configuration provided by the 5GMSd AF comprises instructions/rules regarding metrics collection (i.e. measurement and logging) and reporting for two different schemes – one that is non-3GPP-defined and initially sourced from the 5GMSd AS, and the other scheme that is defined by 3GPP and initially sourced from an OAM Server belonging to the 5GMS System operator. Each metrics scheme requires the 5GMSd Client to perform metrics collection and subsequent metrics reporting to the 5GMSd AF according to the configuration rules of that scheme. Furthermore, it is assumed that the 5GMSd AF is required to deliver metrics reports obtained from the 5GMSd Client to separate destination entities, upon optionally having performed post-processing of the original report information, according to the configuration rules of each metrics scheme. The 5GMSd AF and 5GMSd AS functions can be either trusted or untrusted.
Figure 5.5.3-1: Metrics collection and reporting via 5GMSd AF-based configuration
The message sequence steps are described below:
1: The 5GMSd AF is provisioned with two separate sets of metrics reporting configuration information – metrics scheme_1 as defined by the 5GMSd Application Provider and metrics scheme_2 as defined by 3GPP, each pertaining to metrics collection by the Media Player, retrieval of those collected metrics from the Media Player by the Media Session Handler, and the generation and delivery of metrics reports from the Media Session Handler to the 5GMSd AF. The 5GMSd AF is similarly provisioned with two separate sets of metrics reporting configuration information, associated with the metrics schemes 1 and 2, regarding required post-processing functionality and subsequent and separate delivery of processed metrics reports to the 5GMSd Application Provider and to the OAM Server.
2: The 5GMSd-Aware Application triggers the Service Announcement and Content Discovery procedure. The Service Announcement includes the whole Service Access Information that contains metric configuration info for metrics schemes 1 and 2, with their associated metrics collection configurations acquired by the Media Player and metrics collection configurations acquired by the Media Session Handler.
3: Time passes until the 5GMSd UE initiates session establishment and media playback.
4: The 5GMSd-Aware Application informs the Media Player of impending media playback.
5a: The Media Player requests the establishment of a streaming session with the Media Session Handler which acknowledges the request.
5b: The Media Session Handler requests the establishment of a streaming session with the 5GMSd AF which confirms the streaming session establishment.
5c: The Media Session Handler informs the Media Player the successful set-up of the streaming session.
6: Media playback pipeline is set up between the Media Player, the 5GMSd AS and the 5GMSd Application Provider.
7: The Media Session Handler queries the Media Player on its capability to perform metrics collection (measurement and logging function) in accordance with both schemes 1 and 2 as defined by its metrics configuration.
8: The Media Player acknowledges its support for the collection of the required metrics of all configured schemes. If the request cannot be supported by the Media Player (e.g., inability to measure metrics according to one of the configured schemes), an error message shall be sent by the Media Session Handler to the appropriate network entity, indicating that metrics reporting for the indicated metrics scheme cannot be supported for this streaming service.
During the course of media playback, steps 9-18 below may be repeated, depending on the duration of the playback and the frequency of metrics reporting as set by the metrics configuration for each of the two schemes.
9: Assuming a live streaming service, media content is delivered via push ingest from the 5GMSd Application Provider to the 5GMSd AS.
10: The Media Player fetches media content from the 5GMSd AS and begins media playback.
11: The Media Player notifies the Media Session Handler of the start of media playback, causing the Media Session Handler to initialize and begin countdown of separate metrics reporting interval timers for schemes 1 and 2.
12: Upon expiration of timer_1 (associated with scheme_1), the Media Session Handler retrieves the logged metrics measurements from the Media Player according to scheme_1.
13: In accordance with its metrics reporting configuration as provisioned in step 2, a metrics report for scheme_1 is sent from the Media Session Handler to the 5GMSd AF.
14: Upon expiration of timer_2 (associated with scheme_2), the Media Session Handler retrieves the logged metrics measurements from the Media Player according to scheme_2.
15: In accordance with its metrics reporting configuration as provisioned in step 2, a metrics report for scheme_2 is sent from the Media Session Handler to the 5GMSd AF.
16: In accordance with its metrics reporting configuration as provisioned in step 1, the 5GMSd AF performs separate post-processing in accordance with schemes 1 and 2 (e.g. filtering, aggregation, reformatting) of the received types of metrics reports.
Furthermore, in accordance with its metrics reporting configuration as provisioned in step 1:
17: The 5GMSd AF sends a processed metrics report in accordance with scheme_1 to the 5GMSd Application Provider.
18: The 5GMSd AF sends a processed metrics report in accordance with scheme_2 to the OAM Server.
Upon the termination of media playback (as notified by the 5GMSd-Aware Application to the Media Player) a final round of metrics collection and reporting is performed:
19: The Media Session Handler obtains the latest metrics measurements from the Media Player in accordance with schemes 1 and 2. These procedures might occur prior to the nominal expiration of the metrics reporting interval timers.
20: Final metrics reports, in accordance with schemes 1 and 2 are sent by the Media Session Handler to the 5GMSd AF. These procedures might occur prior to the expiration of the nominal metrics reporting intervals.
21: The 5GMSd AF performs post-processing of the received final metrics reports in accordance with schemes 1 and 2.
22: Same as step 17.
23: Same as step 18.
NOTE: Although not explicitly shown or described in Figure 5.3.3-1, should the 5GMSd AF represent an untrusted network entity and the OAM Server represent a trusted network entity, the delivery of processed metrics reports from the 5GMSd AF to the OAM Server, as depicted in steps 18 and 23, must be mediated by the NEF (Network Exposure Function).
5.5.4 Metrics reporting configuration parameters
Table 4.2.3-4 in clause 4.2.3 describes the metrics reporting configuration parameters used in step 5 of Figure 5.5.2-1 and step 3a of Figure 5.5.3-1. Note that some of the parameters are only relevant for a specific reporting option, as shown in Table 5.5.4-1 below.
Table 5.5.4-1: Metrics reporting configuration parameters and options
Parameters |
Relevance in RAN-based reporting? |
Relevance in 5GMSd AF-based reporting? |
Server address |
No |
Yes |
Scheme |
No (default 3GPP) |
Yes |
DNN |
No |
Yes |
Reporting interval |
Yes |
Yes |
Sample percentage |
Yes |
Yes |
Streaming source filter |
Yes |
Yes |
Slice scope |
Yes |
No |
Metrics |
Yes (3GPP-defined) |
Yes (3GPP-defined or non-3GPP defined) |