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.
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.
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.
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.
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.
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.
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:
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.
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.