The Edge Computing Provisioning phase is a provisioning phase, that may be repeated several times (e.g. to extend edge processing coverage to new geographical areas or to increase the capacity of an already provisioned area). All steps in this phase are optional and performed on need basis. The steps are:
1.
Spawn ECS: In this step, a new ECS is instantiated to manage new or increased demand for edge processing.
2.
Spawn 5GMS AF: In this step, a new 5GMS AF that is edge-enabled is instantiated to handle new or increased demand for media sessions with edge processing.
3.
EES Configuration: The EES is configured for a specific Edge Data Network.
4.
EES Registration with ECS: The EES registers with the ECS that is in authority over the target EDN.
The 5GMS Application Provider Provisioning phase is performed prior to the establishment of any related media streaming sessions by the 5GMS Application Provider. Subsequent updates to the provisioning session are possible.
5.
Create Provisioning Session: In this step, the 5GMS Application Provider creates a new provisioning session.
6.
Provision 5GMS features: In this step, the 5GMS Application Provider may create different configurations such as Content Hosting, Reporting, Edge Processing, etc.
The 5GMS-Aware Application initiates a new media streaming session:
7.
Application Initialization: The user launches the 5GMS-Aware Application. The application performs any required initialization steps.
8.
Start session: The 5GMS-Aware Application invokes the Media Streamer with appropriate streaming access parameters.
9.
Session starting event: The application informs the Media Session Handler about the start of a new 5GMS session.
10.
Retrieve Service Access Information: The Media Session Handler retrieves Service Access Information from the 5GMS AF appropriate to the 5GMS session.
11.
Determine eligibility for requesting edge resources: Using information from the Service Access Information, the Media Session Handler determines whether the media streaming session is eligible for requesting edge resources.
If the eligibility criteria are met in the previous step, the UE discovers an EAS instance offering 5GMS AS functionality in the Client-based Edge Computing Discovery phase:
12.
Locate candidate"5GMS AS" EAS instances: The Media Session Handler (potentially triggered by a request from the 5GMS-Aware Application) asks its embedded EEC to discover the location of one or more suitable EAS instances offering the "5GMS AS" capability that are able to serve the application.
13.
Locate local EES: The EEC queries the ECS for a suitable EES.
14.
Register with EES: The EEC registers with the selected EES.
15.
Request list of "5GMS AS" EAS instances: The EEC contacts the EES to query for one or more EAS instances offering the "5GMS AS" capability that can serve the session, using EAS discovery filters (see Table 8.5.4.2-2 in TS 23.558) obtained as a part of the Service Access Information and/or provided by the Application Client, e.g. "5GMS AS" for EAS type, appropriate values for service feature(s), and other EAS characteristics.
The optional sub-flow is for provisioning an additional 5GMS AS instance if a suitable EAS instance offering the "5GMS AS" capability cannot be located. The steps are:
16.
Check resource template: The 5GMS AF checks the provisioned edge processing resource template for the related application to determine the edge resource requirements of the application.
17.
Instantiate new EAS/5MGS AS: The 5GMS AF requests the MnS to instantiate a new "5GMS AS" EAS instance using the specified requirements in the provisioned edge processing resource template and parameters provided in the query by the EEC.
18.
Spawn 5GMS AS instance: The MnS creates a new instance of the EAS offering "5GMS AS" capability with the requested placement and resources.
19.
EAS configuration: The newly instantiated "5GMS AS" EAS instance is configured, after which it is discoverable through DNS procedures or the discovery procedures as defined in TS 23.558.
20.
Register EAS with EES: The newly instantiated EAS instance registers itself with the triggering EES.
21.
Configure provisioned features: This may include configuring and launching the server-side application in the 5GMS AS.
Completion of Client-based Edge Computing Discovery phase:
22.
List of suitable "5GMS AS" EAS instances: The EES/5GMS AF responds to the EEC with a list of "5GMS AS" EAS instances and their characteristics in an EAS discovery response (see Table 8.5.3.3-1 in TS 23.558). Every EAS instance in the list satisfies the requirements defined in the provisioned edge processing resource template.
23.
Select preferred "5GMS AS" EAS instance: The AC and/or EEC/Media Session Handler select(s) a "5GMS AS" EAS instance from the provided list, based on the AC's desired criteria.
In the case where the media entry point provided in the Service Access Information includes a host name, the EEC/Media Session Handler inserts a record into the UE's local DNS resolver that resolves this host name to the IP address of the chosen EAS instance.
After the successful discovery of a "5GMS AS" EAS instance, the actual streaming session may start:
24.
Media transfer: The 5GMS-Aware Application connects to the selected EAS "5GMS AS" and the streaming starts.
In the case where the media entry point provided in the Service Access Information includes a host name, before connecting, the Media Stream Handler first resolves this to the IP address of the EAS instance selected in step 23.
25.
Method calls and notifications: Supporting information about the 5GMS session is passed from the Media Stream Handler to the Media Session Handler.
26.
Reporting, network assistance, and dynamic policy: The Media Session Handler exchanges supporting information about the 5GMS session with the 5GMS AF.
27.
End session: the 5GMS-Aware Application informs the Media Session Handler that the 5GMS session has ended.
28.
Session ending event: The Media Streamer informs the Media Session Handler about the end of the 5GMS session.
29.
Final reporting: The Media Session Handler performs any final reporting to the 5GMS AF.
Figure 8.2-1 outlines a detailed call flow for the AF-driven management of edge processing. In clause 8.1, the optional provisioning of an additional 5GMS AS instance occurs in response to an explicit call from the Application Client to an on-board EEC, whereas in this procedure the provisioning of an additional 5GMS AS instance is initiated by the 5GMS AF. This occurs, if needed, as part of and in response to Application Provider provisioning, and subsequently when needed to support the dynamically changing demands of eligible media streaming sessions. The 5GMS AS instance may also be reprovisioned at any time during the lifetime of the 5GMS Provisioning Session in response to changing demand levels (not illustrated for brevity).
The Edge Computing Provisioning phase is a provisioning phase, that may be repeated several times (e.g. to extend edge processing coverage to new geographical areas or to increase the capacity of an already provisioned area). All steps in this phase are optional and performed on need basis. Steps 1-4 are identical to those described in clause 8.1 above.
The 5GMS Application Provider Provisioning phase is performed prior to the establishment of any related media streaming sessions by the 5GMS Application Provider. Subsequent updates to the provisioning session are possible. Steps 5-6 are identical to those described in clause 8.1 above.
The optional sub-flow to provision an additional 5GMS AS instance may be repeated multiple times on need basis to add new capacity, to increase existing capacity for edge processing or to reallocate underused edge processing resources to other tasks. The edge processing capacity is tailored for the specific 5GMS Application Provider based on the information in the Provisioning Session. Steps 7-12 are identical to steps 16-21 described in clause 8.1 above with the following exception:
In step 7, based on the eligibility criteria in the edge resource template, the 5GMS AF shall determine whether the media streaming session is eligible to use edge resources.
After successful discovery, the actual streaming session may start in the 5GMS Session phase. Steps 13-15 are identical to steps 8-10 described in clause 8.1 above, and steps 16-21 are identical to steps 24-29.