7 Feature Gap and Solution analysis

7.1 Interworking ETSI MEC with oneM2M

7.1.1 Description

The target end state is a oneM2M service environment where the IN-CSE can interwork with multiple MEC platforms. ETSI GR MEC-DEC 050 [i.19] defined several use cases for MEC and oneM2M interworking that illustrate how MEC platforms and oneM2M service layers can collaborate to enable edge computing scenarios. The present clause aims to outline the potential solutions and mechanisms for achieving this interworking. Some of the implicit requirements for the interworking of oneM2M and MEC include the ability to deploy and manage applications across distributed edge domains, such as Federated Learning Clients or Swarm Computing Agents.

This is to be provided by:

  • A standardised MEC IPE (in deployment options A and B).
  • A new oneM2M MEC CSF (in options C and D).
  • Extensions to existing oneM2M capabilities exposed on Mca and Mcc interfaces.

The principal interoperability functions required are:

  1. Registration of oneM2M components (IPE's and CSE's). To deploy oneM2M along with ETSI MEC will require a registration process. The process will need to address registration from IPE AEs and CSEs (IN, MN, AN). The registration process will also require discovery of capabilities that are exposed by ETSI MEC and publishing services available from oneM2M:

    • MN-CSE registering to MEC platform as MEC application (Deployment option C & D)

    • MN-CSE registering to IN-CSE; indicating the MN-CSE is hosted on MEC platform (Deployment option C & D) or on a separate edge node (Deployment option B)

    • MEC IPE AE registering to MEC platform as MEC application (Deployment option A)

    • MEC IPE AE registering to IN-CSE; indicating the MEC IPE AE is hosted on MEC platform (Deployment option A) or on a separate edge node (Deployment option B)

      Figure 7.1.1-1: oneM2M and ETSI MEC Registration
      Figure 7.1.1‑1: oneM2M and ETSI MEC Registration

      Figure 7.1.1‑1: oneM2M and ETSI MEC Registration

  2. Interchange of data from IoT devices:

    • MEC applications receiving data from oneM2M-attached devices
    • oneM2M applications receiving data from devices using MEC IoT services
  3. Use of relevant MEC services (e.g. location service) by oneM2M components (IPE and/or CSE)

  4. Orchestration functionality allowing the IN-CSE (core oneM2M service layer) to dynamically discover, deploy, and manage applications across distributed edge domains, including MN-CSEs hosted on MEC platforms or registered to MEC platforms.

    Through the IN-CSE (or a higher-level orchestrator acting on its behalf):

    • Discover MEC Platforms
    • Provision MEC Platforms
    • Deploy oneM2M-aware components as MEC Applications - such as a MEC-IPE AE, a MN-CSE, oneM2M application AEs and register them with the MEC platform
    • Perform CSE service registration and federation - newly deployed components register with the IN-CSE (via standard oneM2M registration procedures)

    The IN-CSE should:

    • Keep awareness of all active MEC platforms, applications, and oneM2M CSEs. This is to enable discovery, coordination, and policy enforcement across the distributed system.
    • Support dynamic lifecycle and mobility management (ETSI MEC & oneM2M) - applications and AEs can be migrated, scaled, or healed automatically as devices move or network conditions change, while maintaining continuity of data and subscriptions.

7.1.2 MEC Platform Services and APIs available to oneM2M

7.1.2.0 Introduction

The purpose of this clause is to describe succinctly the MEC services and APIs available to oneM2M.

All the MEC API descriptions below are based on HTTP REST API and provide a subscription/notification mechanism.

ETSI MEC 009 [i.18] defines design principles for RESTful MEC service APIs, provides guidelines and templates for the documentation of these, and defines patterns of how MEC service APIs use RESTful principles.

7.1.2.1 Service and Application management APIs

ETSI GS MEC 011 [i.4] specifies the functionalities enabled via the Mp1 reference point, which serves as the primary interface between MEC applications and the MEC platform.

Its main purpose is to provide a service environment that allows applications to interact with the MEC system to discover, consume, and offer edge-specific services. ETSI GS MEC 011 [i.4] defines two core APIs: the MEC application support API and the MEC service management API:

  • Service management functions include the registration and discovery of services, as well as handling asynchronous event notifications regarding service availability;
  • Application support functions facilitate critical lifecycle tasks such as application start-up, graceful termination, and the activation of specific traffic and DNS rules.

Based on ETSI GS MEC 011 v4.1.1 [i.4], the endpoints are divided into the MEC application support API and the MEC service management API. The following list elaborates on their roles:

  • MEC Application Support API (/mec_app_support/v2)

    • /applications/{appInstanceId}/confirm_ready: This endpoint confirms to MEC platform that MEC App is up and running.

    • /mec_app_support/v2/registrations: The application registration procedure allows an authorized MEC application instance to provide its information to the MEC platform.

      NOTE: For the application instance that is not instantiated by the MEC Management, the registration can ensure the application instance is discoverable.

    • /applications/{appInstanceId}/traffic_rules: A TrafficRule defines how data plane of MEC host handles matching traffic either at flow or packet level. It is identified by a trafficRuleId and ordered by a priority value. The rule matches traffic using one or more trafficFilter entries, which may include ip addresses, protocol, QoS markers such as QCI, etc. Once matched, the rule applies the action like dropping, forwarding, etc. For example, an MN-CSE running on the MEC host could define a FLOW rule that forwards all CoAP traffic (UDP port 5683) from registered IoT devices to itself, while a lower-priority rule DROPs unrecognised traffic to isolate oneM2M workloads.

    • /applications/{appInstanceId}/dns_rules: A DnsRule defines how the MEC platform resolves a specific fully qualified domain name for an application. It is identified by a dnsRuleId and includes the domainName, the IP address type, and the corresponding IP address returned for that FQDN. The rule may also include a TTL value and carries an administrative state so it can be activated or deactivated without removing the rule. For example, A video streaming MEC application wants to redirect user requests for content delivery to a local cache server at the edge instead of the origin server in the cloud.

    • /timing/timing_caps: TimingCaps defines the timing synchronization capabilities exposed by the MEC platform. It may include a timestamp expressed as Unix time with seconds and nanoseconds, a list of available NTP servers, and a list of available PTP masters together with their IP address, local priority, and supported Delay_Req message rate. For example, an MN-CSE processing time-stamped industrial telemetry can query this endpoint at start-up to discover whether PTP-level synchronization is available and align its clock accordingly.

    • /timing/current_time: CurrentTime provides the current platform time expressed as Unix time with seconds and nanoseconds precision. It also includes a timeSourceStatus indicating whether the platform clock is TRACEABLE (locked to a UTC time source) or NONTRACEABLE (not locked to a UTC time source). For example, an MN-CSE can poll this endpoint periodically to verify the clock remains TRACEABLE and raise an alarm to the IN-CSE if it degrades to NONTRACEABLE.

  • MEC Service Management API (/mec_service_mgmt/v1)

    • services: Provides a searchable registry of MEC service instances for authorized consumers, and enables service-producing applications to manage and register the services they provide. For example, MEC 012 RNIS, ETSI GS MEC 013 Location API [i.6] etc.
    • transports: Provides a list of available transport mechanisms provided by the platform that applications can use for service communication. For example, REST_HTTP, MB_TOPIC_BASED, MB_ROUTING, MB_PUBSUB, WEBSOCKET etc.
    • liveness_uri: Provides heartbeat messages indicating it is still operational to the MEC platform.

By leveraging ETSI GS MEC 011 [i.4], "MEC-aware" applications can use contextual information to actively adjust their behaviour in real time, significantly improving the user experience.

Finally, the service is discovered and accessed by applications via the Mp1 reference point.

This API is fundamental for the integration of oneM2M with ETSI MEC, as it allows the oneM2M CSE to register as a MEC application and to discover and consume MEC services, enabling a seamless interworking between the two systems. This allows the oneM2M CSE to offer its value added MEC services to oneM2M applications and devices.

7.1.2.2 Radio Network Information API

ETSI GS MEC 012 [i.5] specifies the Radio Network Information Service (RNIS) API, which provides up-to-date radio network information to authorized multi-access edge applications and platforms. Its primary goal is to expose real-time radio conditions, such as measurements and statistics related to the user plane, to help applications optimize their performance based on current network status. The service provides details about User Equipment (UE) contexts, radio access bearers (RABs), and connectivity changes for devices served by radio nodes associated with a MEC host. This information can be delivered at various levels of granularity, including per cell, per UE, or per Quality Class Indicator (QCI).

Applications use these insights for advanced use cases like video throughput guidance or adjusting signal-dependent features in augmented reality. The MEC platform also utilizes RNIS to optimize mobility procedures and ensure service continuity as users move through the network. Technically, ETSI GS MEC 012 [i.5] defines RESTful API endpoints and a data model supporting both simple request-response queries and asynchronous event-driven notifications. Recent versions of the standard have expanded these capabilities to support 5G networks and broader multi-access domains.

Finally, the service is discovered and accessed by applications via the Mp1 reference point.

Based on ETSI GS MEC 012 [i.5], the Radio Network Information (RNI) API (/rni/v2) describes the following endpoints over the Mp1 reference point:

  • /queries/rab_info: This resource is queried to retrieve real-time status and cell-level information regarding existing Radio Access Bearers (RABs) that are associated with specific MEC application instances. Relevant use case identified for oneM2M are user tracking by identifying UEs connected to a specific cell or QoS management by accessing detailed Quality of Service (QoS) parameters, such as the QoS Class Identifier (QCI) and maximum/guaranteed bit rates for both Uplink and Downlink;

  • /queries/plmn_info: This endpoint allows service consumers to retrieve information about the Public Land Mobile Networks (PLMNs) that the underlying mobile network is associated with. For instance, if the UE is connected to a 5G network, the PLMN information will be the 5G network operator's information:

    • Request: GET {apiRoot}/rni/v2/queries/plmn_info?app_ins_id=appInst01
    • Response: {"appInstanceId": "appInst01","plmn": [{"mcc": "234","mnc": "15"}]}

    where the MCC is 234 and the MNC is 15 (Vodafone UK network operator).

  • /queries/s1_bearer_info: This resource is used to query specific S1-U bearer details, providing connectivity context such as GTP-U tunnel identifiers and transport layer IP addresses for specific User Equipment. There is no relevant use case identified for oneM2M at this time;

  • /queries/layer2_meas: This endpoint provides access to Layer 2 measurement data from the radio access network, including metrics like physical resource block (PRB) usage, packet delays, and packet loss. There is no relevant use case identified for oneM2M at this time;

  • /subscriptions: This resource represents the collection of all active event notification subscriptions for a requester and enables the creation of new subscriptions for radio network events;

  • /subscriptions/{subscriptionId}: This resource represents a specific, uniquely identified subscription and allows for its detailed retrieval, modification (via PUT), or cancellation (via DELETE).

This MEC service is relevant for oneM2M applications that require real-time radio network context, such as adaptive streaming or location-based services.

7.1.2.3 Location Service API

ETSI GS MEC 013 [i.6] specifies the Location Service (LS) API, which provides location-related information to the MEC platform and authorized applications.

Its primary purpose is to enable high-level functionalities such as active device location tracking and location-based service recommendations. The service supports both a one-time retrieval mechanism for immediate queries and a subscription model for periodic or event-driven updates, such as when a device changes location. It provides data on specific UEs, groups of UEs, or categories of UEs served by radio nodes associated with a MEC host.

Additionally, it can calculate the distance between UEs or between a UE and a specified geographical coordinate. The API also tracks UE movement in and out of defined areas and provides the locations of the radio nodes themselves. It supports both geographical coordinates and logical locations, such as Cell IDs.

Figure 7.1.2.3-1: Example scenario illustrating the representation of Zones and Points of Access (PoAs)
Figure 7.1.2.3‑1: Example scenario illustrating the representation of Zones and Points of Access (PoAs)

Figure 7.1.2.3‑1: Example scenario illustrating the representation of Zones and Points of Access (PoAs)

The figure attached above represents different zones with associated PoAs (Point of Access). A zone is a logical entity that comprises one or more associated access points while point of access represents the entrypoint where user equipments connects to the network. Each zone and its associated PoA is represented by its own color. For instance PoAs in organe color represent a single zone.

Finally, the service is discovered and accessed by applications via the Mp1 reference point.

Based on ETSI GS MEC 013 [i.6], it is organised into two logical groups:

  • Queries (/queries/*): These are mostly for one time location lookups.

    • /queries/users: This endpoints is responsible for retrieving information about different users (UEs) in the network. This information can also be filtered based on zoneid, accesspoint, and address.
    • /queries/zones: This endpoint retrieves information about different zones, which includes zoneid, resourceURL, number of access points etc, presents in the network.
    • /queries/zones/{zoneId}/accessPoints: An access point is the entrypoint where the User Equipment (UE) connects to the network. This endpoint retrieves information about accesspoints in a specific zone. This includes accesspointid, locationinfo, numberofusers etc.
    • /queries/distance/: This endpoint retrieves information about the distance between two UEs or between a UE to a location.
  • Subscriptions (/subscriptions/*)

    • /subscriptions/users/: Create a location subscription (periodic or event-based) and retrieve subscription information for the requester.
    • /subscriptions/zones: Create a zone location subscription (Zone Location event e.g. entering area event, leaving area event etc or Zone Status e.g. upper Number Of Users Zone Threshold, etc) and retrieve subscription information for the requester.
    • /subscriptions/distance: Retrieve all active subscriptions and create a subscription for distance change notification based on criteria. for example, AllWithinDistance, AnyWithinDistance, etc.
    • /subscriptions/area: Retrieves information about the subscriptions for this requestor and create subscription to area notifications, for example, entering area event, leaving area event, etc.

This MEC service is relevant in case of oneM2M device without GPS.

7.1.2.4 UE Identity API

ETSI GS MEC 014 [i.7] specifies the UE Identity API which enables UE-specific functionality and management within a Multi-access Edge Computing system.

Its primary purpose is to facilitate UE-specific traffic rules by allowing application instances to register or de-register "tags" that represent individual users. When a tag is registered, the MEC platform activates associated traffic rules linked to that specific UE, enabling granular control over user data flows

ETSI GS MEC 014 [i.7] also helps applications acquire unique UE identifiers by mapping connection information, such as IP addresses, through interaction with 3GPP functions like the Network Exposure Function. Additionally, it supports the AKMA framework for 5G systems, allowing the MEC platform to act as an Authentication Proxy for secure key management and user authentication. This integration allows edge applications to leverage 3GPP credentials to verify user identities and bootstrap security keys.

Finally, the service is discovered and accessed by applications via the Mp1 reference point.

Based of GS MEC 014 [i.7], the following endpoints are used:

  • /{appInstanceId}/ue_identity_tag_info: This endpoint allows a MEC application instance to register or de-register one or more UE identity tags (representing specific users), which triggers the MEC platform to automatically activate or deactivate the associated tag-based traffic rules for that application.

There is no relevant use case identified for oneM2M at this time.

7.1.2.5 Traffic Management API

ETSI GS MEC 015 [i.8] specifies the Traffic Management (TM) APIs, which provide a standardized way for applications to manage network resources at the edge. ETSI GS MEC 015 [i.8] defines two primary services:

  • The BandWidth Management (BWM) service and the Multi-access Traffic Steering (MTS) service. The BWM service allows authorized applications to register and adjust their specific bandwidth requirements, including size and priority, to resolve resource conflicts between competing applications.
  • The MTS service enables applications to steer, split, or duplicate data traffic across multiple access network connections seamlessly.

Applications can use MTS to be informed of steering capabilities and provide performance requirements like maximum latency or packet loss to influence traffic management operations. Together, these services aggregate requests to optimize bandwidth usage and improve the overall Quality of Experience (QoE) for users.

Finally, the service is discovered and accessed by applications via the Mp1 reference point.

Based on ETSI GS MEC 015 [i.8], the Traffic Management APIs are divided into the Bandwidth Management (BWM) API and the Multi-access Traffic Steering (MTS) API:

  • Bandwidth Management API (/bwm/v1):

    • /bw_allocations: This resource allows for the retrieval of a list of current bandwidth allocations or the creation of a new allocation request for an application or session;
    • /bw_allocations/{allocationId}: This endpoint is used to retrieve, fully update (PUT), partially update (PATCH), or delete a specific, uniquely identified bandwidth allocation instance;
    • /subscriptions: This resource represents all active event notification subscriptions for a subscriber and allows them to register for automatic updates regarding bandwidth changes;
    • /subscriptions/{subscriptionId}: This endpoint allows a subscriber to retrieve, modify, or cancel an individual subscription for bandwidth management event notifications;
  • Multi-access Traffic Steering API (/mts/v1):

    • /mts_capability_info: This resource allows authorized applications to retrieve information regarding the multi-access traffic steering capabilities and connection info supported by the system
    • /mts_sessions: This endpoint provides a searchable list of all existing MTS sessions or allows for the creation of a new traffic steering session;
    • /mts_sessions/{sessionId}: This resource represents an individual traffic steering session and enables the retrieval, update, or removal of its specific steering requirements;
    • /general_notification_endpoint: This is a client-side URI provided during subscription that serves as the endpoint for the Traffic Management Service to deliver automatic POST notifications regarding subscribed events.

There is no relevant use case identified for oneM2M.

7.1.2.6 Device Application Interface

ETSI GS MEC 016 [i.9] defines the Device Application Interface API, which facilitates the lifecycle management (LCM) of user applications within a MEC system. This API operates over the Mx2 reference point, connecting external device applications to a system-level functional element called the User Application Lifecycle Management Proxy (UALCMP).

Its primary purpose is to enable authorized device applications to perform critical operations such as application look-up, instantiation, and termination. Through this interface, the system maintains an Application Context, which provides unique identifiers and reference URIs necessary for the device application to interact with the instantiated edge application. ETSI GS MEC 016 [i.9] also allows device applications to perform location constraint look-ups to identify available edge hosts for application deployment.

Furthermore, it provides a mechanism for receiving notification events regarding status changes, such as address updates or context deletions.

Finally, the services is:

  • discovered by applications via the Mp1 reference point;
  • accessed by device applications via the Mx2 reference point.

This MEC service is relevant for a oneM2M device connecting to a MEC platform where the edge MN-CSE is present but not instantiated. This MEC service provides an endpoint to request the instantiation of the edge MN-CSE.

7.1.2.7 Application Mobility Service API

ETSI GS MEC 021 [i.10] specifies the Application Mobility Service (AMS) API, which provides end-to-end support for application mobility within a Multi-access Edge Computing system.

Its primary purpose is to maintain service continuity by relocating application instances and/or user contexts when a mobile device moves between different MEC hosts. The service ensures that stateful applications can transfer user-specific runtime data to a new host to maintain optimal performance. AMS can be triggered by notifications from other MEC services, such as RNIS (ETSI GS MEC 012 [i.5]) or Location (ETSI GS MEC 013 [i.6]), to detect when a UE has moved out of a serving host's coverage area.

ETSI GS MEC 021 [i.10] defines three implementation approaches:

  • Application self-controlled;
  • Device application assisted;
  • MEC assisted user context transfer.

NOTE: Only the MEC assisted user context transfer is covered in the present document.

It provides authorized consumers with information about adjacent application instances and communication links required for data synchronization.

Ultimately, MEC 021 [i.10] facilitates interoperability for mobility tasks in complex multi-vendor and multi-network edge environments.

Based on ETSI GS MEC 021 [i.10], Application Mobility Service API has following endpoints:

  • /app_mobility_services: this resource is responsible to request resource allocation for registering the application mobility.
  • /subscriptions: this resource endpoint is used for subscription of notifications for mobility events like INTERHOST_MOVEOUT_TRIGGERED, etc.
  • /queries/adjacent_app_instances: This endpoint is used to fetch list of adjacent application instances. For example, list of same MEC applications running on other MEC Platforms.

Finally, the service is discovered and accessed by applications via the Mp1 reference point.

This MEC service is relevant for oneM2M applications in case of service handover assisted by the MEC.

7.1.2.8 WLAN Access Information API

ETSI GS MEC 028 [i.11] specifies the WLAN Access Information Service (WAIS) API, which provides real-time information from the underlying WLAN access network.

Its primary purpose is to expose up-to-date WLAN conditions to authorized multi-access edge applications and platforms. The service offers detailed data regarding Access Points (APs), such as BSS/OBSS load, WAN metrics, and specific WLAN capabilities.

It also provides granular information on client stations (STAs), including RSSI values, physical layer data rates, and channel usage. These insights allow "MEC-aware" applications to optimize their performance and behaviour based on the current state of the local wireless environment. The API supports both a query-response model for on-demand lookups and a subscription-notification model for periodic or event-driven updates. Authorized consumers discover and access the service via the Mp1 reference point between applications and the MEC platform. Information from MEC 028 can be combined with other services, like Radio Network Information (ETSI GS MEC 012 [i.5]) or Fixed Access Information (ETSI GS MEC 029 [i.12]), to enhance the user experience across diverse access technologies. Ultimately, it enables the system to leverage context-specific WLAN data to support high-bandwidth, low-latency edge use cases.

Finally, the service is discovered and accessed by applications via the Mp1 reference point.

Based on ETSI GS MEC 028 [i.11], the WLAN Access Information (WAI) API (/wai/v2) describes the following endpoints:

  • /queries/ap/ap_information: This resource allows service consumers to retrieve real-time status information regarding one or more WLAN Access Points, including BSS load, WAN metrics, and physical location. An application can check the traffic levels and capabilities of a specific AP;
  • /queries/sta/sta_information: This endpoint is used to query detailed information about wireless client stations, such as their identities, associated Access Points, and signal strength indicators. An applications like video streaming can query the current uplink/downlink transmit rates of a specific device, or accessing "Neighbor Reports" seen by a station to understand potential handover targets;
  • /subscriptions: This resource represents the collection of all active event notification subscriptions for a requester and allows for the creation of new subscriptions for WLAN-related events;
  • /subscriptions/{subscriptionId}: This resource represents a specific, uniquely identified subscription and enables the retrieval, update, or cancellation of that individual notification request;
  • /measurements: This resource manages a list of active measurement configurations and allows consumers to create new ones for tasks such as Beacon Requests or STA statistics collection;
  • /measurements/{measurementConfigId}: This endpoint allows for the management of a specific measurement configuration instance, including its retrieval, modification, or removal.

There are relevant use cases in case of network selection through CMDH.

7.1.2.9 FAI API

ETSI GS MEC 029 [i.12] specifies the Fixed Access Information (FAI) API.

Its primary purpose is to provide up-to-date fixed access network information to authorized MEC applications and the MEC platform. This service allows "MEC-aware" applications to optimize their performance and offer new types of services by leveraging real-time contextual information from the fixed access network. It facilitates the Multi-access Edge Computing goal of supporting various access technologies beyond mobile networks, specifically including Fibre and Cable.

The information from the FAI API can be combined with data from other MEC services, such as the Radio Network Information Service (ETSI GS MEC 012 [i.5]) or the WLAN Access Information Service (MEC 028), to improve the user experience across different access domains.

Ultimately, it enables the MEC system to perform tasks like QoS measurement and network monitoring for devices using fixed connectivity.

Finally, the service is discovered and accessed by applications via the Mp1 reference point.

Based on ETSI GS MEC 029 [i.12], the Fixed Access Information (FAI) API (/fai/v1) describes the following endpoints:

  • /queries/fa_info: This resource is queried to retrieve information on the status and availability of fixed access networks, such as Fibre (PON, XG-PON, NG-PON), Cable, and xDSL, that are relevant to a MEC application;
  • /queries/device_info: This endpoint provides real-time status information about specific devices and gateways connected to the fixed access network, including their physical locations, last-mile technologies, and bandwidth;
  • /queries/cable_line_info: This resource allows service consumers to retrieve the current status of cable lines within a fixed access network, providing details such as Cable Modem identifiers and connectivity states;
  • /queries/optical_network_info: This endpoint is used to query technical information regarding optical networks, including identifiers for optical systems and specific Optical Network Units (ONUs);
  • /subscriptions: This resource represents the collection of all active event notification subscriptions for a requester and enables the creation of new subscriptions for FAI-related events;
  • /subscriptions/{subscriptionId}: This resource represents a specific, uniquely identified subscription and allows a consumer to retrieve its details, update its parameters (PUT), or cancel the request (DELETE).

There is no relevant use case identified for oneM2M.

NOTE: This API could be relevant for oneM2M MN-CSE for northband/southband network interfaces configuration purposes.

7.1.2.10 V2X Information Service API

ETSI GS MEC 030 [i.13] specifies the V2X Information Service (VIS) API, which is designed to facilitate interoperability for Vehicle-to-Everything (V2X) communications across multi-vendor and multi-operator environments. It enables the exposure of information relevant to automotive use cases to MEC application instances, allowing them to optimize performance for connected vehicles. The service is responsible for gathering PC5 V2X relevant information from the 3GPP network, including authorized User Equipment (UE) lists and configuration parameters, to share with edge applications.

It also supports secure communication between MEC applications and 3GPP core functions, such as the V2X Control Function.

One of its critical roles is producing journey-specific predictive Quality of Service (QoS) notifications, which help vehicles make decisions about autonomous driving features or scheduled software updates. VIS can process data from other MEC services, like Location (ETSI GS MEC 013 [i.6]) or RNIS (ETSI GS MEC 012 [i.5]), to predict radio network congestion and provide early warnings to UEs. The API also facilitates interaction with V2X Message Distribution Servers (Message Brokers) for broadcasting non-session-based messages, such as road status warnings.

Finally, the service is discovered and accessed by applications via the Mp1 reference point.

Based on ETSI GS MEC 030 [i.13], the V2X Information Services (VIS) API (/vis/v2) describes the following endpoints:

  • /queries/uu_unicast_provisioning_info: This resource is queried to retrieve provisioning information required for V2X communication over the Uu unicast interface for a particular location. A vehicle application queries for the V2X Application Server address and UDP port to establish a unicast connection in its current cell;
  • /queries/uu_mbms_provisioning_info: This endpoint allows service consumers to retrieve provisioning information required for V2X communication over the Uu MBMS (Multimedia Broadcast Multicast Services) interface. It is not relevant for oneM2M;
  • /provide_predicted_qos: This resource is used to provide journey-specific or area-based predicted Quality of Service (QoS) information based on the potential routes of a vehicular UE. This endpoint is not relevant for oneM2M;
  • /publish_v2x_message: This endpoint allows a service consumer to publish a V2X interoperability message to the VIS, which then handles distribution to other relevant entities. It is not relevant for oneM2M;
  • /subscriptions: This resource represents the collection of all active event notification subscriptions for a requester and enables the creation of new subscriptions for V2X-related events;
  • /subscriptions/{subscriptionId}: This resource represents a specific, uniquely identified subscription and allows a consumer to retrieve its details, update its parameters, or cancel the request.

There are relevant use cases for oneM2M applications such as distributing hazard messages over V2X devices.

7.1.2.11 IoT API

ETSI GS MEC 033 [i.14] specifies the IoT API, which is designed to assist the deployment and management of devices with significant constraints, such as limited power, compute, or security capabilities.

Its primary purpose is to enable a MEC IoT Service (IoTS) that incorporates heterogeneous and non-MEC-compliant IoT platforms into the MEC system. ETSI GS MEC 033 [i.14] defines three core functionalities:

  • Device provisioning: Through device provisioning, administrators can register, update, or deregister IoT devices and associate them with specific traffic rules;
  • IoT platform discovery: The IoT platform discovery allows authorized consumers to retrieve information about registered platforms and utilize their native APIs;
  • Transport configuration: The API also manages transport configuration to ensure communications are correctly routed between devices and their intended platforms. This can include providing protocol translation, enabling constrained devices to interact with modern applications like MQTT clients.

Ultimately, ETSI GS MEC 033 [i.14] facilitates the integration of cellular networks with cellular-agnostic IoT ecosystems, allowing for efficient management of smart meters or industrial sensors.

Finally, the service is discovered and accessed by MEC applications over the Mp1 reference point.

There are relevant use cases for oneM2M applications such as a oneM2M application interacting with a MEC IoT device.

7.1.2.12 Federation Enablement API

ETSI GS MEC 040 [i.15] specifies the MEC Federation APIs, which enable a federated model of MEC systems for shared usage of edge services and applications.

Its primary purpose is to facilitate interoperability and coordination between multiple MEC systems belonging to the same or different providers. The standard provides a framework for different stakeholders to federate their edge resources, offering service capabilities to third-party developers and end customers. It defines the role of the MEC Federator (MEF), a functional element that manages information exchange and can act as a broker between federated systems. Through these APIs, a MEC platform can discover other platforms and identify their shared services across the federation. Authorized MEC applications leverage this service to perform app-to-app communication and consume services remotely from external MEC hosts.

This MEC service can be relevant for a oneM2M application if there is no MN-CSE available on the current MEC Platform but one is hosted on a peer MEC Platform.

NOTE: This can be reworked during next stages based on Federated learning or Swarm computing perspectives.

7.1.2.13 Sensor Sharing API

ETSI GS MEC 046 [i.16] specifies the Sensor-sharing API, which facilitates the provision of sensor information and data within a Multi-access Edge Computing environment.

Its main purpose is to define how MEC applications interact with sensors to perform active monitoring, device management, and data retrieval. The API offers a Sensor Discovery service, allowing applications to find available sensors based on specific features or geographical locations. Additionally, it provides Sensor Status information, indicating whether specific devices are currently active or in an error state. Applications can use the API for Sensor Data Provisioning, acquiring collected data through either one-time lookups or a publish/subscribe model. The standard also enables Sensor Management, allowing authorized applications to remotely configure device parameters such as sampling rates. To ensure broad interoperability, the service is discovered over the Mp1 reference point and its data model leverages SAREF (Smart Applications REFerence) concepts.

It is also designed to be compatible with relevant oneM2M services like group and device management.

Ultimately, ETSI GS MEC 046 [i.16] provides a standardized way to integrate diverse physical sensors into the MEC ecosystem.

This service is relevant for oneM2M to develop the MEC-IPE entity for deployment options A and B, see clause 6.1.1 MEC IPE and for the oneM2M CSF component for deployment options C and D, see clause 6.1.6 MEC CSF.

7.1.2.14 QoS Measurement API

ETSI GS MEC 045 [i.17] specifies the QoS Measurement Service (QMS) API, which provides real-time and predictive network performance metrics.

Its primary purpose is to measure the quality of edge services by monitoring specific data flows associated with terminal devices Authorized consumers, such as MEC applications or the platform itself, interact with this service over the Mp1 reference point to query information or create monitoring tasks. The service is technology-agnostic, supporting various access networks including 5G, WLAN, Fibre, and Cable. It plays a critical role in application deployment and migration by helping the system determine if a target MEC host meets an application's specific latency requirements. QMS allows for granular monitoring of traffic using identifiers like subscriber IDs, 5-tuple flow information, or sampling rates to balance system load. It also enables measuring QoS by specific geographical areas, which is useful for optimizing routes in mobile use cases like V2X. Furthermore, the API can evaluate network performance for applications before they are even instantiated, assisting in pre-instantiation planning.

Finally, the service is discovered and accessed by applications via the Mp1 reference point.

This MEC service might be relevant to oneM2M.

7.1.2.15 Summary of MEC services

Table 7.1.2.15‑1 summarizes the ETSI MEC services described in the previous clauses, along with their relevance for oneM2M applications.

Table 7.1.2.15‑1: ETSI MEC services

MEC Service
Relevance for oneM2M
Radio Network Information Service (RNIS)
Relevant for oneM2M applications that require real-time radio network context, such as adaptive streaming or location-based services.
Location Service (LS) API
Relevant for oneM2M applications that need location information for devices without GPS or for location-based service recommendations.
UE Identity API
Not relevant for oneM2M at this time.
Traffic Management API
Not relevant for oneM2M at this time.
Device Application Interface
Relevant for oneM2M devices connecting to a MEC platform where the edge MN-CSE is present but not instantiated, as it provides an endpoint to request the instantiation of the edge MN-CSE.
Application Mobility Service API
Relevant for oneM2M applications in case of service handover assisted by the MEC.
WLAN Access Information API
Relevant for oneM2M applications such as network selection through CMDH.
FAI API
Not relevant for oneM2M applications at this time. But it could be relevant for oneM2M MN-CSE for northband/southband network interfaces configuration purposes.
V2X Information Service API
Relevant for oneM2M applications such as distributing hazard messages over V2X devices.
IoT API
Relevant for oneM2M applications such as oneM2M CSEs interactions with MEC platforms.
Federation Enablement API
Relevant for oneM2M applications if there is no MN-CSE available on the current MEC Platform but one hosted on a peer MEC Platform. This could be relevant for oneM2M CSEs to federate with other CSEs.
Sensor Sharing API
Relevant for oneM2M MEC-IPE and CSF components
QoS Measurement API
Further study is needed to understand its relevance for oneM2M.

7.1.3 oneM2M + MEC use cases

7.1.3.1 Introduction to use cases

This clause describes the use cases for integration of MEC and oneM2M. The uses are intended to illustrate the potential benefits of integrating MEC and oneM2M, and to identify the key features and capabilities that are needed to support these use cases. The use cases are not intended to be exhaustive, but rather to provide a representative sample of the types of applications and services that could be enabled by the integration of MEC and oneM2M.

These use cases are intended to be used as a basis for the feature gap analysis and the proposed solutions in the subsequent clauses. They are also intended to be used as a reference for the development of the oneM2M and MEC integration scenario and mechanisms.

Each use case will be described in terms of the following aspects:

  • which MEC services and APIs are used by oneM2M applications and devices;
  • which oneM2M services and APIs are used by MEC applications and devices;
  • the interactions between oneM2M applications and devices and MEC applications and devices;
  • the benefits of the integration of ETSI MEC and oneM2M for the use case.

7.1.3.2 MEC APP Registration

7.1.3.2.1 General behaviour

When deployed by the MEC Platform, an instantiated MEC application gathers its application instance identifier and sends a "confirm ready" message to the MEC platform to indicate it is fully operational before proceeding with service-level tasks (see clause 7.1.2.1).

The instantiated MEC application instance can optionally register itself to the MEC platform via the Mp1 reference point to provide its runtime information. This procedure ensures the application is discoverable within the MEC system, which is especially important for instances not originally started by MEC management. The registration process begins with the MEC application sending a POST request to the platform's {apiRoot}/mec_app_support/v2/registrations URI. This request includes an AppInfo data structure containing the application's profile, such as its name, provider, and service requirements (see clause 7.1.2.1). During this phase, the application typically uses an OAuth 2.0 access token to authenticate with the platform.

If the registration is successful, the MEC platform returns a 204 No Content response. the body message includes the updated AppInfo resource. Finally, the registered application can use PUT or DELETE methods on its specific registration resource to update its information or deregister from the platform.

7.1.3.2.2 MEC-IPE component registration

The MEC-IPE component is deployed as a MEC application. This includes:

  1. The registration to the MEC platform as described above,
  2. The registration of the MEC-IPE application as an IoT platform, as described in ETSI GS MEC 033 [i.14], see clause 7.1.2.11

On the oneM2M side, the MEC-IPE component registers to the oneM2M IN-CSE. This includes the creation of the resource and applicable for < and resources under the IN-CSE.

The complete procedure is shown in Figure 7.1.3.2.2‑1:

Figure 7.1.3.2.2-1: MEC-IPE component registration
Figure 7.1.3.2.2‑1: MEC-IPE component registration

Figure 7.1.3.2.2‑1: MEC-IPE component registration

7.1.3.3 Device Registration

Figure 7.1.3.3-1: oneM2M Device Registers to a MEC hosted MN-CSE or IN-CSE
Figure 7.1.3.3‑1: oneM2M Device Registers to a MEC hosted MN-CSE or IN-CSE

Figure 7.1.3.3‑1: oneM2M Device Registers to a MEC hosted MN-CSE or IN-CSE

Where the device registration process involves the following steps:

  1. A device (e.g. IoT sensor, mobile device, etc.) initiates the registration process by sending a registration request to the MN-CSE is hosted on the MEC platform.
  2. The device needs to know the address of the MN-CSE or IPE AE to which it will send the registration request. (In oneM2M an IPE cannot send/receive primitives to a device.)

The resource tree under the resource may have services and capabilities that are exposed by the MEC platform. This includes the mapping of MEC services and capabilities to oneM2M resources, and the translation of MEC service requests and responses to oneM2M primitives. The resource tree may be located under an resource or it may be located under a resource.

7.1.3.4 Device Location Services

7.1.3.4.1 Service Motivation

Many IoT devices do not include native positioning capabilities such as GNSS/GPS due to cost, power consumption, indoor deployment constraints, or device form-factor limitations. Nevertheless, many IoT applications require location awareness to support asset tracking, mobility management, geofencing, emergency response, logistics, and context-aware service delivery.

ETSI MEC provides network-derived location services through the Location API (ETSI GS MEC 013 [i.6]), allowing applications to obtain location information from the access network without requiring dedicated positioning hardware on the device itself.

This clause investigates how MEC-derived location information can be integrated into oneM2M resource structures and exposed through standard oneM2M discovery, retrieval, subscription, and notification procedures.

The objective is to enable oneM2M applications to access location information using existing oneM2M mechanisms while leveraging location information already available within the MEC platform.

The integrated MEC/oneM2M location service should support:

  • Retrieval of current location information for an individual device.
  • Retrieval of location information for groups of devices.
  • Continuous monitoring of device location.
  • Generation of location change notifications.
  • Geofencing functions including entry and exit events.
  • Proximity-based queries and distance calculations.
  • Support for varying location accuracy levels.
  • Storage of historical location observations.
  • Discovery of location-enabled resources using standard oneM2M discovery procedures.
  • Exposure of MEC-derived location information through standard oneM2M resources.

The solution should support both MEC-IPE-based deployments and MEC-CSF/MN-CSE-based deployments while preserving a consistent service experience for oneM2M applications.

7.1.3.4.2 Representative Use Cases
7.1.3.4.2.1 Use Case 1: Asset Tracking and Recovery of Non-GPS Devices

Purpose: Retrieval, monitoring, and recovery of devices without dedicated positioning hardware.

A utility company deploys thousands of battery-powered environmental sensors, portable diagnostic instruments, and field-service devices throughout a smart city and utility network. To reduce cost, device size, and power consumption, the devices do not include GNSS/GPS receivers. As devices are installed, relocated, temporarily removed for maintenance, transferred between personnel, or inadvertently misplaced, operational applications require continuous visibility of their location.

The MEC platform derives device location information from the underlying access network and exposes the information through the MEC Location API. The oneM2M system retrieves the location information, associates it with the appropriate device representation, and exposes it using standard oneM2M resource structures. Current and historical location observations are maintained within oneM2M resources, allowing applications to retrieve the latest location, review previous movement history, and evaluate the quality and accuracy of the reported location information.

If a device is disconnected from the network or cannot be immediately located, applications may retrieve its last known location from the stored location history. When the device reconnects or its location changes, the MEC platform provides updated location information that is automatically reflected in the corresponding oneM2M resources. Applications may subscribe to location updates to receive notifications when a missing or relocated device reappears or enters a designated recovery area, enabling automated asset recovery workflows.

This approach allows applications to manage the complete operational lifecycle of mobile assets using standard oneM2M procedures while leveraging MEC-derived location information without requiring dedicated positioning hardware.

Capabilities exercised:

  • Current location retrieval
  • Historical location storage
  • Last-known location retrieval
  • Continuous location monitoring
  • Location change notifications
  • Geofence-based recovery events
  • Location accuracy reporting
  • Standard oneM2M location discovery
7.1.3.4.2.2 Use Case 2: Geofencing and Safety Monitoring

Purpose: Detection of device or personnel movement into or out of predefined geographic areas and notification of interested applications.

Industrial facilities, warehouses, campuses, and smart cities often require continuous awareness of the location of connected assets and personnel operating within designated geographic zones. These zones may represent authorized work areas, hazardous locations, restricted facilities, evacuation routes, or operational boundaries. Applications require timely notification when a monitored entity enters, exits, or remains within a defined area to support operational efficiency, regulatory compliance, and worker safety.

A oneM2M application defines one or more geographic boundaries representing areas of interest. The MEC platform continuously monitors the network-derived location of connected devices and personnel using the MEC Location API. When a location event satisfies the configured monitoring criteria, the MEC platform reports the event to the MEC IPE or MEC Location CSF, which updates the corresponding oneM2M location resources and generates notifications through standard oneM2M subscription procedures.

During normal operations, supervisors can monitor the distribution of personnel and mobile assets throughout the facility. During emergency situations, such as fires, chemical releases, or evacuation events, applications can rapidly identify workers or equipment located within affected areas and initiate appropriate emergency response procedures.

By exposing geofencing events through standard oneM2M resources, applications can consume location events without requiring direct interaction with MEC-specific interfaces, allowing the same application logic to operate across different deployment environments.

Capabilities exercised:

  • Continuous location monitoring
  • Geofence definition and management
  • Area entry and exit detection
  • Zone membership determination
  • Event-driven notifications
  • Standard oneM2M subscriptions
  • Emergency location awareness
  • Safety and operational monitoring
7.1.3.4.2.3 Use Case 3: Geoquery and Proximity-Based Service Discovery

Purpose: Discovery of resources located near a target device or location.

A maintenance technician uses a mobile application to service equipment deployed throughout a large industrial site. When approaching a machine, the application needs to identify nearby sensors, gateways, digital twins, maintenance records, and other related resources associated with the equipment.

Using MEC-derived location information, the oneM2M system determines the location of the technician and relevant assets. The application performs proximity-based discovery queries to identify resources located within a specified distance of the target device or geographic area.

This enables applications to dynamically discover contextually relevant resources without requiring static configuration of relationships between devices and services.

Capabilities exercised

  • Distance calculations
  • Proximity-based queries
  • Nearby resource discovery
  • Context-aware service selection
  • Location-enhanced oneM2M discovery
7.1.3.4.2.4 Use Case 4: Location-Aware Service Discovery and Selection

Selection of the most appropriate oneM2M or MEC service instance based on the current location of a device.

A distributed oneM2M deployment consists of multiple MEC platforms hosting oneM2M Common Services Functions (CSFs), Application Entities (AEs), analytics services, digital twins, and other edge applications. As mobile devices move throughout the deployment, the most appropriate service instance may change due to proximity, network latency, resource availability, or deployment policies.

The MEC platform provides network-derived location information that is exposed through the oneM2M location service. Applications use standard oneM2M discovery procedures, including geoquery capabilities where supported, to discover service instances and resources that are geographically closest to the device or located within a specified service area.

The oneM2M system combines location information with service metadata, deployment policies, and application requirements to identify the most appropriate service instance for the current operating conditions. Applications interact with the selected service using standard oneM2M procedures without requiring knowledge of the underlying MEC topology.

As the device moves, subsequent location updates may identify a different service instance as the preferred destination. This enables applications or service orchestration functions to evaluate whether service continuity would benefit from migrating application state or transferring service ownership to another MEC platform. The location service therefore provides an important input to the mobility management procedures described in clause 7.2, although the handover and migration procedures themselves are outside the scope of this clause.

Capabilities exercised:

  • Location-aware service discovery
  • Geoquery-based resource discovery
  • Proximity-based service selection
  • Discovery of nearby oneM2M resources
  • MEC service selection
  • Dynamic service optimization
  • Mobility-aware service continuity
  • Foundation for handover and service migration
7.1.3.4.2.5 Use Case 5: Shared MEC Location Service

Purpose: Efficient sharing of MEC-derived location information among multiple oneM2M applications.

In a smart factory, numerous oneM2M applications require access to the location of mobile assets, including inventory management, safety monitoring, production scheduling, maintenance management, and digital twin services. Independently retrieving location information from the MEC platform for each application would result in redundant requests, inconsistent location views, and unnecessary processing within both the MEC platform and the access network.

Instead, a MEC Location CSF (or MEC IPE) maintains a shared location service within the oneM2M resource tree. Applications create resources describing their location requirements, while the MEC-facing function retrieves location information from the MEC Location API, stores the resulting observations in shared location resources, and generates oneM2M notifications when location updates occur.

Multiple applications retrieve the same location information using standard oneM2M operations without requiring direct interaction with MEC APIs. Access control policies ensure that authorized applications can consume location information while preventing unauthorized modification of MEC-maintained location resources.

This approach enables a single authoritative representation of device location within the oneM2M system while minimizing duplicated interactions with the MEC platform.

Capabilities exercised:

  • Shared MEC-derived location service
  • MEC-managed location containers
  • Multiple application consumers
  • Standard oneM2M retrieval
  • Shared subscriptions and notifications
  • Access control for shared location resources
  • Separation of application and infrastructure responsibilities
7.1.3.4.2.6 Use Case 6: Mobility-Aware Service Discovery and Handover

Purpose: Dynamic selection of MEC service instances based on device mobility.

A connected autonomous vehicle continuously communicates with edge-hosted analytics services while traveling through a metropolitan area. As the vehicle moves between radio coverage areas, the optimal MEC platform for providing analytics, digital twin synchronization, and data processing changes.

The MEC platform continuously determines the vehicle location using network-derived positioning and exposes updated location information through the oneM2M location service. The oneM2M CSE uses location-aware discovery procedures, including geoquery capabilities, to identify the most appropriate MEC service instance based on the current device location.

When the vehicle approaches the boundary of the serving MEC host, the system discovers alternative service instances deployed on neighbouring MEC platforms. The location information may be combined with service availability, latency requirements, and deployment policies to determine when migration or handover should occur.

As service ownership transfers to the new MEC platform, the location service continues to provide a consistent oneM2M resource interface, allowing applications to maintain uninterrupted operation without requiring knowledge of the underlying MEC topology or service migration procedures.

This use case provides the foundation for the service migration and handover procedures described in clause 7.2.

Capabilities exercised:

  • Continuous location monitoring
  • Geoquery-based resource discovery
  • Location-aware service discovery
  • Dynamic MEC service selection
  • Mobility-aware service migration
  • Handover between MEC platforms
  • Transparent application continuity
7.1.3.4.3 Existing oneM2M Location Service Procedures

oneM2M already provides a resource-oriented framework for representing, retrieving, discovering, and notifying applications of location-related information. These procedures provide the baseline for integrating ETSI MEC Location Services into the oneM2M system without requiring applications to directly invoke MEC-specific APIs.

The resource is used to describe location reporting requirements associated with a target entity, such as an , , device representation, or service-related resource. The resource identifies the source and configuration of location information, including the applicable location source, reporting conditions, update behaviour, and association with the resource whose location is being managed.

For MEC integration, the resource may be used to bind a oneM2M resource to a MEC-derived location source. In this case, the MEC-facing function, such as a MEC IPE or MEC Location CSF, maps the oneM2M location policy to the corresponding MEC Location API procedure. The policy therefore acts as the oneM2M control point, while the MEC platform acts as the underlying location provider.

A typical resource structure is shown below.

 or 
├── 
└──   location
  ├──   current or historical location sample
  └── 

The resource provides the oneM2M storage point for location observations. Each may contain a location sample received from the MEC platform, including position, timestamp, accuracy, location method, serving area, cell-related information, or other metadata supported by the deployment. Applications retrieve location information by performing normal oneM2M RETRIEVE operations on the location or on the latest resource.

The resource enables applications to receive notifications when new location information is created or when location-related conditions are satisfied. For example, a subscription may notify an application when a new location resource is created, when a device enters or exits an area, or when the location of a target entity changes beyond an application-defined threshold.

In a MEC-integrated deployment, the following responsibility model is recommended:

  • The application creates or requests the resource to express the location requirement.
  • The MEC IPE or MEC Location CSF validates the policy and maps the target oneM2M entity to the corresponding MEC user equipment or device identifier.
  • The MEC IPE or MEC Location CSF creates and maintains the location resource, unless an application-specific storage structure is required.
  • The MEC IPE or MEC Location CSF populates the resource with resources derived from MEC Location API responses or notifications.
  • Applications use standard oneM2M RETRIEVE, DISCOVERY, and SUBSCRIBE procedures to consume the location information.

This separation avoids exposing MEC-specific interfaces to oneM2M applications while preserving the normal oneM2M resource access model. It also allows access control policies to distinguish between entities that may configure location reporting, entities that may update location data, and entities that may only retrieve or subscribe to location information.

For current location retrieval, the MEC-facing function may operate in either a pull-based or cached mode. In pull-based mode, a oneM2M RETRIEVE request causes the MEC-facing function to obtain the latest location from the MEC Location API and then return or store the resulting location representation. In cached mode, the MEC-facing function periodically or event-drivenly updates the oneM2M resource, and applications retrieve the most recent resource. Cached mode is preferable when multiple applications consume the same location information or when historical location records are required.

For continuous monitoring, the MEC-facing function may establish a MEC Location API subscription and translate MEC-generated location events into oneM2M resource updates and notifications. Each received MEC event may result in creation of a new resource under the associated location resource. Existing oneM2M resources then deliver notifications to interested applications. This avoids requiring each oneM2M application to independently manage MEC subscriptions.

For geofencing, the geographic area or zone of interest may be represented by application policy, by attributes associated with the resource, or by a separate application-defined resource referenced by the policy. The MEC-facing function evaluates whether the MEC platform can perform the area monitoring directly. If supported, the MEC-facing function maps the oneM2M geofence request to a MEC location subscription. If not supported, the MEC-facing function may perform the geofence evaluation using location samples stored in oneM2M resources. Entry, exit, and presence events are then exposed as oneM2M notifications.

Release 5 geoquery capabilities provide an additional discovery-oriented mechanism for location-aware oneM2M applications. A geoquery-enabled discovery request allows an Originator to discover resources based on geographic criteria, such as resources located within a specified area or within proximity of a target location. When combined with MEC-derived location information, this enables oneM2M applications to discover nearby devices, services, gateways, or application resources without maintaining static resource relationships.

A MEC-integrated geoquery procedure may follow one of two models:

  • Resource-index model: MEC-derived locations are stored as attributes or content associated with oneM2M resources, and the CSE evaluates geoquery discovery criteria over the indexed resource information.
  • MEC-assisted model: the CSE or MEC Location CSF maps the geoquery criteria to the MEC Location API or an associated MEC location function, obtains the matching device or UE identifiers, and returns the corresponding oneM2M resource references.

The resource-index model is suitable when location information is already synchronized into the oneM2M resource tree. The MEC-assisted model is suitable when the MEC platform has more current or more efficient access to location state than the CSE. In both cases, the result returned to the application should be expressed as oneM2M discovery results rather than MEC-specific identifiers.

A critical implementation requirement is the mapping between oneM2M resource identifiers and MEC user equipment or device identifiers. The MEC-facing function should maintain an unambiguous association between the oneM2M resource being located and the corresponding MEC identifier used by the Location API. This mapping may be established during device registration, AE registration, node registration, onboarding, or policy creation. The mapping should be validated before location retrieval, subscription creation, geofence evaluation, or geoquery processing.

The following high-level procedures apply:

  1. Location policy creation: The application creates or requests a resource associated with the target oneM2M resource. The policy identifies the location requirement and, where applicable, the desired reporting mode, accuracy, update interval, or event condition.
  2. MEC binding: The MEC IPE or MEC Location CSF validates the resource and binds the target oneM2M resource to the corresponding MEC UE or device identifier.
  3. Location container creation: The MEC-facing function creates or identifies the resource used to store location observations. Access control policies are configured so that authorized applications may retrieve or subscribe to the location information, while only trusted MEC-facing functions may update it.
  4. Location retrieval: The MEC-facing function obtains location information from the MEC Location API or from its local cache and represents the result as oneM2M resource content.
  5. Location update storage: New location observations are stored as resources under the location resource. The stored representation should include sufficient metadata to determine freshness, accuracy, and source.
  6. Subscription and notification: Applications create resources on the location resource, on relevant event resources, or on resources discovered through geoquery. The CSE delivers notifications when matching resource changes or event conditions occur.
  7. Geoquery-based discovery: Applications may issue discovery requests with geographic criteria to locate resources near a point, within an area, or associated with a zone. The CSE evaluates the query using synchronized oneM2M location state or by invoking MEC-assisted location processing. These queries should take privacy and access control policies into account.
  8. Error and fallback handling: If the MEC Location API is unavailable, the identifier mapping is missing, the requested accuracy cannot be satisfied, the device location is not authorized, or the target device is not currently locatable, the MEC-facing function should return an appropriate oneM2M response status and may expose the last known location when permitted by policy.

These procedures allow MEC-derived location information to be exposed through normal oneM2M resource operations. They also provide a foundation for the subsequent MEC integration procedures described in this clause, including current location retrieval, group location retrieval, geofence monitoring, location-triggered notifications, and geoquery-based discovery.

References for Location Services

Implementation of these callflows should align with the following normative and informative references:

  • ETSI GS MEC 013 [i.6] - Provides the ETSI GS MEC 013 API specification for location queries and subscriptions.
  • oneM2M TS-0026 [i.21] - Clauses 7.4.7.2 and 7.4.7.3 provide detailed location reporting procedures for 3GPP networks and clause 8.3.2.1 specifies error handling and fallback mechanisms. These can serve as a basis for a MEC-based location service.

7.1.3.5 ETSI MEC Service Discovery

List the ETSI MEC services that can be discovered by oneM2M applications via the MEC IPE or MN-CSE (via the MEC CSF). This includes the discovery of MEC services, the discovery of MEC platform capabilities and the discovery of MEC platform resources (e.g. location, network information, etc.). Make these services and capabilities available to oneM2M applications via the IPE or MN-CSE. This includes the notification of changes in MEC services and capabilities to oneM2M applications via the IPE or MN-CSE.

This should include how the MEC services and capabilities are exposed by oneM2M applications. This includes the mapping of MEC services and capabilities to oneM2M resources, and the translation of MEC service requests and responses to oneM2M primitives.

For example, location services can be exposed by oneM2M location containers. MEC platform node resources can be located resources in oneM2M. MEC service capabilities can be [flexNode] resources in oneM2M.

Figure 7.1.3.5-1: ETSI MEC Service discovery
Figure 7.1.3.5‑1: ETSI MEC Service discovery

Figure 7.1.3.5‑1: ETSI MEC Service discovery

7.1.3.6 Orchestration of MEC applications and oneM2M components

7.1.3.6.1 Service motivation

Applications supporting oneM2M deployments may need to execute across heterogeneous edge hosts, including ETSI MEC-managed hosts and non-MEC edge platforms. Without a common oneM2M resource model, host discovery, deployment intent expression, lifecycle invocation, and status tracking become platform-specific, which limits portability and federation across edge domains.

The goal of this use case is to define a oneM2M resource framework that supports:

  • discovery of candidate edge hosts and their capabilities;
  • expression of deployment intent in a platform-agnostic form;
  • binding of deployment requests to authorized execution functions;
  • reporting and correlation of deployment and runtime status; and
  • consistent application representation after deployment.

This use case therefore uses oneM2M as a common control plane for both ETSI MEC and non-MEC edge environments. The same discovery and deployment-intent procedures apply across both variants, while platform-specific lifecycle operations remain delegated to the appropriate management function (for example, MEC management functions for ETSI MEC hosts, or a local lifecycle adapter for other edge platforms).

Selection may be based on compute capacity, memory, storage, supported execution environment, hardware acceleration, network reachability, administrative policy, trust level, availability, or other application requirements.

7.1.3.6.2 Actors

The actors are described by the actions they perform rather than by a specific implementation technology.

The Application Provider:

  • supplies the oneM2M application package or a reference to the package;
  • supplies application metadata, configuration, and resource requirements;
  • requests deployment, update, termination, or another lifecycle operation; and
  • receives the resulting deployment status.

The oneM2M Orchestration AE:

  • creates and manages application deployment intent;
  • discovers candidate host representations in the oneM2M resource tree;
  • evaluates host capabilities against application requirements;
  • selects one or more target hosts;
  • subscribes to deployment status;
  • correlates the deployment request with the resulting application instance; and
  • coordinates subsequent lifecycle operations.

The onM2M Service Layer:

  • registers the Orchestration AE, Gateway Agents, CSEs, and deployed oneM2M-aware applications;
  • stores host descriptions, deployment intent, and deployment status;
  • performs resource discovery;
  • enforces access-control policies;
  • delivers deployment notifications using subscription and notification procedures; and
  • supports retrieval and update of the resources used by the orchestration procedure.

The oneM2M Service Layer may include an IN-CSE and one or more MN-CSEs. The distribution of resources between CSEs is deployment-specific.

The ETSI MEC System:

  • manages MEC hosts and MEC platforms;
  • provides information used to identify suitable MEC execution resources;
  • manages application packages;
  • validates application descriptors and resource requirements;
  • instantiates, operates, and terminates MEC application instances;
  • reports lifecycle operation and application-instance status; and
  • preserves the authority of the MEC management functions over MEC resources.

The ETSI MEC System actor may include the MEC Orchestrator, MEC Platform Manager, MEC Platform, and MEC Host functions required for the applicable procedure.

The Gateway Agent (this could be an IPE/AE or a oneM2M CSF that executes on the edge host):

  • associates itself with a host representation in oneM2M;
  • publishes or updates the host capability description;
  • subscribes to deployment intent addressed to the host;
  • validates and retrieves deployment information;
  • selects the adapter for the local execution platform;
  • invokes the authorized lifecycle management interface;
  • reports operation progress, result, and application-instance correlation; and
  • monitors the deployed application when supported (this could be a plugin module for a CSF).

The Edge Execution Platform:

  • provides compute, storage, networking, and other resources used by an application;
  • validates whether the application can execute;
  • retrieves or receives an application package;
  • instantiates, operates, and terminates the application; and
  • returns application-instance status to the Gateway Agent.

For an ETSI MEC deployment, these actions are performed by the applicable ETSI MEC functions. For a non-MEC deployment, they are performed by the lifecycle functions of the local edge platform.

The Application Repository:

  • stores application packages and package metadata;
  • authenticates package retrieval requests;
  • provides the package or package components;
  • provides integrity and version information; and
  • may retain multiple application versions to support update or rollback.

The package format and transport mechanism are outside the scope of this use case.

The Edge Application:

  • executes on the selected host;
  • registers as a oneM2M AE;
  • reports readiness and operational status;
  • obtains service configuration; and
  • participates in local processing after deployment is complete.
7.1.3.6.3 Preconditions

The following preconditions apply:

  1. The oneM2M Orchestration AE is registered with the oneM2M Service Layer.
  2. Each participating host has a oneM2M host resource representation.
  3. A Gateway Agent is associated with each participating host, is authorized to retrieve deployment intent and update deployment status, and has access to an authorized lifecycle interface for the associated platform.
  4. The application package and package metadata are available from an Application Repository.
  5. The required credentials, trust relationships, and network connectivity have been established.
  6. The selected target platform can process the requested lifecycle operation, either through applicable ETSI MEC management functions or through a local lifecycle function invoked by a Gateway Agent adapter.
7.1.3.6.4 Information associated with a host

A host capability description should provide sufficient information for discovery and placement. The information may include:

  • host identifier and administrative domain;
  • host type, including whether the host is part of an ETSI MEC system;
  • Gateway Agent reference;
  • lifecycle interface profile supported by the Gateway Agent;
  • supported application package or executable formats;
  • processor architecture;
  • available compute capacity;
  • available memory and storage;
  • supported hardware acceleration;
  • network connectivity and reachable service endpoints;
  • supported MEC services, when applicable;
  • current availability or admission status;
  • trust or attestation information;
  • software and interface versions; and
  • references to policies controlling deployment.

The detailed representation and update procedures for this information are identified as standardization gaps in clause 7.1.4.

7.1.3.6.5 Information associated with deployment intent

Application deployment intent should include:

  • deployment request identifier;
  • requested lifecycle operation;
  • application identifier and version;
  • application package reference;
  • package integrity information;
  • application configuration reference or inline configuration;
  • requested number of instances;
  • compute, memory, storage, and acceleration requirements;
  • required network connectivity;
  • required MEC services or oneM2M services;
  • target-selection constraints;
  • restart, retry, and rollback policy;
  • requested operational state;
  • status-notification target;
  • request expiration time; and
  • security and authorization references.
7.1.3.6.6 Normal procedure

The normal procedure is:

  1. Host registration and capability publication. The Gateway Agent registers with the oneM2M Service Layer and associates itself with a host representation. It creates or updates the host capability description.

  2. MEC capability synchronization, when applicable. When the host is part of an ETSI MEC system, the Gateway Agent or another authorized MEC interworking function obtains the relevant host, platform, service, and lifecycle-management information from the ETSI MEC System. It maps or references that information in the oneM2M host capability description.

  3. Application deployment request. The Application Provider supplies the application package information, application requirements, and requested lifecycle operation to the oneM2M Orchestration AE.

  4. Host discovery. The oneM2M Orchestration AE performs a oneM2M discovery procedure to identify host resources whose descriptions indicate that they may satisfy the application requirements.

  5. Candidate evaluation and target selection. The Orchestration AE retrieves the candidate host descriptions and applies placement policy. Selection may account for capacity, availability, supported platform profile, trust, network reachability, required services, and administrative constraints.

  6. Creation of deployment intent. The Orchestration AE creates a deployment intent associated with each selected host and subscribes to the corresponding deployment status.

  7. Gateway notification. The oneM2M Service Layer notifies the Gateway Agent that new or updated deployment intent is available.

  8. Validation and retrieval. The Gateway Agent retrieves the deployment intent, validates the request, confirms that the requested platform adapter is available, and verifies that it is authorized to act on the selected host.

  9. Lifecycle invocation. The Gateway Agent invokes the applicable lifecycle procedure:

    • for an ETSI MEC system, it requests or coordinates package onboarding and application lifecycle management using the authorized MEC management functions;
    • for another edge execution platform, it invokes the local platform lifecycle adapter.
  10. Package retrieval and validation. The lifecycle function retrieves the application package from the Application Repository and validates the package identity, version, integrity information, and compatibility.

  11. Application instantiation. The execution platform allocates resources, creates the application instance, applies configuration, and starts the application.

  12. Status correlation and reporting. The Gateway Agent receives the platform-specific operation and instance identifiers. It updates the oneM2M deployment status with the operation state, result, host reference, application-instance correlation, and any error information.

  13. Deployment status notification. The oneM2M Service Layer notifies the Orchestration AE and other authorized subscribers of the deployment result.

  14. Application registration or representation. The Application registers as an AE when it is oneM2M-aware. Otherwise, the Gateway Agent or an IPE creates and maintains a oneM2M representation of the application instance.

7.1.3.6.7 Deployment on an existing ETSI MEC platform

When the target host is managed by an ETSI MEC system:

  • the MEC Orchestrator and MEC Platform Manager retain control of package management, placement, resource allocation, application instantiation, operation, and termination;
  • the oneM2M Orchestration AE expresses deployment intent and selects a host representation, but does not directly allocate MEC resources;
  • the Gateway Agent acts as an authorized interworking and correlation function;
  • the MEC application descriptor and the oneM2M deployment intent need to be mapped or referenced without losing required information;
  • the Gateway Agent reports MEC lifecycle operation status and application-instance information through oneM2M resources; and
  • the resulting Edge Application may register with both the MEC Platform application-support function and the oneM2M Service Layer, depending on the deployment.

ETSI GS MEC 010-2 [i.8] already specifies application package and lifecycle management, including application instantiation, operation, termination, application descriptors, resource requirements, lifecycle-operation occurrences, and MEC host information. The gap addressed by this use case is not the absence of MEC lifecycle management. The gap is the absence of a standardized oneM2M-to-MEC binding for expressing deployment intent, discovering MEC hosts through oneM2M, invoking authorized MEC lifecycle procedures, and correlating MEC lifecycle state with oneM2M resources.

7.1.3.6.8 Deployment on another edge execution platform

When the selected host is not managed as part of an ETSI MEC system:

  • the host and Gateway Agent register or are represented in oneM2M using the same common host-discovery model;
  • the host description identifies the lifecycle adapter and capabilities available on the local platform;
  • the oneM2M Orchestration AE uses the same deployment-intent procedure;
  • the Gateway Agent retrieves the application package or directs the local platform to retrieve it;
  • the Gateway Agent invokes the local application lifecycle function;
  • the local platform returns operation and instance status; and
  • the Gateway Agent maps that status to the common oneM2M deployment-status representation.

This variant allows oneM2M orchestration to include edge gateways, enterprise edge servers, industrial edge nodes, and other execution environments without claiming that those platforms are ETSI MEC compliant.

The generic variant depends on a standardized minimum contract between the Orchestration AE and Gateway Agent. It does not require standardization of every local platform interface. The Gateway Agent adapter isolates those interfaces from the oneM2M-facing procedure.

7.1.3.6.9 Postconditions

After a successful procedure:

  • the requested Edge Application instance is running on the selected host;
  • the application instance is correlated with the oneM2M deployment request and host representation, and the deployment status identifies the current operational state;
  • authorized applications can discover the deployed instance or its oneM2M representation;
  • downstream service coordination functions can identify the application as ready; and
  • subsequent update, restart, termination, migration, or replacement procedures can reference the same deployment and instance identifiers.

After an unsuccessful procedure:

  • the deployment status identifies the failed stage and error condition and remains traceable to the original deployment request;
  • partial resources are removed or retained according to the rollback policy; and
  • the Orchestration AE may select a different host or retry the operation.
7.1.3.6.10 Message sequence chart

Figure 7.1.3.6.10‑1 shows the common procedure and the two platform variants.

@startuml
hide footbox
autonumber

actor AP as "Application Provider"
database REPO as "Application Repository"
participant ORCH as "oneM2M Orchestration AE"
participant OM2M as "oneM2M Service Layer\n(IN-CSE / MN-CSE)"
participant MEC as "ETSI MEC System\n(MEO / MEPM / MEC Platform)"
participant GA as "Gateway Agent"
participant EAPP as "Edge Application"
participant EDGE as "Other Edge Execution Platform"

== Host registration and capability publication ==

note over GA,OM2M
Establish the host representation and publish baseline host capabilities.
end note

opt Host is managed by an ETSI MEC System
  note over GA,MEC
  Synchronize authorized MEC host, service, and lifecycle capability context.
  end note
  note over GA,OM2M
  Reflect MEC-backed host attributes in oneM2M for placement and policy checks.
  end note
end

== Application request and host discovery ==

note over AP,ORCH
Submit the deployment objective with package reference, configuration, and requirements.
end note
note over ORCH,OM2M
Discover candidate hosts and retrieve capability and state information.
end note
note over ORCH
Apply placement policy and select the target host.
end note

== Deployment intent ==

note over ORCH,OM2M
Publish platform-agnostic deployment intent and desired operational state.
end note
note over GA
Validate authorization, request integrity, and local adapter readiness.
end note

alt Existing ETSI MEC platform
  note over GA,MEC
  Execute deployment through MEC-native lifecycle management and correlate results.
  end note
else Other edge execution platform
  note over GA,EDGE
  Execute deployment through the local lifecycle adapter with equivalent status reporting.
  end note
end

== Status and application registration ==

note over GA,ORCH
Persist deployment outcome, correlate instance identifiers, and notify stakeholders.
end note

note over EAPP,OM2M
Register deployed application presence and announce readiness.
end note

@enduml

Figure 7.1.3.6.10‑1: oneM2M-based orchestration and deployment of an Edge Application

7.1.3.6.11 Benefits of oneM2M and ETSI MEC integration

The use case provides the following benefits:

  • a common oneM2M discovery view of MEC and non-MEC edge hosts;
  • reuse of oneM2M registration, discovery, access-control, subscription, and notification procedures;
  • preservation of ETSI MEC lifecycle-management authority for MEC hosts;
  • isolation of local platform interfaces within Gateway Agent adapters;
  • common correlation of deployment requests, hosts, application instances, and operational status;
  • support for distributed applications that span multiple administrative and platform domains; and
  • a reusable deployment foundation for distributed workloads such as federated learning, swarm computing, analytics, protocol interworking, and other edge services.

7.1.3.7 Deploy oneM2M devices to MEC platform

oneM2M devices are intended to communicate with the MEC platform and take advantage of oneM2M services. The MEC platform can provide connectivity services to oneM2M devices, which includes connections to MN-CSEs and IN-CSEs through a MEC-IPE.

7.1.4 Feature Gap Analysis

7.1.4.0 Introduction

This clause identifies gaps between existing oneM2M and ETSI MEC capabilities that need to be addressed to support the interworking scenarios described in the present document. The analysis considers capabilities already defined by the respective standards and identifies where additional information models, mappings, interfaces, procedures, or other interworking mechanisms may be needed.

The identified gaps are grouped by functional area. For each area, the analysis distinguishes between capabilities that already exist within oneM2M or ETSI MEC and capabilities that are not currently standardized for interworking between the two systems. The identified gaps provide the basis for the potential solutions described in subsequent clauses.

7.1.4.1 Location service gaps

7.1.4.1.0 Introduction

This clause identifies gaps between existing oneM2M location capabilities and ETSI MEC location-related servicesthat need to be addressed to support interoperable location services. The objective is not to replace existing oneM2M location mechanisms, but to identify the additional information models, mappings, interfaces, and procedures needed to allow location information and location-related services to be used consistently across the two systems.

The analysis considers the capabilities defined in oneM2M Release 5, including the resource and geographic query support, together with ETSI GS MEC 013 Location API [i.6], ETSI GS MEC 021 Application Mobility Service [i.10], and related MEC service APIs.

7.1.4.1.1 Representation of MEC-derived Location Information

Existing oneM2M location mechanisms primarily assume that location information originates from devices or gateways. ETSI MEC introduces network-derived positioning information whose lifecycle, ownership, and accuracy characteristics differ significantly from device-generated location information.

Current specifications do not define a common representation for:

  • network-derived locations;
  • positioning source (GNSS, cellular, Wi-Fi, Bluetooth® beacon, UWB, etc.);
  • confidence and uncertainty;
  • positioning accuracy and precision;
  • freshness of location observations;
  • provenance of location information.

Gap: A technology-independent location information model should be defined so that applications can consume location information regardless of its originating positioning technology.

7.1.4.1.2 Mapping between oneM2M locationPolicy and MEC Location Services

Although both oneM2M and ETSI MEC support subscriptions for location events, no standardized mapping exists between oneM2M resources and MEC Location Service subscriptions.

Missing mappings include:

  • periodic reporting;
  • geofence monitoring;
  • area entry and exit events;
  • subscription lifetime;
  • update intervals;
  • filtering parameters; and
  • notification semantics.

Gap: A standardized mapping should be defined between oneM2M location resources and MEC Location API resources to allow automatic translation by interworking functions.

7.1.4.1.3 Subscription Lifecycle Synchronization

oneM2M subscriptions and MEC subscriptions are independently managed.

Current specifications do not describe how subscription state should be synchronized during:

  • application restart;
  • CSE restart;
  • MEC platform restart;
  • subscription expiration;
  • handover between MEC platforms;
  • duplicate subscription detection; or
  • recovery following communication failures.

Gap: Standard lifecycle synchronization procedures are needed to maintain consistent subscription state across oneM2M and MEC platforms.

7.1.4.1.4 Geofence and Geographic Information Model

Release 5 introduces geographic query capabilities; however, no common model currently exists for advanced geographic objects exchanged between oneM2M and MEC.

Examples include:

  • polygons;
  • circles;
  • corridors;
  • trajectories;
  • altitude-aware regions;
  • uncertainty regions;
  • indoor logical zones.

Gap: A common geographic object model should be standardized to support interoperable location services across both architectures.

7.1.4.1.5 Location Quality and Freshness

Applications increasingly depend on the quality of location information when making orchestration or mobility decisions.

Neither specification defines common semantics for:

  • age of location information;
  • cache lifetime;
  • confidence degradation;
  • update latency;
  • measurement uncertainty; or
  • stale location detection.

Gap: A standardized quality model should accompany all exchanged location information.

7.1.4.1.6 Identifier Correlation

ETSI MEC identifies User Equipment using MEC-specific identifiers while oneM2M identifies resources using AE-IDs, CSE-IDs, Node IDs, and external identifiers.

No standardized correlation mechanism currently exists.

Gap: Standard identity correlation procedures should be defined to associate MEC user identities with oneM2M resources while preserving privacy and security.

7.1.4.1.7 Multi-source Location Integration

Future deployments are expected to combine multiple positioning technologies simultaneously.

Current specifications do not define:

  • preferred location source selection;
  • confidence weighting;
  • conflict resolution;
  • sensor fusion; or
  • fallback procedures.

Gap: A location abstraction layer should support heterogeneous positioning providers while presenting a consistent interface to applications.

7.1.4.1.8 Integration with Geographic Discovery

Release 5 geographic query capabilities enable spatial discovery of resources. ETSI MEC Location Services provide real-time UE positioning but no standardized mechanism exists to automatically integrate MEC-derived positions into oneM2M geographic discovery.

Gap: Procedures should be defined describing how MEC-derived locations participate in oneM2M geographic queries while maintaining synchronization with changing device positions.

7.1.4.1.9 Location-aware Service Discovery and Selection

Current oneM2M discovery is largely attribute-based.

Emerging edge deployments require selecting services based on geographic proximity, latency, and mobility.

Examples include discovering:

  • the nearest MN-CSE;
  • the nearest MEC application;
  • the nearest analytics service;
  • the nearest digital twin; or
  • the most appropriate edge platform.

Gap: Standardized location-aware service discovery and selection procedures should be defined using both oneM2M discovery and MEC location capabilities.

7.1.4.1.10 Mobility Prediction and Proactive Service Migration

Existing standards primarily react to mobility events after they occur.

Future edge deployments increasingly require prediction of:

  • future UE location;
  • expected MEC host;
  • expected MN-CSE;
  • application relocation; and
  • anticipated handover.

Gap: Standard interfaces supporting mobility prediction should complement existing reactive mobility mechanisms.

7.1.4.1.11 Federated Location Services

Large deployments may include multiple MEC platforms and multiple oneM2M CSEs.

Current specifications do not define mechanisms for:

  • sharing location information across federated domains;
  • synchronizing geofences;
  • exchanging historical trajectories;
  • maintaining consistent identities; or
  • sharing subscriptions across federation boundaries.

Gap: Federation procedures should be standardized for distributed location services.

7.1.4.1.12 Shared Location Service Framework

Multiple applications may independently request identical MEC location information, creating unnecessary subscriptions and duplicated processing.

Gap: A shared oneM2M Location Service Framework should provide caching, subscription aggregation, notification fan-out, and policy enforcement for multiple consumers.

7.1.4.1.13 Swarm and Distributed Edge Coordination

The swarm computing and federated learning architectures described in this Technical Report require location awareness beyond individual devices.

Future distributed services may require:

  • swarm centroid calculation;
  • proximity grouping;
  • collaborative geofencing;
  • formation awareness; and
  • distributed tracking.

Gap: Existing oneM2M and ETSI MEC specifications do not define standardized swarm-oriented location abstractions.

7.1.4.1.14 Privacy, Security and Authorization

Location information represents sensitive personal and operational information.

Although both oneM2M and ETSI MEC define security frameworks, neither specification fully addresses interoperable protection of exchanged location information.

Future work should consider:

  • user consent;
  • role-based authorization;
  • anonymization;
  • audit logging;
  • data minimization; and
  • privacy-preserving federation.

Gap: Additional interoperability guidance is needed to ensure secure and privacy-preserving exchange of location information across oneM2M and ETSI MEC environments.

7.1.4.1.15 Historical Location, Trajectory Storage, and Lightweight Location References

oneM2M and ETSI MEC location procedures can provide current location observations and event notifications. However, the interworking model does not yet define a common resource pattern for storing, retrieving, and referencing historical location observations over time.

This affects use cases that require trajectory reconstruction, mobility analysis, dwell-time calculation, route deviation detection, replay of past movement, or audit of location-derived orchestration decisions. A single current location value is not sufficient for these use cases. Applications may need to retrieve location observations over a time interval, correlate observations with quality and provenance metadata, and distinguish between authoritative location records and lightweight references to location information maintained elsewhere.

The gap is the absence of standardized guidance describing:

  • how historical MEC-derived location observations should be represented in the oneM2M resource tree;
  • whether location history should be stored using , , , or another resource structure;
  • how trajectory information should be associated with AEs, resources, MN-CSEs, MEC-IPEs, or MEC hosts;
  • how applications should retrieve location history using time-range, freshness, accuracy, or source criteria;
  • how duplicate storage of the same location information should be avoided; and
  • how lightweight references to authoritative location resources should be represented across CSE, MEC, and federation boundaries.

Existing oneM2M mechanisms such as resources may be suitable for storing ordered location observations, while may be suitable for lightweight references to location information maintained by another resource owner. However, an interworking profile is needed to define when these mechanisms should be used and how they relate to MEC-derived location information, geographic discovery, subscription notification, federation, and privacy policy enforcement.

Gap: A standardized resource-mapping pattern is needed for historical location storage, trajectory retrieval, and lightweight references to authoritative location resources in oneM2M/MEC interworking deployments.

7.1.4.1.16 Creation and synchronization of resources

oneM2M uses resources to notify interested parties of changes to other resources. In the context of creating resources needed for the SDT models, it is necessary to ensure that:

  • resources may be created for all child resources in a subtree for relevant SDT-related resources;

7.1.4.2 Orchestration gaps

7.1.4.2.0 Introduction

This clause identifies gaps that need to be addressed to support orchestration of applications and services across distributed oneM2M and ETSI MEC environments. The analysis considers gaps in oneM2M, gaps in ETSI MEC, and gaps in the standardized interworking between the two systems.

7.1.4.2.1 Orchestration gaps - existing standards baseline

The feature gap analysis should distinguish capabilities that already exist from the interworking functions that are missing.

oneM2M TS-0001 [i.2] and oneM2M TS-0004 [i.9] provide a resource-oriented service layer that supports registration, CRUD operations, discovery, access control, subscriptions, and notifications. oneM2M management enablement also supports management-object representations and mappings to device-management technologies. oneM2M TS-0005 [i.23] includes mappings for software-management and device-management operations.

ETSI GS MEC 010-2 [i.8] provides application package and application lifecycle management within the MEC system. It includes application descriptors, package information, application instantiation, application operation, termination, lifecycle-operation occurrences, application-instance information, resource requirements, and MEC host information. ETSI GS MEC 011 [i.4] supports MEC application interaction with the MEC Platform, including application registration, readiness confirmation, service registration, and service discovery. ETSI GS MEC 040 [i.15] supports MEC federation procedures.

Consequently:

  • application lifecycle management is not generally absent from ETSI MEC;
  • generic resource discovery and notification are not absent from oneM2M; and
  • software-management concepts are not entirely absent from oneM2M.

The principal gaps are the standardized representation, binding, and end-to-end procedures needed to use oneM2M as an orchestration control plane across ETSI MEC and other edge platforms.

7.1.4.2.2 Orchestration gaps in oneM2M
7.1.4.2.2.1 Edge host capability model

oneM2M does not currently define a complete, commonly interpreted resource model for an application execution host that includes:

  • execution-platform type;
  • application package formats;
  • processor architecture;
  • available compute, memory, and storage;
  • hardware acceleration;
  • application lifecycle interface profile;
  • admission and availability state;
  • MEC services available to deployed applications;
  • administrative domain;
  • trust and attestation state; and
  • dynamic capacity information suitable for placement.

A resource, management objects, labels, semantic descriptors, or flexContainer specializations may represent portions of this information. However, an interoperable profile and discovery semantics are not defined for MEC application placement.

7.1.4.2.2.2 Application deployment-intent model

oneM2M does not define a standardized application deployment-intent resource that represents:

  • application package identity and version;
  • package repository reference;
  • package integrity and signature information;
  • desired lifecycle operation;
  • desired application state;
  • compute, storage, acceleration, and networking requirements;
  • service dependencies;
  • placement constraints;
  • retry and rollback policy;
  • request expiration;
  • configuration and credential references; and
  • correlation to a resulting application instance.

Generic containers and content instances can carry implementation-defined payloads, but independently developed orchestrators and Gateway Agents would not interpret those payloads consistently.

7.1.4.2.2.3 Multi-host application placement and selection

oneM2M discovery can identify resources that match filters, but it does not define an application-placement procedure that:

  • evaluates multiple host candidates;
  • distinguishes capacity from current availability;
  • reserves resources;
  • resolves competing deployment requests;
  • coordinates admission control;
  • ranks candidates;
  • handles partial placement of multiple instances; or
  • records the basis for the placement decision.
7.1.4.2.2.4 Lifecycle operation and status model

oneM2M does not define a common edge-application lifecycle state model covering:

  • package validation;
  • onboarding;
  • scheduled deployment;
  • instantiation;
  • configuration;
  • starting;
  • running;
  • stopping;
  • updating;
  • rollback;
  • termination;
  • failure; and
  • retry.

The model also needs operation identifiers, idempotency behaviour, progress reporting, error classification, and correlation to platform-specific lifecycle-operation occurrences.

7.1.4.2.2.5 Standardized Gateway Agent role

The Gateway Agent role is not defined in the oneM2M functional architecture. In particular, oneM2M does not define:

  • how a Gateway Agent associates with a oneM2M node or group of hosts;
  • how it advertises supported lifecycle adapters;
  • how an orchestrator determines that the agent is authorized and operational;
  • how commands are claimed to prevent duplicate execution;
  • how the agent reports heartbeat and health;
  • how agent version compatibility is determined; or
  • how the agent transfers responsibility to another instance.
7.1.4.2.2.6 Mapping to application package descriptors

oneM2M does not define a mapping between a oneM2M deployment request and an ETSI MEC application descriptor, nor a generic package descriptor suitable for non-MEC edge platforms. Without such mapping, requirements may be lost, duplicated, or interpreted differently across the control-plane boundary.

7.1.4.2.2.7 Security and software-supply-chain information

Existing oneM2M access control can restrict resource operations, but the orchestration procedure additionally requires interoperable treatment of:

  • authorization to deploy on a host;
  • delegated credentials for platform lifecycle operations;
  • package provenance;
  • package signatures and digests;
  • trusted repositories;
  • secrets supplied to an application;
  • host attestation;
  • least-privilege execution; and
  • audit records linking the requester, package, host, and resulting instance.
7.1.4.2.2.8 Relationship to existing management enablement

oneM2M management enablement includes software-management concepts, but it is primarily oriented toward management of devices and technology-specific management objects. It does not by itself define:

  • selection among multiple application hosts;
  • MEC application package onboarding;
  • application descriptor mapping;
  • multi-domain placement;
  • application-instance correlation; or
  • a uniform lifecycle abstraction across MEC and other edge platforms.

The relationship between existing software-management objects and the proposed application-orchestration model therefore needs to be clarified to avoid duplicate or conflicting mechanisms.

7.1.4.2.3 Orchestration gaps in ETSI MEC
7.1.4.2.3.1 oneM2M-facing orchestration binding

ETSI MEC defines MEC management reference points and lifecycle procedures, but it does not define a standardized binding by which a oneM2M AE can:

  • discover MEC hosts through oneM2M resources;
  • express MEC application deployment intent using oneM2M primitives;
  • subscribe to MEC lifecycle-operation status through oneM2M;
  • correlate MEC application instances with oneM2M AEs, nodes, or resources; or
  • request subsequent MEC lifecycle operations through a common oneM2M model.
7.1.4.2.3.2 Exposure of MEC host information in oneM2M

ETSI MEC defines MEC host and application information used within MEC management. It does not define how this information is:

  • represented in a oneM2M resource tree;
  • synchronized with oneM2M resources;
  • filtered for disclosure to oneM2M applications;
  • updated through oneM2M subscriptions and notifications; or
  • related to a Gateway Agent or oneM2M resource.
7.1.4.2.3.3 Gateway Agent or adapter function

ETSI MEC does not define the Gateway Agent actor used by this use case. It does not specify:

  • an adapter that consumes oneM2M deployment intent;
  • how such an adapter is authorized to invoke MEC management;
  • how it maps oneM2M application requirements to an AppD;
  • how it reports MEC lifecycle operation occurrences into oneM2M; or
  • how it interoperates with a corresponding adapter for non-MEC platforms.
7.1.4.2.3.4 Common orchestration across MEC and non-MEC edge hosts

ETSI MEC management applies to functional entities and hosts within the MEC system and to supported federation scenarios. It does not provide a common lifecycle contract for arbitrary edge execution platforms that are not represented as MEC systems.

This is not a deficiency in MEC application lifecycle management within its intended scope. It is a gap for a broader oneM2M service provider that needs to orchestrate applications over both MEC and non-MEC edge platforms using a common procedure.

7.1.4.2.3.5 Cross-system identity and status correlation

A standardized relationship is not defined between:

  • oneM2M deployment request identifiers;
  • oneM2M host and Gateway Agent resources;
  • MEC application package identifiers;
  • MEC application lifecycle-operation occurrence identifiers;
  • MEC application instance identifiers; and
  • the AE or service representation created after deployment.
7.1.4.2.3.6 Application-provider access and authorization

MEC lifecycle-management interfaces are generally used within the MEC management architecture. A oneM2M interworking solution needs to specify which authorized function invokes those interfaces, how requests are delegated, and how policy decisions are enforced. Direct exposure of internal MEC management interfaces to arbitrary oneM2M applications should not be assumed.

7.1.4.2.3.7 Application-specific deployment profile

ETSI MEC can deploy an edge application, but it does not define a oneM2M-facing, application-specific deployment profile containing the information needed to bind a deployed application instance to its target service context, such as:

  • service identity;
  • service endpoint or coordinator reference;
  • model, policy, or workload profile reference (when applicable);
  • runtime configuration profile;
  • application credential reference; and
  • readiness representation.
7.1.4.2.4 Cross-standard orchestration gap summary
Gap area
Existing oneM2M capability
Existing ETSI MEC capability
Interworking gap
Host registration
AE, CSE, node, and resource registration
MEC host and management architecture
Common host representation and identity correlation
Host discovery
Resource discovery and semantic mechanisms
MEC management and federation information
Publishing and discovering MEC host capabilities through oneM2M
Application package
Generic content and management resources
Application package management and AppD
Standard oneM2M package reference and AppD mapping
Placement
Discovery can identify resources
MEO selects and manages MEC resources
Common oneM2M placement intent and candidate-selection semantics
Lifecycle management
CRUDN, notifications, management enablement
Instantiate, operate, terminate, and report operation occurrences
Standard binding between oneM2M intent and MEC LCM
Non-MEC edge platforms
Generic service-layer extensibility
Outside the MEC-system scope unless represented through MEC integration
Common Gateway Agent contract and adapter profile
Status reporting
Resources, subscriptions, and notifications
Application-instance and LCM-operation status
Common state model and identifier correlation
Security
ACPs and oneM2M security functions
MEC authorization and management-domain controls
Delegation, package trust, host trust, and end-to-end audit
Application readiness profile
AE/service representations can be defined
Edge applications can execute as MEC applications
Minimum deployment-to-service-context binding profile

7.1.5 Key Issues and requirements

7.1.5.0 Introduction

The following requirements are informative objectives for evaluating candidate solutions.

7.1.5.1 Exposing ETSI MEC services to oneM2M applications

  • REQ-IW-001: A solution should support representation of ETSI MEC hosts via oneM2M APIs (i.e. resources),
  • REQ-IW-002: A solution should support discovery and representation of available ETSI MEC services via oneM2M APIs.
  • REQ-IW-003: Functional Equivalence: Both MEC-IPE and MEC-CSF should be able to expose the same user-facing behaviour and data model.

7.1.5.2 Registration

  • REQ-IW-004: A solution should support an MN-CSE registering to the MEC platform as a MEC application.
  • REQ-IW-005: A solution should support a MEC IPE registering to the MEC platform as a MEC application.
  • REQ-IW-006: A solution should support an MN-CSE indicating that it is hosted on a MEC platform.
  • REQ-IW-007: A solution should support a MEC-IPE indicating that it is hosted on a MEC platform.

7.1.5.3 IoT Device interworking

  • REQ-IW-008: A solution should support a oneM2M application consuming data from non-oneM2M devices that are connected via the ETSI GS MEC 033 IoT API [i.14].
  • REQ-IW-009: A solution should support a oneM2M application consuming data from non-oneM2M devices that use data representations specified using ETSI GS MEC 046 Sensor-sharing API [i.16].
  • REQ-IW-010: A solution should allow for dynamic discovery of non-oneM2M devices that are connected via the ETSI GS MEC 033 IoT API [i.14].
  • REQ-IW-011: A solution should support a MEC application using the ETSI GS MEC 033 IoT API [i.14] to consume data from oneM2M devices.

7.1.5.4 Other ETSI MEC services

  • REQ-IW-012: A solution should support access to ETSI GS MEC 013 Location API [i.6] functionality via existing oneM2M location APIs.
  • REQ-IW-013: A solution should support access to ETSI GS MEC 012 Radio Network Information Service API [i.5] functionality via custom oneM2M resource specializations.
  • REQ-IW-014: A solution should support access to ETSI GS MEC 021 Application Mobility Service API [i.10] functionality via custom oneM2M resource specializations.
  • REQ-IW-015: A solution should support access to ETSI GS MEC 028 WLAN Access Information API [i.11] functionality via custom oneM2M resource specializations.
  • REQ-IW-016: A solution should support access to ETSI GS MEC 030 V2X Information Services API [i.13] functionality via custom oneM2M resource specializations.

7.1.5.5 Orchestration

  • REQ-IW-017: A solution should identify and discover MEC/oneM2M instances from a logical federation group.
  • REQ-IW-018: A solution should match available resources (e.g. storage, compute, connectivity, etc.) with service requirements and assign tasks to appropriate nodes.
  • REQ-IW-019: A solution should keep registrations, subscriptions and data synchronized across MN-CSEs/IN-CSEs and ETSI MEC nodes.
  • REQ-IW-020: A solution should continuously monitor node performance and workload and trigger handover when needed.

7.1.6 Proposed Solutions

7.1.6.1 Solution Implementation Analysis: MEC-IPE vs MEC-CSF Approaches

For implementation analysis, the following aspects should be evaluated:

  • Functional equivalence: Can both MEC-IPE and MEC-CSF approaches expose the same user-facing behavior and data model? Both should support all three callflows (retrieval, event-driven updates, geofence events).
  • Mapping complexity: Effort to map MEC Location API semantics into oneM2M , and resources. Both approaches require normalization of MEC response payloads.
  • Latency and update timeliness: Impact on notification delivery latency, especially for event-driven location change and geofence events. MEC-IPE may have lower latency (co-located with platform); MEC-CSF latency depends on network proximity.
  • Operational complexity: Deployment, provisioning, scaling, and lifecycle management of subscription state. MEC-IPE simplifies subscription state management; MEC-CSF requires external state synchronization.
  • Portability/interoperability: Ease of reuse across deployment options and MEC platforms. Both approaches should abstract ETSI GS MEC 013 [i.6] API variations; fallback mechanisms ensure robustness against partial MEC feature support.
  • Error handling and fallback: Alignment with oneM2M TS-0026 [i.21] clause 8.3.2.1 for graceful degradation when MEC services unavailable or insufficient.

The output of this analysis should identify whether one approach is preferred for Location API integration, or whether both are viable with different deployment trade-offs.

7.1.6.2 Solution 1: oneM2M Resource tree for MEC services

7.1.6.2.0 Introduction

This clause defines a baseline oneM2M resource tree for representing ETSI MEC services and MEC application lifecycle context described in clause 7.1.1. The objective is to provide a well-known and discoverable structure so that:

  • MEC platform and host metadata are represented as manageable oneM2M resources;
  • MEC service capabilities discovered through Mp1 can be exposed in a normalized form;
  • oneM2M applications can subscribe to updates without direct dependency on MEC-specific endpoint structures.

The proposed structure combines three complementary views:

  • Infrastructure/management view under a and its resources representing the MEC host/platform and its capabilities. These resources may be hosted on a IN-CSE or MN-CSE depending on the deployment scenario and the presence of an edge MN-CSE or mec-ipe;
  • Service exposure view under an IPE-style (e.g. MEC-IPE) used to expose discovered MEC service APIs and notifications.
  • Service-specific view where each MEC service is represented as a oneM2M service with its own resource tree reflecting its specific procedures and data models. This allows applications to interact with MEC services using native oneM2M mechanisms.

These resource tree structures are intended to be selected and instantiated based on the specific use case scenarios and the presence of an edge MN-CSE or a MEC-IPE, ensuring that MEC platform representation is consistent and accessible regardless of the underlying deployment architecture (A to D in clause 5.1). The use cases also explore the methods to simplify the access control policies for MEC services, for example when using the IPE-AE as a single point of access for all MEC services.

These resources are defined using flexContainer resources similar to those defined in oneM2M TS-0023 [i.22] and oneM2M TS-0043. They can include attributes such as MEC host capabilities, supported MEC services, and operational status, which can be used by oneM2M applications to discover and interact with MEC services effectively. It is also possible to use management objects, but that variation will not be addressed in the present document.

The following mapping principles are proposed and should addressed in each use case:Service-specific resource or attribute names should remain stable across deployments (e.g. rni, location, ams) to simplify discovery.

  • For each use case that describes interworking with a MEC service or API the proposed resource will be generically described, providing only the use case specific attributes. Full resource definitions and procedures will be defined in the appropriate technical specifications.
  • Each use case will explore the methods to simplify the access control policies for MEC services, for example when using the IPE-AE as a single point of access for all MEC services.
  • Each use case will describe call flows that the service provides.
7.1.6.2.1 CSE Resource tree for MEC host/platform representation

The following baseline resource tree is proposed for a MEC host/platform instance. The MEC host is represented in a oneM2M resource, under which platform metadata, capabilities, and management information are maintained. This approach leverages existing oneM2M device management constructs and provides a consistent representation of MEC platforms within the oneM2M resource hierarchy. Depending on the deployment architecture, MEC services may be hosted at either the IN-CSE, an edge MN-CSE or a MEC-IPE. Management objects associated with the may represent both the MEC platform itself or the individual MEC services provided by that platform.

NOTE: The resource name mecServiceN may be simplified (e.g. mec or service) to improve readability and usability for application developers.

 /in-cse-1
  ├─  /in-cse-1/node-incse  // Represents the IN-CSE host/platform
  │    ├─ [mgmtObj_0]       /.../mgmtObj/MECService_0  
  │    └─  /in-cse-1/node-incse/fleNe
  │         ├─ [existingNodeChildResources]
  │         ├─ [mecService1]       /.../fleNe/dmMECService_1   
  │         ├─ [mecService2]       /.../fleNe/dmMECService_2  
  │         ├─ [mecServiceN]       /.../fleNe/dmMECService_N  
  │
  ├─  /in-cse-1/node-mncse
  │    ├─ [mgmtObj_0]       /.../mgmtObj/MECService_0  
  │    └─  /in-cse-1/node-mncse/fleNe
  │         ├─ [existingNodeChildResources]
  │         ├─ [mecService1]       /.../fleNe/dmMECService_1  
  │         ├─ [mecService2]       /.../fleNe/dmMECService_2  
  │         ├─ [mecServiceN]       /.../fleNe/dmMECService_N  
7.1.6.2.2 IPE-AE Resource tree for MEC service exposure

The following resource tree is proposed for exposing MEC services from the MEC-IPE AE. The MEC services are represented through oneM2M and resources, under which platform metadata, capabilities, and management information are maintained for each MEC service. This approach leverages existing oneM2M constructs and provides a resource tree representation of MEC services within the oneM2M resource hierarchy that makes resources easy to manage.

 /in-cse-1/mec-ipe
  └─  /in-cse-1/mec-ipe/mecServices
       ├─  /.../mecService_0
       ├─  /.../mecService_1
       └─  /.../mecService_N

For each MEC service exposed in this subtree the child resources will be defined to support the callflows for that specific service. This structure allows oneM2M applications to use native oneM2M discovery and subscription procedures while the MEC-IPE handles protocol and payload translation toward MEC APIs.

7.1.6.2.3 AE Resource tree for MEC service representation as devices

This clause describes AE resources that can be used to represent MEC services that are exposed as devices within the oneM2M resource tree. This approach allows oneM2M applications to interact with MEC services using either the or the MEC-IPE subtree or CSFs that have procedures that are specific to MEC services. This can be useful in scenarios where MEC services are tightly integrated with the device, allowing for a more seamless interaction model for applications that need to manage both devices and MEC services.

 /in-cse-1/deviceAE
  └─  /in-cse-1/deviceAE/mecServices
       ├─  /.../mecService_0
       ├─  /.../mecService_1
       └─  /.../mecService_N

For each MEC service exposed in this subtree the child resources will be defined to support the callflows for that specific service.

7.1.6.2.4 Service-Specific Resource tree for MEC service representation

This clause describes the service-specific resource structure for representing MEC services as oneM2M services in the oneM2M resource tree located at the CSE base. Each MEC service can be represented as a specific resource with its own set of procedures that reflect its capabilities and data models. This allows for a more granular and service-specific interaction model for oneM2M applications.

 /in-cse-1
  └─  /in-cse-1/mecService_0
  ├─  /in-cse-1/mecService_1
  └─  /in-cse-1/mecService_N

For each MEC service exposed in this subtree the child resources will be defined to support the callflows for that specific service. This structure allows oneM2M applications to use oneM2M discovery and subscription as a service exposed in a well-known location.

7.1.6.3 Solution 2: Deployment and Instantiation of oneM2M Components on ETSI MEC Hosts

7.1.6.3.0 Deployment in general

This clause describes the deployment and instantiation of oneM2M functional entities that are hosted on an ETSI MEC Host. Depending on the deployment option described in clause 5, a oneM2M functional entity may execute as a MEC Application or may execute on another platform while interacting with the MEC system through standardized interfaces.

oneM2M components that may be deployed on a MEC Host include:

  • MEC-IPE Application Entities;
  • MN-CSEs;
  • oneM2M Application Entities providing application-specific functionality;
  • Swarm Computing Agents;
  • Federated Learning components; and
  • other oneM2M-aware edge applications.

Deployment establishes an executable instance of the component on a selected MEC Host. The deployment mechanism is independent of the application-specific functionality provided by the component and may therefore be reused by different edge-computing applications.

Existing MEC lifecycle-management and infrastructure-management mechanisms may be used to perform the deployment. The existing MEC deployment and lifecycle-management mechanisms appear sufficient for deployment of oneM2M components; no additional generic MEC deployment procedure has been identified for this integration.

Deployment and instantiation may include:

  • deployment to a MEC Host selected by the applicable orchestration or management function;
  • allocation of compute, storage and networking resources;
  • installation of software packages, virtual-machine images or container images;
  • assignment of configuration and runtime parameters;
  • creation of network and application endpoints;
  • starting, stopping, restarting, upgrading or removing the software instance; and
  • monitoring the operational state of the deployed instance.

Deployment may be performed using lifecycle-management functions provided by a MEC system or by an external orchestration platform controlling the infrastructure on which the MEC Host operates. Implementation technologies such as container orchestration platforms may be used to realize these functions but are outside the scope of the oneM2M architecture.

Deployment establishes the runtime instance of the oneM2M component. Additional existing procedures may subsequently be used to:

  • enable the component to interact with the MEC service environment, as described in clause 7.1.6.4;
  • register the component within the oneM2M service layer, as described in clause 7.1.6.5; and
  • provision and coordinate the component as part of an integrated MEC/oneM2M environment, as described in clause 7.1.6.6.

The integration therefore does not require a new deployment procedure. Instead, the MEC deployment procedure is combined with the appropriate MEC application-enablement and oneM2M registration procedures.

7.1.6.3.1 Deployment using an ETSI MEC Sandbox scenario

The Sandbox procedure is an example realization of the generic deployment procedure described in clause 7.1.6.3 and is not required for deployment of oneM2M components in a MEC system. The ETSI MEC Sandbox may be used as a reference environment for demonstrating and validating deployment of oneM2M components as MEC Applications.

Within a MEC Sandbox scenario, an application may be represented as a process associated with a physical or network location in the scenario topology. The process definition provides the information required to instantiate the application, which may include:

  • the software or container image;
  • exposed network ports;
  • environment variables;
  • application configuration;
  • CPU and memory constraints; and
  • network characteristics associated with the application's location.

A oneM2M component such as a MEC-IPE AE, MN-CSE or application AE may therefore be represented as a process within the scenario and instantiated on the infrastructure associated with the selected MEC Host.

The Sandbox may also be used to associate applications with simulated mobile devices or changing network conditions, allowing the integrated MEC and oneM2M procedures to be evaluated under mobility and edge-network scenarios.

NOTE: The MEC Sandbox provides an environment for implementation, demonstration and validation of the procedures described in the present document. Production deployments may use the corresponding lifecycle-management mechanisms provided by the applicable MEC system and infrastructure platform.

7.1.6.4 Solution 3: MEC Application Enablement of oneM2M Components

A oneM2M component deployed as a MEC Application may use the existing MEC application-enablement procedures defined by ETSI GS MEC 011 [i.4] to interact with the MEC Platform through the Mp1 reference point.

MEC application enablement is distinct from deployment. Deployment creates the running software instance, whereas MEC application enablement allows that instance to interact with capabilities and services exposed by the MEC Platform.

No new generic MEC application-enablement procedure is required for oneM2M interworking. Existing MEC procedures may be combined as appropriate for the type of oneM2M component and its deployment environment.

Depending on the application and the method by which it was instantiated, MEC application enablement may include:

  • obtaining information identifying the MEC application instance;
  • indicating that the application instance is ready for operation;
  • registering or updating runtime application information with the MEC Platform;
  • discovering MEC services available through the MEC Platform;
  • registering services provided by the application;
  • obtaining transport information associated with MEC services;
  • activating or modifying traffic rules when required;
  • activating or modifying DNS rules when required; and
  • creating subscriptions to relevant MEC services and events.

MEC application registration is one procedure that may be used as part of application enablement. Registration is particularly applicable when an application instance needs to provide or update runtime information that is not already known through MEC management procedures.

Registration of the application with the MEC Platform is separate from registration of an AE or CSE within oneM2M. A component such as a MEC-IPE AE may therefore have both:

  • a MEC application identity used for interaction with the MEC Platform; and
  • a oneM2M identity used for interaction with a registrar CSE.

Once MEC application enablement has been completed, the component may discover and consume the MEC services described in clause 7.1.2. Where information exposed by these services is required by oneM2M applications, the MEC-IPE, MEC-aware CSE, or other interworking function may map selected MEC API information into the oneM2M resource model using the mechanisms described in clause 7.1.6.2 and clause 7.1.6.13.

MEC application enablement and oneM2M resource representation remain separate functions: the MEC Platform continues to expose services using its standardized APIs, while oneM2M resources provide an interoperable representation of selected MEC service information to oneM2M entities.

7.1.6.5 Solution 4: oneM2M Registration and MEC Hosting Representation

7.1.6.5.1 oneM2M Registration

A oneM2M component executing within a MEC environment uses existing oneM2M registration procedures to establish its relationship with the oneM2M service layer.

No additional generic AE or CSE registration procedure is required specifically for MEC interworking. The applicable existing oneM2M registration procedure depends on the type of functional entity.

An Application Entity, including a MEC-IPE AE, edge application AE, Swarm Computing AE or Federated Learning AE, registers with its registrar CSE using the existing AE registration procedure. The resulting resource identifies the application within the oneM2M resource tree and provides the basis for subsequent access to oneM2M services.

An MN-CSE hosted on a MEC Host registers with its registrar CSE using the applicable CSE registration procedures. The relationship between the registering CSE and registrar CSE is represented using the existing oneM2M CSE registration mechanisms, including the corresponding representation.

The oneM2M registration procedure does not duplicate the MEC application-enablement procedure described in clause 7.1.6.4. Instead, the two procedures establish complementary relationships:

  • MEC application enablement establishes the relationship between the running application instance and the MEC Platform; and
  • oneM2M registration establishes the relationship between the AE or CSE and the oneM2M service layer.
7.1.6.5.2 Representation of MEC Hosting and Service Information

Following registration, information describing the MEC hosting environment and MEC services associated with the registered component may be represented within the oneM2M resource structure.

Such information may include:

MEC hosting/deployment representation examples:

  • MEC Platform/MEC Host identifier
  • deployment association
  • operational/lifecycle state
  • available compute/storage capabilities

The MEC hosting and service information should be represented within the oneM2M resource structure and is relevant to FL clients.

MEC service representation examples:

  • Location API
  • RNIS
  • WLAN access information
  • application mobility information
  • other MEC services from 7.1.2

Existing oneM2M resources should be used where they adequately represent the required information.

Where an existing oneM2M resource does not adequately represent the information or operations exposed by a selected MEC API, a oneM2M resource-model gap exists. This may be addressed through an appropriate resource definition, specialization, SDT, attribute, or other applicable oneM2M resource-model mechanism.

For example, MEC service information described in clause 7.1.2 may be represented using the resources defined in clause 7.1.6.13 and located within the oneM2M resource tree, defined in clause 7.1.6.2. Such representations allow oneM2M applications to discover, retrieve, subscribe to, and otherwise use MEC-derived information through normal oneM2M procedures without requiring the oneM2M application to use the corresponding MEC API directly.

The requirement for these resource representations does not indicate that the underlying MEC service or MEC API is missing functionality. Instead, the resource definitions provide the mapping necessary to expose applicable MEC information through the oneM2M service layer.

Similarly, the definition of MEC-related oneM2M resources does not require modification of the underlying AE or CSE registration procedures. Registration establishes the oneM2M entity, while associated resources represent the MEC environment and services available to that entity.

Separating these functions allows the logical oneM2M identity to remain independent of the MEC Host on which the implementation is currently executing. This is useful for lifecycle operations such as migration, scaling, recovery and mobility, where the hosting environment may change while the logical oneM2M function remains the same.

7.1.6.6 Solution 5: Integrated MEC/oneM2M Lifecycle Procedure

The procedures described in clauses 7.1.6.3 through 7.1.6.5 use existing ETSI MEC and oneM2M deployment, application-enablement and registration mechanisms.

No additional generic deployment, MEC application-registration, AE-registration or CSE-registration procedure is required to support the integration.

The principal integration requirement is to coordinate the existing MEC and oneM2M procedures and to maintain the associations between:

  • the deployed software instance;
  • the MEC application instance, where applicable;
  • the MEC Host or MEC Platform on which the component is executing;
  • the corresponding oneM2M AE or CSE;
  • the oneM2M resources representing applicable MEC services and capabilities; and
  • the application-specific resources and configuration used by the deployed component.

After a oneM2M component has been instantiated and registered, additional provisioning may be performed to prepare the component for its intended application or service.

Provisioning is distinguished from registration. Registration establishes the identity and relationship of an AE or CSE with the oneM2M service layer, while provisioning establishes the resources, configuration, policies and service relationships required for operation.

Provisioning of a deployed component may include:

  • creation of application-specific oneM2M resource structures;
  • creation of containers, subscriptions, groups, semantic descriptors and other supporting resources;
  • creation of oneM2M resources representing applicable MEC APIs and services;
  • installation or configuration of applicable management resources;
  • configuration of service-discovery information;
  • configuration of application parameters;
  • assignment of policies governing use of MEC and oneM2M services;
  • provisioning of software or software-update information;
  • configuration of relationships with other AEs, CSEs or MEC Applications; and
  • configuration of information required by higher-level orchestration functions.

Provisioning may be performed by an application AE or an orchestration function acting on behalf of the oneM2M service environment.

The orchestration function may use information available from both the oneM2M and MEC environments to determine where a component should execute and how it should be configured.

This information may include:

  • available MEC Hosts and MEC Platforms;
  • available MEC services;
  • registered MN-CSEs and AEs;
  • compute, storage and network resources;
  • device or application location;
  • radio and access-network conditions;
  • workload requirements;
  • latency and QoS requirements;
  • application-specific capabilities; and
  • current operational state.

Using existing MEC and oneM2M procedures, an integrated orchestration sequence may include:

  1. discovering candidate MEC Platforms, MEC Hosts, CSEs and application resources;
  2. selecting a suitable execution environment;
  3. deploying or instantiating the required component using the mechanisms described in clause 7.1.6.3;
  4. performing MEC application enablement, where applicable, using the mechanisms described in clause 7.1.6.4;
  5. registering the AE or CSE within oneM2M using the mechanisms described in clause 7.1.6.5;
  6. creating, discovering, or associating the oneM2M resources representing applicable MEC services, hosting information, and capabilities
  7. provisioning the oneM2M resources and application configuration required by the component;
  8. monitoring the deployed component and its execution environment; and
  9. performing subsequent scaling, migration, recovery, update or removal when required.

The integrated procedure does not by itself identify a need for a new orchestration architecture. The coordination may be performed by an application AE, MEC orchestration function, or another applicable management/orchestration entity, depending on the deployment.

However, the oneM2M service layer requires sufficient resource representations to make the applicable MEC information available to oneM2M entities. Where existing oneM2M resource types are not sufficient to represent information exposed by a selected MEC API, appropriate oneM2M resource definitions may be introduced as described in clause 7.1.6.2 and related solution clauses.

For example, an orchestration function may select a MEC Host near a group of IoT devices, instantiate an MN-CSE or application AE on that host, enable the component to consume MEC services, register the component with the oneM2M service layer, create resources representing applicable MEC service information, and provision the resources required by the application.

If network conditions, device location or resource availability subsequently change, the same existing lifecycle and registration mechanisms may be coordinated to deploy or relocate components and update the associated oneM2M resource representations.

The mechanisms described in clauses 7.1.6.3 through 7.1.6.6 therefore define an integrated use of existing ETSI MEC and oneM2M procedures. Application-specific mechanisms, including handover, Federated Learning and Swarm Computing, may use this integrated procedure while defining additional application-specific resources, policies and processing behaviour where required.

7.1.6.7 Solution 6: Representation of MEC Host Management and Service Capabilities

This clause defines a canonical oneM2M resource layout for MEC hosts and their management and service capabilities using and resources option described in clause 7.1.6.2.1. A MEC host/platform is represented as a under the CSE base; host‑scoped metadata, management objects and service entries are children of that . Platform management, field‑configuration and MEC service capabilities are modelled as dedicated subtrees: management (device‑management SDT modules), fldDevConf (field‑provisioning/configuration SDT modules) and services. The custom flexContainer SDT types referenced here could be specified in oneM2M TS‑0043. The resource tree below illustrates STF use‑case hosts; the structure is extensible to accommodate additional platforms and service types.

 /in-cse-1
  ├─  /in-cse-1/mec-ipe
  │    └─ (MEC Interworking / Management AE)
  │
  ├─  /in-cse-1/node-mecHost-1
  │    │  (nodeID = "MEC-PLTF-001", nodeType = NoDN or MN, networkID = "5GC-OpA-1")
  │    │
  │    │
  │    ├─  /in-cse-1/node-mecHost-1/services
  │    │    │  (containerDefinition = "org.onem2m.services.device.services")
  │    │    ├─ [serWLAN]                 /.../services/mecWLAN
  │    │    └─ [serAPIn]                 /.../services/mecAPIn
  │    │
  │    ├─  /in-cse-1/node-mecHost-1/management
  │    │    (containerDefinition = "org.onem2m.management.device.flexNode")
  │    │      These resources are defined in TS-0043
  │    │     ├─ [dmDeviceInfo]          /.../management/dmDeviceInfo
  │    │     ├─ [dmAgent]               /.../management/dmAgent
  │    │     ├─ [dmAreaNwkInfo_0]       /.../management/dmAreaNwkInfo_0
  │    │     ├─ [dmAreaNwkInfo_1]       /.../management/dmAreaNwkInfo_1
  │    │     ├─ [dmCapability_0]        /.../management/dmCapability_0
  │    │     ├─ [dmStorage_0]           /.../management/dmStorage_0
  │    │     ├─ [dmSoftware_0]          /.../management/dmSoftware_0      (MEC Platform SW)
  │    │     ├─ [dmSoftware_1]          /.../management/dmSoftware_1      (MEC App #1)
  │    │     ├─ [dmSoftware_2]          /.../management/dmSoftware_2      (MEC App #2)
  │    │     ├─ [dmPackage_0]           /.../management/dmPackage_0       (Platform image)
  │    │     ├─ [dmPackage_1]           /.../management/dmPackage_1       (App #1 container image)
  │    │     ├─ [dmEventLog_0]          /.../management/dmEventLog_0
  │    │     └─ [dmDataModelIO_0]       /.../management/dmDataModelIO_0
  │    │
  │    └─  /in-cse-1/node-mecHost-1/fldDevConf
  │          │  (containerDefinition = "org.onem2m.fldDevConf.device.fldDevConf")
  │          │   These resources are new SDT modules
  │          ├─ [dmRegistration]           /.../fldDevConf/dmRegistration
  │          ├─ [dmDataCollection]         /.../fldDevConf/dmDataCollection
  │          ├─ [dmAuthenticationProfile]  /.../fldDevConf/dmAuthenticationProfile
  │          ├─ [dmCertificate]            /.../fldDevConf/dmCertificate
  │          ├─ [dmTrustAnchor]            /.../fldDevConf/dmTrustAnchor
  │          ├─ [dmMAFClient]              /.../fldDevConf/dmMAFClient
  │          ├─ [dmMEFClient]              /.../fldDevConf/dmMEFClient
  │          ├─ [dmOAuth2]                 /.../fldDevConf/dmOAuth2
  │          ├─ [dmCredentials]            /.../fldDevConf/dmCredentials
  │          ├─ [dmSIM]                    /.../fldDevConf/dmSIM
  │          ├─ [dmWiFiClient]             /.../fldDevConf/dmWiFiClient
  │          └─ [dmMobileNetwork]          /.../fldDevConf/dmMobileNetwork
  │
  ├─  /in-cse-1/mecHost-2
  │    ├─  /in-cse-1/node-mecHost-2/services
  │    │    (containerDefinition = "org.onem2m.services.device.services")
  │    ├─  /in-cse-1/node-mecHost-2/management
  │    │    (containerDefinition = "org.onem2m.management.device.flexNode")
  │    └─  /in-cse-1/node-mecHost-2/fldDevConf
  │         (containerDefinition = "org.onem2m.fldDevConf.device.fldDevConf")
  │
  ├─  /in-cse-1/mecHost-3
  │    ├─  /in-cse-1/node-mecHost-3/services
  │    │    (containerDefinition = "org.onem2m.services.device.services")
  │    ├─  /in-cse-1/node-mecHost-3/management
  │    │    (containerDefinition = "org.onem2m.management.device.flexNode")
  │    └─  /in-cse-1/node-mecHost-3/fldDevConf
  │         (containerDefinition = "org.onem2m.fldDevConf.device.fldDevConf")
  │
  └─  /in-cse-1/mecHost-4
       ├─  /in-cse-1/node-mecHost-4/services
       │    (containerDefinition = "org.onem2m.services.device.services")
       ├─  /in-cse-1/node-mecHost-4/management
       │    (containerDefinition = "org.onem2m.management.device.flexNode")
       └─  /in-cse-1/node-mecHost-4/fldDevConf
            (containerDefinition = "org.onem2m.fldDevConf.device.fldDevConf")
  

When MEC services are instantiated by a CSF/MN‑CSE on the MEC platform, the CSE-hosted service representations typically rely on the platform's operational controls and do not impose additional oneM2M accessControlPolicy restrictions by default. By contrast, when the MEC IPE is deployed as an AE on an IN‑CSE it is governed by oneM2M AE semantics and therefore each child container and flexContainer is associated with appropriate accessControlPolicy resources.

Accordingly, IPE deployments SHOULD define per-service ACPs for each MEC service subtree (for example under /node-.../services or /mec-ipe/mecServices) that express distinct roles and permitted operations (management/configuration, read, subscribe, invoke). Service definitions provided in other sub-clauses will include recommended ACP templates and guidance for mapping platform authentication (for example OAuth2/token roles) into oneM2M ACP entries, and will describe announce/announcedAttribute usage patterns to enable safe cross‑CSE sharing without granting excessive write privileges into application subtrees.

7.1.6.8 Location Service Resource Tree Deployment Alternatives

7.1.6.8.0 Introduction

The key objective is to assess whether the same service intent defined in oneM2M can be implemented through either a MEC-IPE-based approach or a MEC-CSF-based approach. In oneM2M a resource defines the rules and conditions under which location information can be accessed and shared. Using the resource a MEC location API, or any other provider of location information can provide the location data and represent the data in a structure within the oneM2M resource tree.

The following alternatives are considered:

In options A.1 and A.2, location information is associated directly with an Application Entity (AE). MEC-derived location information is exposed through resources located beneath the AE. This approach is suitable when location information is considered an application-level attribute and is primarily consumed by application-specific services.

In options B.1 and B.2, location information is associated with a device, node, or managed entity rather than a specific application. This approach is suitable when multiple applications require access to a common representation of device location.

In option C, MEC-derived location capabilities are exposed as a service-level resource located directly under the CSEBase.

7.1.6.8.1 Option A: AE-Centric Location Ownership
7.1.6.8.1.1 Option A.1: MEC-IPE-Based Integration

In this variant, the MEC-IPE is deployed as an AE on the CSE and manages location containers directly. This approach has to address the fact that the MEC-IPE does not automatically have access to the device resources where the is stored, so the policy needs to be announced to the MEC-IPE for it to function properly. The location data retrieved from MEC Location Services is stored in a container under the MEC-IPE and announced back to the application-facing .

 /in-cse-1
  ├─  /in-cse-1/mec-ipe                  (MEC Interworking Function deployed as AE)
  │    ├─  /.../location-123      (ae-device-123 location data)
  │    └─  /.../locPolicy-123 (announced to the IPE from the AE)
  │
  ├─  /in-cse-1/ae-device-123
  │    ├─  /.../locPolicy-123
  │    ├─  /.../location-123  (announced from mec-ipe)
  │
  └─  /in-cse-1/ae-app-consumer
       └─ (location/geo events are announced via oneM2M discovery and updates)
7.1.6.8.1.2 Option A.2: MEC-CSF / MN-CSE-Based Integration

In this variant, a dedicated MN-CSE is deployed on the MEC platform with location management functions and location containers. The concept is that mobile-capable AEs should have location data automatically available at the IN-CSE and AEs that are not mobile-capable the location data should be available at the IN-CSE or MN-CSE on the MEC platform.

 /in-cse-1
  ├─  /in-cse-1/mn-cse-1          (MEC-CSF deployed as MN-CSE on MEC platform)
  │    ├─  /.../location-123      (announced to IN-CSE AE from MN-CSE*)
  │    └─  /.../locPolicy-123 (announced from the not mobile-capable AE)  
  │
  ├─  /in-cse-1/Cae-device-123           (not mobile-capable device AE registered on IN-CSE.)
  │    ├─  /.../locPolicy-123
  │    └─  /.../location-123  (announced from remote /in-cse-1/mn-cse-1)
  │ 
  ├─  /in-cse-1/Sae-device-def           (mobile-capable device AE registered on IN-CSE or MN-CSE)
  │    ├─  /.../locPolicy-def
  │    └─  /.../location-def 
  │
  └─  /in-cse-1/Cae-app-consumer
       └─ (location/geo events are found via oneM2M discovery and updates)



 /mn-cse-1
  ├─  /mn-cse-1/Cae-device-abc           (device AE registered on MN-CSE.)
  │    ├─  /.../locPolicy-abc (authoritative location policy is hosted by MN-CSE location function)
  │    └─  /.../location-abc      (authoritative container is hosted by MN-CSE location function)
  │
  ├─  /mn-cse-1/Sae-device-def           (device AE registered on MN-CSE. Refer to SAE feature gap in clause 7.2.2.12)
  │    ├─  /.../locPolicy-def (authoritative location policy is hosted by MN-CSE location function)
  │    └─  /.../location-def      (authoritative container is hosted by MN-CSE location function)
  │
  └─  /mn-cse-1/in-cse-1          (the MN-CSE provides location data to devices registered to the IN-CSE)
       ├─  /.../locPolicy-123 (announced from IN-CSE AE)
       └─  /.../location-123      (authoritative container is hosted by MN-CSE location function and announced to IN-CSE AE)

Option A Notes:

  • Use for CSE registration representation, and announced resource types with suffix Annc (e.g. , , ).
  • The location observations are stored in resources under , consistent with oneM2M TS-0001 [i.2] clause 9.6.10.
  • Announcements are modeled through announced resource types at the remote side; these are derived from announceTo/announcedAttribute handling.
  • The intended pattern is: the authoritative is stored with the application-facing resource owner and announced to the MEC-IPE or MN-CSE, while the authoritative location is stored with the MEC-IPE or MN-CSE and announced back to the application-facing side.
  • This bidirectional announcement pattern keeps accessControlPolicy handling local to each administrative domain and avoids granting the MEC-facing function broad write permissions into the originating AE subtree.
  • IPE variant: Location containers are hosted directly under the mec-ipe on IN-CSE; lighter deployment footprint.
  • MN-CSE variant: Location containers are hosted under the remote MN-CSE on the MEC platform; enables federated location management and device node anchoring.
7.1.6.8.2 Option B: Node-Centric Location Ownership
7.1.6.8.2.1 Option B.1: MEC-IPE-Based Integration

In this variant, the MEC-IPE manages location containers and device nodes are represented at CSE level.

 /in-cse-1
  ├─  /in-cse-1/device123              (device node hosted on IN-CSE)
  │    ├─  /.../locPolicy-123
  │    └─  /.../location      (announced from mec-ipe)
  │         └─ *
  │
  ├─  /in-cse-1/mec-ipe                  (MEC Interworking Function deployed as AE)
  │    ├─  /.../locPolicy-123
  │    ├─  /.../location-123
  │    │    └─ *            (location samples retrieved from MEC Location API)
  │
  ├─  /in-cse-1/ae-device-123            (nodeLink -> /in-cse-1/device123)
  │
  └─  /in-cse-1/ae-app-consumer
      └─ (reads node-scoped location resources)
7.1.6.8.2.2 Option B.2: MEC-CSF / MN-CSE-Based Integration

In this variant, a dedicated MN-CSE deployed on the MEC platform manages location containers and all device node anchoring is performed at the MEC platform level.

 /in-cse-1
  ├─  /in-cse-1/device123              (device node hosted on IN-CSE)
  │    ├─  /.../locPolicy-123
  │    └─  /.../location      (announced from mn-cse-1)
  │         └─ *
  │
  ├─  /in-cse-1/Sae-device-123            (nodeLink -> /in-cse-1/device123)
  │    ├─  /.../locPolicy-123
  │    └─  /.../location-123  (announced from mn-cse-1)
  │         └─ *
  │
  ├─  /in-cse-1/mn-cse-1          (MEC-CSF deployed as MN-CSE on MEC platform)
  │    ├─  /.../device-abc         (announced node from MN-CSE)
  │    ├─  /.../Cae-device-abc        (device AE registered on MN-CSE; nodeLink -> /.../device-abc)
  │    │    ├─  /.../locPolicy-abc
  │    │    └─  /.../location (announced from mn-cse-1)
  │    │         └─ *
  │    └─ ... (additional device nodes as needed)
  │
  └─  /in-cse-1/Cae-app-consumer
      └─ (reads node-scoped location resources)


 /mn-cse-1
  ├─  /mn-cse-1/node-mecHost-1         (represents the MEC platform node)
  │    └─  /.../fleNe         
  │
  ├─  /mn-cse-1/device-abc             (device node on MN-CSE)
  │
  ├─  /mn-cse-1/Cae-device-abc            (device AE registered on MN-CSE; nodeLink -> /mn-cse-1/device-abc)
  │    ├─  /.../locPolicy-abc
  │    └─  /.../location-abc
  │         └─ *
  ├─  /mn-cse/in-cse-1/Sae-device-123            (nodeLink -> /in-cse-1/device123)
  │    ├─  /.../locPolicy-123
  │    └─  /.../location-123      this is announced to in-cse-1 - TBD
  │         └─ *
  

Option B Notes:

  • Node-centricity is expressed via node and nodeLink associations, while locationPolicy/container resources remain under valid oneM2M TS-0001 [i.2] parents (, , ).
  • A resource does not host or child resources in oneM2M TS-0001 [i.2]; those resources are linked through the corresponding AE and announced variants.
  • The same ownership rule applies here: the is maintained on the application-facing side and announced to the MEC-facing side, while the location is maintained on the MEC-facing side and announced back toward the policy owner.
Figure 7.1.6.8.2.2-1: IPE end-to-end call flows for Options A.1 and B.1
Figure 7.1.6.8.2.2‑1: IPE end-to-end call flows for Options A.1 and B.1

Figure 7.1.6.8.2.2‑1: IPE end-to-end call flows for Options A.1 and B.1

The evaluation of these alternatives should consider:

  • Alignment with existing oneM2M resource structures.
  • Ease of discovery.
  • Subscription and notification efficiency.
  • Support for mobility-related services.
  • Resource ownership and lifecycle management.
  • Compatibility with existing oneM2M Location Services.
  • Implementation complexity within MEC environments.

The proposed integration enables oneM2M applications to leverage network-derived location information provided by ETSI MEC while maintaining standard oneM2M resource and service abstractions.

Both MEC-IPE and MEC-CSF deployment approaches can support the same functional objectives. The preferred approach should minimize implementation complexity while preserving interoperability and consistency with existing oneM2M service-layer principles.

7.1.6.8.3 Option C: MEC Service-Centric Location Ownership

In this approach, MEC-derived location capabilities are exposed as a service-level resource located directly under the CSEBase. The service resource acts as the primary entry point for applications seeking location-related functionality, including location retrieval, subscriptions, geofencing, trajectory management, proximity queries, and provider discovery.

Unlike the AE-centric or Node-centric approaches, applications do not interact directly with device-specific location resources as the primary interface. Instead, applications interact with the location service, which abstracts the underlying MEC Location API and any associated location providers. This provides a consistent service interface regardless of the source of the location information.

The location service acts as a management and query layer. It is responsible for maintaining subscriptions to MEC Location Services, managing geofence definitions, storing trajectory information, exposing provider capabilities, and correlating device identifiers with MEC-specific identifiers. The service may also aggregate location information from multiple sources, including MEC Location Services, device-based GPS, WLAN positioning services, or future location providers.

The actual location state of a device remains associated with the corresponding oneM2M resource. The location service does not own the device location itself; rather, it manages the acquisition, distribution, and lifecycle of location information. As new location information is obtained from MEC services, the location service updates the appropriate device location resources and generates notifications to interested applications.

A conceptual resource structure is illustrated below:


   └── locationService
         ├── subscriptions
         ├── geofences
         ├── trajectories
         ├── providers
         └── queries


   └── 
         └── locationInfo

where:

  • locationInfo contains the current location state associated with a device or endpoint.
  • subscriptions manages active location monitoring subscriptions.
  • geofences stores geofence definitions and associated event policies.
  • trajectories stores historical location observations and movement paths.
  • providers identifies available location sources and their capabilities.
  • queries provides service-level functions such as proximity calculations, distance calculations, group-based location retrieval, and location-based discovery.

This approach provides a clear separation between location state and location services. Device-specific location information remains associated with the device representation, while service-level functions are centralized within the location service. This model can simplify application development by providing a common location interface while allowing multiple location technologies and providers to be integrated behind the service abstraction.

The service-centric model is particularly suitable when location information is consumed by multiple applications, when location data is derived from multiple providers, or when advanced location services such as geofencing, trajectory analysis, and proximity management are required. It also provides a potential foundation for future standardization of location-related service capabilities within oneM2M.

This option may require access control policies to be defined at the service level, ensuring that applications can only access location information for devices they are authorized to monitor. The service may also implement caching, aggregation, and filtering of location data to optimize performance and reduce load on underlying MEC Location Services.

7.1.6.8.4 Comparison of Options A, B, and C

Table 7.1.6.8.4‑1 provides a qualitative comparison of the three proposed options for location information ownership and management in the context of oneM2M and MEC integration. The evaluation criteria consider factors such as representation of actual location ownership, discovery simplicity, support for geofence management, trajectory/history support, multi-provider support, group query capabilities, subscription support, consistency with CSF principles, standardization effort, and future MEC service integration potential. This is informed by the analysis of the resource tree structures, announcement patterns, and the expected interactions between oneM2M applications and MEC services described in the following clauses.

Table 7.1.6.8.4‑1: Comparison of options A, B and C

Criterion
AE-centric
Node-centric
CSE Service
Represents actual location owner
Fair
Excellent
Good
Discovery simplicity
Good
Good
Excellent
Supports geofence management
Fair
Moderate
Excellent
Supports trajectories/history
Fair
Good
Excellent
Supports multiple providers
Poor
Good
Excellent
Supports group queries
Poor
Moderate
Excellent
Supports subscriptions
Good
Good
Excellent
Consistency with CSF principles
Moderate
Moderate
Excellent
Standardization effort
Low
Low
Medium
Future MEC service integration
Moderate
Good
Excellent

7.1.6.9 Solution 7: Location Retrieval Triggered by Application Using locationPolicy and MEC Location API

The figure below illustrates a comprehensive reference call flow for location retrieval initiated by an application via locationPolicy configuration, including fallback to last known location. This flow maps directly to the 3GPP-based procedure described in oneM2M TS-0026 [i.21] clause 7.4.7.2 "Location updating triggered by retrieval", but replaces SCEF Monitoring Event Subscription with ETSI GS MEC 013 [i.6] Location API /queries/users and /subscriptions/users endpoints.

Figure 7.1.6.9-1: Device Location Retrieval via MEC Location API and oneM2M location container
Figure 7.1.6.9‑1: Device Location Retrieval via MEC Location API and oneM2M location container

Figure 7.1.6.9‑1: Device Location Retrieval via MEC Location API and oneM2M location container

Figure 7.1.6.9-2: Location Retrieval Triggered by Application Using locationPolicy and MEC Location API
Figure 7.1.6.9‑2: Location Retrieval Triggered by Application Using locationPolicy and MEC Location API

Figure 7.1.6.9‑2: Location Retrieval Triggered by Application Using locationPolicy and MEC Location API

Detailed Step Procedure (Callflow 1):

Step 1: Request for creation of

The IN-AE sends a create request which includes the following parameters as specified in oneM2M TS-0001 [i.2]:

  • locationSource is set to Network Based (indicating MEC-based location sourcing rather than device-based or sharing-based).
  • locationUpdatePeriod is set to 0 (indicating one-time retrieval, not periodic updates).
  • locationTargetID is set to the M2M-Ext-ID of the targeted UE/device or node.
  • locationServer is not present (MEC platform is implicit).
  • locationContainerID is not present (CSE will associate with auto-created container).
  • locationInformationType is set to position fix (requesting coordinate-based location).
  • retrieveLastKnownLocation is configured with either TRUE or FALSE based on the requirements of the IN-AE (TRUE enables fallback, FALSE disables it).
  • locationUpdateEventCriteria is not present (event-driven updates not requested in this callflow).

Step 2: Response to locationPolicy creation

The IN-CSE creates the resource and corresponding resource for storing location information. The CSE returns a response containing references to the created and linked .

Step 3: Retrieve Request for

The IN-AE sends a RETRIEVE request to the child resource of the linked to the created in Step 2. This triggers the CSE to fetch current location from MEC.

Step 4: Request Current Location from MEC Location Service

The IN-CSE checks the locationSource attribute of the . If locationSource is set to Network Based and locationUpdatePeriod is 0 or NULL, the IN-CSE requests the current location from the MEC Location Service via the MEC-IPE or MEC-CSF. The request is translated to an ETSI GS MEC 013 [i.6] API call:

  • HTTP Method: GET
  • URI: {apiRoot}/location/v3/queries/users?address=&requiredAccuracy=&maxAge=
    • address: Mapped from locationTargetID
    • requiredAccuracy: Optional accuracy constraint (e.g. CGI_ECGI, ENODEB, TA_RA, PLMN, TWAN_ID, or specific metric)
    • maxAge: Optional maximum acceptable age of location information

Step 5: Process Current Location Query at MEC

The MEC Location Service processes the request, queries its location database, and prepares location information for the requested device.

Step 6: MEC Returns Current Location Information

The MEC Location Service sends a 200 OK response containing a UserList with location details:

{
  "userList": [
    {
      "address": "sip:ue-123@example.com",
      "userData": [
        {
          "latitude": 48.8566,
          "longitude": 2.3522,
          "altitude": 100,
          "accuracy": 50,
          "timestamp": "2024-05-10T14:30:00Z",
          "cellId": "310-410-1234567",
          "timeStamp": 1234567890
        }
      ]
    }
  ]
}

Step 7: MEC-IPE/CSF Normalizes Location Payload

The MEC-facing interworking function (IPE or CSF) normalizes the MEC response to oneM2M format:

  • Extract latitude, longitude, altitude, accuracy, timestamp
  • Map to oneM2M data structure
  • Preserve metadata (cellId, accuracy metrics, timestamp)

Step 8-9: CREATE Location contentInstance

The IN-CSE creates a new as a child resource of the linked to the . The contentInstance contains the normalized location data.

Step 10: Return Latest Location to Application

The IN-CSE returns a 200 OK response to the IN-AE's RETRIEVE request, containing the newly created with current location information.

Step 11-13: Fallback to Last Known Location (conditional)

If the current location request in Step 4-6 fails or returns no data, and if retrieveLastKnownLocation is set to TRUE in the , the IN-CSE attempts a second request to retrieve last known location:

  • HTTP Method: GET
  • URI: {apiRoot}/location/v3/queries/users?address=&requestType=lastKnownLocation

The MEC Location Service returns the last known location (if available) with aging metadata. The CSE creates a marked with fallback/aged indicators and returns it to the application.

If retrieveLastKnownLocation is FALSE, the CSE returns an error (e.g. 404 Not Found) to the application, and no fallback mechanism is invoked.

7.1.6.10 Solution 8: Location Updates Triggered by Location Change Using MEC Location API Subscriptions

All instances of and should be replaced with and respectively.

The figure below illustrates a comprehensive reference call flow for event-driven location updates. This flow maps directly to the 3GPP-based procedure described in oneM2M TS-0026 [i.21] clause 7.4.7.3 "Location updating triggered by location change", but replaces SCEF Monitoring Event Subscription with the ETSI GS MEC 013 [i.6] Location API /subscriptions/users endpoint.

Figure 7.1.6.10-1: Location Updates Triggered by Location Change Using MEC Location API Subscriptions
Figure 7.1.6.10‑1: Location Updates Triggered by Location Change Using MEC Location API Subscriptions

Figure 7.1.6.10‑1: Location Updates Triggered by Location Change Using MEC Location API Subscriptions

Detailed Step Procedure (Callflow 2):

Step 1: Request for creation of with LocationChange event criteria

The IN-AE sends a CREATE request configured for event-driven updates:

  • locationSource is set to Network Based.
  • locationUpdatePeriod is absent (event-driven, not periodic).
  • locationTargetID is set to the M2M-Ext-ID of the targeted UE/device.
  • locationUpdateEventCriteria is set to LocationChange (or custom distance threshold, e.g. "LocationChange:minDistance=100m").
  • locationInformationType is set to position fix.
  • retrieveLastKnownLocation is not configured it is not applicable for event-driven updates).

Step 2: Response to locationPolicy creation

The IN-CSE creates the , corresponding , and a resource on the container. The CSE returns response references.

Step 3: Create oneM2M Subscription on container

The IN-AE creates a oneM2M resource on the to receive notifications when new s are created (i.e. when location updates arrive).

Step 4: IN-CSE Establishes MEC Location Subscription

Upon detecting the creation and checking the associated , the IN-CSE initiates a request to the MEC-IPE or MEC-CSF to establish a location change subscription with the MEC Location Service.

Step 5: MEC-IPE/CSF Translates Subscription Parameters

The MEC-facing entity translates oneM2M event criteria to ETSI GS MEC 013 [i.6] subscription parameters:

  • minDistance: Extracted from locationUpdateEventCriteria (e.g. threshold for location change detection)
  • maxAge: Optional update frequency constraint
  • requiredAccuracy: Accuracy requirement for location updates

Step 6: MEC-IPE/CSF Sends Subscription Request to MEC Location Service

The MEC-facing entity sends:

  • HTTP Method: POST
  • URI: {apiRoot}/location/v3/subscriptions/users
  • Request body:
{
  "address": "",
  "callbackReference": "https://cse.example.com/location/notify/",
  "minDistance": 100,
  "maxAge": 3600,
  "requiredAccuracy": "ENODEB"
}

Step 7: MEC Location Service Acknowledges Subscription

The MEC Location Service returns 201 Created with subscription resource reference:

{
  "subscriptionId": "sub-12345",
  "address": "sip:ue-123@example.com",
  "callbackReference": "https://cse.example.com/location/notify/sub-12345",
  "minDistance": 100,
  "resourceURL": "https://mec-platform.example.com/location/v3/subscriptions/users/sub-12345"
}

Step 8: Store Subscription State in CSE

The IN-CSE stores the MEC subscriptionId and maps it to the oneM2M and for future reference and lifecycle management.

Step 9: Return Subscription Created Response

The CSE returns 201 Created to the IN-AE, indicating that the oneM2M subscription is active and location change events will be delivered.

Step 10-19: Location Change Event Detection and Notification

When the MEC Location Service detects a location change (device has moved more than minDistance from last known position):

  1. MEC Location Service creates LocationUpdate notification with new coordinates
  2. MEC Location Service sends POST to callbackReference (CSE's notification endpoint)
  3. CSE receives the callback containing the new location
  4. CSE normalizes the location data and creates a new in the
  5. CSE's subscription handler detects the new
  6. CSE sends NOTIFY to the IN-AE's , containing the location update

Step 20-29: Subscription Lifecycle Termination

When the IN-AE no longer requires location updates:

  1. IN-AE sends DELETE request to the oneM2M
  2. CSE identifies the associated MEC subscriptionId
  3. CSE sends DELETE request to MEC Location Service: DELETE {apiRoot}/location/v3/subscriptions/users/{subscriptionId}
  4. MEC Location Service deregisters callback and stops location monitoring
  5. MEC returns 204 No Content
  6. CSE confirms deletion to IN-AE with 204 No Content

7.1.6.11 Solution 9: Geofence and Zone-based Location Events Using MEC Location API

The figure below illustrates comprehensive callflows for geofence-based location event detection. This extends the location capabilities to support zone/area-based queries, enabling applications to monitor device entry/exit from defined geographic areas.

Figure 7.1.6.11-1: Geofence and Zone-based Location Events Using MEC Location API
Figure 7.1.6.11‑1: Geofence and Zone-based Location Events Using MEC Location API

Figure 7.1.6.11‑1: Geofence and Zone-based Location Events Using MEC Location API

Detailed Step Procedure (Callflow 3):

Step 1: Define Geofence Zone and Create locationPolicy

The IN-AE creates either an extended with zone parameters or a separate resource:

  • zoneShape: CIRCLE or POLYGON
  • centerPoint: {latitude, longitude}
  • radius or vertices: Geographic boundary definition
  • triggerEvent: ENTRY, EXIT, or BOTH
  • locationTargetID: UE/device to monitor

Alternatively, the IN-AE creates a with these attributes under Option B or C resource structures.

Step 2: CSE Creates Zone Storage Containers

The IN-CSE creates container structures for zone definitions and event storage:

  • /geoFences: Stores zone definitions
  • /geoEvents: Stores ENTRY/EXIT event s
  • /geoSubscriptions: Tracks active geofence subscriptions

Step 3: Publish Geofence Zone Definition to MEC

The CSE translates the zone definition to MEC format and requests geofence subscription setup.

NOTE: The ETSI GS MEC 013 Location API [i.6] may support geofences directly via dedicated endpoints or via extended query parameters.

Option 3a (native geofence support):

  • HTTP Method: POST
  • URI: {apiRoot}/location/v3/subscriptions/geofences
  • Request body:
{
  "address": "",
  "geofence": {
    "type": "Circle",
    "center": {"latitude": 48.8566, "longitude": 2.3522},
    "radius": 500
  },
  "eventType": "ENTRY_EVENT | EXIT_EVENT | BOTH",
  "callbackReference": "https://cse.example.com/location/geofence/notify/",
  "maxAge": 3600
}

Option 3b (polling with distance threshold):

If native geofence support is unavailable, the MEC-IPE/CSF implements geofence logic by:

  • Establishing location update subscription with minDistance = zone radius
  • Comparing current location against zone boundaries locally
  • Triggering ENTRY/EXIT events when distance from center threshold is crossed

Step 4: MEC Acknowledges Geofence Subscription

The MEC Location Service returns 201 Created with geofence subscription ID (Option 3a) or location subscription ID (Option 3b).

Step 5: CSE Stores Geofence State

The CSE links the MEC geofence/location subscription ID to the oneM2M or and sets status to MONITORING.

Step 6-19: Device Enters Geofence Zone

When device location enters the defined zone:

  1. MEC Location Service detects entry condition (current location inside, previous outside)
  2. MEC sends GeofenceEventNotification to callback with eventType=ENTRY, entry coordinates
  3. CSE receives ENTRY event notification
  4. CSE extracts entry location and timestamp
  5. CSE creates in with:
    • eventType: ZONE_ENTRY
    • zoneId: Geofence identifier
    • location: {latitude, longitude, accuracy}
    • entryTime: Timestamp
    • deviceId: Target device identifier
  6. CSE triggers on , sending NOTIFY to IN-AE
  7. IN-AE processes ZONE_ENTRY event and triggers application logic (e.g. location-aware services, notifications)

Step 20-29: Device Exits Geofence Zone

When device location exits the zone:

  1. MEC Location Service detects exit condition
  2. MEC sends GeofenceEventNotification with eventType=EXIT, exit coordinates, durationInZone
  3. CSE receives EXIT event, normalizes data
  4. CSE creates in with:
    • eventType: ZONE_EXIT
    • zoneId: Geofence identifier
    • location: Exit coordinates
    • exitTime: Timestamp
    • durationInZone: Time spent in zone (milliseconds)
  5. CSE triggers , sending NOTIFY to IN-AE
  6. IN-AE processes ZONE_EXIT and completes location-specific service context

Step 30: Multiple Zone Management (optional)

Applications can monitor multiple overlapping geofence zones simultaneously. The CSE manages multiple or resources, each linked to separate MEC subscriptions. accumulates ENTRY/EXIT events from all zones, queryable by zoneId and timestamp.

7.1.6.12 Solution 10: AE-Scoped Location Policies with Node-Scoped Location Content for Device AEs

7.1.6.12.0 Introduction

This solution describes a resource organization model for device location information when a oneM2M device AE is associated with a physical device, gateway-attached device, UE, or other managed endpoint. In this model, the device's resource remains the stable resource anchor for location state, while resources are placed under the resource that configures, owns, or manages the source-specific location behaviour.

The purpose of this solution is to separate policy ownership from location state ownership. The represents the application-layer entity that configures how location is obtained, updated, selected, or monitored. The represents the managed physical device and therefore remains the preferred location for source-specific location containers and derived location-event containers.

This model is especially relevant for device AEs because:

  • a physical device may expose one or more AEs while having one managed device identity;
  • the AE is the natural location for the policy that defines application-specific location behaviour;
  • the node is the natural location for the resulting location observations because the observations describe the device, not the application;
  • network-provided location and device-provided GNSS/GPS location can coexist without mixing samples from different sources;
  • source-specific policies can be correlated with source-specific location content and source-specific events;
  • a source uniqueness constraint can prevent conflicting policies for the same source under the same node.

This clause presents two variants:

  • Solution 11.1: AE-scoped policy for network-provided node location, where a under the device AE controls network-based location retrieval from the MEC Location API and stores the resulting observations under the node-scoped network location container.
  • Solution 11.2: AE-scoped policies for multiple node location sources, where separate resources under the device AE control separate node-scoped containers for network-provided location and device-provided GNSS/GPS location.

The second variant is the recommended option when a device can provide GNSS/GPS location and the deployment also has access to network-provided location from MEC. It preserves source provenance, permits source comparison or source selection, and prevents policy conflict by allowing only one active policy for each location source under a given .

7.1.6.12.1 Common Resource Model

The following structure places resources under the device , while preserving location content and derived events under the device . Each policy contains references to the node, the source-specific location container, and the source-specific event container. This allows the policy, content, and events to be correlated without relocating location observations into the subtree. Within the common node resource, resources can be defined to manage access for s on the same device.

 /in-cse-1 or /mn-cse-1

  ├─  /device-node-123
  │    ├─  /deviceInfo
  │    ├─  /firmware
  │    │
  │    ├─  /location
  │    │    ├─  /network  (link to the locationPolicy for network-provided location)
  │    │    │    ├─ *
  │    │    │    │    └─ content: network-provided location sample
  │    │    │    └─  /events
  │    │    │         ├─  /locationChange
  │    │    │         ├─  /geofenceEntry
  │    │    │         └─  /geofenceExit
  │    │    │
  │    │    ├─  /gps  (link to the locationPolicy for device-provided GNSS/GPS location)
  │    │    │    ├─ *
  │    │    │    │    └─ content: device-provided GNSS/GPS location sample
  │    │    │    └─  /events
  │    │    │         ├─  /locationChange
  │    │    │         ├─  /geofenceEntry
  │    │    │         └─  /geofenceExit
  │    │    │
  │    │    ├─  /Fused (optional fused location representation)
  │    │    │    ├─ *
  │    │    │    │    └─ content: fused location representation
  │    │    │    └─  /events
  │    │    │         ├─  /locationChange
  │    │    │         ├─  /geofenceEntry
  │    │    │         └─  /geofenceExit
  │
  ├─  /ae-device-123
  │    ├─ nodeLink -> /device-node-123
  │    │
  │    ├─  /lp-network
  │    │    ├─ sourceKey = network
  │    │    ├─ locationTargetID = 
  │    │    ├─ nodeID = /mn-cse-1/device-node-123
  │    │    ├─ locationContainerID = /mn-cse-1/device-node-123/location/network
  │    │    ├─ eventContainerID = /mn-cse-1/device-node-123/location/network/events
  │    │    ├─ locationInformationType = position fix
  │    │    ├─ locationUpdatePeriod = 0, periodic value, or event criteria
  │    │    └─ retrieveLastKnownLocation = TRUE or FALSE
  │    │
  │    ├─  /lp-gps
  │    │    ├─ sourceKey = gps
  │    │    ├─ locationTargetID = /mn-cse-1/ae-device-123 or node identifier
  │    │    ├─ nodeID = /mn-cse-1/device-node-123
  │    │    ├─ locationContainerID = /mn-cse-1/device-node-123/location/gps
  │    │    ├─ eventContainerID = /mn-cse-1/device-node-123/location/gps/events
  │    │    └─ locationUpdatePeriod = device reporting interval (field configuration specified? e.g. GPS update rate)
  │    │        *** Should there be an enable/disable flag for the device-based location reporting?
  │    └─  /lp-selected
  │         ├─ sourceKey = selected
  │         ├─ nodeID = /mn-cse-1/device-node-123
  │         ├─ inputContainerIDs = [/location/network, /location/gps]
  │         ├─ locationContainerID = /mn-cse-1/device-node-123/location/selected
  │         └─ eventContainerID = /mn-cse-1/device-node-123/location/selected/events
  │
  ├      /mec-ipe or  /mec-csf (internal mappings)
  │    ├─  /mecLocationSubscriptions
  │    └─  /mecLocationMappings
  │
  └─  /ae-app-consumer
       └─ reads or subscribes to /device-node-123/location/*

The resource is placed under the because the AE is the entity that configures the location behaviour. The policy points to the node-scoped location container using locationContainerID and to the source-specific event container using eventContainerID. The location content and event content remain under the because they describe the managed device rather than the policy-owning AE.

The /network branch stores observations derived from the MEC Location API or another network-based location provider. The /gps branch stores observations reported by the device AE. The /selected branch is optional and can be used when the CSE, MEC-CSF, MEC-IPE, or application applies a source-selection rule or fusion rule to expose one preferred location representation. The source-specific branches store derived events that can be traced back to the controlling and triggering location sample.

7.1.6.12.2 Source Uniqueness Constraint

For a given , each location source is represented by at most one active source-specific location branch and at most one active for that source. This avoids conflicting update periods, accuracy criteria, geofence criteria, or subscription mappings for the same source.

A CSE that supports this solution should enforce the following constraint:

For each :
  sourceKey = network  -> zero or one active policy and zero or one /location/network branch
  sourceKey = gps      -> zero or one active policy and zero or one /location/gps branch
  sourceKey = selected -> zero or one active policy and zero or one /location/selected branch

The source uniqueness check is based on the tuple:

(nodeID, sourceKey)

A CREATE request for a new should be rejected or treated as an update to the existing source-specific policy if an active policy already exists for the same (nodeID, sourceKey) tuple. The exact error handling is implementation dependent, but the procedure should prevent two different policies from independently controlling the same source-specific location container under the same node.

Examples:

Allowed:
  /ae-device-123/lp-network  -> nodeID=/device-node-123, sourceKey=network
  /ae-device-123/lp-gps      -> nodeID=/device-node-123, sourceKey=gps

Not allowed:
  /ae-device-123/lp-network-fast     -> nodeID=/device-node-123, sourceKey=network
  /ae-device-123/lp-network-accurate -> nodeID=/device-node-123, sourceKey=network

If different applications require different filtering or notification behaviour for the same source, they should create independent resources against the source-specific container or event container rather than creating additional source-controlling resources. Optionally the could be merged into to a single policy that includes configuration for per-application filtering or notification preferences, but this is FFS.

7.1.6.12.3 Correlation Between Policy, Location Content, and Events

Each location observation and derived event should include metadata that correlates it with the controlling . This correlation allows applications to determine which policy caused a location sample or event to be created, and it allows a CSE or MEC interworking function to distinguish independent source histories.

A source-specific location observation should include the following fields or equivalent metadata:

{
  "policyID": "/mn-cse-1/ae-device-123/lp-network",
  "nodeID": "/mn-cse-1/device-node-123",
  "locationContainerID": "/mn-cse-1/device-node-123/location/network",
  "eventContainerID": "/mn-cse-1/device-node-123/location/network/events",
  "sourceKey": "network",
  "source": "network",
  "provider": "MEC-013",
  "locationTargetID": "ue-or-device-external-id-123",
  "location": {
    "latitude": 40.123456,
    "longitude": -75.123456,
    "altitude": 132.5
  },
  "accuracy": {
    "horizontal": 50.0,
    "vertical": 25.0,
    "confidence": 0.90
  },
  "timestamp": "2026-06-29T14:30:00Z",
  "age": 3,
  "method": "network-based",
  "status": "current"
}

A device-provided GNSS/GPS sample can use the same representation while changing the source-specific values.

{
  "policyID": "/mn-cse-1/ae-device-123/lp-gps",
  "nodeID": "/mn-cse-1/device-node-123",
  "locationContainerID": "/mn-cse-1/device-node-123/location/gps",
  "eventContainerID": "/mn-cse-1/device-node-123/location/gps/events",
  "sourceKey": "gps",
  "source": "device",
  "provider": "GNSS",
  "locationTargetID": "/mn-cse-1/ae-device-123",
  "location": {
    "latitude": 40.123501,
    "longitude": -75.123490,
    "altitude": 130.8
  },
  "accuracy": {
    "horizontal": 4.2,
    "vertical": 8.0,
    "confidence": 0.95
  },
  "timestamp": "2026-06-29T14:30:01Z",
  "age": 1,
  "method": "gps",
  "status": "current"
}

A derived event should also include the policy identifier, source key, triggering content instance, and event container reference.

{
  "eventType": "GEOFENCE_ENTRY",
  "policyID": "/mn-cse-1/ae-device-123/lp-network",
  "nodeID": "/mn-cse-1/device-node-123",
  "sourceKey": "network",
  "source": "network",
  "zoneID": "warehouse-zone-A",
  "location": {
    "latitude": 40.123456,
    "longitude": -75.123456
  },
  "timestamp": "2026-06-29T14:32:00Z",
  "eventContainerID": "/mn-cse-1/device-node-123/location/network/events/geofenceEntry",
  "triggeringContentInstance": "/mn-cse-1/device-node-123/location/network/cin-789"
}
7.1.6.12.4 Solution 10.1: AE-Scoped Policy for Network-Provided Node Location

In this variant, the device AE, device owner, or authorized management application creates a network-based under the device . The policy references the associated and the node-scoped network location container. The CSE, MEC-IPE, or MEC-CSF interprets the policy and retrieves the current location from the MEC Location Service. The resulting location observation is stored in the node-scoped network location container.

This variant is suitable when:

  • the device does not have GNSS/GPS capability;
  • the device AE cannot reliably report location due to power, indoor coverage, or implementation constraints;
  • the location source should be controlled by the network or edge platform;
  • applications need a common network-derived estimate associated with the physical node.

Resource Tree

 /mn-cse-1

  ├─  /device-node-123
  │    ├─  /location
  │    │    └─  /network
  │    │         ├─ *
  │    │         │    └─ content: network location observation
  │    │         └─  /events
  │    │              ├─  /locationChange
  │    │              ├─  /geofenceEntry
  │    │              └─  /geofenceExit
  │    └─  /locationMetadata
  │
  ├─  /ae-device-123
  │    ├─ nodeLink -> /mn-cse-1/device-node-123
  │    └─  /lp-network
  │         ├─ sourceKey = network
  │         ├─ nodeID = /mn-cse-1/device-node-123
  │         ├─ locationTargetID = 
  │         ├─ locationInformationType = position fix
  │         ├─ locationUpdatePeriod = 0 or configured period
  │         ├─ retrieveLastKnownLocation = TRUE or FALSE
  │         ├─ locationContainerID = /mn-cse-1/device-node-123/location/network
  │         └─ eventContainerID = /mn-cse-1/device-node-123/location/network/events
  │
  ├─  /mec-ipe or  /mec-csf
  │    └─  /networkLocationSubscriptions
  │
  └─  /ae-app-consumer
       └─ subscribes to /mn-cse-1/device-node-123/location/network

Message Sequence Chart

@startuml "AE Policy Node Network Location"


autonumber

participant "oneM2M Consumer AE\n(IN-AE or MN-AE)" as APP
participant "Device AE\n(ADN-AE or MN-AE)" as DAE
participant "oneM2M CSE\n(IN-CSE or MN-CSE)" as CSE
participant "MEC Interworking Function\n(MEC-IPE or MEC-CSF)" as IWF
participant "MEC Location Service\n(ETSI GS MEC 013 API)" as LS

== Phase 1: Node association and AE-scoped policy setup ==

DAE -> CSE: CREATE  /ae-device-123\nnodeLink -> /device-node-123
CSE --> DAE: 201 Created

APP -> CSE: CREATE  under /ae-device-123/lp-network\nsourceKey = network\nnodeID = /device-node-123\nlocationTargetID = \nlocationContainerID = /device-node-123/location/network\neventContainerID = /device-node-123/location/network/events
CSE -> CSE: Validate AE-to-node association\nCheck uniqueness of (nodeID, sourceKey)\nCreate or bind node-scoped network container and events container
CSE --> APP: 201 Created\n(policy and container references)

== Phase 2: One-time network location retrieval ==

APP -> CSE: RETRIEVE /device-node-123/location/network/latest
CSE -> CSE: Resolve controlling policy\n/ae-device-123/lp-network
CSE -> IWF: Request current location\n(locationTargetID, accuracy, maxAge)
IWF -> LS: GET {apiRoot}/location/v3/queries/users\n?address=&requiredAccuracy=&maxAge=
LS --> IWF: 200 OK\n(UserInfo with locationInfo)
IWF -> IWF: Normalize MEC response\nMap to oneM2M location content
IWF --> CSE: Location observation\n(policyID=/ae-device-123/lp-network, sourceKey=network)
CSE -> CSE: CREATE  under\n/device-node-123/location/network
CSE --> APP: 200 OK\n(latest network location representation)

== Phase 3: Optional event-driven update ==

APP -> CSE: CREATE  on\n/device-node-123/location/network
CSE --> APP: 201 Created

CSE -> IWF: Establish MEC user location subscription\nusing /ae-device-123/lp-network
IWF -> LS: POST {apiRoot}/location/v3/subscriptions/users\n(callbackReference, address, criteria)
LS --> IWF: 201 Created\n(subscriptionId)

LS -> IWF: POST callbackReference\n(LocationUpdate notification)
IWF -> IWF: Normalize notification
IWF --> CSE: Network location update\n(policyID, sourceKey, location)
CSE -> CSE: CREATE  under\n/device-node-123/location/network
CSE -> CSE: Evaluate policy event criteria\nCreate event  under\n/device-node-123/location/network/events if triggered
CSE --> APP: NOTIFY\n(new network location or derived event)
IWF --> LS: 204 No Content

@enduml

Figure 7.1.6.12.4‑1: AE-Scoped LocationPolicy with Node-Scoped Network Location Content

Procedure

  1. The device AE registers to the CSE and is associated with the device .
  2. The consumer AE, device owner, or management application creates a network-based under the device AE.
  3. The policy identifies the associated node, the source key, the node-scoped location container, and the node-scoped event container.
  4. The CSE validates the AE-to-node association and the requester's access rights.
  5. The CSE checks that no other active policy exists for the same (nodeID, sourceKey) tuple.
  6. The CSE creates or identifies the node-scoped network location container and corresponding event containers.
  7. On a retrieval request to the latest network location, the CSE resolves the controlling AE-scoped policy.
  8. The MEC-facing function translates the policy parameters to the MEC Location API request format.
  9. The MEC Location Service returns the current network-provided location estimate.
  10. The MEC-facing function normalizes the MEC response and includes the policy correlation metadata.
  11. The CSE stores the observation as a under the node-scoped network location container.
  12. The CSE evaluates any event criteria defined by the policy and stores derived events under the node-scoped network event container.
  13. The CSE returns the latest location representation to the requesting AE and notifies authorized subscribers.

7.1.6.13 Solution 11: FlexContainer Resource tree model for ETSI MEC services

7.1.6.13.1 Introduction

This clause describes the resource tree structure for representing MEC services as oneM2M resources in the oneM2M resource tree located under . Each MEC service can be represented as a specific flexContainer specialization with its own set of procedures that reflect its capabilities and data models. This allows for a more granular and service-specific interaction model for oneM2M applications.

A resource carries a fixed set of specialization-specific custom attributes declared by its containerDefinition attribute, along with the oneM2M common attributes (resourceName, resourceID, creationTime, lastModifiedTime, expirationTime, labels ...). MEC service availability/state changes map naturally onto children, and liveness onto periodic UPDATEs.

Before a MEC service can be modelled, a dedicated flexContainer specialization has to be defined. A flexContainer specialization is a named template that fixes which custom attributes a flexContainer carries and how it is identified in the resource tree. In oneM2M, this template is bound to the resource through the mandatory containerDefinition (cnd) attribute, which holds a globally unique URN. The containerDefinition value is what makes a MEC service self-describing and, crucially, discoverable: an application does not need to know the resource name or location in advance, it simply filters the resource tree on the containerDefinition URN (and, optionally, on the labels attribute) to retrieve every MEC service of a given kind.

The flexContainer specialization also defines the short element name (the JSON/XML root key) used on the Mca reference point, and the set of child specializations used to model the complex, nested parts of the service.

Clause 7.1.6.13.2 describes the flexContainers used to represent the generic MEC Service api defined by ETSI GS MEC 011 [i.4]. Clause 7.6.13.3 shows the flexContainers for the Location Service API defined in ETSI GS MEC 013 [i.6]. Other MEC service APIs can be represented in a similar fashion.

7.1.6.13.2 flexContainer specializations for ETSI GS MEC 011

This clause explains how the attributes of the MEC service flexContainers are derived, for the ETSI GS MEC 011 [i.4] Service API. The ServiceInfo data type is mapped field-for-field onto oneM2M custom attributes, so that no information is lost when a service crosses the interworking boundary. Two modelling rules are applied:

  • Scalar fields of ServiceInfo (name, version, state, serializer, locality flags, liveness interval ...) become custom attributes of the root mec:mecSvc flexContainer specialization, each with a short name, a data type and a multiplicity;
  • Structured or repeatable fields (CategoryRef, TransportInfo, EndPointInfo, SecurityInfo) become nested child flexContainer specializations, preserving the original type hierarchy and allowing each sub-structure to be retrieved or updated independently.

The attributes that are owned by the MEC platform (instance id, state, transport details) are marked read-only (RO) over Mca: the IPE (or oneM2M CSF) is the single source of truth and updates them as the MEC service evolves; consuming AEs observe changes through subscriptions rather than by writing these attributes.

Table 7.1.6.13.2‑1 lists the DataPoints (scalar custom attributes) of the mec:mecSvc service flexContainer, in the oneM2M TS-0023 [i.22] format (R in R/W means read-only over Mca - the value is maintained by the IPE; Optional = true means the attribute may be absent). The short names of these custom attributes are listed in Table 7.6.13.2‑10.

Table 7.1.6.13.2‑1: DataPoints of [mec:mecSvc]

Name
Type
R/W
Optional
Unit
Documentation
serInstanceId
xs:string
R
true
Identifier of the service instance; ETSI GS MEC 011 [i.4] ServiceInfo.serInstanceId.
serName
xs:string
R
false
Service name; serName.
serVersion
xs:string
R
false
Service version; version.
serState
mec:enumServiceState
R
false
Service state; state (see Table 7.1.6.13.4‑1).
serSerializer
mec:enumSerializerType
R
false
Serialization format; serializer (see Table 7.1.6.13.4‑2).
scopeOfLocality
mec:enumLocalityType
R
true
Scope of locality; scopeOfLocality (see Table 7.1.6.13.4‑3).
consumedLocalOnly
xs:boolean
R
true
Service may be consumed only within the local MEC host; consumedLocalOnly.
isLocal
xs:boolean
R
true
Service is local to the MEC host; isLocal.
livenessInterval
xs:integer
R
true
s
Liveness refresh interval; livenessInterval.
transportId
xs:string
R
true
Identifier of the bound transport; transportId.

Table 7.1.6.13.2‑2 lists the child flexContainers (used for structured/complex types).

Table 7.1.6.13.2‑2: Child flexContainer specialiations of [mec:mecSvc]

Child resource name
Specialization containerDefinition
Mult.
Models (ETSI GS MEC 011)
Containment
category
org.etsi.mec.service.category
0..1
CategoryRef
under mec:mecSvc
transport
org.etsi.mec.service.transport
0..1
TransportInfo
under mec:mecSvc
transport/endpoint
org.etsi.mec.service.transport.endpoint
0..1
EndPointInfo
under transport
transport/security
org.etsi.mec.service.transport.security
0..1
SecurityInfo/OAuth2Info
under transport

All containment links are compositions: a child flexContainer cannot exist without its oneM2M parent, and it is created, updated and deleted by the IPE/CSF together with the parent [mec:mecSvc] resource. Every attribute is read-only (RO) over Mca for the same reason as the scalar attributes - the MEC platform, via the IPE, is the single source of truth. The following clauses expand each child into its own attribute table.

The [category] specialization - org.etsi.mec.service.category- models the ETSI GS MEC 011 [i.4] CategoryRef datatype. This specialization shows the service category that its parent MEC service belongs to, e.g. RNI, Location, BWM:

Table 7.1.6.13.2‑3: Attributes of the 'category' child flexContainer

Name
Type
R/W
Optional
Unit
Documentation
href
xs:anyURI
R
false
URI of the category resource; href.
id
xs:string
R
false
Category identifier; id.
name
xs:string
R
false
Category name; name.
version
xs:string
R
false
Category version; version.

The [transport] specialization - org.etsi.mec.service.transport - models the ETSI GS MEC 011 [i.4] TransportInfo datatype. This shows how the service is consumed at the wire level. Its two complex members, endpoint and security, are themselves child flexContainers (see tables 7.1.6.13.2‑5 and 7.1.6.13.2-6):

Table 7.1.6.13.2‑4: Attributes of the 'transport' child flexContainer

Name
Type
R/W
Optional
Unit
Documentation
id
xs:string
R
false
Transport identifier; TransportInfo.id.
name
xs:string
R
false
Transport name; name.
description
xs:string
R
true
Human-readable description; description.
type
mec:enumTransportType
R
false
Transport type; type (see Table 7.1.6.13.4‑4).
protocol
xs:string
R
false
Protocol used, e.g. HTTP; protocol.
version
xs:string
R
false
Protocol version; version.

The transport/endpoint specialization - org.etsi.mec.service.transport.endpoint - models the ETSI GS MEC 011 [i.4] EndPointInfo datatype. EndPointInfo is a choice: exactly one of the three attributes below is present in a given instance:

Table 7.1.6.13.2‑5: Attributes of the 'transport/endpoint' child flexContainer

Name
Type
R/W
Optional
Unit
Documentation
uris
list of xs:anyURI
R
true
Endpoint URIs; EndPointInfo.uris (choice).
addresses
list of {host: xs:string, port: xs:unsignedInt}
R
true
Host/port pairs; EndPointInfo.addresses (choice).
alternative
xs:string
R
true
Implementation-specific endpoint object; EndPointInfo.alternative (choice).

The transport/security specialization - org.etsi.mec.service.transport.security- models the ETSI GS MEC 011 [i.4] SecurityInfo datatype (at present only the OAuth2Info variant is defined by ETSI GS MEC 011):

Table 7.1.6.13.2‑6: Attributes of the 'transport/security' child flexContainer

Name
Type
R/W
Optional
Unit
Documentation
grantTypes
list of mec:enumGrantType
R
false
Supported OAuth2 grant types (1..4 values); oAuth2Info.grantTypes (see Table 7.1.6.13.4‑5).
tokenEndpoint
xs:anyURI
R
false
OAuth2 token endpoint; oAuth2Info.tokenEndpoint.

The [mec:mecSvc] specialization can have some further child resources, defined in oneM2M TS-0004 [[i.9]]. These are described in tables 7.1.6.13.2‑7, 7.1.6.13.2-8 and 7.1.6.13.2-9.

Table 7.1.6.13.2‑7: Other child resources of [mec:mecSvc]

Child
oneM2Mty
Mult.
Created by
ETSI GS MEC 011 [i.4] mechanism mirrored
Purpose
23
0..n
consuming AE
SerAvailabilityNotificationSubscription / ServiceAvailabilityNotification
AE is NOTIFYed on service state / availability change
liveness
3
0..1
IPE
individual service liveness resource
collection holding the heartbeat time-series
(in liveness)
4
0..n
IPE
ServiceLivenessInfo (PATCH every livenessInterval)
one immutable heartbeat sample

- service-availability and attribute-change notifications. A consuming AE creates a (ty=23) as a child of the mec:mecSvc node and points it at its own point of access; the IPE or CSF then translates oneM2M subscription semantics into the ETSI GS MEC 011 availability mechanism.

Table 7.1.6.13.2‑8 shows the attributes of the resource that are relevat to this model.

Table 7.1.6.13.2‑8: Attributes of the resource

Short name
Long name
Purpose in this model
nu
notificationURI
the AE's POA where the IPE delivers each NOTIFY
enc
eventNotificationCriteria
restricts notifications to the relevant changes, e.g. updates of sost (serState) / availability
net
notificationEventType
set to Update_of_Resource so a state transition triggers a NOTIFY
nct
notificationContentType
Modified Attributes (send only sost) or All Attributes (send the whole service node)
exc
expirationCounter
optional cap on the number of notifications before the subscription auto-deletes

Notification flow: AE ── CREATE → IPE (the IPE keeps/represents an ETSI GS MEC 011 [i.4] SerAvailabilityNotificationSubscription) → the MEC platform emits a ServiceAvailabilityNotification when the service's state changes → the IPE updates the sost attribute of the mec:mecSvc node → the resulting resource change makes the CSE generate a oneM2M NOTIFY to every matching nu. The AE thus receives MEC service-availability events through the standard oneM2M subscribe/notify machinery.

liveness - heartbeat / health. ETSI GS MEC 011 lets a producing service prove it is alive by refreshing a liveness resource every livenessInterval seconds. This is mapped to a liveness (ty=3) under the service node, into which the IPE writes one (ty=4) resource per heartbeat. The resource is configured so that only recent heartbeats are retained:

Table 7.1.6.13.2‑9: Configuration of the resource

Short name
Long name
Typical setting in this model
mni
maxNrOfInstances
small (e.g. 1–10) - only the latest heartbeats are of interest
mia
maxInstanceAge
a few multiples of sliv so stale samples are purged automatically
mbs
maxByteSize
bounded, since each heartbeat is a tiny JSON object

Each heartbeat carries the ETSI GS MEC 011 [i.4] ServiceLivenessInfo content (state, timeStamp and interval). The IPE writes a new instance every sliv (= livenessInterval) seconds; a consuming AE - or the IPE's own watchdog - treats the absence of a fresh heartbeat older than a small multiple of sliv as the service being down, exactly mirroring the ETSI GS MEC 011 [i.4] liveness semantics. An AE can also place a on the liveness container to be NOTIFYed on every new heartbeat (Create_of_Direct_Child_Resource) instead of reading the container.

Table 7.1.6.13.2‑10 shows the attribute short names - the abbreviations used on the Mca protocol bindings - for the attributes of mec:mecSvc and its child specializations:

Table 7.1.6.13.2‑10: Custom attribute short names

Attribute Name
Occurs in
Short Name
serInstanceId
mecSvc
siid
serName
mecSvc
snam
serVersion
mecSvc
svrs
serState
mecSvc
sost
serSerializer
mecSvc
sser
scopeOfLocality
mecSvc
sloc
consumedLocalOnly
mecSvc
sclo
isLocal
mecSvc
sisl
livenessInterval
mecSvc
sliv
transportId
mecSvc
stid
href
category
chrf
id
category
cid
name
category
cnam
version
category
cvrs
id
transport
tpid
name
transport
tpnm
description
transport
tpds
type
transport
tptp
protocol
transport
tppr
version
transport
tpvr
uris
endpoint
epur
addresses
endpoint
epad
alternative
endpoint
epal
grantTypes
security
segt
tokenEndpoint
security
sete
7.1.6.13.3 flexContainer specializations for ETSI GS MEC 013

The generic model of clause 7.1.6.13.2 is now specialised for a concrete service, the ETSI GS MEC 013 [i.6] Location Service. The Location Service is represented by a mec:mecSvc flexContainer whose category.cid = location; the location-specific data (UE positions, zones, access points) are modelled as dedicated child specializations under that service flexContainer.

Each MEC 013 data type is mapped to a flexContainer specialization following the same ModuleClass-to-specialization rules that oneM2M TS-0023 [i.22] applies to device models: every scalar field becomes a [customAttribute] (a DataPoint), and every structured field becomes a child [flexContainer]. Each specialization below is described with a oneM2M TS-0023 [i.22] DataPoints table and, where it contains structured members, a table showing its child containers. All attributes are read-only (R) over Mca because the IPE or CSF is the single source of truth.

  • UserInfo → mec:mecLocUser;
  • LocationInfo → mec:mecLocInfo;
  • velocity → mec:mecLocVel;
  • CivicAddress → mec:mecCivic;
  • ZoneInfo → mec:mecLocZone;
  • AccessPointInfo → mec:mecLocAp.

Table 7.1.6.13.3‑1: flexContainer specializations for the ETSI GS MEC 013 Location Service

Specialization
Root element (short name)
Child specializations
MEC 013 [i.6] data type
Description
locationService
mec:mecSvc
userLocation, zoneInfo
ServiceInfo
Root node representing the ETSI GS MEC 013 i.6(#_ref_i.6) Location Service instance; carries the ETSI GS MEC 011 i.4(#_ref_i.4) service metadata and anchors the whole location data tree.
userLocation
mec:mecLocUser
locationInfo, civicAddress
UserInfo
Position record of one UE/user; holds the geographic and civic sub-structures.
locationInfo
mec:mecLocInfo
velocity
LocationInfo
Geographical position (latitude/longitude/altitude, accuracy, shape, timestamp); optionally carries a velocity child.
velocity
mec:mecLocVel
velocity
Movement of the located entity (bearing, horizontal/vertical speed, uncertainty).
civicAddress
mec:mecCivic
CivicAddress
Postal/civic address of the user (country, subdivisions, street,
postal code...).
zoneInfo
mec:mecLocZone
accessPointInfo
ZoneInfo
A location zone with its aggregate counters (users, access points).
accessPointInfo
mec:mecLocAp
locationInfo
AccessPointInfo
A radio access point within a zone (connection type, operational status, user count); optionally carries a locationInfo child.

The Location Service is exposed by the IPE as a service flexContainer (root element mec:mecSvc, cnd = org.etsi.mec.service) whose category.cid attribute is set to location. A consumer discovers the Location Service exposed by the IPE or CSF with a single discovery request filtering on the service cnd URN and the Location category label.

The location-specific data is then carried by a family of child specializations, each with its own cnd URN under the org.etsi.mec.location branch: the position of a UE (UserInfo), the geographic coordinates (LocationInfo), the velocity, the civic address, the zones and the access points.

These Location specializations are summarised in Table 7.1.6.13.3‑1. This table describes the family of Location specialization flexContainers as a whole - how each one is identified, which ETSI GS MEC 013 [i.6] data type it models, and which child specializations it aggregates.

Table 7.1.6.13.3‑2 provides additional information about the specializations. The locationService may conatain 0..n] userLocation specializations and 0:n zoneInfo specialixations.

Tables 7.1.6.13.3‑3 to 7.1.6.13.3-11 describe the datapoints of the specializations and, where applicable, list their child resources.

Table 7.1.6.13.3‑2: Specialization type short names and container definitions (MEC Location)

Specialization name
containerDefinition (cnd)
Short Name
userLocation
org.etsi.mec.location.user
mecLocUser
locationInfo
org.etsi.mec.location.locationInfo
mecLocInfo
velocity
org.etsi.mec.location.velocity
mecLocVel
civicAddress
org.etsi.mec.location.civicAddress
mecCivic
zoneInfo
org.etsi.mec.location.zone
mecLocZone
accessPointInfo
org.etsi.mec.location.accessPoint
mecLocAp

userLocation (mec:mecLocUser) - models the ETSI GS MEC 013 [i.6] UserInfo datatype (the located position of one UE/user).

Table 7.1.6.13.3‑3: DataPoints of [userLocation]

Name
Type
R/W
Optional
Unit
Documentation
address
xs:anyURI
R
false
Address of the user, e.g. an acr: or tel: URI.
accessPointId
xs:string
R
true
Identifier of the access point currently serving the user.
zoneId
xs:string
R
true
Identifier of the zone in which the user is located.
timeStamp
m2m:timestamp
R
true
Time at which the location was determined.
resourceURL
xs:anyURI
R
true
Self-referring URL of the ETSI GS MEC 013 [i.6] resource.

Table 7.1.6.13.3‑4: Child resources of [userLocation]

Name
Specialization names
Multiplicity
Description
locationInfo
locationInfo (mecLocInfo)
0..1
Geographical position of the user.
civicInfo
civicAddress (mecCivic)
0..1
Civic (postal) address of the user.

locationInfo (mec:mecLocInfo) - models the ETSI GS MEC 013 [i.6] LocationInfo datatype (a geographical position, 3GPP GAD-based).

Table 7.1.6.13.3‑5: DataPoints of [locationInfo]

Name
Type
R/W
Optional
Unit
Documentation
latitude
list of xs:float
R
false
deg
Latitude(s), WGS-84; a list of points expresses a polygon.
longitude
list of xs:float
R
false
deg
Longitude(s), WGS-84.
altitude
xs:float
R
true
m
Altitude above sea level.
accuracy
xs:unsignedInt
R
true
m
Horizontal accuracy (radius of uncertainty).
accuracyAltitude
xs:unsignedInt
R
true
m
Altitude accuracy.
accuracySemiMinor
xs:unsignedInt
R
true
m
Semi-minor axis accuracy of the uncertainty ellipse.
orientationMajorAxis
xs:unsignedInt
R
true
deg
Orientation of the major axis.
confidence
xs:unsignedInt
R
true
pct
Confidence level of the location estimate.
shape
mec:enumLocationShape
R
false
Geometric shape of the location (see Table 7.1.6.13.4‑6).
timeStamp
m2m:timestamp
R
true
Time the position was determined.

Table 7.1.6.13.3‑6: Child resources of [locationInfo]

Name
Specialization names
Multiplicity
Description
velocity
velocity (mecLocVel)
0..1
Velocity of the located entity.

velocity (mec:mecLocVel) - models the ETSI GS MEC 013 [i.6] LocationInfo.velocity datatype.

Table 7.1.6.13.3‑7: DataPoints of [velocity]

Name
Type
R/W
Optional
Unit
Documentation
bearing
xs:unsignedInt
R
false
deg
Direction of movement, 0..360.
horizontalSpeed
xs:unsignedInt
R
false
km/h
Horizontal component of speed.
verticalSpeed
xs:integer
R
true
km/h
Vertical component of speed.
uncertainty
xs:unsignedInt
R
true
km/h
Uncertainty of the speed estimate.
velocityType
mec:enumVelocityType
R
false
Velocity descriptor (see Table 7.1.6.13.4‑7).

civicAddress (mec:mecCivic) - models the ETSI GS MEC 013 [i.6] CivicAddress datatype (subset of IETF RFC 4776 fields used by ETSI GS MEC 013).

Table 7.1.6.13.3‑8: DataPoints of [civicAddress]

Name
Type
R/W
Optional
Unit
Documentation
country
xs:string
R
false
ISO 3166-1 country code.
a1
xs:string
R
true
National subdivision (state, region).
a2
xs:string
R
true
County, parish.
a3
xs:string
R
true
City, township.
a4
xs:string
R
true
City division, borough.
a5
xs:string
R
true
Neighbourhood, block.
a6
xs:string
R
true
Street.
houseNumber
xs:string
R
true
House number (HNO).
street
xs:string
R
true
Street suffix or name (STS).
postalCode
xs:string
R
true
Postal / ZIP code (PC).
building
xs:string
R
true
Building (BLD).
floor
xs:string
R
true
Floor (FLR).
room
xs:string
R
true
Room (ROOM).

zoneInfo (mec:mecLocZone) - models the ETSI GS MEC 013 [i.6] ZoneInfo datatype.

Table 7.1.6.13.3‑9: DataPoints of [zoneInfo]

Name
Type
R/W
Optional
Unit
Documentation
zoneId
xs:string
R
false
Identifier of the zone.
numberOfAccessPoints
xs:unsignedInt
R
true
Total number of access points in the zone.
numberOfUnserviceableAccessPoints
xs:unsignedInt
R
true
Number of unserviceable access points.
numberOfUsers
xs:unsignedInt
R
true
Number of users currently in the zone.
resourceURL
xs:anyURI
R
true
Self-referring URL.

Table 7.1.6.13.3‑10: Child resources of [zoneInfo]

Name
Specialization names
Multiplicity
Description
accessPointInfo
accessPointInfo (mecLocAp)
0..n
Radio access points within the zone

accessPointInfo (mec:mecLocAp) - models the ETSI GS MEC 013 [i.6] AccessPointInfo datatype.

Table 7.1.6.13.3‑11: DataPoints of [accessPointInfo]

Name
Type
R/W
Optional
Unit
Documentation
accessPointId
xs:string
R
false
Identifier of the access point.
connectionType
mec:enumConnectionType
R
false
Radio connection type (see Table 7.1.6.13.4‑8).
operationStatus
mec:enumOperationStatus
R
false
Operational status (see Table 7.1.6.13.4‑9).
numberOfUsers
xs:unsignedInt
R
true
Number of users on the access point.
interestRealm
xs:string
R
true
Interest realm of the access point.
timeZone
m2m:timestamp
R
true
Time zone of the access point.
resourceURL
xs:anyURI
R
true
Self-referring URL.

Table 7.1.6.13.3‑12: Child resources of [accessPointInfo]

Name
Specialization names
Multiplicity
Description
locationInfo
locationInfo (mecLocInfo)
0..1
Geographical position of the access point.

Table 7.1.6.13.3‑13: Resource attribute short names (MEC Location custom attributes)

Attribute Name
Occurs in
Short Name
address
userLocation
usadr
accessPointId
userLocation
usapi
zoneId
userLocation
uszid
timeStamp
userLocation
ustms
resourceURL
userLocation
usurl
latitude
locationInfo
lilat
longitude
locationInfo
lilng
altitude
locationInfo
lialt
accuracy
locationInfo
liacc
accuracyAltitude
locationInfo
liala
accuracySemiMinor
locationInfo
lismn
orientationMajorAxis
locationInfo
lioma
confidence
locationInfo
licnf
shape
locationInfo
lishp
timeStamp
locationInfo
litms
bearing
velocity
vlbrg
horizontalSpeed
velocity
vlhsp
verticalSpeed
velocity
vlvsp
uncertainty
velocity
vlunc
velocityType
velocity
vltyp
country
civicAddress
cvcnt
a1
civicAddress
cva01
a2
civicAddress
cva02
a3
civicAddress
cva03
a4
civicAddress
cva04
a5
civicAddress
cva05
a6
civicAddress
cva06
houseNumber
civicAddress
cvhno
street
civicAddress
cvsts
postalCode
civicAddress
cvpsc
building
civicAddress
cvbld
floor
civicAddress
cvflr
room
civicAddress
cvrom
zoneId
zoneInfo
znzid
numberOfAccessPoints
zoneInfo
znnap
numberOfUnserviceableAccessPoints
zoneInfo
znnua
numberOfUsers
zoneInfo
znnus
resourceURL
zoneInfo
znurl
accessPointId
accessPointInfo
apaid
connectionType
accessPointInfo
apcnt
operationStatus
accessPointInfo
apops
numberOfUsers
accessPointInfo
apnus
interestRealm
accessPointInfo
apirm
timeZone
accessPointInfo
aptmz
resourceURL
accessPointInfo
apurl

Dynamic location events are handled through oneM2M resources: when an AE subscribes to a user, zone or access-point resource, the IPE creates the matching ETSI GS MEC 013 subscription (UserTracking, ZonalPresence, ZonalTraffic, ZoneStatus, Distance, Circle/geofence or Periodic) with itself as the callback, and converts each incoming MEC notification into a oneM2M NOTIFY toward the subscriber.

7.1.6.13.4 Enumeration datatypes

The enumerated custom attributes used in clauses 7.1.6.13.2 and 7.1.6.13.4 are defined here as named enumeration datatypes, following the oneM2M TS-0023 [i.22] convention of an integer value with an interpretation (oneM2M TS-0023 [i.22] clause 5.6). These enumeration types are to be defined in a oneM2M namespace, the present document uses the mec: prefix to refer to this namespace. The interpretations correspond to the values defined by ETSI GS MEC 011 [i.4], ETSI GS MEC 012 [i.5] and ETSI GS MEC 013 [i.6]. The value 0 is reserved.

Table 7.1.6.13.4‑1: Interpretation of mec:enumServiceState

Value
Interpretation
1
ACTIVE
2
INACTIVE
3
SUSPENDED

Table 7.1.6.13.4‑2: Interpretation of mec:enumSerializerType

Value
Interpretation
1
JSON
2
XML
3
PROTOBUF3

Table 7.1.6.13.4‑3: Interpretation of mec:enumLocalityType

Value
Interpretation
1
MEC_SYSTEM
2
MEC_HOST
3
NFVI_POP
4
ZONE
5
ZONE_GROUP
6
NFVI_NODE

Table 7.1.6.13.4‑4: Interpretation of mec:enumTransportType

Value
Interpretation
1
REST_HTTP
2
MB_TOPIC_BASED
3
MB_ROUTING
4
MB_PUBSUB
5
RPC
6
RPC_STREAMING
7
WEBSOCKET

Table 7.1.6.13.4‑5: Interpretation of mec:enumGrantType

Value
Interpretation
1
OAUTH2_AUTHORIZATION_CODE
2
OAUTH2_IMPLICIT_GRANT
3
OAUTH2_RESOURCE_OWNER
4
OAUTH2_CLIENT_CREDENTIALS

Table 7.1.6.13.4‑6: Interpretation of mec:enumLocationShape (per 3GPP TS 23.032 GAD shapes, as used by ETSI GS MEC 013 [i.6])

Value
Interpretation
1
ELLIPSOID_ARC
2
ELLIPSOID_POINT
3
ELLIPSOID_POINT_ALTITUDE
4
ELLIPSOID_POINT_ALTITUDE_UNCERT_ELLIPSOID
5
ELLIPSOID_POINT_UNCERT_CIRCLE
6
ELLIPSOID_POINT_UNCERT_ELLIPSE
7
POLYGON

Table 7.1.6.13.4‑7: Interpretation of mec:enumVelocityType

Value
Interpretation
1
HORIZONTAL
2
HORIZONTAL_VERTICAL
3
HORIZONTAL_UNCERTAINTY
4
HORIZONTAL_VERTICAL_UNCERTAINTY

Table 7.1.6.13.4‑8: Interpretation of mec:enumConnectionType

Value
Interpretation
1
Femto
2
LTE-femto
3
Smallcell
4
LTE-smallcell
5
Wifi
6
Pico
7
Micro
8
Macro
9
Wimax
10
Unknown

Table 7.1.6.13.4‑9: Interpretation of mec:enumOperationStatus

Value
Interpretation
1
Serviceable
2
Unserviceable
3
Unknown

Table 7.1.6.13.4‑10: Interpretation of mec:enumAssociateIdType (per ETSI GS MEC 012 [i.5])

Value
Interpretation
1
UE_IPv4_ADDRESS
2
UE_IPV6_ADDRESS
3
NATED_IP_ADDRESS
4
GTP_TEID

Table 7.1.6.13.4‑11: Interpretation of mec:enumHoStatus (per ETSI GS MEC 012 [i.5])

Value
Interpretation
1
IN_PREPARATION
2
IN_EXECUTION
3
COMPLETED
4
REJECTED
5
CANCELLED
7.1.6.13.5 Call flow example: distance query using mec:mecLocationService flexContainer instances

This clause illustrates how a oneM2M application AE uses the [mecLocationService] to obtain the current distance between two locations. The two locations are already represented as [locUser] flexContainer instances (each with a child [locInfo]) under the [mecLocationService] flexContainer specialization. The device issues a single RETRIEVE (GET) on [mecLocationService]. The hosting CSE and the MEC-IPE resolve the two instance URIs, map the stored UE addresses onto ETSI GS MEC 013 [i.6] GET /location/v3/queries/distance, and return the result as a new child of a [distance] flexContainer.

The example uses two UE locations (locUser_0 and locUser_1). The same procedure applies when the second argument is a geographic coordinate taken from a [locInfo] instance rather than a second UE address; the MEC-IPE then invokes /queries/distance with one address and a latitude/longitude pair.

The resource tree used by the call flow is:

 /in-cse-1/mec-ipe
  └─ [locationServiceDevice]
       ├─ [serviceInfo]
       └─ [mecLocationService]
            ├─ [locUser_0]                 address = acr:ue-A
            │    └─ [locInfo_0]            last known latitude, longitude
            ├─ [locUser_1]                 address = acr:ue-B
            │    └─ [locInfo_1]            last known latitude, longitude
            └─ [distance]                  enableFlexContainerInstance = TRUE
                 ├─ [flexContainerInstance_n]
                 └─  /la

and it retrieves every UE location record across the tree by filtering on the dedicated Location cnd URN:

Figure 7.1.6.13.5-1: Distance query using mec:mecLocationService flexContainer instances
Figure 7.1.6.13.5‑1: Distance query using mec:mecLocationService flexContainer instances

Figure 7.1.6.13.5‑1: Distance query using mec:mecLocationService flexContainer instances

Detailed Step Procedure:

Step 1: Device AE RETRIEVE on [mecLocationService]

The oneM2M application AE sends a RETRIEVE request targeting the [mecLocationService] child of the Location Service Device hosted under the MEC-IPE AE. The request identifies the two location flexContainer instances whose distance is required:

  • locationA is set to the resource identifier of [locUser_0] (or of its child [locInfo_0] when the first point is a stored coordinate).
  • locationB is set to the resource identifier of [locUser_1] (or of its child [locInfo_1]).

This RETRIEVE is a specialized procedure of the [mecLocationService] resource. It does not return the resource representation itself; it triggers a live distance computation and returns the resulting [distance] .

Step 2: Resolve the [mecLocationService] specialization

The hosting CSE locates the [mecLocationService] flexContainer (containerDefinition corresponding to the Location Service) under the [locationServiceDevice] and accepts the request.

Step 3: RETRIEVE the two location flexContainer instances

The CSE retrieves [locUser_0] and [locUser_1], including child resources, in order to obtain:

  • the MEC UE identifier from the address DataPoint of each [locUser] instance;
  • optionally, the last-known coordinates from each child [locInfo] instance (used when the second point is a geographic location rather than a UE).

The stored [locInfo] coordinates are not used as the live positions for a two-UE query. The live distance is computed by the MEC Location Service from the current network-provided locations of the two UEs.

Step 4: Request current distance from the MEC Location Service

The CSE forwards the two UE addresses to the MEC-IPE, which issues the ETSI GS MEC 013 [i.6] query:

  • HTTP Method: GET
  • URI: {apiRoot}/location/v3/queries/distance?address=&address=

For the alternative UE-to-coordinate case the URI is {apiRoot}/location/v3/queries/distance?address=&latitude=&longitude=, with latitude and longitude taken from [locInfo_1].

Step 5: MEC returns TerminalDistance

The MEC Location Service computes the current distance between the two terminals (or between the terminal and the given coordinate) and returns 200 OK with a TerminalDistance payload containing distance, accuracy and timeStamp.

Step 6: CREATE a [distance] flexContainerInstance

The MEC-IPE maps the TerminalDistance fields onto the [distance] flexContainer custom attributes and creates a new child of [distance]:

  • locationA, locationB: resource identifiers of the two input flexContainer instances;
  • distance: value returned by MEC, in metres;
  • accuracy: uncertainty returned by MEC, in metres;
  • dataGenerationTime: time at which the result was produced.

The virtual child of [distance] then points at this instance.

Step 7: Response to the device AE

The CSE returns 200 OK to the device AE with the representation of the newly created [distance] . A later RETRIEVE of [distance]/la returns that stored result without repeating the MEC query. A new RETRIEVE of [mecLocationService] with locationA and locationB triggers another live ETSI GS MEC 013 [i.6] query and another .

Example representation of the created flexContainerInstance:

{
  "m2m:fci": {
    "rn": "fci_1",
    "locationA": "/in-cse-1/mec-ipe/locationServiceDevice/mecLocationService/locUser_0",
    "locationB": "/in-cse-1/mec-ipe/locationServiceDevice/mecLocationService/locUser_1",
    "distance": 142.6,
    "accuracy": 15,
    "dgt": "2026-08-17T08:42:00Z"
  }
}

This is the key advantage of basing the model on registered specializations rather than on free-form containers: the Location data becomes queryable with native oneM2M discovery and access control can be applied uniformly to all resources sharing the same cnd (for instance, a single governing every org.etsi.mec.location.user resource to protect UE privacy).

7.2 Handover of IoT devices to oneM2M/MEC platforms

7.2.1 Handover mechanisms

7.2.1.0 Introduction

This clause describes handover mechanisms for IoT devices operating across oneM2M CSEs hosted on ETSI MEC platforms, with a focus on service-layer continuity during mobility, topology changes, or platform re-selection events.

In the target operational model, an IoT device is initially registered with a source MN-CSE hosted on a MEC platform. Upon a mobility or orchestration-triggered event, the device's service context is transitioned to a target MN-CSE hosted on a different MEC platform. This transition includes the migration or re-establishment of relevant oneM2M resources - such as AE registrations, subscriptions, and associated data - so that application services remain uninterrupted.

Figure 7.2.1.0-1: oneM2M-MEC Service-Layer Handover with IN-CSE Coordination
Figure 7.2.1.0‑1: oneM2M-MEC Service-Layer Handover with IN-CSE Coordination

Figure 7.2.1.0‑1: oneM2M-MEC Service-Layer Handover with IN-CSE Coordination

Within oneM2M/MEC integrated environments, handover extends beyond radio or access mobility to encompass dynamic relocation of service-layer entities and contexts, including AEs and MN-CSE registrations, across MEC platforms, access networks, and cloud domains. This enables adaptive resource placement and consistent service behaviour across heterogeneous access technologies (e.g. cellular, Wi-Fi, BLE, DECT-NR+).

The primary objectives of handover in such environments include:

  • Service Continuity: Preserving active service interactions and data flows during mobility or platform transitions.
  • Context Preservation: Maintaining oneM2M resource state (e.g. registrations, containers, subscriptions) across MN-CSE boundaries.
  • Performance Optimization: Selecting target MEC nodes or MN-CSEs to minimize latency and optimize application performance.
  • Load and Resource Optimization: Dynamically redistributing devices or AEs across CSEs or MEC hosts.
  • Policy and Energy Awareness: Supporting QoS, energy, and policy constraints via CMDH and orchestration frameworks.
  • Autonomous and Assisted Operation: Enabling both device-initiated and network-assisted handover workflows.

The following definitions are used in this clause:

  • Registration Handover: The process of transferring an AE's registration from a source MN-CSE to a target MN-CSE, including the migration or re-establishment of associated resources (containers, subscriptions, etc.) to maintain service continuity.
  • Context Transfer: The migration of application state, session information, and resource data associated with an AE during handover to ensure seamless service operation post-transition; e.g. continuity of subscriptions/queued downlink/state across the change.
  • Endpoint Steering: The redirection of application traffic flows to the new MN-CSE or MEC host post-handover, ensuring that data paths are updated to reflect the device's new point of attachment.
  • Application Relocation: The process of moving an application instance and its associated user context from one MEC host to another to maintain service continuity during UE mobility.

This clause focuses on Registration/Context Handover for oneM2M AEs; ETSI GS MEC 021 [i.10] relocation is optional and orthogonal.

By combining MEC service exposure APIs (e.g. location, radio network information, orchestration) with oneM2M service-layer capabilities (e.g. AE, remote CSE, CMDH), multiple complementary handover strategies can be supported. These range from fully network-assisted approaches to device-driven mechanisms, as summarized in the following clauses.

7.2.1.1 Core Network Initiated Application Relocation (MEC-assisted)

ETSI GS MEC 021 [i.10] specifies the Application Mobility Service (AMS), which supports relocation of MEC application instances and associated user context across MEC hosts to preserve service continuity during UE mobility.

In the MEC-assisted mode (focus of this clause), the MEC system is responsible for detecting mobility conditions and initiating relocation. The decision is typically driven by event notifications and telemetry correlated to UE identifiers, including:

  1. UE mobility / cell change / handover events
  2. UE departure from a serving area associated with the current MEC host
  3. predicted or observed QoS degradation (e.g. latency/throughput thresholds) relative to application requirements.

To detect such conditions, AMS commonly integrates with the Radio Network Information Service (RNIS, ETSI GS MEC 012 [i.5]) through queries and/or subscriptions for UE-specific and radio-node events. Optionally, the Location Service (ETSI GS MEC 013 [i.6]) may provide supplementary location data to refine decisions for geo-sensitive applications. Application-specific mobility preferences and constraints may be expressed during registration (e.g. via AppMobilityServiceLevel and/or information derived from the application descriptor), allowing AMS to map detected events to the affected application instance(s).

When conditions are met, AMS notifies the application instance via subscription-based MobilityProcedureNotification messages (e.g. INTERHOST_MOVEOUT_TRIGGERED and INTERHOST_MOVEOUT_COMPLETED) and provides the target endpoint information needed to proceed. AMS supports structured sub-procedures (enablement, initiation, preparation, execution, traffic path update, completion). While AMS defines the coordination and notification mechanisms, the exact application context/state content and its transfer format remain application-specific.

Figure 7.2.1.1-1: MEC System-Initiated Application Relocation (MEC-assisted)
Figure 7.2.1.1‑1: MEC System-Initiated Application Relocation (MEC-assisted)

Figure 7.2.1.1‑1: MEC System-Initiated Application Relocation (MEC-assisted)

Key oneM2M/MEC Components:

  • MEC Application Mobility API (ETSI MEC 021 [i.10])
  • MEC RNIS API (ETSI GS MEC 012 [i.5])
  • MEC Location API (ETSI GS MEC 013 [i.6])
  • MEC Use case and Requirements (ETSI GS MEC 002)
  • MEC Framework and Reference Architecture (ETSI GS MEC 003 [i.7])
  • oneM2M trigger, remoteCSE and AE re-registration procedure

7.2.1.2 Signal-Quality-Triggered Handover (Edge-Assisted)

A MEC application or edge AE may monitor radio conditions such as RSRP or SINR using the MEC Radio Network Information Service (ETSI GS MEC 012 [i.5]) or vendor-specific telemetry. When degradation is detected, application-specific logic may notify a oneM2M orchestrator AE or IN-CSE. Based on local policies, the orchestrator may decide to redirect the application or re-register the AE with another MN-CSE. Such behaviour is implementation-specific and does not provide standardized application context transfer or session continuity.

Figure 7.2.1.2-1: Signal-Quality-Triggered Handover (Edge-Assisted)
Figure 7.2.1.2‑1: Signal-Quality-Triggered Handover (Edge-Assisted)

Figure 7.2.1.2‑1: Signal-Quality-Triggered Handover (Edge-Assisted)

Key oneM2M/MEC Components:

  • MEC RNIS API (ETSI GS MEC 012 [i.5])
  • oneM2M flexContainer or mgmtObj schema to represent and cache MEC platform utilization metrics as a oneM2M resource, enabling policy evaluation against CMDH thresholds.
  • oneM2M AE re-registration triggered by policy

7.2.1.3 Load-Balancing-Based Handover (Orchestrator-Driven)

The MEC Orchestrator (MEO) collects utilization data from multiple MEC platforms (CPU, memory, radio load). Using MEC 010-02 Orchestration API, it informs the oneM2M IN-CSE Orchestration AE. The AE decides to migrate certain devices or AEs to other MN-CSEs to balance processing or connectivity load. The migration involves updating the remoteCSE and AE resources.

Figure 7.2.1.3-1: Load-Balancing-Based Handover (Orchestrator-Driven)
Figure 7.2.1.3‑1: Load-Balancing-Based Handover (Orchestrator-Driven)

Figure 7.2.1.3‑1: Load-Balancing-Based Handover (Orchestrator-Driven)

Key oneM2M/MEC Components:

  • MEC Application lifecycle, rules and requirements management (ETSI GS MEC 010-2)
  • MEC RNIS API (ETSI GS MEC 012)
  • oneM2M Orchestration AE managing remoteCSE mappings

7.2.1.4 Device-Initiated Handover (Autonomous Device)

A oneM2M AE running on the UE monitors signal strength, latency, or application performance using MEC Radio Network Information Service (RNIS, MEC 012). Based on predefined policies or ML inference, it selects a new access point and re-registers with another MN-CSE directly, reporting the change to the IN-CSE.

Figure 7.2.1.4-1: Device-Initiated Handover (Autonomous Device)
Figure 7.2.1.4‑1: Device-Initiated Handover (Autonomous Device)

Figure 7.2.1.4‑1: Device-Initiated Handover (Autonomous Device)

Key oneM2M/MEC Components:

  • MEC RNIS API (ETSI GS MEC 012 [i.5])
  • oneM2M AE with embedded policy or ML model
  • Local mgmtCmd or flexContainer for decision logic

7.2.1.5 Policy-Driven Handover (CMDH Integration)

The oneM2M Common Device Management and Handling (CMDH) capability defines policy rules (mgmtObj, policySet) for QoS, power, and network selection. The MEC Orchestrator evaluates policies across platforms and triggers device migration accordingly.

Figure 7.2.1.5-1: Policy-Driven Handover (CMDH Integration)
Figure 7.2.1.5‑1: Policy-Driven Handover (CMDH Integration)

Figure 7.2.1.5‑1: Policy-Driven Handover (CMDH Integration)

Key oneM2M/MEC Components:

  • oneM2M CMDH mgmtObj for network policy
  • MEC Application lifecycle, rules and requirements management (ETSI GS MEC 010-2)
  • Policy synchronization via IN-CSE

7.2.2 Feature Gap Analysis

7.2.2.0 Introduction

oneM2M systems are increasingly deployed in distributed environments where Application Entities (AEs) interact with multiple MN-CSEs across edge and core domains. In such environments, changes in execution context may occur due to user or device mobility, service relocation, operational policy, or infrastructure dynamics. Mobility events - such as a device moving between coverage areas - may result in a transition of the serving MN-CSE for an AE while the application itself remains logically active within the same oneM2M system.

From a mobility perspective, context handover reflects a change in the serving edge environment rather than a change in application intent or identity. While external systems, such as MEC platforms, may detect and signal mobility-related context changes (e.g. changes in location, serving zone, or execution host), current oneM2M specifications primarily model registration, lifecycle, and resource management as static relationships bound to a single serving CSE. The specifications do not explicitly address how mobility-driven changes in serving context should be represented within the oneM2M system.

As a result, mobility-induced context handover introduces ambiguity in how oneM2M systems are expected to manage AE identity continuity, resource state, request routing, and service interactions across MN-CSE boundaries. Without standardized semantics linking mobility events to oneM2M lifecycle behaviour, implementations rely on external orchestration or application-specific logic to respond to context changes, leading to inconsistent behaviour across deployments.

This lack of explicit mobility-aware context handover support limits the ability of oneM2M systems to align with edge computing environments where mobility, proximity, and dynamic service placement are fundamental. A clear articulation of the problem is therefore required to understand how mobility-related context changes should relate to oneM2M lifecycle concepts, resource relationships, and system behaviour, independent of specific MEC APIs or orchestration mechanisms. These considerations are explored in the following subsections.

7.2.2.1 Absence of Mobility-Aware AE Registration Semantics

Gap boundary: This clause focuses on AE identity and lifecycle continuity semantics during MN-CSE change; detailed state/context preservation is covered in clause 7.2.2.2.

In a core-network-initiated, MEC-assisted handover scenario, the network detects UE mobility events and redirects service anchoring to a different MN-CSE within the MEC domain.

When mobility occurs, current implementations rely on:

  • Mobility notification of UE located in MEC managed zone
  • Deregistration of the AE from the source MN-CSE
  • Registration of a new AE instance at the target MN-CSE
Figure 7.2.2.1-1: Mobility-Aware AE Registration Semantics
Figure 7.2.2.1‑1: Mobility-Aware AE Registration Semantics

Figure 7.2.2.1‑1: Mobility-Aware AE Registration Semantics

The oneM2M specifications do not define registration semantics that account for UE mobility across MN-CSE instances. There is no standardized distinction between:

  • Permanent termination of an AE, and
  • A change in the AE serving the MN-CSE due to mobility.

Consequently, an AE cannot be treated as a logically continuous entity when its point of attachment changes within the oneM2M system. As a result:

  • Resource states associated with the AE is not preserved across mobility events.
  • Identity continuity of the AE across MN-CSE boundaries is not explicitly supported.
  • Application behaviour during mobility is dependent on implementation-specific handling rather than standardized semantics.

This gap complicates the development of mobility-aware devices and services that rely on consistent AE identity and state across MN-CSE instances. A potential goal is to preserve the AE-ID.

Possible Extensions to Related oneM2M Elements

  • AE registration and deregistration procedures have 'CAE' and 'SAE'.
  • remoteCSE federation mechanisms to select the target CSE, including the descendant list of the CSEs
  • triggerRequest is currently device-targeted (e.g. enable, wakeup, SOTA/FOTA, reboot), while mobility handover also needs AE-targeted commands (e.g. re-registration, update). This gap could be addressed by extending triggerRequest (or SDT action) with explicit AE-targeting semantics, or by defining a new AETriggerRequest resource.

These mechanisms do not address mobility-related changes in serving MN-CSE context.

7.2.2.2 Lack of Defined Context Continuity During Context Handover

Gap boundary: This clause focuses on continuity of data/state/associations across the handover interval; serving-MN-CSE resolution for downlink is covered in clause 7.2.2.4.

In distributed oneM2M systems, an Application Entity (AE) may transition between MN-CSEs as part of a registration handover, without implying termination of the application itself.

Current oneM2M specifications define registration as a local relationship between an AE and a specific serving CSE. Registration-related information - such as resource identifiers, subscriptions, and access control context - is maintained independently at each MN-CSE and is removed when the AE is deregistered.

Figure 7.2.2.2-1: Context Continuity During Context Handover
Figure 7.2.2.2‑1: Context Continuity During Context Handover

Figure 7.2.2.2‑1: Context Continuity During Context Handover

The specifications do not describe how state context is handled when an AE changes its serving MN-CSE. There is no normative definition of how identity, state, or associations established at one MN-CSE relate to subsequent registration at another MN-CSE within the same system.

As a consequence, data produced or exchanged during the handover interval may be lost or become unobservable due to the absence of a defined serving MN-CSE and associated registration context. This limits the ability of oneM2M systems to provide seamless service continuity and state persistence across MN-CSE boundaries during mobility events.

Possible Extensions to Related oneM2M Elements

  • AE
  • container and contentInstance (and other data sharing resources)
  • subscription
  • accessControlPolicy
  • group
  • CMDH

7.2.2.3 Resource Announcement Does Not Address Context Handover Semantics

Gap boundary: This clause focuses on announcement behaviour under handover and does not redefine AE registration semantics.

Resource announcement enables visibility or replication of resources across CSEs. However, announcement is defined independently of context handover scenarios.

The oneM2M specifications do not describe how announced resources should behave when the originating AE undergoes a handover between MN-CSEs. Announced resources remain dependent on the lifecycle of the original resources and do not convey continuity of ownership or execution context. For example, if a resource on the original MN-CSE is deleted during handover, the announced resource may also become invalid.

Figure 7.2.2.3-1: Resource Announcement and Context Handover
Figure 7.2.2.3‑1: Resource Announcement and Context Handover

Figure 7.2.2.3‑1: Resource Announcement and Context Handover

As a result, announcement mechanisms cannot be used to represent application continuity or state persistence across MN-CSE boundaries during handover. The desired solution is that when an AE moves from one MN-CSE to another, the announced resources should continue to reflect the state and identity of the AE at the new MN-CSE as well as the IN-CSE (the announced resource should be linked to the new MN-CSE).

This limits the applicability of announcement in mobility-aware or context-adaptive deployments.

Possible Extensions to Related oneM2M Elements

  • Announced AE
  • Announced container and contentInstance
  • Announced subscription
  • remoteCSE

Gap boundary: This clause focuses on authoritative serving-MN-CSE resolution and downlink targeting; candidate discovery/ranking is addressed in clauses 7.2.2.6 and 7.2.2.7.

During context handover, interactions initiated toward an AE - such as commands, configuration updates, or control requests - are delivered to the currently serving MN-CSE.

The oneM2M specifications do not define a mechanism for determining which MN-CSE is currently serving a given AE when its point of attachment changes. There is no standardized approach for redirecting or resolving downlink interactions during or after handover.

Figure 7.2.2.4-1: Resolution of Serving MN-CSE for Downlink Interactions
Figure 7.2.2.4‑1: Resolution of Serving MN-CSE for Downlink Interactions

Figure 7.2.2.4‑1: Resolution of Serving MN-CSE for Downlink Interactions

This creates ambiguity in request routing and may result in downlink interactions being sent to an MN-CSE that no longer serves the AE.

Possible Extensions to Related oneM2M Elements

  • AE
  • request routing via CSEBase
  • subscription
  • remoteCSE
  • group

7.2.2.5 Lack of Normative Enforcement of Single-CSE AE Registration

Gap boundary: This clause focuses on prevention/detection/reconciliation of concurrent registrations and complements clauses 7.2.2.1 and 7.2.2.4.

oneM2M specifications describe a constraint that an Application Entity (AE) is registered to a single serving Common Services Entity (CSE) at a given time. This constraint is fundamental to maintaining unambiguous service relationships, consistent lifecycle behaviour, and predictable request routing within the oneM2M system.

However, the specifications do not define a normative mechanism to enforce this constraint across distributed deployments involving multiple CSEs. Registration procedures are defined locally at each CSE, and there is no standardized method by which a CSE can determine whether an AE is already registered with another CSE at the time a new registration request is processed.

Figure 7.2.2.5-1: Lack of Normative Enforcement of Single-CSE AE Registration
Figure 7.2.2.5‑1: Lack of Normative Enforcement of Single-CSE AE Registration

Figure 7.2.2.5‑1: Lack of Normative Enforcement of Single-CSE AE Registration

As a result, concurrent registration of the same AE at multiple MN-CSEs may occur, either intentionally or due to timing and race conditions during context handover. In such situations, multiple CSEs may independently assume they are the serving CSE for the same AE, despite the conceptual constraint that only a single serving relationship should exist.

The specifications do not define how such conditions are to be detected, prevented, or resolved. There is no normative guidance on arbitration, rejection, or reconciliation of concurrent registrations, nor is there a defined authority responsible for maintaining global awareness of an AE's serving CSE.

This absence of enforcement semantics introduces ambiguity in AE lifecycle management, request routing, subscription handling, and access control evaluation. It further complicates mobility and context handover scenarios by allowing transient or persistent system states that violate stated assumptions of single-CSE AE registration.

Possible Extensions to Related oneM2M Elements

  • AE registration and deregistration procedures
  • CSEBase request handling
  • remoteCSE relationships
  • subscription
  • accessControlPolicy
  • group

7.2.2.6 Lack of Service Registry and Discovery Mechanism for Mobility-Aware Handover

Gap boundary: This clause focuses on discovery coverage and metadata comparability across candidate targets; deterministic multi-candidate selection behaviour is covered in clause 7.2.2.7.

Current specifications do not define a unified service registry and discovery model that covers all valid MN-CSE handover targets.

For mobility-aware handover, the target MN-CSE may belong to any of the following classes:

  1. MEC-hosted MN-CSE that is already instantiated and registered to the IN-CSE.
  2. MEC-hosted MN-CSE that is provisioned but not yet instantiated.
  3. MEC-hosted MN-CSE that is not yet provisioned and requires onboarding/instantiation via operator workflows (e.g. OSS/CFS).
  4. Non-MEC-hosted MN-CSE in the same oneM2M domain (e.g. enterprise, private edge, or regional node).
  5. Federated MN-CSE in another administrative domain, subject to inter-domain trust and policy constraints.
  6. MN-CSE (host on MEC or not) that is not connected to the IN-CSE.

The current gap is that MEC-native discovery only provides visibility of MEC-managed targets, while oneM2M service continuity may require selecting a target outside the MEC-managed set. There is no normative method to:

  • build one consistent candidate list across MEC and non-MEC domains,
  • expose comparable target metadata (location, reachability, load, policy, trust, and capabilities),
  • rank and select the best target using common criteria, and
  • trigger instantiation/onboarding when a preferred target is not yet active.

As a result, target selection logic is implementation-specific and may produce inconsistent handover behaviour across deployments.

Possible Extensions to Related oneM2M/MEC Elements

  • oneM2M remoteCSE/CSEBase extensions to expose handover-target metadata (e.g. location/coverage, reachability, capacity/load, policy tags, trust domain, and administrative scope).
  • oneM2M discovery extensions to support unified candidate-list retrieval across MEC-hosted and non-MEC-hosted MN-CSEs, including federated domains.
  • oneM2M policy model extension to define common ranking criteria and target-selection constraints for handover (latency, cost, trust, sovereignty, and service capability).
  • oneM2M orchestration extensions to trigger target activation workflows (instantiate, onboard, or pre-warm) when the preferred MN-CSE is provisioned but not active.
  • MEC inventory/discovery extensions to expose MN-CSE hosting state (instantiated, provisioned-not-instantiated, not-provisioned) in a form consumable by oneM2M selection logic.
  • MEC-to-oneM2M interworking for on-demand activation, including alignment between MEO lifecycle operations and oneM2M handover intent.
  • Cross-domain federation extensions (oneM2M and/or MEC) to advertise and validate inter-domain trust, policy compatibility, and roaming constraints for candidate MN-CSE targets.

7.2.2.7 Lack of Multiple Results for Discovery Mechanism for Mobility-Aware Handover

Gap boundary: This clause focuses on multi-candidate response behaviour, ranking repeatability, and fallback determinism after discovery.

In mobility-aware handover, target selection should be performed from a ranked set of candidate MEC platforms/MN-CSEs rather than from a single discovered endpoint. If discovery returns only one candidate, the handover decision becomes single-path and cannot optimize across latency, radio conditions, load, policy, and resilience constraints.

Current specifications do not normatively define minimum multi-candidate discovery behaviour (e.g. required number of candidates when available), candidate comparability rules, or deterministic ranking and fallback behaviour when the preferred target fails admission/activation.

Therefore, the MEO/oneM2M decision function should be able to discover multiple candidates and select the best target using explicit, comparable, and repeatable criteria.

The following points should be noted:

  1. The MEO determines the best candidate, not the closest one.
  2. ETSI MEC is focussed on edge of network. Even if the criteria to select the best candidate are not clearly specified, these criteria are focused on radio based metrics.
  3. ETSI MEC relocation criteria are implementation dependent.

Open issue OI-7.2-01 (from ISG MEC discussions):

  • Decision needed: whether specifications should require single-best output, N-best output, or policy-defined candidate set size.
  • Observed concern: candidate ranking is often implementation-specific and may be strongly radio-metric-driven in MEC environments.
  • Unresolved point: minimum standardized ranking/fallback behaviour needed for repeatable inter-implementation outcomes.

Possible Extensions to Related oneM2M/MEC Elements

  • oneM2M discovery query/profile extension to request N-best candidate MN-CSE targets (not only one result), with deterministic ordering semantics.
  • oneM2M target-selection policy extension to define normative scoring and tie-break rules (e.g. latency, radio quality, load, trust, and cost).
  • oneM2M metadata normalization for candidate comparability across domains (common units, freshness indicators, confidence, and validity window).
  • oneM2M filtering constraints to exclude ineligible candidates (policy conflict, trust-domain mismatch, unsupported capability, or insufficient resources).
  • MEC discovery/ranking extension to expose multiple candidate MEC hosts with explicit ranking attributes and reason codes for candidate ordering.
  • MEC-to-oneM2M interworking extension to provide the complete candidate set (including alternates) to the oneM2M handover decision function.
  • Handover fallback semantics (oneM2M and/or MEC) so alternate candidates are tried deterministically when the preferred target fails admission, activation, or registration.

7.2.2.8 Lack of Deployment Control for Mobility-Aware Handover

Gap boundary: This clause focuses on target readiness control (onboarding/instantiation/activation) before serving switch; it complements candidate selection gaps in clauses 7.2.2.6 and 7.2.2.7.

In mobility-aware handover, the selected target MN-CSE may need to be instantiated, activated, or onboarded on a MEC platform before the serving-CSE switch can complete. Current specifications do not provide a normative control model that aligns oneM2M handover intent with MEC lifecycle responsibilities.

As a result, oneM2M functions (e.g. IN-CSE or orchestration AE) cannot consistently request, authorize, and verify deployment readiness of target MN-CSEs across MEC domains. The specifications also do not define clear constraints for when a target platform outside direct IN-CSE administrative control can be used (for example, remote provisioning capability, trust agreement, and policy compatibility).

This gap can delay or block handover completion, create inconsistent activation workflows, and prevent deterministic fallback when the preferred target cannot be prepared in time.

MEO is not responsible for triggering onboarding and instantiation of a MEC application. This is the responsibility of the administrator (OSS or CFS portal). The MEO executes the instantiation and termination of the MEC application on the MEC platform.

Open issue OI-7.2-02 (from ISG MEC discussions):

  • Decision needed: explicit responsibility split between administrative onboarding trigger and MEO execution responsibilities.
  • Observed concern: current role split can delay readiness confirmation during handover.
  • Unresolved point: common readiness-state model and timeout/fallback expectations across domains.

Possible Extensions to Related oneM2M/MEC Elements

  • oneM2M handover-intent extension to express target deployment requirements (e.g. target class, readiness deadline, and required capabilities).
  • oneM2M policy/trust extension to encode deployment authority constraints (same-domain only, delegated domain, or federated domain with explicit trust).
  • oneM2M orchestration status model for target preparation states and failures (requested, admitted, onboarding pending, instantiated, activation failed, timeout).
  • oneM2M to MEC interworking profile that maps handover intent to MEC lifecycle and OSS/CFS onboarding workflows, including asynchronous status callbacks.
  • MEC lifecycle API/profile extension to expose preconditions and reason codes for onboarding, instantiation, and termination decisions relevant to handover.
  • MEC inventory extension to advertise MN-CSE hosting readiness and administrative ownership in a form consumable by oneM2M target selection.
  • Deterministic fallback semantics (oneM2M and/or MEC) to switch to the next ranked target when deployment preparation of the preferred target fails or exceeds policy time bounds.

7.2.2.9 Lack of MEC Platform Metrics for Utilization-Based Handover Decisions

Gap boundary: This clause focuses on standardized utilization observability and its relation to handover decisions, distinct from policy authority questions in clause 7.2.2.11.

Handover decisions based on resource utilization require that the oneM2M decision function (e.g. IN-CSE orchestration AE or MEO) can observe real-time and aggregate platform metrics - such as CPU load, memory utilization, network throughput, and latency - for candidate MEC hosts. Current MEC specifications do not define a standardized, queryable service that exposes these metrics in a form consumable by oneM2M handover logic.

As a result, utilization-triggered handover decisions rely on implementation-specific data sources or proprietary APIs, making consistent load-balancing and resource-aware handover across deployments impossible. The same limitation applies beyond mobility to other oneM2M workloads, including Federated Learning client selection and Swarm Computing node assignment, where MEC platform utilization is also a meaningful selection criterion.

An additional constraint arises from the placement dependency between a oneM2M AE and the data stored on its serving MN-CSE: migrating an AE to a less-loaded MEC host is only meaningful if the associated data can also be moved or remains accessible. Platform metrics alone are insufficient without a corresponding data-placement and reachability model.

It appears that the handover managed by device application as mentioned in clause 5.6.2 of ETSI MEC 021 [i.10] is out of scope:

5.6.2 Application self-controlled user context transfer
The application self-controlled user context transfer assumes the application (server side, client side, centralized cloud component) to be able to detect the need for the user context transfer by its own means.  

Furthermore, ETSI MEC assumes the application is able to execute the context transfer without assistance from the MEC system.

Open issue OI-7.2-03 (from ISG MEC discussions):

  • Decision needed: minimum common MEC platform metric set and exposure model relevant to handover.
  • Observed concern: utilization-only decisions are insufficient without data-placement/reachability coupling.
  • Unresolved point: scope boundary between MEC-assisted and application-self-controlled transfer behaviour.

Possible Extensions to Related oneM2M/MEC Elements

  • MEC platform metrics service (new or extended) to expose normalized utilization indicators (CPU, memory, radio load, throughput, latency) queryable and subscribable by oneM2M orchestration functions.
  • MEC metrics subscription extension so that oneM2M AEs or IN-CSE orchestration AEs can register for threshold-crossing notifications relevant to handover triggers.
  • oneM2M flexContainer or mgmtObj schema to represent and cache MEC platform utilization metrics as a oneM2M resource, enabling policy evaluation against CMDH thresholds.
  • oneM2M handover policy extension to define normative utilization-based trigger conditions for initiating, deferring, or blocking a handover decision.
  • oneM2M data-placement awareness model to correlate AE migration feasibility with MN-CSE data reachability and MEC host co-location constraints.
  • MEC-to-oneM2M interworking extension to propagate platform utilization state as a candidate-ranking attribute during handover target selection (complement to clause 7.2.2.7).
  • Scope extension to cover non-handover use cases (e.g. Federated Learning client selection and Swarm Computing task assignment) driven by the same MEC platform utilization metrics.

7.2.2.10 Lack of MEC Platform APPs Provisioning, Orchestration and Discovery

Gap boundary: This clause focuses on discovery/provisioning visibility for MEC applications relevant to oneM2M handover decisions; policy authority alignment is addressed in clause 7.2.2.11.

Current specifications do not define a clear model for oneM2M discovery of MEC applications (including non-service-producing applications) and their handover-relevant capabilities. This creates ambiguity for scenarios such as swarm and federated learning clients where application capabilities can influence handover decisions.

Current specifications also do not clearly define how oneM2M orchestration functions (e.g. IN-CSE orchestration logic) request or verify provisioning/orchestration alignment when oneM2M AEs are hosted as MEC applications.

Open issue OI-7.2-04 (from ISG MEC discussions):

  • Decision needed: minimum discovery and provisioning semantics required for handover-relevant MEC application visibility to oneM2M.
  • Observed concern: use-case granularity is currently insufficient for converged behaviour.
  • Unresolved point: required integration depth between oneM2M orchestration intent and MEC application lifecycle operations.

7.2.2.11 Lack of policy control and coordindation for MEC platforms

Gap boundary: This clause focuses on policy authority, policy visibility, and conflict handling between oneM2M CMDH and MEC policy domains.

Current specifications do not define a normative coordination model that explains how oneM2M CMDH policy intent and MEC policy authority interact for handover decisions. This creates ambiguity when both systems constrain target selection or relocation behaviour.

Current specifications also do not define a conflict-handling model for policy mismatches (e.g. CMDH intent versus MEC platform policy constraints) which can lead to inconsistent enforcement outcomes across deployments.

The current position is that the policies are part of MEO and the MEO cannot be influenced by 3rd-party policies.

Open issue OI-7.2-05 (from ISG MEC discussions):

  • Decision needed: which policy classes are exchangeable across oneM2M and MEC and which remain strictly domain-local.
  • Observed concern: MEO policy authority may not accept direct third-party policy control.
  • Unresolved point: minimum interoperability expectation for policy visibility, conflict reporting, and traceable enforcement outcomes.

7.2.2.12 Deficiencies in AE S-Registrations

Gap boundary: This clause focuses on oneM2M TS-0001 [i.2] S-registration migration semantics and complements clauses 7.2.2.1, 7.2.2.2, and 7.2.2.5.

For mobility-aware handover, oneM2M TS-0001 [i.2] AE S-registration procedures provide a baseline but still leave behaviour open to interpretation across implementations. This gap refines the broader concerns in clauses 7.2.2.1, 7.2.2.2, and 7.2.2.5 by focusing specifically on unresolved normative S-registration migration semantics across registration-point changes.

Evidence basis used in this analysis: oneM2M TS-0001 [i.2] AE registration and registration-point change handling were reviewed, including clause 10.2.2.2 (Create ) and clause 10.2.16 (Procedure for Managing Change in AE Registration Point). Refer to oneM2M SDS-2026-0028.

Main deficiencies are:

  • Ambiguity of role for AE S-registration tracking at the IN-CSE versus normal announcement semantics.
  • Unclear behaviour when the initial Registrar CSE is already an IN-CSE and the AE later changes registration point.
  • Insufficiently constrained migration semantics in re-registration to a new Registrar CSE (e.g. transfer scope of child resources and reference rewrite rules in the Step 007e flow).
  • Incomplete lifecycle rules for old registration-point state (ACTIVE to INACTIVE, cleanup timing, and possible reactivation).
  • Unclear continuity requirements for Originator and access-control policy semantics after registration-point migration.
  • Inability to register AE S-registrations on an IN-CSE.
  • Overlapping functionality and ambiguity between AE S-registrations and AE C-registrations.

Impact on handover:

  • Different CSE implementations may make incompatible choices for registration tracking and reference updates.
  • Context continuity can be degraded due to inconsistent transfer of registration-associated resources.
  • Access-control and notification behaviour can diverge after migration.
  • Some scenarios (e.g. IN-CSE as initial Registrar) may not be supported at all due to above ambiguities.

Therefore, oneM2M handover support needs explicit, mobility-focused S-registration semantics that normatively define registration-point tracking, migration transaction behaviour, reference update scope, and post-migration lifecycle handling.

7.2.2.13 Lack of Device-Scoped Bundled Handover Semantics for Multi-AE Devices

Gap boundary: This clause focuses on device-scoped, all-AE-together handover behaviour for deployments that do not allow selective AE movement.

In practical deployments, a single device may host multiple AEs. For some mobility scenarios, all AEs associated with the same device are expected to move together to the same target MN-CSE in one coordinated handover transaction.

Current specifications primarily model handover-relevant registration behaviour at AE granularity and do not define a normative bundled-handover semantic for a multi-AE device context. In particular, there is no clear normative model for:

  • discovering the complete AE set bound to the same moving device context,
  • performing all-or-nothing admission/registration checks for that full AE set at the target MN-CSE,
  • committing serving-MN-CSE switch atomically for all associated AEs, and
  • avoiding partial migration where only a subset of AEs move while others remain on the source.
  • set priorities of the AEs and the dependency between the AEs (e.g. specifying the order to AE registration during a mobility event).

As a result, multi-AE devices may experience split-serving states during handover, where request routing, policy evaluation, and context continuity diverge between AEs that should remain operationally coupled.

Impact on handover:

  • Device-level consistency can be broken when only part of the AE set moves.
  • Downlink and control behaviour can become non-deterministic across AEs on the same device.
  • Rollback behaviour can diverge across AEs, complicating recovery and observability.

Possible Extensions to Related oneM2M Elements

  • device-scoped handover context that binds all AEs associated with a moving device to one handover transaction,
  • transactional handover state model with explicit all-or-nothing commit/rollback behaviour for AE bundles,
  • bundled admission checks at target MN-CSE for the complete AE set before serving switch,
  • serving-MN-CSE resolution semantics that prevent partial serving split for coupled AE bundles,
  • deterministic timeout/failure handling when any AE in the bundle fails validation or registration.

7.2.2.14 Synthesis

The analysis in clause 7.2.2 shows that oneM2M and MEC provide relevant baseline capabilities, but still leave interoperability-critical ambiguities for mobility-aware handover in identity continuity, context continuity, serving-MN-CSE resolution, and deterministic candidate/deployment handling.

The highest impact ambiguities are concentrated in clauses 7.2.2.1, 7.2.2.2, 7.2.2.4, 7.2.2.5, 7.2.2.12, and 7.2.2.13, where inconsistent interpretation can produce incompatible behaviour across implementations during mobility-driven transitions.

Additional variability is introduced by discovery/ranking/deployment/policy integration gaps (clause 7.2.2.6 through clause 7.2.2.11), including unresolved cross-domain and cross-authority coordination points captured as OI-7.2-01 through OI-7.2-05.

As a result, implementation-specific choices are likely to diverge without a clearer common interpretation of handover-relevant semantics before solution definition and requirement formalization.

7.2.3 Key Issues and requirements

To address the identified gaps in mobility-aware context handover within oneM2M systems, some key issues and requirements have been identified. The overall goal is to define normative semantics, procedures and constraints that enable consistent handling of AE mobility and context continuity, and to provide CSE resolution across MN-CSE boundaries.

  • REQ-HO-001: A solution should implement resource replication mechanisms to mirror or move device/application registration between MN-CSE instances or IN-CSE or across MEC hosts.
  • REQ-HO-002: A solution should ensure a handover-safe mechanism for migrating subscriptions.
  • REQ-HO-003: A solution should establish synchronization mechanisms between MN-CSE and IN-CSE to ensure that the recent device states are propagated upward and historical data are migrated asynchronous, when necessary.

7.2.4 Solutions Considered

7.2.4.1 Introduction

To address the identified gaps in mobility-aware context handover within oneM2M systems, a set of solutions are considered. These solutions aim to define semantics, procedures, and constraints that enable consistent handling of AE mobility, context continuity, and serving CSE resolution across MN-CSE boundaries. The following subsections outline the primary requirements derived from the gap analysis.

7.2.4.2 oneM2M AE / MN-CSE Handover State Machine

7.2.4.2.1 Purpose and scope

This clause defines a oneM2M service-layer handover state machine that enables continuity of service when an AE changes its serving MN-CSE due to mobility, topology changes, or policy decisions.

This handover mechanism:

  • operates entirely within oneM2M semantics,
  • relies on existing oneM2M procedures (AE registration, deregistration, subscription management, triggering primitives),
  • is independent of radio-layer handover and MEC application relocation, and
  • may be triggered by either the AE or an external orchestration function, e.g. a MEC orchestrator.

The state machine describes logical association changes between an AE and MN-CSEs. The mechanism is designed to be compatible with MEC-assisted handover but does not require MEC involvement.

7.2.4.2.2 Handover states

An AE or a node is in exactly one of the following serving states at any given time.

Table 7.2.4.2.2‑1: Handover states

State
Description
ATTACHED(MN-A)
The AE is registered with a single serving MN-CSE (MN-A). All uplink and downlink oneM2M interactions use MN-A. This is the normal steady-state operation.
HANDOVER_PREP(MN-A -> MN-B)
A handover decision has been made and MN-B has been identified as the target serving MN-CSE. The AE remains logically attached to MN-A until the serving switch is completed. The AE reachability at the source registration point is set to FALSE. Messages from another CSE for downlink delivery is therefore suspended, buffered, or failed according to policy during this interval. This state MAY be entered due to: (a) AE-detected conditions (e.g. latency, connectivity change), (b) network or orchestration-detected conditions, or (c) policy-driven relocation decisions.
ATTACHED(MN-B)
The AE is registered only with MN-B. MN-B is the sole serving MN-CSE. MN-A relinquishes all serving responsibilities for the AE. The AE reachability at MN-B is restored to TRUE. This is the post-handover steady state.
FAILED / ROLLBACK
Handover could not be completed successfully. The AE reverts to ATTACHED(MN-A) if possible. Partial state at MN-B is cleaned up according to policy. The AE reachability at MN-A is restored to TRUE if rollback succeeds.
Figure 7.2.4.2.2-1: Handover State Machine
Figure 7.2.4.2.2‑1: Handover State Machine

Figure 7.2.4.2.2‑1: Handover State Machine

The following state transitions are defined:

Table 7.2.4.2.2‑2: Handover state transitions

From
To
Trigger
ATTACHED(MN-A)
HANDOVER_PREP(MN-B)
Mobility, policy, or orchestration decision
HANDOVER_PREP
ATTACHED(MN-B)
Successful registration-point change to MN-B and serving switch
HANDOVER_PREP(MN-A)
FAILED / ROLLBACK
Registration or authorization failure
FAILED / ROLLBACK
ATTACHED(MN-A)
Recovery completed
7.2.4.2.3 Handover attributes on a serving-association resource

To support deterministic handover behaviour, the system exposes handover control attributes on a single serving-association resource. The exact resource type is TBD; a candidate is the AE registration related resource related to mobile nodes.

The following attributes are defined for that resource:

Table 7.2.4.2.3‑1: Serving-association resource attributes

Attribute
Description
Value model
Handover behaviour
reachability
Indicates whether the currently associated serving MN-CSE is available for downlink delivery to the AE.
Boolean: TRUE or FALSE
In steady state, reachability=TRUE at the active serving association. During HANDOVER_PREP, the source association is set to FALSE before serving switch. After successful switch, the target association is set to TRUE. On rollback, source association is restored to TRUE.
servingCSE
Identifies the MN-CSE that is the Registrar of the AE.
CSE identifier/reference to one MN-CSE
At any instant, exactly one servingCSE value is authoritative for the AE. During HANDOVER_PREP, the authoritative value remains the source MN-CSE while downlink authority is suspended by reachability=FALSE. On completion, servingCSE is updated to the target MN-CSE.
7.2.4.2.4 Candidate normative handover procedure

This normative handover procedure establishes a consistent, phased approach to AE mobility management across oneM2M systems. The procedure begins with trigger detection, which signals the need for a serving-CSE change due to detected mobility, orchestration decision, or policy evaluation. Once a target MN-CSE (MN-B) is identified through discovery or configuration, the system immediately enters the critical handover preparation phase by setting AE reachability to FALSE at the source MN-CSE. This suspension of authoritative downlink delivery ensures that no ambiguous routing state exists during the registration transition. The AE then establishes a new registration with MN-B while maintaining its identity, followed by an atomic serving-CSE switch that designates MN-B as the new authoritative endpoint for downlink interactions. Finally, the old serving state at MN-A is released according to S-registration lifecycle rules, completing the transition to the post-handover steady state ATTACHED(MN-B). This design prioritizes service continuity by minimizing downlink unavailability and ensuring clear, non-overlapping serving relationships throughout the transition interval.

Figure 7.2.4.2.4-1: handover state machine
Figure 7.2.4.2.4‑1: handover state machine

Figure 7.2.4.2.4‑1: Handover Message Sequence

A proposed handover process includes the following logical steps:

1. Trigger
- A handover trigger is detected by the AE or an external orchestration function.
2. Target MN-CSE selection
- A candidate MN-CSE (MN-B) is selected using discovery, configuration, or policy.
3. Enter handover preparation
- The source registration point sets AE reachability to `FALSE`.
- Authoritative downlink delivery is suspended during the registration-point change.
- Pending notifications MAY be buffered at MN-A according to policy.
4. AE registration with MN-B
- The AE performs a standard oneM2M AE registration with MN-B using S-registration change procedures.
- The AE identity (AE-ID) remains unchanged.
5. Serving MN-CSE switch
- The system designates MN-B as the serving MN-CSE.
- Downlink targeting resolves to MN-B.
- AE reachability at MN-B is set to `TRUE`.
6. Release of MN-A
- The old registration state at MN-A is released, marked inactive, or allowed to expire according to S-registration lifecycle rules.
7. Completion
- The AE enters ATTACHED(MN-B).
- MN-A is no longer considered a serving MN-CSE.

During HANDOVER_PREP, AE reachability is set to FALSE at the source registration point so that no ambiguous downlink serving authority exists while the registration-point change is in progress.

The mechanism used to enforce this constraint (e.g. centralized authority, policy, orchestration logic) is **out of scope** of the present document. Hint: any inconsistency could lead to ambiguous downlink routing and potential service disruption. This could be implemented through IN-CSE normative rules.

While this state machine is governed exclusively by oneM2M procedures, practical deployments in MEC-integrated environments benefit from MEC's distributed services and infrastructure. MEC platforms can detect UE mobility events through radio network information services (RNIS) and notify the oneM2M handover decision function about changing conditions such as signal degradation or UE departure from coverage areas. In such an exemplary MEC-integrated implementation, the MEC Orchestrator (MEO) collaborates with the oneM2M orchestration layer (e.g. an IN-CSE orchestration AE) to discover candidate MN-CSEs across multiple MEC hosts and provide location, latency, and capacity metadata to inform target selection. The MEC platform may also assist in traffic path updates and network steering post-handover to ensure downlink packets are routed to the new MN-CSE attachment point. However the oneM2M system remains the authoritative source for serving-CSE designation, registration-point tracking, and AE identity continuity through the procedures defined in this state machine. This separation of concerns ensures that oneM2M semantics and constraints are preserved even when leveraging MEC infrastructure capabilities.

7.2.4.3 oneM2M S-AE Registration Change Request

7.2.4.3.1 Introduction

This clause describes a solution for managing registration-point changes for an Application Entity using an AE-ID-Stem beginning with S (S-AE). The solution is intended to support an S-AE that changes its point of attachment between MN-CSEs while retaining the same AE identity.

An S-AE is considered mobility-capable when it is permitted to change its registration point across CSEs without changing its AE-ID. To provide a consistent registration state while the S-AE moves between MN-CSEs, the IN-CSE maintains the authoritative resource associated with the S-AE. An MN-CSE serving the S-AE maintains an resource that represents the S-AE at that registration point.

NOTE: The S-AE solution addresses issues under discussion in oneM2M. It may be that the issues can be addressed through other changes to oneM2M TS-0001 [i.2]. In that case, this solution may be revised or replaced accordingly.

The resulting resource model is therefore:

  • one authoritative resource hosted by the IN-CSE;
  • zero or more resources associated with MN-CSEs at which the S-AE has been registered;
  • at most one MN-CSE identified as the active registration point at a given time; and
  • a stable S-AE identity that is retained when the active registration point changes.

The authoritative provides the system-level registration state for the S-AE. This state includes information identifying the current registration point and information necessary to correlate MN-CSE resources with the authoritative . Additional state may be maintained to support registration-point history, resource synchronization, and trackRegistrationPoints behaviour.

An S-AE registration request sent to an MN-CSE is therefore treated as an indirect registration with the authoritative IN-CSE. The MN-CSE processes the request as the S-AE's local serving CSE, while the IN-CSE establishes or updates the authoritative S-AE registration state.

This solution differs from a registration model in which independent resources at multiple MN-CSEs are treated as equivalent registrations. The IN-CSE provides a single location at which S-AE identity and registration-point state can be validated and coordinated.

During a registration-point change, the previous MN-CSE is no longer considered the active serving MN-CSE before the new registration becomes active. The reachability of the S-AE through the previous registration point can therefore be set to FALSE or the previous can otherwise be marked inactive during the transition. This prevents two MN-CSEs from simultaneously representing themselves as the active registration point for downlink communication to the same S-AE.

The procedures described in the following subclauses address:

  • initial S-AE registration;
  • subsequent registration, including movement between MN-CSEs;
  • deregistration from the serving MN-CSE; and
  • permanent deregistration of the authoritative S-AE from the IN-CSE.

The procedures are applicable to S-AEs. C-AEs are not considered mobility-capable under this solution and are outside the scope of the S-AE registration-change mechanism described in this clause.

7.2.4.3.2 Initial S-AE Registration

Initial S-AE registration occurs when an S-AE establishes its registration for the first time. Although the S-AE may direct its registration request to an MN-CSE, the authoritative representing the S-AE is established at the IN-CSE. Figure 7.2.4.3.2‑1 illustrates an exemplary initial registration through an MN-CSE.

Figure 7.2.4.3.2-1: Initial S-AE registration using an IN-CSE-authoritative <AE>
Figure 7.2.4.3.2‑1: Initial S-AE registration using an IN-CSE-authoritative

Figure 7.2.4.3.2‑1: Initial S-AE registration using an IN-CSE-authoritative

The procedure consists of the following steps:

  1. Registration request

    The S-AE sends a CREATE request to the MN-CSE that is to become its initial registration point. The registration request contains the information necessary to identify or assign the S-AE identity and to validate the application registration.

  2. Authoritative registration request

    The MN-CSE determines that the requested registration is an S-AE registration and interacts with the IN-CSE to resolve or create the authoritative .

    The MN-CSE does not create an independent authoritative for the S-AE.

  3. Validation by the IN-CSE

    The IN-CSE validates the registration information and determines whether an authoritative corresponding to the S-AE already exists.

    For an initial registration, the IN-CSE verifies that there is no conflicting active registration for the S-AE.

  4. Creation of the authoritative

    When the registration is accepted, the IN-CSE creates the authoritative for the S-AE.

    The authoritative resource contains the stable AE identity and the information necessary to identify the MN-CSE serving as the current registration point. Conceptually, this information may include:

    • the AE-ID;
    • the App-ID;
    • the current registration CSE;
    • registration-point tracking information;
    • the MN-CSEs to which representations of the S-AE have been announced or projected; and
    • synchronization information associated with those projections.

    The exact representation of these capabilities as resource attributes is subject to the corresponding oneM2M specification changes.

  5. Creation of the MN-CSE representation

    After the authoritative registration has been established, an representing the S-AE is created on the target MN-CSE.

    The identifies the authoritative IN-CSE and contains the information needed by the MN-CSE to provide local services for the registered S-AE.

  6. Activation of the registration point

    The IN-CSE records the MN-CSE as the current active registration point for the S-AE. The corresponding MN-CSE is considered active.

  7. Registration response

    The MN-CSE returns a successful registration response to the S-AE.

After completion of the procedure, the resource state can be represented conceptually as:

IN-CSE
                    authoritative
      currentRegistrationCSE = MN-CSE A
      announced/projectedTo  = MN-CSE A

MN-CSE A
                active projection
      authoritativeAE -> IN-CSE/

The S-AE can subsequently use MN-CSE A as its serving registration point while retaining the S-AE identity maintained by the IN-CSE.

7.2.4.3.3 Subsequent S-AE Registration

Subsequent S-AE registration occurs when an S-AE that already has an authoritative at the IN-CSE performs another registration.

A subsequent registration can occur at the same MN-CSE after a previous deregistration, or at a different MN-CSE as the result of mobility, network conditions, application requirements, load management, or other handover criteria.

Of particular interest for MEC-integrated deployments is a registration-point change from one MN-CSE to another. Figure 7.2.4.3.3‑1 illustrates an exemplary change from MN-CSE A to MN-CSE B.

Figure 7.2.4.3.3-1: S-AE registration-point change from MN-CSE A to MN-CSE B
Figure 7.2.4.3.3‑1: S-AE registration-point change from MN-CSE A to MN-CSE B

Figure 7.2.4.3.3‑1: S-AE registration-point change from MN-CSE A to MN-CSE B

Before the procedure begins, the S-AE has the following conceptual state:

IN-CSE
  
      currentRegistrationCSE = MN-CSE A

MN-CSE A
                active

The registration-point change proceeds as follows:

  1. Registration at the target MN-CSE

    The S-AE sends a CREATE request to MN-CSE B using its existing S-AE identity.

    The presence of the existing S-AE identity allows the request to be correlated with the authoritative already maintained by the IN-CSE.

  2. Resolution of the authoritative S-AE

    MN-CSE B interacts with the IN-CSE and resolves the authoritative corresponding to the S-AE.

  3. Validation of the registration-point change

    The IN-CSE validates the registration request and determines the current active registration point.

    In this example, the authoritative indicates that MN-CSE A is the current registration point.

    The IN-CSE also verifies that activation of MN-CSE B will not result in more than one active registration point for the same S-AE.

  4. Deactivation of the previous registration point

    The previous registration at MN-CSE A is made inactive before MN-CSE B becomes the active registration point.

    This can include setting the previous registration's reachability state to FALSE and updating the MN-CSE A so that it no longer represents an active registration.

    This transition provides an interval during which the S-AE is not considered reachable through the previous MN-CSE and prevents ambiguous downlink routing.

  5. Update of the authoritative registration state

    The IN-CSE updates the authoritative to identify MN-CSE B as the current registration point.

    Information recording the MN-CSEs associated with the S-AE may also be updated. For example, MN-CSE A can remain in the registration-point history while MN-CSE B is added as the new active registration point.

  6. Creation or activation of the target

    An corresponding to the authoritative S-AE is created or reactivated at MN-CSE B.

    The identifies the authoritative IN-CSE and contains the synchronized information required for local operation at MN-CSE B.

  7. Reference and dependent-resource processing

    Where resources or references depend on the active registration point, the change in registration point can trigger corresponding synchronization or reference-update procedures.

    Examples include references used for:

    • notification delivery;
    • group membership;
    • announced resources;
    • access-control information;
    • subscriptions; and
    • other resources whose operation depends on the location of the registered AE.

    Child-resource migration or synchronization is addressed separately because not all child resources necessarily require identical treatment during an S-AE registration-point change.

  8. Completion of registration

    After MN-CSE B has been established as the active registration point, MN-CSE B returns a successful registration response to the S-AE.

After completion, the conceptual resource state is:

IN-CSE
  
      currentRegistrationCSE = MN-CSE B
      registration history   = [..., MN-CSE A, MN-CSE B]

MN-CSE A
                inactive or retained according to lifecycle policy

MN-CSE B
                active
      authoritativeAE -> IN-CSE/

The authoritative IN-CSE remains unchanged with respect to the identity of the S-AE. Only the registration-point state and information associated with the MN-CSE projections are changed.

When a previously used MN-CSE becomes the active registration point again, the same procedure can be applied. Depending on the retained state, the existing can be updated or reactivated rather than creating an unrelated S-AE identity.

The trackRegistrationPoints capability can be associated with the authoritative S-AE registration state so that changes of registration point are managed consistently from the IN-CSE. This avoids requiring individual MN-CSEs to independently determine the complete registration history of the S-AE.

7.2.4.3.4 De-registration from MN-CSE (S-AE Registration)

Deregistration from an MN-CSE removes the active registration-point relationship between the S-AE and the serving MN-CSE. It does not normally remove the authoritative S-AE identity from the IN-CSE.

This distinction is important for a mobility-capable S-AE because an S-AE may temporarily have no active MN-CSE and later register at the same or another MN-CSE using the same AE identity. Figure 7.2.4.3.4‑1 illustrates deregistration from an active MN-CSE.

Figure 7.2.4.3.4-1: S-AE deregistration from an MN-CSE
Figure 7.2.4.3.4‑1: S-AE deregistration from an MN-CSE

Figure 7.2.4.3.4‑1: S-AE deregistration from an MN-CSE

The procedure consists of the following steps:

  1. Deregistration request

    The S-AE sends a DELETE or equivalent deregistration request to its active MN-CSE.

  2. Resolution of authoritative state

    The MN-CSE identifies the authoritative S-AE at the IN-CSE and informs the IN-CSE that the local registration is to be removed.

  3. Validation

    The IN-CSE verifies that the MN-CSE requesting deregistration corresponds to the active registration point of the S-AE.

  4. Removal or deactivation of the MN-CSE projection

    The active on the MN-CSE is deleted or otherwise transitioned to an inactive state according to the selected lifecycle policy.

    After this operation, the MN-CSE is no longer considered capable of providing active downlink service to the S-AE.

  5. Update of the authoritative

    The IN-CSE clears the active registration-point indication for the S-AE.

    Historical information identifying the previous registration point can be retained when registration-point tracking is enabled.

  6. Retention of the authoritative identity

    The authoritative remains at the IN-CSE.

    The retained resource preserves the S-AE identity and any state required for later re-registration.

  7. Deregistration response

    The MN-CSE returns the result of the deregistration procedure to the S-AE.

After deregistration, the state can therefore be represented as:

IN-CSE
                    retained
      currentRegistrationCSE = none

MN-CSE B
                removed or inactive

A later registration of the same S-AE at an MN-CSE resolves the retained authoritative rather than creating a new S-AE identity.

This procedure is distinct from permanent deregistration from the M2M Service Provider domain.

7.2.4.3.5 De-registration from IN-CSE (S-AE Registration)

Deregistration from the IN-CSE represents permanent removal of the authoritative S-AE registration from the M2M Service Provider domain.

Unlike deregistration from an MN-CSE, this procedure terminates the authoritative registration state and therefore is not normally performed as part of an ordinary handover.

Before deleting the authoritative , the system determines whether the S-AE has an active registration point or retained projections associated with MN-CSEs.

An exemplary permanent deregistration procedure consists of the following steps:

  1. Permanent deregistration request

    An authorized entity requests deletion of the authoritative S-AE registration at the IN-CSE.

    Authorization of this operation can differ from authorization of an ordinary MN-CSE deregistration because deletion removes the domain-level S-AE identity and associated registration state.

  2. Identification of associated MN-CSE state

    The IN-CSE identifies the current active registration point, if any, and the MN-CSEs containing resources associated with the authoritative .

  3. Termination of the active registration

    If an active MN-CSE registration exists, the active registration is terminated and the S-AE is no longer considered reachable through that MN-CSE.

  4. Removal of MN-CSE projections

    resources associated with the authoritative S-AE are removed according to the S-AE projection lifecycle procedure.

  5. Dependent-resource processing

    References and dependent resources associated with the S-AE are deleted, updated, invalidated, or otherwise processed according to the applicable resource lifecycle rules.

  6. Deletion of the authoritative

    After the dependent registration state has been processed, the authoritative is deleted from the IN-CSE.

  7. Completion

    Following deletion of the authoritative , the previous S-AE identity is no longer considered registered within the M2M Service Provider domain.

A later registration would consequently be treated according to the rules applicable to a new registration rather than as a registration-point change of the previously retained authoritative S-AE.

Permanent IN-CSE deregistration is therefore separate from:

  • handover between MN-CSEs;
  • temporary loss of connectivity;
  • deregistration from a serving MN-CSE; and
  • temporary periods during which an S-AE has no active registration point.

7.2.4.4 oneM2M AE Trigger

This clause describes a subscription-based mechanism for instructing an S-AE to change its registration point from a serving MN-CSE to a target MN-CSE. The mechanism is used during the handover-preparation phase while the S-AE remains reachable through its current serving MN-CSE.

In the example described in this clause, the S-AE is registered through MN-CSE A and is subsequently instructed to register through MN-CSE B. The IN-CSE hosts the authoritative resource for the S-AE. MN-CSE A hosts the active representing the current registration point, while MN-CSE B becomes the target registration point.

The S-AE maintains a pre-established associated with its authoritative resource. The subscription enables the S-AE to receive notifications concerning registration-point changes. The notification is routed through the currently serving MN-CSE and delivered to the S-AE over Mca.

A registration-point-change notification can be supported by extending the notificationEventType element of eventNotificationCriteria with a value representing a registration-point-change request. A corresponding notification content type can be defined to carry the information required by the S-AE to register with another CSE.

Alternatively, the existing notification event type for an update to attributes of the subscribed-to resource can be used. In this case, the subscription can identify the registration and handover attributes that cause notification generation, and notificationContentType can be set to modified attributes.

Figure 7.2.4.4‑1 illustrates the S-AE handover-preparation and registration-point-change procedure.

Figure 7.2.4.4-1: S-AE registration-point-change notification and target registration
Figure 7.2.4.4‑1: S-AE registration-point-change notification and target registration

Figure 7.2.4.4‑1: S-AE registration-point-change notification and target registration

Preconditions

Before the procedure begins, the following conditions apply:

  • The S-AE has an authoritative resource hosted by the IN-CSE.
  • The S-AE is registered through MN-CSE A.
  • MN-CSE A hosts the active associated with the authoritative .
  • The authoritative identifies MN-CSE A as the current registration point.
  • The S-AE is reachable through MN-CSE A.
  • The S-AE has an applicable for registration-point-change notifications.
  • The notification target associated with the subscription resolves to the S-AE through MN-CSE A.
  • MN-CSE B has been selected as a candidate target registration point.

Handover-preparation procedure

The handover-preparation procedure consists of the following steps:

  1. Selection of the target MN-CSE

    The IN-CSE, a mobility-management function, the serving MN-CSE, or another authorized entity determines that the S-AE should change its registration point from MN-CSE A to MN-CSE B.

    The selection of MN-CSE B can be based on mobility information, MEC host coverage, network conditions, application requirements, resource availability, policy, or other handover criteria.

  2. Creation of the pending registration-point state

    The IN-CSE establishes a pending registration-point-change state for the S-AE. This state identifies at least:

    • the S-AE identity;
    • MN-CSE A as the source registration point;
    • MN-CSE B as the target registration point;
    • a handover transaction identifier;
    • the validity time of the registration-point-change request; and
    • the current handover state.

    Conceptually, the authoritative can be updated with information equivalent to:

    handoverState = PREPARING
    sourceRegistrationCSE = MN-CSE A
    targetRegistrationCSE = MN-CSE B
    handoverTransactionID = assigned transaction identifier
  3. Generation of the registration-point-change notification

    The change in handover state causes the subscription associated with the authoritative to generate a notification.

    A new notificationEventType value, such as registrationPointChange, can be defined to identify this event explicitly. The notification content associated with this event contains the information required for the S-AE to register with MN-CSE B.

    As an alternative realization, the subscription can use the existing notification event type for updates to attributes of the subscribed-to resource. The attribute condition of eventNotificationCriteria can identify attributes such as handoverState, targetRegistrationCSE, handoverTransactionID, and requestReachability.

  4. Delivery through the current registration point

    The IN-CSE routes the notification to MN-CSE A over Mcc. MN-CSE A delivers the notification to the S-AE over the existing Mca communication path.

    The registration-point-change notification includes information such as:

    • the requested operation, indicating that the S-AE is to register with another CSE;
    • the source CSE-ID;
    • the target CSE-ID;
    • an address of the target ;
    • the handover transaction identifier;
    • the validity time of the request;
    • the applicable activation policy;
    • protocol-binding and port information, when required; and
    • authorization or security information required to validate the registration request.
  5. Notification response

    The S-AE validates the notification and returns a notification response through MN-CSE A.

    A successful notification response indicates that the S-AE received and accepted the registration-point-change instruction. It does not by itself indicate that registration with MN-CSE B has been completed.

  6. Change of request reachability

    As part of handover preparation, the authoritative registration state can be updated to indicate that the S-AE is no longer available to receive new requests through MN-CSE A.

    The transition of requestReachability to FALSE occurs only after the registration-point-change notification has been successfully delivered to the S-AE. This ordering prevents the notification from being suppressed, delayed through a polling channel, or rejected because the S-AE has already been declared request-unreachable.

    The reachability update and notification can be coordinated using the existing notification event type for an update to attributes with blocking of the triggering UPDATE operation. In this realization, the update setting requestReachability to FALSE remains pending until the notification response is received.

    The transition can be represented conceptually as:

    Before notification delivery:
        handoverState = PREPARING
        requestReachability = TRUE
    
    After successful notification delivery:
        handoverState = WAITING_FOR_TARGET_REGISTRATION
        requestReachability = FALSE

    Setting requestReachability to FALSE prevents new downlink requests from being routed through MN-CSE A. It does not prevent the S-AE from originating a registration request toward MN-CSE B.

Registration with the target MN-CSE

After receiving the notification, the S-AE establishes communication with MN-CSE B and sends a CREATE registration request over Mca. The request uses the existing S-AE identity and includes the handover transaction identifier or equivalent correlation information.

MN-CSE B contacts the authoritative IN-CSE over Mcc. The IN-CSE validates:

  • the identity of the S-AE;
  • the current registration point;
  • the selected target registration point;
  • the handover transaction identifier;
  • the validity time of the registration-point-change request;
  • the authorization information; and
  • compliance with the single-active-registration-point policy.

When the request is accepted, MN-CSE B creates or prepares an associated with the authoritative . The target projection can initially have a pending registration status.

The IN-CSE then commits the registration-point change by:

  • changing the current registration point from MN-CSE A to MN-CSE B;
  • making the MN-CSE A inactive or deleting it according to the applicable lifecycle policy;
  • making the MN-CSE B active;
  • clearing the pending target registration point;
  • setting the handover state to completed; and
  • restoring requestReachability to TRUE through MN-CSE B.

MN-CSE B subsequently returns a successful registration response to the S-AE.

Failure handling

If the S-AE does not successfully register with MN-CSE B before the registration-point-change request expires, the IN-CSE can cancel or roll back the pending handover.

Rollback processing can include:

  • retaining MN-CSE A as the current registration point;
  • restoring requestReachability through MN-CSE A to TRUE;
  • removing any pending at MN-CSE B;
  • clearing the target-registration information;
  • setting the handover state to failed or cancelled; and
  • notifying the S-AE of the failure when it remains reachable.

Relationship to device triggering

The procedure described in the present clause uses the oneM2M subscription and notification framework because the S-AE remains reachable through MN-CSE A during handover preparation. The notification travels between CSEs over Mcc and is delivered to the S-AE over Mca.

The resource and Mcn device-triggering procedure are not required for this primary case. Underlying-network device triggering can be considered as a fallback when the registration-point-change notification cannot be delivered through MN-CSE A because the S-AE is no longer reachable through its existing Mca association.

Supporting this solution can require extensions defining:

  • a registration-point-change value for notificationEventType;
  • the resource types for which that event is applicable;
  • the associated notificationContentType;
  • the registration-point-change notification payload;
  • the conditions under which the event is generated;
  • notification ordering relative to changes in requestReachability; and
  • the behaviour expected from an S-AE receiving the notification.

7.3 Coordinate Federated Learning

7.3.0 Introduction

This clause describes the proposed oneM2M/ETSI MEC FL integration requirements, resource models, protocols, and detailed procedures. The generic FL taxonomy and aggregation topologies are introduced in clause 5.2.2, while concrete oneM2M/MEC actors, deployments, and functional capability groups are introduced in clauses 6.1 and 6.5.

As introduced in clause 5.2.2, FL uses authorized local training applications and exchanges algorithm-specific model updates or intermediate information rather than centrally pooling raw training datasets. Depending on the method, those exchanges may reveal sensitive information; remaining within the permitted trust boundary and using appropriate privacy controls are independent requirements. Clause 7.3 develops the candidate oneM2M/MEC integration rather than redefining the FL taxonomy.

As defined in clause 5.2.2, FL Coordinator is an umbrella implementation term. FL Service Orchestration admits and supervises operations and their placement; FL Training Coordination owns round/task scheduling, model handoff and training-progress reporting; FL Aggregation executes framework-specific update combination. These responsibilities may be co-located but retain distinct decision and status authorities. In earlier illustrative figures, labels such as “FL Coordinator” or “Orchestrator” should be interpreted according to the actual action described, not as authority to perform all three functions.

The oneM2M/MEC actors used below follow clause 6.1.4 and clause 6.5: FL Client AEs (including Trusted FL Client AEs) perform training; Data Owner/Source AEs govern source descriptions and access; IN/MN-CSEs provide oneM2M service-layer functions; and MEC hosts or non-MEC edge hosts provide execution environments. An IPE translates authorized interfaces or representations; a Gateway Agent exposes host capabilities and bridges deployment requests to an authorized lifecycle manager.

Deploying FL over real-world IoT-to-edge-to-cloud environments introduces infrastructure challenges that go beyond the FL algorithm itself, and motivate the solution developed in the remainder of this clause.

A fundamental prerequisite for FL is the ability to discover which clients are available for a given training round and assess their suitability: which nodes hold relevant data and are permitted to share it, which have sufficient compute headroom for local training, and which are reachable with acceptable link quality. In IoT deployments these questions are non-trivial - device populations are large, dynamic, and heterogeneous, with nodes joining or leaving the network, changing connectivity status, or exhausting resources between rounds. No standardized mechanism today allows FL coordination to query a distributed device population for FL-relevant attributes such as dataset size, data schema, or compute capacity; without a structured discovery and capability description layer, FL deployments are forced to rely on static configuration or proprietary inventory systems, severely limiting scalability and adaptability.

The placement of FL Clients and FL Coordinators across the cloud-edge-device continuum directly affects communication cost, latency, and resilience. Local FL Coordinators and Trusted FL Client applications are often dynamically deployed or migrated to edge nodes as conditions change, using an orchestration layer capable of matching component resource requirements against available infrastructure, instantiating and managing components as virtualized applications, and ensuring consistent model state throughout a training campaign. Current FL frameworks assume a static, pre-configured infrastructure and lack standardized interfaces for dynamic component deployment, a gap that is especially critical in IoT deployments where edge nodes span multiple administrative domains and shared compute resources.

The vast majority of deployed IoT endpoints - sensors, actuators, low-power wireless nodes, legacy PLCs - lack the memory, compute, and software stack required to execute local ML training, yet are precisely the sources of operational data that FL models are designed to learn from. A principled solution requires a Trusted FL Client: an edge-hosted application that collects raw observations from the devices it represents, performs local training within the edge domain, and submits only weight updates to the FL Coordinator, ensuring raw data never leaves the local domain.

The remainder of this clause develops these concepts into a complete oneM2M/ETSI MEC solution for Federated Learning: clause 7.3.1 describes the FL architectural patterns and the corresponding reference cloud/edge architectures; clause 7.3.2 applies them to an end-to-end use case covering the discovery, deployment, and coordinated operation of FL services; clause 7.3.3 analyses the resulting feature gaps against existing oneM2M and ETSI MEC capabilities; clause 7.3.4 derives informative key issues and requirements from that analysis; and clause 7.3.5 proposes candidate solutions addressing them.

7.3.1 FL Architectural Patterns

Federated Learning may be deployed across devices, gateways, edge platforms, and cloud infrastructure using different arrangements of FL Clients, FL Aggregators, and coordination functions.

An FL architecture may be characterized by several independent architectural dimensions:

  • Aggregation topology: describes how model updates are combined across participating FL nodes. Common topologies include centralised, hierarchical, and decentralised aggregation.
  • Infrastructure placement: identifies the execution environments hosting FL Clients, FL Aggregators, and coordination functions. These may include devices, gateways, MEC hosts, other edge execution platforms, and cloud infrastructure.
  • Coordination model: describes how FL operations, participant selection, training activities, and model distribution are coordinated. Coordination may be centralised, hierarchical, or peer-to-peer.
  • Trust and administrative boundaries: identify the domains within which training data, model updates, and FL management information may be processed or exchanged. Such domains may include individual devices, local gateways, edge infrastructure, enterprise networks, and multiple administrative or operator domains.
  • Communication model: describes how training activities and model exchanges are scheduled and synchronized. Communication may use synchronous training rounds, asynchronous model updates, or hybrid approaches.

These dimensions are related but do not establish a one-to-one correspondence. For example, multiple geographically distributed MEC hosts may participate in an FL operation that uses a single edge-hosted FL Aggregator. Although the infrastructure is geographically distributed, the aggregation topology remains centralised.

Similarly, an FL operation deployed entirely within edge infrastructure may employ centralised, hierarchical, or decentralised aggregation. The absence of cloud infrastructure does not, by itself, imply decentralised FL.

The aggregation topologies introduced in clause 5.2.2 provide the basis for characterizing how model updates are combined. The deployment configurations described below illustrate how these topologies may be realised using oneM2M and ETSI MEC infrastructure.

The selection of an FL configuration depends on the requirements of the FL operation, including available execution resources, network connectivity, communication overhead, latency, privacy and trust policies, participant distribution, and operational resilience.

Table 7.3.1‑1: Illustrative combinations of aggregation topology, infrastructure placement and coordination model

Example deployment
Aggregation topology
Aggregator placement
Coordination model
Cloud-hosted aggregation
Centralised
Single cloud host
Centralised
Single-edge aggregation
Centralised
Single MEC host
Centralised
Multi-edge, single aggregator
Centralised
One selected MEC host; clients on multiple hosts
Centralised
Edge-cloud aggregation hierarchy
Hierarchical
Local edge hosts; global cloud host
Centralised or hierarchical
Edge-only aggregation hierarchy
Hierarchical
Local MEC hosts; regional edge host
Centralised or hierarchical
Peer-to-peer multi-edge aggregation
Decentralised
Peer edge nodes without a single global aggregator
Peer-to-peer

NOTE: The entries are examples of deployments, not additional FL architectural categories. The trust boundary (e.g. device, gateway, enterprise, or cross-operator) and communication model (e.g. synchronous rounds or asynchronous updates) are additional, independently selected properties of each deployment. In particular, neither the use of multiple MEC hosts nor the absence of a cloud implies decentralised aggregation. The example combinations do not imply that every combination is appropriate for every FL algorithm or trust policy.

The following paragraphs describe centralised and hierarchical aggregation, which are the two topologies illustrated by the reference deployments in this clause. Decentralised aggregation is introduced in clause 5.2.2 but is not developed into a reference deployment here.

Centralised FL aggregation

Centralised FL employs a single logical FL Aggregator that combines model updates received from participating FL Clients. The FL Aggregator may be deployed in the cloud, on an MEC host, on a gateway, or in another suitable execution environment.

The FL Service Orchestration and FL Training Coordination functions may be co-located with the FL Aggregator or implemented separately. The location of these functions does not change the centralised aggregation topology.

The FL Clients may be hosted on individual devices or distributed across multiple MEC hosts and oneM2M service domains. Where an FL operation spans multiple edge hosts, oneM2M and ETSI MEC capabilities may support participant discovery, model distribution, collection of updates, and management of the associated application instances.

Hierarchical FL aggregation

Hierarchical FL employs two or more aggregation stages. FL Clients submit model updates to local FL Aggregators, which combine the received updates and forward intermediate aggregation results to higher-level FL Aggregators.

The hierarchy may be implemented using local edge aggregators and a cloud-hosted global aggregator, or entirely within edge infrastructure using a regional edge host for global aggregation. Additional aggregation levels may be introduced where appropriate for the scale and distribution of the participating clients.

The coordination model is independent of the number of aggregation stages. A single FL Orchestrator may manage the complete hierarchy, or coordination responsibilities may be delegated among multiple components.

Hierarchical aggregation may reduce the volume of model-update traffic over constrained network links through local pre-aggregation. The actual performance depends on the communication model, aggregation frequency, participant distribution, and characteristics of the training algorithm.

As an infrastructure-placement choice, a centralised aggregation topology may use a cloud-hosted or edge-hosted FL Aggregator; the FL Service Orchestrator and FL Training Coordinator may be placed independently. In the cloud-based variant, global model aggregation takes place entirely on the cloud server: end-devices (smartphones, IoT sensors, laptops) train a local model on their own data without ever transferring raw data elsewhere, and only local model parameters are sent to the cloud for aggregation - typically via FedAvg - after which the updated global model is redistributed to all participants. This scheme offers centralized management and operational simplicity, but implies heavy use of backhaul links toward the cloud and can introduce significant latency for IoT applications with real-time requirements; it is best suited when edge node computational power is limited or when the connection to the cloud is reliable and high-bandwidth. In the edge-based variant, aggregation is performed directly on an edge server - such as an edge node, MEC node, or micro datacenter - physically close to the devices, which drastically reduces communication latency compared to the cloud-based variant and lowers bandwidth consumption on remote backhaul links, and is particularly advantageous for latency-sensitive IoT applications such as autonomous driving or smart manufacturing; the main drawbacks are that the edge server represents a single point of failure and its computational capacity may be significantly lower than that of a centralized cloud.

One example of hierarchical FL introduces two aggregation stages: devices send their model updates to a local edge aggregator, which performs first-level aggregation, and the edge-aggregated results are then forwarded to a global aggregator that may be hosted in the cloud or at another edge node, after which the final global model is redistributed down the hierarchy. This design exploits the low latency of device-to-edge communication for frequent training rounds, while reducing cloud-bound traffic through local pre-aggregation at the edge. Its scalability and resilience depend on participant distribution, network conditions, and failure handling; multi-stage aggregation introduces additional coordination complexity, whether the aggregation levels are hosted at the edge or in the cloud.

Figures 7.3.1‑1 and 7.3.1-2 illustrate representative deployments of centralised and hierarchical FL aggregation using oneM2M and ETSI MEC infrastructure.

Figure 7.3.1‑1 illustrates a single logical aggregation stage, while Figure 7.3.1‑2 illustrates local aggregation followed by global aggregation. The location of the FL Orchestration, FL Training Coordination, and FL Aggregation functions in these figures represents one possible deployment configuration and does not constrain alternative function placements.

Both figures illustrate how oneM2M CSEs, AEs, MEC applications, and applicable service interfaces may support the deployment and operation of an FL service.

In the cloud layer of both figures, the FL Coordinator is hosted as an AE on the IN-CSE and embeds the FL Orchestrator (client selection, round scheduling, policies, fault tolerance) and the global FL Aggregator (global aggregation, e.g. FedAvg, and model versioning). In the edge layer, hosted on the ETSI MEC platform, the MN-CSE provides the oneM2M edge service layer (containers, subscription/notification, group communication) and synchronises with the IN-CSE over Mcc; a MEC Platform Manager governs deployment and placement of the MEC Applications over Mp1, drawing on MEC Context APIs (location, network, and QoS/RNIS information) where useful for placement and migration decisions.

Devices connect to this architecture in one of three ways, reflected by the three device categories in both figures:

  • FL-native oneM2M devices register as an AE on the MN-CSE and are capable of local training; they exchange the model and its updates directly with the MN-CSE over Mca;
  • non-FL oneM2M devices (e.g. constrained sensors and actuators registered as an ADN) can expose their raw data over Mca but cannot train locally; they are represented by a Trusted FL Client - a MEC Application registered as an MN-AE on the MN-CSE - which retrieves their raw data, trains on their behalf entirely within the edge domain, and submits only the resulting updates, consistently with clause 7.3.2.11;
  • legacy, non-oneM2M devices (e.g. fieldbus endpoints) connect through an IPE/Proxy, a MEC Application that bridges their custom protocol into oneM2M resources on the MN-CSE; the Trusted FL Client then trains on their behalf in the same way as for non-FL oneM2M devices.

Centralised FL. In Figure 7.3.1‑1, no Local FL Aggregator is present: the MN-CSE and the MEC Platform Manager interact directly with the cloud-hosted FL Coordinator over Mca and Mp1 respectively, so every FL Client - whether FL-native, represented by a Trusted FL Client, or reached through an IPE/Proxy - is ultimately coordinated and aggregated at a single point. The oneM2M platform contributes client registration, discovery and selection, round coordination, model distribution, parameter collection, and access control; the ETSI MEC platform contributes FL Client and Trusted FL Client hosting, protocol and data mediation for non-oneM2M devices, and context enrichment for client selection and round scheduling.

Figure 7.3.1-1: Cloud/Edge Architecture for Centralised Federated Learning (oneM2M and ETSI MEC)
Figure 7.3.1‑1: Cloud/Edge Architecture for Centralised Federated Learning (oneM2M and ETSI MEC)

Figure 7.3.1‑1: Cloud/Edge Architecture for Centralised Federated Learning (oneM2M and ETSI MEC)

The Mca reference point is used differently depending on which components it connects, since it carries several distinct oneM2M mechanisms rather than a single message type. Between the IN-CSE and the FL Coordinator, Mca carries the discovery, group communication, subscription/notification, and access-control primitives that the FL Coordinator relies on, rather than FL data itself. Between the MN-CSE and the cloud, Mca carries model distribution and update staging. Between the MN-CSE and an FL-native device, Mca carries the model downlink and the update uplink directly, since the device registers as an AE and trains on its own. Between the MN-CSE and a non-FL device, Mca carries only raw data, because that device cannot run FL and is represented instead by the Trusted FL Client; the Trusted FL Client's own Mca interaction with the MN-CSE accordingly combines all three payloads - model downlink, update uplink, and raw data downlink. Mechanically, these payloads correspond to different oneM2M resource types and operations carried over Mca: AE registration - complemented by a node resource describing device hardware, capabilities, and status - is used for FL-native devices and the Trusted FL Client; container resources on the MN-CSE stage raw data and model updates; a group resource lets the FL Coordinator distribute the model to all selected participants in a single operation instead of addressing each FL Client individually; and the subscription and notification mechanism signals the start of a round without polling.

The Mp1 reference point plays the equivalent role on the ETSI MEC side of the architecture, but only where MEC-managed lifecycle is actually involved. The Trusted FL Client uses Mp1 to register its availability with the MEC Platform Manager and to receive lifecycle operations such as instantiation, migration, and optimized placement. The FL Coordinator and Orchestrator use the same reference point to query the MEC Context APIs - location, network, and QoS information, exposed through the Radio Network Information Service (RNIS) and Location APIs - for proximity-based client clustering, link-quality-aware exclusion of degraded participants, and resource-aware placement decisions. The IPE/Proxy, although also a MEC Application, uses only Mca to interact with the MN-CSE and its own custom protocol to bridge the legacy device it represents; its MEC-side lifecycle management is not part of this interaction.

As introduced above, this single point may be hosted in the cloud or at the edge, and Figure 7.3.1‑1 supports both readings without a dedicated diagram for each: in the cloud-based variant, the FL Coordinator remains on the IN-CSE exactly as depicted, and all interactions between the FL Clients and the oneM2M platform traverse the internet, which may affect round completion time in deployments with a large number of FL Clients or with constrained internet connectivity; in the edge-based variant, the FL Orchestrator and FL Aggregator are instead hosted on the ETSI MEC platform itself - with no cloud infrastructure required - and the same MN-CSE, MEC Platform Manager, Trusted FL Client, and IPE/Proxy interactions apply locally, which is particularly suited to latency-sensitive or privacy-constrained deployments where data is not permitted to leave the local edge environment.

Hierarchical FL. Figure 7.3.1‑2 introduces a Local FL Aggregator - deployed as a MEC Application and represented as an MN-AE on the MN-CSE - that performs a first-level aggregation of nearby FL Clients and produces a partial model, which is exchanged with the cloud FL Coordinator as a second, global aggregation stage; the MN-CSE and the MEC Platform Manager now interact with this Local FL Aggregator over Mca and Mp1 respectively, rather than directly with the cloud. Subscription and notification coordinate local training rounds among nearby FL Clients without requiring cloud involvement for each round, containers buffer local model updates before they are forwarded as a partial model to the cloud-level FL Aggregator, group communication distributes the aggregated model back to the local FL Clients, and discovery and orchestration functions at the cloud level manage global round scheduling and synchronisation across multiple edge aggregation points. MEC compute resources host the FL Client, Trusted FL Client, and Local FL Aggregator, and MEC federation APIs (ETSI GS MEC 040 [i.15]) may support coordination between multiple MEC hosts acting as local aggregation points.

Figure 7.3.1-2: Cloud/Edge Architecture for Hierarchical Federated Learning (oneM2M and ETSI MEC)
Figure 7.3.1‑2: Cloud/Edge Architecture for Hierarchical Federated Learning (oneM2M and ETSI MEC)

Figure 7.3.1‑2: Cloud/Edge Architecture for Hierarchical Federated Learning (oneM2M and ETSI MEC)

The same Mca and Mp1 reference points are used at the device-to-edge leg of this configuration: FL Clients stage their updates as container resources for the Local FL Aggregator over Mca rather than for the cloud FL Coordinator, and the Local FL Aggregator itself uses Mp1 to register with the MEC Platform Manager in the same way as the Trusted FL Client - making it, too, subject to migration and re-placement as an ordinary MEC Application. The edge-to-cloud leg instead uses a direct FL-level exchange between the Local FL Aggregator and the cloud FL Coordinator/Aggregator - the partial model going up, the current global model coming down - that is not carried over Mca, Mcc, or Mp1: it is a plain interaction between the two aggregation stages rather than one tied to a specific oneM2M or MEC reference point.

The global aggregation stage in Figure 7.3.1‑2 need not be hosted in the cloud. The same two-stage aggregation topology can be deployed entirely across edge nodes: local FL Aggregators on individual MEC hosts forward intermediate updates to a regional edge-hosted FL Aggregator performing the global aggregation role. FL Service Orchestration and FL Training Coordination may be placed independently of these aggregation stages. This edge-only deployment removes the need for a cloud-hosted aggregation function while preserving the hierarchical topology. Its communication and resilience benefits depend on the connectivity and resources available between edge hosts.

Multi-edge FL deployment

FL operations may span multiple MEC hosts or other edge execution platforms. Such deployments may employ centralised, hierarchical, or decentralised aggregation, depending on how participating FL Clients and FL Aggregators exchange and combine model updates.

In a centralised multi-edge configuration, FL Clients distributed across multiple edge hosts submit model updates to a single logical FL Aggregator hosted on a selected edge or cloud execution platform. In a hierarchical multi-edge configuration, local FL Aggregators combine model updates from their respective client groups before forwarding intermediate aggregation results to a higher-level FL Aggregator.

The global aggregation function may be hosted on another edge platform or in the cloud. In a decentralised multi-edge configuration, participating edge nodes may exchange and combine model information through peer-to-peer interactions without relying on a single global FL Aggregator. An FL Agent may be deployed on an edge host to manage local FL operations, including participant coordination, local aggregation control, and model management. Where peer-to-peer coordination is supported, FL Agents may cooperate across MEC hosts to exchange operational state and model information. The presence of FL Agents on multiple edge hosts does not, by itself, establish a decentralised aggregation topology. The aggregation topology depends on the model-update exchange and combination procedures employed by the FL operation. oneM2M discovery, registration, subscription and notification, and group communication mechanisms, together with applicable ETSI MEC services, may support the discovery and coordination of participating edge nodes. Additional FL-specific procedures may be needed depending on the selected aggregation topology and coordination model.

The architectural dimensions described in this clause may be combined to address different deployment requirements. For example, an FL operation may use centralised aggregation across multiple MEC hosts, hierarchical aggregation with all aggregation stages hosted at the edge, or decentralised aggregation across peer edge nodes. Cloud-hosted coordination may also be combined with edge-hosted aggregation where appropriate. These configurations represent combinations of aggregation topology, infrastructure placement, and coordination model rather than additional FL architectural categories.

The appropriate combination depends on latency constraints, data privacy policies, infrastructure availability, scalability requirements, and the selected FL algorithm. The diagrams depict illustrative placements of logical FL functions; they do not define additional aggregation-topology categories.

The architectures in Figures 7.3.1‑1 and 7.3.1-2 and the configurations described in this clause identify where FL functions may execute and which oneM2M and ETSI MEC capabilities may support them. The architecture alone does not define the complete procedure by which suitable data and execution resources are discovered, FL components and models are deployed, clients become ready, training is coordinated, and the resulting model is deployed for inference. Clause 7.3.2 therefore applies the architecture to an end-to-end use case. The use case includes ETSI MEC-managed hosts and allows other edge execution platforms where an authorized interworking function can invoke the applicable local lifecycle mechanism.

7.3.2 Discovery, deployment, and coordinated operation of FL services

7.3.2.0 Introduction

This clause specifies an end-to-end oneM2M/ETSI MEC use case that applies the architecture described in clause 7.3.1 to the practical problem of discovering, deploying, and operating a Federated Learning service. It first motivates the use case and introduces its actors (clauses 7.3.2.1 and 7.3.2.2), then defines the preconditions and information elements a solution needs to track (clauses 7.3.2.3 to 7.3.2.6), the normal procedure that ties them together (clause 7.3.2.7), and a set of deployment and operational variants that adapt the normal procedure to specific execution targets and device populations (clauses 7.3.2.8 to 7.3.2.14), before closing with a consolidated message sequence chart (clause 7.3.2.15).

7.3.2.1 Service motivation

The architectural patterns in clause 7.3.1 identify where FL functions may execute, but they do not by themselves guarantee that a specific deployment can be assembled: candidate participants can still be found, described, selected, deployed, and kept operational as conditions change. This clause motivates the dedicated use case developed in the remainder of clause 7.3.2 and states what it should and should not attempt to standardize.

FL frameworks commonly assume that participating clients, network endpoints, local datasets, software environments, and model distribution mechanisms are configured before training begins. This assumption is difficult to sustain in IoT and edge deployments containing:

  • dynamically available devices and gateways;
  • private data distributed across multiple administrative domains;
  • heterogeneous processor architectures and accelerators;
  • constrained devices that cannot perform local training;
  • MEC and non-MEC execution platforms;
  • multiple application and model versions; and
  • changing resource, connectivity, trust, and policy conditions.

The purpose of this use case is to apply oneM2M and ETSI MEC capabilities to provide a common service-layer procedure for:

  • describing the desired FL service outcome;
  • discovering potentially suitable data without retrieving raw data;
  • discovering candidate FL Clients and execution hosts;
  • selecting participants and execution targets;
  • deploying FL applications and model artifacts;
  • coordinating FL readiness and execution;
  • monitoring operation state;
  • adapting participant and deployment selections; and
  • deploying the resulting inference model.

The use case does not standardize an FL algorithm, aggregation algorithm, model representation, or raw-data format.

The remainder of this clause defines the actors, information, and procedure that realize this scope: clause 7.3.2.2 introduces the actors involved, clauses 7.3.2.3 to 7.3.2.6 define preconditions and information elements, and clause 7.3.2.7 specifies the normal procedure that ties them together.

7.3.2.2 Actors

The actors are described by the actions they perform rather than by a specific product, since a single implementation may combine several actors and a single actor may be realized by more than one deployed component. They span the full path from expressing an FL service intent to operating the resulting inference service: a consumer-facing role, coordination and platform functions, execution-time roles, and supporting infrastructure.

The FL Service Consumer is the actor on whose behalf an FL operation is ultimately carried out; it does not need to know how the outcome is achieved, only how to express it and how to receive results. The FL Service Consumer:

  • defines the desired FL outcome;
  • provides or references a model, algorithm, or training profile;
  • specifies data, participant, execution, and policy requirements;
  • requests creation, modification, pause, resumption, cancellation, or termination of an FL operation; and
  • receives operation status and results.

The FL Orchestration Function is the actor that turns this expressed outcome into a concrete, managed execution.

Acting on behalf of the FL Service Consumer, the FL Orchestration Function is the central coordinating actor of the use case, spanning discovery, deployment, and adaptation rather than a single stage of the procedure. The FL Orchestration Function:

  • creates and manages FL service intent and FL operation information;
  • discovers candidate data sources, FL Clients, and execution hosts;
  • evaluates data suitability and execution capability;
  • applies participant-selection and placement policy;
  • requests deployment of FL components and models;
  • correlates deployment state with FL Client readiness;
  • coordinates participant sets and adaptation; and
  • reports operation status to the FL Service Consumer.

The FL Orchestration Function is a logical function and the authoritative controller of the proposed operation state. It may be implemented by an FL Orchestrator AE, an application using oneM2M services, or a combination of authorized application and platform functions; CSE mediation does not transfer ownership of FL admission or terminal decisions. It relies on the oneM2M Service Layer and, where applicable, the ETSI MEC System - both described next - to carry out discovery, deployment, and status correlation.

The oneM2M Service Layer is the common infrastructure the FL Orchestration Function relies on to register, discover, and correlate the other actors, independently of where each of them is deployed. The oneM2M Service Layer:

  • registers or represents applications, devices, nodes, data sources, and Gateway Agents;
  • stores or references capability and data suitability descriptions;
  • performs resource and semantic discovery;
  • enforces access-control policies;
  • supports group communication;
  • supports subscription and notification;
  • stores or references service intent, operation, task, round, model, deployment, and status information;
  • provides Software Campaign functionality when applicable; and
  • correlates resources distributed across IN-CSE and MN-CSE deployments.

Where an execution target is hosted on the ETSI MEC platform, the oneM2M Service Layer works alongside the ETSI MEC System described next, rather than replacing its lifecycle-management authority.

The ETSI MEC System

Where a selected execution target is hosted on the ETSI MEC platform, the ETSI MEC System is the actor that retains authority over its resources, complementing the oneM2M Service Layer rather than being subordinate to it. The ETSI MEC System:

  • manages MEC hosts and platforms;
  • provides authorized host, resource, service, and application information;
  • manages application packages and descriptors;
  • validates application requirements;
  • selects or confirms MEC execution resources according to MEC procedures;
  • instantiates, operates, updates, and terminates MEC Applications;
  • reports lifecycle operation and application-instance status; and
  • preserves the authority of MEC management functions over MEC resources.

The actor may include the MEO, MEPM, MEC Platform, virtualisation infrastructure management functions, and MEC Hosts required for the applicable procedure. The Gateway Agent or Platform Interworking Function, described next, is what allows the oneM2M-facing part of the use case to invoke this authority without duplicating it.

The Gateway Agent or Platform Interworking Function is the actor that bridges the common, oneM2M-facing view of deployment intent with the platform-specific lifecycle mechanism of the selected execution target, whether that target is managed by ETSI MEC or by another edge execution platform. The Gateway Agent or Platform Interworking Function:

  • registers or represents an edge host in oneM2M;
  • publishes or updates host and runtime capabilities;
  • receives deployment intent addressed to the host;
  • maps the common request to an authorized local lifecycle mechanism;
  • invokes or coordinates with MEC management when the target is part of a MEC system;
  • invokes another platform lifecycle adapter for other edge execution platforms;
  • reports deployment status and instance correlation; and
  • monitors deployed applications when supported.

The Gateway Agent does not replace the MEO or MEPM: it invokes their authority on behalf of the oneM2M-facing procedure rather than substituting for it. A separate MEC IPE AE may translate MEC service information into oneM2M representations. MEC registration is conditional on the actual application deployment and MEC role.

The Application and Model Repository is the actor from which the FL Orchestration Function, the Gateway Agent, and MEC or other platform lifecycle functions retrieve the packages and model artifacts referenced by an FL operation. The Application and Model Repository:

  • stores or references FL application packages;
  • stores model artifacts, versions, and metadata;
  • supplies integrity and compatibility information;
  • authorizes retrieval; and
  • supports version selection and rollback where applicable.

It is a logical role and may be provided by an existing oneM2M or MEC application repository rather than by a dedicated new function.

The Data Source is the actor that owns the raw data an FL operation is meant to learn from, and is deliberately kept distinct from the FL Client or Trusted FL Client that processes it, since the two roles may or may not be co-located. The Data Source:

  • holds data that may be processed locally;
  • publishes or permits publication of a data suitability description;
  • enforces applicable data-use and access policy; and
  • provides local data to an authorized FL Client or Trusted FL Client without requiring transfer to the FL Service Consumer.

A Data Source may be an FL-native device, oneM2M AE, legacy device represented through an IPE, local data service, or another authorized data-holding entity.

The FL Client is the actor that performs local training on data it can access directly; devices unable to fill this role themselves are instead represented by a Trusted FL Client, described next. The FL Client:

  • executes on a selected device or host;
  • reports execution capability and readiness;
  • accesses authorized local data;
  • receives an FL task, model reference, and training configuration;
  • performs local training;
  • returns model updates and status; and
  • does not transfer raw training data as part of the FL procedure.

An FL Client is application software, typically represented by an AE; it may execute on a capable device, a gateway hosting an MN-CSE, an MEC host, or another authorized edge host. Training assignments and model handoff are controlled by FL Training Coordination, while the FL Aggregator executes the configured update-combination algorithm.

The Trusted FL Client is the actor that extends FL participation to devices that cannot themselves fulfil the FL Client role, consistently with the non-FL-native device support described in clause 6.5.7 and clause 7.3.2.11. The Trusted FL Client:

  • executes on a gateway, MEC host, or other capable local execution platform;
  • accesses data from one or more constrained or non-FL-native devices within a local trust domain;
  • performs FL Client functions on behalf of those devices; and
  • submits only permitted model updates or metrics outside the local domain.

As with the FL Client, the Trusted FL Client interacts with the FL Coordinator and Aggregator described next; the difference lies entirely in how it obtains the data it trains on, not in how it participates in a round.

FL Training Coordination assigns tasks and participants, schedules rounds or asynchronous exchanges, hands off approved model references, accepts permitted update reports, and publishes authoritative task/round progress to the FL Orchestration Function.

FL Aggregation consumes eligible updates under the selected framework, applies the algorithm-specific combination and reports the resulting model and aggregation outcome to Training Coordination. Training Coordination reports round completion; the FL Orchestration Function alone evaluates operation-wide acceptance and terminal state. These logical functions may be co-located but are not inherent CSE or MEC management functions. The legacy term “FL Coordinator” in illustrative sequence charts denotes Training Coordination unless the action is explicitly delegated to the separate Aggregation function.

The Inference Deployment Target is the actor that receives the outcome of a completed FL operation; unlike the other actors, it is only involved once training has produced a model ready for deployment. The Inference Deployment Target:

  • reports or is represented by its execution capabilities;
  • receives an authorized inference package when compatible;
  • validates or permits validation of package integrity and compatibility;
  • activates the model; and
  • reports deployment and operational status.

Whether the model is deployed to it directly or only mediated through an edge inference application, as described in clause 7.3.2.12, its readiness and status close the loop back to the FL Service Consumer.

Together these actors span the full path from expressing an FL service intent to operating the resulting inference service.

7.3.2.3 Preconditions

Before the normal procedure in clause 7.3.2.7 can be initiated, the actors described in clause 7.3.2.2 need to already satisfy a minimum set of registration, authorization, and availability conditions. The following preconditions apply:

  1. The FL Orchestration Function is registered with or authorized to use the oneM2M Service Layer.
  2. Candidate hosts, FL Clients, Data Sources, or their representing functions can register or be represented in oneM2M.
  3. Data owners have defined the metadata and policies that may be disclosed through data suitability descriptions.
  4. Gateway Agents or equivalent interworking functions are associated with hosts requiring remote deployment.
  5. The applicable application and model packages are available from an authorized repository.
  6. Required identities, credentials, trust relationships, and network connectivity have been established.
  7. MEC-managed targets can process the applicable package and lifecycle request through authorized MEC functions.
  8. Other edge targets expose a lifecycle mechanism that can be invoked through an authorized adapter.
  9. The FL Coordinator and Aggregator are available or can be deployed as part of the procedure.

These preconditions do not imply that every actor is already running a full FL deployment: they establish only the minimum registration, trust, and packaging conditions from which discovery, evaluation, and deployment - described in clauses 7.3.2.4 to 7.3.2.9 - can proceed.

7.3.2.4 Information associated with an FL Client or Data Source

Candidate discovery and evaluation - steps 5 and 6 of the normal procedure in clause 7.3.2.7 - rely on a common information model describing FL Clients and Data Sources. This clause defines the fields such a description may carry, without mandating a specific resource representation. Information used for discovery and selection may include:

  • client or data-source identifier;
  • administrative domain and owner reference;
  • authorization and permitted-purpose information;
  • FL framework or execution profile;
  • processor architecture;
  • compute, memory, storage, and acceleration capability;
  • current availability and scheduling window;
  • supported model or package formats;
  • reachable service endpoints;
  • trust or attestation information;
  • data suitability description;
  • associated host or Gateway Agent reference;
  • ability to execute concurrent FL operations;
  • historical reliability or participation information;
  • energy or battery constraints; and
  • references to applicable policies.

A data suitability description may include:

  • data modality;
  • schema, features, labels, or semantic concepts;
  • approximate sample count or volume;
  • data age and freshness;
  • collection rate or temporal coverage;
  • operating conditions represented by the data;
  • known quality indicators;
  • class or condition distribution expressed at an authorized level of detail;
  • permitted processing purpose;
  • locality or sovereignty constraints; and
  • whether data may be used for training, validation, evaluation, or inference monitoring.

Information disclosure should be limited to what is authorized and necessary for selection. The corresponding information associated with the FL service intent and the resulting FL operation is defined in clauses 7.3.2.5 and 7.3.2.6.

7.3.2.5 Information associated with an FL service intent

The FL service intent is the record through which the FL Service Consumer expresses the desired FL outcome to the FL Orchestration Function (see clause 7.3.2.2), independently of how it will eventually be realized. An FL service intent may include:

  • intent identifier;
  • requested FL operation type;
  • model, algorithm, or repository reference;
  • requested FL architectural pattern;
  • data suitability criteria;
  • minimum and maximum participant count;
  • participant diversity or distribution criteria;
  • required execution environment;
  • compute, memory, storage, and acceleration requirements;
  • required oneM2M or MEC services;
  • trust, privacy, locality, and administrative constraints;
  • start conditions;
  • stopping conditions;
  • deadline and scheduling constraints;
  • operation priority;
  • failure, retry, rollback, and reselection policy;
  • status-notification target;
  • result requirements;
  • model publication policy; and
  • inference-deployment objective.

An FL operation, defined in clause 7.3.2.6, is the managed execution created from this intent; keeping the two as distinct, correlated information elements lets the requested outcome remain stable even as the underlying deployment and execution are adapted over time.

7.3.2.6 Information associated with an FL operation

On acceptance of an FL service intent (clause 7.3.2.5), and before discovery, the FL Orchestration Function creates an FL operation as the addressable record of discovery, preparation and training execution. Inference deployment is a separately managed, correlated lifecycle and is not a condition of training completion. An FL operation may include:

  • operation identifier;
  • associated service-intent identifier;
  • operation state;
  • selected participant pool;
  • selected execution hosts;
  • deployment request and campaign references;
  • deployed application-instance references;
  • model and model-version references;
  • task and round references;
  • coordinator and aggregator references;
  • operation progress;
  • participant rejection and failure information;
  • adaptation history;
  • result and error information; and
  • references to independently managed inference deployments, where applicable.

This information is populated and updated throughout the normal procedure described in clause 7.3.2.7 and is what the monitoring and adaptation step of that procedure observes to decide whether the operation is proceeding as intended.

7.3.2.7 Normal procedure

Building on the actors of clause 7.3.2.2, the preconditions of clause 7.3.2.3, and the information elements of clauses 7.3.2.4 to 7.3.2.6, this clause describes how a model-update intent is admitted, resolved into an FL operation, and executed to produce an evaluated model result. Subsequent inference deployment is optional and independently managed. The normal procedure is:

  1. Host and function registration
    Gateway Agents, hosts, FL-native applications, and available FL infrastructure functions register or are represented in the oneM2M Service Layer.

  2. Capability publication
    Hosts and FL Clients publish or update execution, availability, trust, interface, and lifecycle capabilities.

  3. Data-source registration
    Data Sources register or are represented and publish authorized data suitability descriptions. Raw data remain local.

  4. Service-intent and early operation creation
    The FL Service Consumer identifies the base model/version and desired update outcome. After validating the intent, the FL Orchestration Function creates the correlated FL operation in the pending state before initiating discovery. Rejected requests do not create executable operations.

  5. Candidate discovery
    The FL Orchestration Function performs oneM2M resource or semantic discovery for candidate Data Sources, FL Clients, and execution hosts.

  6. Candidate retrieval and evaluation
    The FL Orchestration Function retrieves authorized descriptions and evaluates data suitability, execution compatibility, availability, trust, policy, network reachability, and administrative constraints.

  7. Participant and placement selection
    The FL Orchestration Function first matches model-compatible authorized data descriptions to reachable execution hosts and available or deployable FL Clients, obtains separate data-use and placement acceptance, and selects candidate bindings. It determines whether the required functions are already present or need deployment.

  8. Participant binding and operation update
    The FL Orchestration Function records accepted data-source-to-host-to-client relationships as participant bindings, updates the existing FL operation and subscribes to relevant status changes. Discovery results alone do not authorize dataset access or reserve compute capacity.

  9. Deployment planning
    For each selected target, the FL Orchestration Function determines whether deployment should use:

    • oneM2M Software Campaign;
    • ETSI MEC application lifecycle management;
    • another edge-platform lifecycle adapter;
    • an existing application instance; or
    • a combination of these mechanisms.
  10. Software Campaign creation, when applicable
    For coordinated software or model operations across oneM2M-managed targets, the authorized function creates or invokes a Software Campaign containing the applicable target references, software operation, package or model reference, version, trigger criteria, and status correlation.

  11. MEC lifecycle invocation, when applicable
    For a MEC-managed target, an authorized Gateway Agent or interworking function requests or coordinates the applicable package and lifecycle operation through MEC management functions. MEC functions retain resource-allocation and lifecycle authority.

  12. Other-platform lifecycle invocation, when applicable
    For another edge execution platform, the Gateway Agent invokes the authorized local lifecycle adapter.

  13. Package and compatibility validation
    The target lifecycle function retrieves the application or model package, validates identity and integrity, and verifies compatibility with the selected execution environment.

  14. Application and model instantiation
    The selected platform allocates resources, installs or updates the required FL component or model, applies configuration, and starts the application where applicable.

  15. Deployment-status correlation
    Software Campaign results, MEC lifecycle-operation identifiers, local operation identifiers, application-instance identifiers, and model versions are correlated with the FL operation and target.

  16. FL Client registration and readiness
    A deployed FL Client registers as a oneM2M AE or is represented by a Gateway Agent or IPE. It reports readiness, supported service profile, coordinator reference, model reference, and deployment correlation.

  17. Participant confirmation
    The FL Orchestration Function confirms that the required participants are eligible and ready. A client may accept or reject participation. Rejected or unavailable clients may be replaced according to policy.

  18. Task and round creation
    The FL Coordinator creates participant-specific FL tasks and initiates a training round with the current model and configuration.

  19. Model distribution
    The model or model reference is distributed to selected FL Clients. Group communication, Software Campaign, repository retrieval, or application-specific FL transfer may be used according to the artifact and target.

  20. Local training
    Each FL Client or Trusted FL Client trains using authorized local data and reports progress according to policy.

  21. Update collection and aggregation
    Model updates are collected and combined according to the aggregation topology selected for the FL operation, as described in clause 7.3.1. Aggregation may occur at a single logical aggregation point, across multiple hierarchical aggregation stages, or through decentralised model-update exchanges. The execution hosts and communication procedures depend on the selected deployment configuration.

  22. Round-status reporting
    Round state, participant state, update receipt, aggregation state, and new model version are reported through the applicable oneM2M and FL service procedures.

  23. Monitoring and adaptation
    The FL Orchestration Function monitors deployment, readiness, resource, policy, and operation state. It may reselect a participant, create a replacement deployment, retry a failed operation, roll back a package or model version, or modify the participant pool.

  24. Training operation completion
    Training continues until an applicable stopping condition is reached. The operation becomes completed only when the required training result and evaluation criteria have been satisfied; otherwise it records the appropriate unsuccessful or policy-controlled outcome. The model/version reference and final operation status are made available to authorized consumers independently of inference deployment.

  25. Inference-deployment planning
    The FL Orchestration Function discovers and selects inference targets based on model requirements, target capabilities, policy, and locality.

  26. Inference deployment
    A compatible model is deployed directly to a capable target, or an edge inference application is deployed to act on behalf of a constrained device.

  27. Inference readiness and monitoring
    The target reports active model version and operational status. Authorized monitoring information may trigger a later retraining or model-replacement operation.

Steps 9 to 15 (deployment planning and execution) and steps 25 to 27 (inference-deployment planning and execution) are further detailed by the deployment and operational variants in clauses 7.3.2.8 to 7.3.2.14, which apply this same procedure to specific execution targets, device populations, and pre-existing deployments.

7.3.2.8 Deployment on an existing ETSI MEC system

This clause details how deployment planning and MEC lifecycle invocation - steps 9 and 11 of the normal procedure in clause 7.3.2.7 - are carried out when the selected target is managed by an ETSI MEC system, consistently with the architecture described in clause 7.3.1. When the selected execution target is managed by an ETSI MEC system:

  • the MEO and MEPM retain control of package management, placement, resource allocation, instantiation, operation, and termination;
  • the FL Orchestration Function expresses FL service intent and selects candidates but does not directly allocate MEC resources;
  • a Gateway Agent or authorized interworking function maps or references FL deployment information in the applicable MEC application descriptor and lifecycle request;
  • the MEC system may confirm or modify placement according to its policies and available resources;
  • MEC lifecycle-operation and application-instance status are correlated with oneM2M and FL operation information;
  • MEC services and context information may be used as participant-selection and scheduling inputs; and
  • the resulting FL component may register with both MEC application-support functions and the oneM2M Service Layer where applicable.

A oneM2M Software Campaign may be used to coordinate a related software or model operation across oneM2M targets, but it does not replace MEC lifecycle management for MEC Applications. Clause 7.3.2.9 describes the corresponding procedure for execution targets outside an ETSI MEC system.

7.3.2.9 Deployment on another edge execution platform

Complementing clause 7.3.2.8, this clause covers deployment planning and lifecycle invocation - steps 9 and 12 of the normal procedure - when the selected execution target is not managed by an ETSI MEC system, through the Gateway Agent or Platform Interworking Function introduced in clause 7.3.2.2. When the selected target is not managed by an ETSI MEC system:

  • the host and Gateway Agent use the common oneM2M discovery and intent-delivery view;
  • the host description identifies supported package formats, execution capabilities, and lifecycle-adapter profile;
  • the FL Orchestration Function applies the same FL service-intent and operation procedure;
  • the Gateway Agent invokes the local lifecycle interface;
  • platform-specific operation and instance identifiers are mapped to the common status representation; and
  • the platform is not represented as ETSI MEC-compliant unless it implements the applicable ETSI MEC requirements.

This keeps the discovery, intent, and status-correlation model common across MEC and non-MEC targets alike, while leaving platform-specific lifecycle mechanics to the applicable local adapter.

7.3.2.10 Constrained-device training variant

This clause specialises the normal procedure of clause 7.3.2.7 for the case where a selected Data Source cannot itself act as an FL Client, relying instead on a Trusted FL Client acting on its behalf. When a selected Data Source cannot execute local training:

  1. The Data Source registers or is represented in oneM2M.
  2. Its data suitability description indicates that local data are available but native FL training is not supported.
  3. The FL Orchestration Function discovers a suitable trusted gateway, MEC host, or other local execution host.
  4. A Trusted FL Client is selected or deployed on that host.
  5. The Trusted FL Client is authorized to retrieve or subscribe to the local data through oneM2M or an IPE.
  6. Raw data remain within the local trust domain.
  7. The Trusted FL Client performs local training and submits only permitted model updates.
  8. The FL operation correlates the Trusted FL Client with the represented Data Sources.

Clause 7.3.2.11 details the concrete mechanisms - Mca subscription for oneM2M devices and an IPE/Proxy for legacy, non-oneM2M devices - through which a Trusted FL Client accesses the data of the devices it represents.

7.3.2.11 Non-FL-native devices support via the Trusted FL Client

The Constrained-device training variant described in clause 7.3.2.10 relies on the Trusted FL Client pattern: a software application, hosted on a capable edge node, that acts as an FL Client on behalf of one or more constrained devices by collecting their raw observations through the local IoT service layer, performing local model training entirely within the edge domain, and submitting only model updates to the FL Coordinator. When configured and enforced to keep raw observations within the authorized edge trust domain, this pattern can reduce inter-domain raw-data exposure; this is an architectural data-locality property, not a privacy guarantee against leakage from model updates, metadata, compromise or collusion.

Realizing this pattern requires the Trusted FL Client to discover and access device data through standardized interfaces, and to be deployable and manageable as a first-class edge application in its own right, consistently with clause 6.5.7. Two mechanisms support this, depending on how the represented device is already integrated:

  • For constrained oneM2M devices (e.g. sensors or actuators registered on an MN-CSE), the Trusted FL Client subscribes to their data containers via the Mca reference point, collects raw observations, performs local training on their behalf, and submits only policy-permitted model updates or intermediate values through the selected FL framework channel. Data locality depends on the authorized domain, actual data paths and enforcement; it is not automatic.
  • For legacy IoT devices using fieldbus or other non-oneM2M protocols (e.g. Modbus, OPC-UA), an IPE/Proxy deployed as a co-located MEC Application performs protocol translation and exposes the device data as oneM2M resources on the MN-CSE. This allows the Trusted FL Client to operate on the same data through Mca, without requiring any modification to the field device itself.

In both cases, the mapping between a physical device and its Trusted FL Client proxy should be maintained, audited, and enforced through access control, to prevent unauthorized proxying. This requirement becomes more significant as device populations span multiple protocols and administrative domains.

7.3.2.12 Constrained-device inference variant

Symmetrically to the training-time variant in clause 7.3.2.10, this clause specialises the inference-deployment steps of the normal procedure - steps 25 to 27 of clause 7.3.2.7 - for the case where the target device cannot directly execute the trained model. When a trained inference model is to be used by a constrained device:

  1. The target capability description is compared with model runtime, memory, compute, storage, precision, and interface requirements.
  2. When the device can execute the model, an optimized and authorized inference package is selected.
  3. Software Campaign, oneM2M management enablement, or another authorized device-management procedure may be used to deploy or update the package.
  4. The target reports package, model version, activation, and operational status.
  5. When the device cannot execute the model, a nearby edge inference application is selected or deployed.
  6. The constrained device supplies input data through an authorized local interface and receives the inference result.
  7. Monitoring and model-replacement policy apply to both direct and mediated inference.

As in the training case, a device that cannot host the FL or inference function directly is still represented - here through an edge inference application rather than a Trusted FL Client - so that the same discovery and lifecycle framework applies to both directly capable and mediated targets.

7.3.2.13 Predeployed-client variant

Not every FL operation starts from an empty deployment: this clause covers the variant where suitable FL Clients identified during discovery (clause 7.3.2.4) are already running, so that the deployment-planning steps of clause 7.3.2.7 can be shortened. When suitable FL Clients are already deployed:

  • application deployment steps may be omitted;
  • client readiness and compatibility are still verified;
  • model distribution may occur independently of application lifecycle management;
  • the existing instance is correlated with the new FL operation; and
  • participant selection, task management, round coordination, monitoring, and adaptation continue to apply.

This variant does not bypass participant selection, task management, round coordination, monitoring, or adaptation - only the application-deployment steps that are no longer necessary once suitable, correlated instances already exist.

7.3.2.14 Postconditions

This clause closes the normal procedure of clause 7.3.2.7 by stating the observable state the FL operation should reach once it stops progressing, whether that stop is the intended outcome or the result of a failure.

After a successful training operation:

  • suitable data sources and participants have been selected without transferring raw data for discovery;
  • required FL components are running on selected hosts;
  • deployment and campaign results are correlated with the FL operation;
  • FL Clients are registered or represented and report readiness;
  • training rounds have completed according to the stopping condition;
  • the resulting model and version are identifiable;
  • operation results are available to authorized consumers; and
  • inference deployment may be initiated using the same discovery and lifecycle framework.

After an unsuccessful or partially successful operation:

  • the failed stage and affected target are identifiable;
  • campaign, platform, application, model, client, task, and round status remain traceable to the FL operation;
  • partial resources are retained or removed according to policy;
  • retry, rollback, replacement, or participant reselection may be initiated; and
  • the FL Service Consumer receives the resulting operation status.

Clause 7.3.2.15 illustrates the earlier consolidated procedure. The modular FL-01 through FL-06 sequences in clauses 7.3.5.1 to 7.3.5.8 provide the refined early-operation, resource-oriented procedure and take precedence where their ordering differs from that overview.

7.3.2.15 Message sequence chart

The following consolidated diagram is an architectural overview. For the candidate dedicated-resource solution, operation creation precedes discovery and the detailed modular sequences FL-01 to FL-06 in clause 7.3.5 define the refined ordering; inference deployment is independently correlated and not required for training completion.

@startuml
hide footbox
autonumber

actor CON as "FL Service Consumer"
participant ORCH as "FL Orchestration Function"
participant OM2M as "oneM2M Service Layer"
participant DATA as "Data Source / FL Client"
participant GA as "Gateway Agent"
participant MEC as "ETSI MEC System\n(MEO / MEPM / MEC Platform)"
participant EDGE as "Other Edge Platform"
database REPO as "Application / Model Repository"
participant FLC as "FL Client / Trusted FL Client"
participant FCO as "FL Coordinator / Aggregator"
participant INF as "Inference Target"

== Registration and description ==
GA -> OM2M: Register host representation\nand publish capabilities
DATA -> OM2M: Register or create representation
DATA -> OM2M: Publish authorized data suitability\nand FL capability description

== Service intent and discovery ==
CON -> ORCH: Request FL service\n(outcome, data criteria, constraints)
ORCH -> OM2M: Create FL service intent
ORCH -> OM2M: Create FL operation (pending) and subscribe to status
ORCH -> OM2M: Discover Data Sources,\nFL Clients and hosts
OM2M --> ORCH: Candidate references
ORCH -> OM2M: Retrieve authorized descriptions
OM2M --> ORCH: Data, capability, availability,\ntrust and policy information
ORCH -> ORCH: Evaluate suitability,\nselect participants and placement
ORCH -> OM2M: Create approved participant bindings\nand update existing FL operation

== Deployment planning ==
alt oneM2M Software Campaign is applicable
  ORCH -> OM2M: Create/invoke Software Campaign\n(targets, operation, package/model,\nversion, trigger, correlation)
end

alt Target is managed by ETSI MEC
  OM2M -> GA: Notify deployment intent
  GA -> MEC: Request authorized MEC\npackage/lifecycle operation
  MEC -> REPO: Retrieve package and metadata
  REPO --> MEC: Package/model, version,\nintegrity information
  MEC -> MEC: Validate, allocate and instantiate
  MEC --> GA: Lifecycle occurrence,\ninstance ID and status
else Target is another edge platform
  OM2M -> GA: Notify deployment intent
  GA -> REPO: Retrieve package and metadata
  REPO --> GA: Package/model, version,\nintegrity information
  GA -> EDGE: Invoke local lifecycle adapter
  EDGE --> GA: Operation ID,\ninstance ID and status
end

GA -> OM2M: Report deployment status\nand instance correlation
OM2M -> ORCH: Notify campaign/deployment result

== FL readiness and execution ==
FLC -> OM2M: Register/announce readiness\nand operation correlation
OM2M -> ORCH: Notify FL Client readiness
ORCH -> FCO: Confirm participant pool
FCO -> FLC: FL task, model reference,\nround configuration
FLC -> FLC: Train using authorized local data
FLC -> FCO: Model update and round status
FCO -> FCO: Aggregate and create new model
FCO -> OM2M: Publish round status\nand model-version reference
OM2M -> ORCH: Notify progress/results

opt Client failure, rejection or changed condition
  ORCH -> OM2M: Discover replacement candidate
  ORCH -> OM2M: Update operation and\nrequest replacement deployment
end

== Training completion; optional independent inference deployment ==
FCO -> ORCH: Training result and evaluated model reference
ORCH -> OM2M: Update FL operation completed only if accepted
opt Independently requested inference deployment
ORCH -> OM2M: Discover inference targets
OM2M --> ORCH: Target capabilities and status

alt Target can execute model
  ORCH -> OM2M: Request model deployment\nor Software Campaign
  OM2M -> INF: Deliver/trigger inference package
  INF -> OM2M: Report model activation and status
else Edge-mediated inference is required
  ORCH -> GA: Request edge inference deployment
  GA -> MEC: Invoke MEC lifecycle operation
  MEC --> GA: Inference application instance
  GA -> OM2M: Report deployment and readiness
end

OM2M -> ORCH: Notify inference readiness
end
ORCH --> CON: Training operation/model result;\nindependent inference deployment status
@enduml

Figure 7.3.2.15‑1: Federated Learning consolidated message flows

7.3.3 Feature Gap Analysis

7.3.3.1 Existing standards and framework baseline

The analysis should distinguish existing capabilities from missing FL-specific information and interworking.

Existing oneM2M capabilities

oneM2M provides capabilities relevant to this use case, including:

  • AE, CSE, node, and resource registration;
  • resource discovery and semantic descriptions;
  • access control;
  • group communication;
  • subscription and notification;
  • data sharing through resource representations;
  • management enablement; and
  • Software Campaign functionality for coordinated software operations across selected targets.

The Software Campaign concept provides a relevant baseline for offloading coordinated operations such as installation or update to a CSE, identifying target nodes, software operation and version information, package location, trigger criteria, and aggregated campaign results.

Existing ETSI MEC capabilities

ETSI MEC provides capabilities relevant to this use case, including:

  • MEC host and platform management;
  • application package onboarding;
  • application descriptors and resource requirements;
  • application instantiation, operation, update, and termination;
  • application lifecycle-operation status;
  • MEC service exposure;
  • MEC context information; and
  • federation capabilities for multi-site MEC systems.

Existing FL framework capabilities

FL frameworks commonly provide:

  • model and training configuration;
  • local client execution;
  • model-update transport;
  • aggregation algorithms;
  • round coordination;
  • framework-specific status; and
  • privacy or robustness mechanisms depending on the framework.

These frameworks generally assume that client discovery, cross-platform application deployment, constrained-device mediation, and standards-based lifecycle correlation are supplied by the deployment environment.

7.3.3.2 Gap summary

Table 7.3.3.2‑1: Federated Learning gap summary

Gap area
Existing oneM2M capability
Existing ETSI MEC capability
Remaining gap
FL service intent
Generic resources and process-related mechanisms may represent application information
Application descriptors represent deployable MEC applications
Common FL outcome, data, participant, execution, stopping, and result intent is not defined
FL operation
Resources, subscriptions, and status representations can be used
Lifecycle-operation occurrences exist for MEC applications
End-to-end FL operation state spanning discovery, deployment, rounds, adaptation, and inference is not correlated
Data suitability
Resource and semantic descriptions support metadata and discovery
MEC does not define FL dataset suitability
Privacy-preserving, comparable FL data-suitability information and policy are not standardized
FL Client discovery
Resource discovery can find registered entities
MEC provides host and service information
Common FL Client capability, availability, data, readiness, and eligibility profile is not defined
Participant selection
Applications may apply policy after discovery
MEC can provide resource and network context
Cross-domain selection using data, compute, trust, policy, and runtime conditions is application-specific
Software deployment
Software Campaign supports coordinated target software operations
MEC supports MEC Application lifecycle management
Selection of the correct mechanism and correlation across campaigns, MEC operations, other platforms, and FL operations is undefined
Model deployment
Software Campaign may carry a software or model package where represented as deployable software
MEC can deploy an application containing a model
Independent model artifact lifecycle, compatibility, activation, and model-version status are not consistently represented
Trusted FL Client
AEs, IPEs, and data resources can represent devices and applications
MEC can host a trusted application
Standard relationship among constrained Data Sources, the Trusted FL Client, local trust domain, and FL operation is missing
Round coordination
Groups, subscriptions, notifications, and data resources can support coordination
MEC hosts the applications
Common FL task, round, participant-set, readiness, and model-update status are not defined
Monitoring and adaptation
Subscription and notification provide event delivery
MEC reports application and resource status
Rules correlating changed conditions to reselection, redeployment, rollback, or retraining are not defined
Cross-system identity
oneM2M resources have identifiers
MEC packages, operations, hosts, and instances have identifiers
Common correlation among intent, operation, campaign, host, package, instance, client, model, task, and round is missing
Other edge platforms
IPE and application logic can interwork with external systems
Not applicable
Minimum common contract for a oneM2M-facing Gateway Agent and non-MEC lifecycle adapter is not standardized

7.3.3.3 Software Campaign reuse and FL-specific gaps

Software Campaign should be reused where its target and operation model matches the required software or model lifecycle action. It should not be redefined as an FL training-round mechanism.

The following gaps remain:

  1. FL operation-to-campaign mapping
    A common method is not defined for associating one FL operation with one or more Software Campaigns.

  2. Target selection before campaign creation
    Software Campaign executes an operation against identified targets. It does not by itself define FL-specific discovery and selection using data suitability, participant diversity, trust, training availability, or FL framework compatibility.

  3. Application versus model artifact
    A distinction is needed between:

    • deploying or updating an FL application;
    • distributing a model or model adapter;
    • updating an inference package; and
    • sending a transient model for a training round.
  4. Readiness correlation
    Successful campaign completion does not by itself establish that an FL Client has registered with the correct FL Coordinator, obtained credentials and configuration, accessed its local data, and become ready for the FL operation.

  5. Partial campaign success
    The FL operation needs policy for determining whether training may proceed with a subset of successfully prepared targets or whether replacement targets should be selected.

  6. Retry and rollback during an FL operation
    Campaign retry or rollback needs to be coordinated with participant pools, active tasks, model versions, and round state.

  7. MEC-managed targets
    The relationship between a Software Campaign request and MEC package/lifecycle management needs to preserve MEC management authority and avoid duplicate or conflicting lifecycle operations.

  8. Model-version traceability
    Campaign software version, FL global-model version, local model version, and active inference-model version may be different concepts and require explicit correlation.

7.3.3.4 oneM2M gaps

The following oneM2M-specific gaps are identified:

  • common representation of an FL service intent;
  • common representation of an FL operation and its end-to-end state;
  • standardized FL Client, readiness, data-suitability, task, round, and model-status profiles;
  • discovery filters or semantic conventions for FL-specific selection;
  • relationship between Data Sources and a Trusted FL Client;
  • relationship between FL operations and Software Campaigns;
  • model-artifact lifecycle semantics separate from general software lifecycle where needed;
  • participant acceptance, rejection, and reselection procedures; and
  • cross-CSE synchronization rules for FL operation and model state.

Trusted FL Client and governed dataset gaps

The gaps FL-TFC-01 to FL-TFC-11 below refine the Trusted FL Client gap in clause 7.3.3.2. They concern interoperable representation and authorization, not a claim that an application cannot already retrieve permitted observations and train locally. In particular, the , , and resource types described in oneM2M TR-0071 [i.27] clause 7.2 are TR proposals; their presence in that report does not establish implementation or incorporation into oneM2M TS-0001 [i.2] or oneM2M TS-0004 [i.9]. Candidate TS impacts are conditional on a future standardization decision.

Table 7.3.3.4‑1: Trusted Federated Learning client gaps

Gap
Existing baseline
Missing information or procedure
Solution reference
FL-TFC-01 - Multi-source dataset composition
oneM2M TR-0071 [i.27] can reference multiple source resources using sourceResourceIDs
Source-specific selection, provenance, policies, partial eligibility, and the relationship between source resources and composed datasets
Solutions 2 and 9
FL-TFC-02 - Logical participant semantics
A TFC is a registered AE; FL frameworks know clients
One TFC can represent one source, multiple independent logical FL participants, or one combined dataset; none of these follows from AE-ID alone
Solutions 2, 4 and 6
FL-TFC-03 - Contribution accounting
oneM2M TR-0071 exposes dataset row counts; FL frameworks perform aggregation
Effective training examples, duplicates, overlap, weighting basis, and number of represented sources are to be distinguished
Solutions 4, 6 and 9
FL-TFC-04 - Administrative and execution trust
oneM2M has identities, ACPs and authorization procedures
Co-location of source, gateway, MN-CSE and TFC does not prove common ownership or delegated processing authority
Solution 4
FL-TFC-05 - Purpose-bound processing authority
ACP and dynamic authorization govern oneM2M operations
Read access does not independently grant permission to retain, combine, transform, train on or disclose derived information
Solutions 4 and 9
FL-TFC-06 - Dataset preparation
oneM2M TR-0071 provides time correlation and nullValuePolicy
Feature/schema mapping, normalization, partitioning, missing-data decisions, transformation versions and data leakage rules
Solution 9
FL-TFC-07 - Dataset provenance and lifecycle
oneM2M TR-0071 proposes datasets/fragments and resource expiration
Fine-grained lineage, derived copies, invalidation, retention, cleanup evidence and revocation propagation
Solutions 8 and 9
FL-TFC-08 - Processing delegation
oneM2M TR-0071 describes Hosting-CSE dataset construction
A controlled alternative for CSE-managed metadata with an authorized Dataset Processor AE is not specified
Solution 9
FL-TFC-09 - Mid-operation authorization change
oneM2M subscriptions signal resource changes
No FL state-machine behaviour is defined for newly unauthorized sources, in-flight tasks, or submitted updates
Solutions 6, 8 and 9
FL-TFC-10 - Trust-aware relocation
MEC and other platforms deploy applications
Moving a TFC or dataset processor does not transfer source authorization or retention obligations automatically
Solutions 4 and 8
FL-TFC-11 - External data-governance constraints
oneM2M can reference policies and log resource events
A neutral way to convey purpose, permitted recipient, provenance, disclosure limits and retention decisions is missing
Solution 9

7.3.3.5 ETSI MEC gaps

ETSI MEC already provides application lifecycle management. The relevant gaps are not a lack of MEC deployment capability but:

  • exposure or authorized mapping of relevant MEC host and service information into the oneM2M discovery view;
  • binding of FL deployment requirements to a MEC application descriptor;
  • correlation of MEC lifecycle-operation and application-instance state with FL operation state;
  • minimum post-deployment FL registration and readiness information;
  • interaction between FL participant selection and MEC placement authority;
  • model-artifact updates that do not require full application replacement; and
  • use of MEC context as an authorized input to FL selection and adaptation.

7.3.3.6 Cross-standard gaps

The principal cross-standard gaps are:

  • common identity and status correlation;
  • delegation and authorization for oneM2M-originated lifecycle requests;
  • selection of Software Campaign, MEC lifecycle management, or another platform mechanism;
  • translation of common deployment intent without loss of required information;
  • handling of asynchronous lifecycle operations;
  • reconciliation of oneM2M target selection with MEC placement decisions;
  • error and partial-success reporting;
  • common rollback and replacement behaviour; and
  • consistent representation of the resulting FL Client or inference service.

7.3.4 Key Issues and requirements

7.3.4.0 Introduction

The following requirements are informative objectives for evaluating candidate solutions.

7.3.4.1 FL service intent and operation

  • REQ-FL-001: A solution should support representation of an FL service intent independently of a specific FL framework or execution platform.
  • REQ-FL-002: A solution should create an FL operation that remains traceable to the originating service intent.
  • REQ-FL-003: A solution should create an operation before candidate discovery and represent its training lifecycle separately from discovery, deployment, adaptation and correlated inference-deployment lifecycles.
  • REQ-FL-004: A solution should support modification, pause, resumption, cancellation, and termination according to policy.

7.3.4.2 Resource and data discovery

  • REQ-FL-005: A solution should support registration or representation of FL Clients, Data Sources, and candidate execution hosts.
  • REQ-FL-006: A solution should support privacy-preserving data suitability descriptions without requiring raw-data transfer.
  • REQ-FL-007: A solution should support discovery using data, compute, compatibility, availability, trust, policy, and administrative criteria.
  • REQ-FL-008: A solution should limit disclosed metadata according to access-control and data-owner policy.
  • REQ-FL-009: A solution should support participant pools, acceptance or rejection, and dynamic reselection.

7.3.4.3 Deployment and Software Campaign

  • REQ-FL-010: A solution should reuse oneM2M Software Campaign when its software-operation and target model is applicable.
  • REQ-FL-011: A solution should correlate each Software Campaign with the applicable FL operation, targets, package or model, version, and desired state.
  • REQ-FL-012: A solution should distinguish application lifecycle, model-artifact lifecycle, transient round distribution, and inference deployment.
  • REQ-FL-013: A solution should support aggregated campaign results, partial success, target-specific errors, retry, and rollback.
  • REQ-FL-014: A solution should define policy for continuing with successful targets or selecting replacement targets after partial failure.
  • REQ-FL-015: A solution should avoid conflicting lifecycle control when Software Campaign and platform-specific lifecycle management are both involved.

7.3.4.4 MEC and other edge execution platforms

  • REQ-FL-016: A solution should preserve MEO and MEPM authority over MEC application packages, placement, resource allocation, instantiation, operation, and termination.
  • REQ-FL-017: A oneM2M-facing interworking function should invoke only authorized MEC management procedures.
  • REQ-FL-018: A solution should correlate MEC package, lifecycle-operation, host, and application-instance identifiers with oneM2M and FL identifiers.
  • REQ-FL-019: A solution should support other edge execution platforms through a common minimum Gateway Agent contract without representing them as MEC-compliant.
  • REQ-FL-020: A solution should report asynchronous deployment progress and final state through oneM2M-accessible status.

7.3.4.5 Constrained devices

  • REQ-FL-021: A solution should support a Trusted FL Client acting on behalf of one or more devices that cannot execute local training.
  • REQ-FL-022: A solution should identify the local trust domain in which raw data may be processed.
  • REQ-FL-023: A solution should correlate represented Data Sources with the applicable Trusted FL Client.
  • REQ-FL-024: A solution should determine whether an inference model can execute directly on a constrained target.
  • REQ-FL-025: A solution should support edge-mediated inference when direct model execution is not possible.

7.3.4.6 Execution and monitoring

  • REQ-FL-026: A solution should represent FL Client readiness independently of successful software installation.
  • REQ-FL-027: A solution should support participant-specific FL tasks and training-round status.
  • REQ-FL-028: A solution should support the deployment and coordination of FL functions across device, gateway, edge, and cloud execution environments, independently of the selected FL aggregation topology, where supported by the applicable FL framework. REQ-FL-028a: A solution should support the representation of the aggregation topology, infrastructure placement, and coordination model associated with an FL operation, enabling the selection and deployment of appropriate FL components and execution hosts.
  • REQ-FL-029: A solution should support event-driven progress and status notification.
  • REQ-FL-030: A solution should support adaptation based on deployment failure, client rejection, resource changes, loss of eligibility, changed policy, or monitoring results.
  • REQ-FL-031: A solution should maintain traceability across participant reselection, redeployment, rollback, and model replacement.
  • REQ-FL-032: A solution should not require disclosure of raw training data to the FL Service Consumer or FL Orchestration Function.

7.3.4.7 Trusted FL Client and dataset governance

The following informative design objectives correspond to FL-TFC-01 through FL-TFC-11:

  • REQ-TFC-01: A solution should identify Data Source, TFC AE, execution host, administrative operator, dataset and logical FL participant independently, with resolvable references where permitted.
  • REQ-TFC-02: A solution should distinguish singleSource, independentSources and aggregatedSources participation and permit a TFC to host multiple logical participants without equating them with independently controlled clients.
  • REQ-TFC-03: An FL contribution description should distinguish represented-source count, eligible sample count, overlap policy and aggregation-weight basis, leaving algorithm interpretation to the FL framework.
  • REQ-TFC-04: A source association should be usable only after the effective oneM2M resource-access authorization and any separately applicable processing authorization have been evaluated by the appropriate authority.
  • REQ-TFC-05: A solution should support source-specific policy, processing purpose, permitted executor/domain, allowed outputs, revocation and authorization expiry without treating CSE access as consent to arbitrary training.
  • REQ-TFC-06: A dataset preparation description should preserve feature/schema mappings, temporal alignment, validation, missing values, preprocessing versions, split strategy, and an unambiguous dataset version.
  • REQ-TFC-07: A solution should describe the lifecycle of original observations, CSE-managed fragments, TFC working data, trained updates and model checkpoints separately.
  • REQ-TFC-08: Existing oneM2M TR-0071 [i.27] CSE-managed dataset creation should remain the baseline; AE-delegated processing should be an optional profile with an explicit result-publication and authorization contract.
  • REQ-TFC-09: A policy change should trigger reevaluation of future retrieval, active processing, pending updates and retained derived data, without claiming that withdrawal can automatically remove an already aggregated model contribution.
  • REQ-TFC-10: TFC redeployment across hosts or operators should trigger destination-specific authorization before protected dataset access resumes.
  • REQ-TFC-11: Source and training metadata exposed to external orchestration domains should be minimized and access-controlled; a count or provenance field can itself disclose protected information.
  • REQ-TFC-12: Candidate dedicated FL resource types should be specified separately from any prototype representation using existing AE resource trees (e.g. where supported).

Prototypes may reuse existing CREATE, RETRIEVE, UPDATE, DELETE, discovery, subscription and notification procedures; new resource types, attributes and semantics require subsequent normative specification.

7.3.4.8 Requirements-to-solutions traceability and exclusions

The table maps every informative FL requirement to its principal candidate solution(s). The classifications identify the mechanism providing the capability, not the normative status of the proposed FL behaviour. Existing oneM2M and MEC mechanisms remain subject to the applicable editions and deployment profiles; a candidate resource is not an existing CSE type. "Open" means further interface, security or profile work remains necessary.

Table 7.3.4.8‑1: Federated Learning requirement mapping

Requirement(s)
Principal solution(s)
Mechanism classification
Disposition and remaining boundary
REQ-FL-001–004
1, 7, 8
Proposed resource/procedure; existing oneM2M CRUD/ACP
Intent/operation separation, early creation and state correlation proposed; exact type/ACL semantics open
REQ-FL-005–009
2, 4, 9
Existing oneM2M discovery/ACP; proposed descriptors/bindings
Discovery→eligibility→data authorization→host acceptance→client acceptance→readiness explicitly gated; privacy of metadata subject to policy
REQ-FL-010–015
3, 7, 8
Existing oneM2M management/Software Campaign; proposed correlation
Package/model lifecycle where applicable; transient per-round updates excluded from Software Campaign
REQ-FL-016–020
3, 7
Existing MEC application management; proposed adapter/correlation
MEC management authority retained; non-MEC manager distinct; exact MEC API/edition compatibility open
REQ-FL-021–023
4, 9
Proposed TFC identity and policy procedure; existing oneM2M access control
Source, TFC, host and logical participant distinct; no automatic trust or consent
REQ-FL-024–025
5, 7
Existing lifecycle mechanisms where applicable; proposed inference profile
Separate inference deployment and activation acceptance; device/runtime compatibility profile open
REQ-FL-026–028, REQ-FL-028a
2, 3, 6, 7
Proposed task/readiness information; FL framework responsibility
Round and aggregation semantics framework-specific; horizontal round-based baseline
REQ-FL-029–032
6, 7, 8, 9
Existing oneM2M subscription/ACP; proposed adaptation procedure
Notifications and controlled reselection proposed; no universal raw-data or privacy guarantee
REQ-TFC-01–03
4, 6, 9
Proposed resource/procedure; FL framework responsibility
Multi-source accounting, overlap and effective samples described; weighting/independence not guaranteed
REQ-TFC-04–05
2, 4, 9
Existing oneM2M access control; proposed purpose-authorization policy
Source access and processing rights separately evaluated; external decision authority interface open
REQ-TFC-06–08
4, 9
Proposed TR-0071 [i.27] dataset/policy reuse; FL framework responsibility
Dataset version/provenance and delegated preparation proposed, not standard production APIs
REQ-TFC-09–11
4, 8, 9
Proposed revocation, retention and reauthorization procedure
Block future use; rollback/removal of already aggregated influence not guaranteed
REQ-TFC-12
1–4, 7, 9
Deferred standardization/profile work
Resource codes, allowed child sets, full CRUD privileges and prototype URI mapping not assigned here

Scope exclusions. Peer-to-peer, vertical and transfer FL, secure aggregation protocols, differential-privacy parameters, cryptographic attestation, framework wire formats, cross-domain consent adjudication and production resource registration are not fully specified. Solutions 1–9 define a horizontal, centrally/hierarchically coordinated, application-profile baseline; applying its round/binding semantics to other FL methods requires a separately validated framework profile. Requirements above are informative evaluation objectives, not claims that an extension has been standardized or its security verified.

7.3.5 Proposed Solutions

7.3.5.0 Introduction

Common authority and representation rules for Solutions 1–9. Each of solutions 1-9 start with a table. The resource names denote candidate dedicated oneM2M resource types, not standardized types. The parent column in each table shows a candidate future resource tree: , , and under an appropriately authorized ; and under . Any other FL task, round, readiness, monitoring, model or inference information is an application-level record/reference unless a solution expressly marks a resource as a candidate dedicated type. For a non-extended prototype, authorized AEs instead publish these records using existing permitted resources (e.g. / or appropriately defined specializations) under their AE trees; such mappings do not confer new child types on a standard CSE or preserve the proposed parent-child relation literally.

Decision and status ownership. The Consumer submits a request; the authorized FL Orchestration Function admits the intent, creates immediately on admission, owns participant binding and the operation's overall state, and requests deployment. Data authorities approve permissible source use; host/lifecycle authorities approve placement and execute deployment (MEC management for MEC-managed applications, an authorized local manager for non-MEC hosts); the Gateway Agent translates or forwards and correlates responses without becoming the lifecycle authority. Training Coordination owns task/round participation and progress, Aggregation owns algorithmic results, and FL Clients/TFCs report their own readiness and training progress. CSEs mediate authorized CRUD, discovery and notifications without independently certifying any of these application decisions. A ready deployment is not automatically a ready FL Client; a completed training round is not a completed operation; a successful training operation is not an inference-deployment success.

Procedure classes. Existing oneM2M CRUD/discovery/ACP/subscriptions and applicable management/Software Campaign mechanisms are service-layer baselines, not standardized FL procedures. MEC application lifecycle execution remains with the applicable MEC management reference points, with no assumed universal FL deployment API or mandatory MEC registration for non-MEC targets. FL-01–FL-06 and the TFC flows are proposed application-level sequences; their CREATE/UPDATE on candidate types require future standardization or the prototype mapping above. Dataset access decisions and source processing remain governed by Solution 9 and applicable existing policy controls. Model artifacts, task payloads, gradients and aggregation traffic use explicitly authorized FL-framework-specific channels/profiles rather than being presumed to traverse oneM2M management CRUD or Software Campaign. The target solution proposes six dedicated oneM2M resource types: , , , , , and . Their names, attributes and containment are informative standardization candidates, not existing assigned oneM2M resource types. Detailed normative definitions would require resource type registration, attribute and child-resource rules, serialization and access-control semantics. A prototype may map these information objects to existing AE-managed resource trees without changing this standards target. Existing oneM2M Software Campaign, oneM2M TS-0004 [i.9] CRUD/discovery/notifications, MEC lifecycle authorities, and Solution 9 dataset-management concepts are reused where applicable. Training Coordination and Aggregation, including their framework-specific traffic, remain distinct from Service Orchestration and CSE resource management.

7.3.5.1 Solution 1: FL service intent and operation representations

7.3.5.1.1 Proposed resource model and lifecycle

The FL Service Consumer identifies an existing model/version to update. The records model requirements, data suitability, execution constraints, source policy and model-result acceptance criteria. The FL Orchestration Function validates the request and creates in pending before attempting discovery. The intent remains the requested outcome; the operation captures observed execution, binding changes and results. An intent can subsequently correlate more than one operation without silently changing an operation's original base model/version.

Table 7.3.5.1.1‑1: Federated Learning service intent rsource

Proposed resource
Candidate parent
Essential attributes (cardinality)
Update authority
baseModelRef (1), dataSuitabilityCriteria (1), resultRequirements (1), trainingProfileRef (0..1), participantCriteria (0..1), executionRequirements (0..1), policyReferences (0..n), startConditions (0..1), stoppingConditions (0..1), operationRefs (0..n), intentStatus (1)
Consumer requests creation; authorized orchestrator manages status and references
intentRef (1), baseModelVersionRef (1), operationState (1), creationRequestId (0..1), discoveryStatus (0..1), candidateDataRefs (0..n), candidateHostRefs (0..n), participantBindingRefs (0..n), deploymentRefs (0..n), coordinatorRef (0..1), taskAndRoundRefs (0..n), modelResultRef (0..1), adaptationHistory (0..n), errorInformation (0..n)
Authorized FL Orchestration Function

Mandatory identifiers, inherited common resource attributes, attribute mutability, resource type identifiers and abbreviated names are not assigned by the present document. Material modifications to an intent after operation creation require intent revision or explicit revalidation; a running operation retains its original baseModelVersionRef. At the application level a stable creation request identifier supports duplicate detection, but a repeated oneM2M CREATE is not automatically idempotent.

The overall operation states are pending, preparing, ready, running, paused, completed, failed, and cancelled. preparing includes discovery, placement and deployment; these have their own activity status. A paused operation may resume into preparing when revalidation/redeployment is needed or running when eligible and ready. Recovery actions do not imply global failure. A terminal completed outcome requires the configured model-result acceptance criteria, not merely exhaustion of training rounds. A stopped unsuccessful training attempt is recorded as failed or another policy-defined unsuccessful outcome, not as successful completion. Model inference deployments are independent correlated lifecycles; a deployment failure does not retroactively change successful training completion.

7.3.5.1.2 FL-01: Intent admission and early operation creation
@startuml
hide footbox
autonumber
actor "FL Service Consumer AE" as Consumer
participant "FL Orchestrator AE" as Orch
participant "IN-CSE" as IN
participant "Model Repository AE" as Model
Consumer -> Orch: Submit baseModelRef, data criteria, acceptance criteria
Orch -> IN: RETRIEVE model descriptor/version (op=2)
IN --> Orch: 2000 OK + permitted model metadata
Orch -> Model: Verify artifact/training profile (application procedure)
Model --> Orch: Supported / unsupported
alt Authorized and supported
 Orch -> IN: CREATE  under Orchestrator AE (op=1)
 IN --> Orch: 2001 CREATED, intentRef
 Orch -> IN: CREATE (intentRef,state=pending) (op=1)
 IN --> Orch: 2001 CREATED, operationRef
 Orch -> IN: UPDATE intent.operationRefs (op=3)
 IN --> Orch: 2004 UPDATED
 Orch --> Consumer: Accepted + intentRef + operationRef
else Invalid / unauthorized model or profile
 Orch --> Consumer: Rejection (no operation created)
end
note over Orch,IN
If operation creation/correlation fails after intent creation,
recover or mark intent admission incomplete; no multi-resource atomicity.
end note
@enduml

Figure 7.3.5.1.2‑1: FL-01: Intent admission and early operation creation

The examples below use the oneM2M request primitive field names op, to, fr, rqi, ty and pc, with op=1 for CREATE, op=2 for RETRIEVE, op=3 for UPDATE and op=4 for DELETE. Discovery is a RETRIEVE with appropriate filter criteria and discovery-result type; subscription is CREATE of an existing ; notification follows existing service-layer procedures. Numeric ty values and actual wire serialization for the proposed resources remain undefined. Successful CREATE, RETRIEVE and UPDATE typically return 2001 CREATED, 2000 OK, and 2004 UPDATED, respectively, subject to the applicable oneM2M procedure and response type.

Example conceptual primitive, not valid standardized wire JSON until a resource type and serialization are assigned:

{
  "op": 1,
  "to": "/in-cse/FLOrchestrator",
  "fr": "COrchestrator",
  "rqi": "create-op-101",
  "ty": "PROPOSED_FL_OPERATION_TYPE",
  "pc": {"flOperation": {
    "rn": "operation-101",
    "intentRef": "/in-cse/FLOrchestrator/intent-101",
    "baseModelVersionRef": "/in-cse/ModelRepository/model-traffic/v2",
    "operationState": "pending",
    "creationRequestId": "update-traffic-101"
  }}
}

On model lookup or authorization failure the request is rejected before creating resources. In the absence of an atomic multi-resource transaction, a failure after intent creation requires application-level compensation or a recoverable intentStatus; the orchestrator should not report an accepted operation without a resolvable operation resource. The consumer's retry key is checked against persisted admission records before starting a second training operation.

7.3.5.2 Solution 2: FL Client and data-suitability discovery profile

7.3.5.2.1 Proposed resource model and lifecycle

A common profile may represent:

  • FL Client identity and endpoint;
  • framework and runtime support;
  • compute and acceleration capabilities;
  • availability and scheduling;
  • trust and administrative domain;
  • associated host and lifecycle profile;
  • data suitability description;
  • permitted operations;
  • readiness; and
  • active FL-operation associations.

The profile may use labels for simple filtering and semantic descriptors for richer matching. The data suitability description should support disclosure levels so that a data owner can reveal only authorized metadata.

Selection remains an orchestration-policy function. oneM2M supplies a common discovery view and event-notification mechanism.

7.3.5.2.2 Candidate dataset-metadata information model

The conceptual dataSuitability representation should support at least these categories of information, subject to authorization and data-owner policy:

Table 7.3.5.2.2‑1: Federated Learning dataSuitability

Category
Candidate metadata
Use in intent-based discovery
Identity and provenance
data-source reference, owner/domain, descriptor version, observation period
Identify and validate the described dataset
Semantics
modality, feature/schema or ontology references, units, labels
Match data characteristics requested in the FL service intent
Coverage and volume
approximate sample count or range, sampling interval, time span, operating conditions
Evaluate sufficiency, freshness, and representation constraints
Quality and distribution
completeness, missing-value indicators, class/condition summaries where permitted
Evaluate stated quality or diversity criteria without exposing raw samples
Eligibility and policy
permitted purposes, allowed processing location, retention constraints, disclosure level, access-control reference
Exclude unauthorized uses and participants
Execution association
source-to-client reference, local trust domain, supported Trusted FL Client, availability
Determine where training could be performed

Descriptions are statements supplied by a data owner or authorized local agent; they are not guarantees of statistical suitability or algorithmic convergence.

Discovery attributes may be self-declared, supplied by an authorized management function, or supported by additional verification mechanisms. The FL Orchestration Function may consider the source, freshness, and available assurance information associated with these attributes when evaluating participant eligibility. Successful resource registration or discovery does not independently verify the accuracy of advertised compute capabilities, dataset characteristics, or authorization claims. Additional validation, where required, remains subject to the applicable trust, policy, execution-platform, and FL-framework mechanisms. Exact sample counts, feature summaries, and rare-event distributions may themselves disclose sensitive information. Implementations may publish ranges or coarse descriptors, withhold selected fields, and use access control for detailed metadata. Aggregate sample counts used by an FL algorithm need not be exposed as public discovery attributes.

7.3.5.2.3 Candidate discovery and selection procedure
  1. A Data Owner AE or Gateway Agent creates or updates a dataSuitability description at an MN-CSE. An FL Client AE or Trusted FL Client AE independently advertises flClientCapability and its authorized source associations.
  2. The FL Service Consumer creates an flServiceIntent containing data-characteristic predicates, selection constraints, and processing policies. The FL Orchestration Function reads the intent.
  3. The FL Orchestration Function requests resource or semantic discovery from the oneM2M Service Layer. The discovery scope may include announced or otherwise reachable metadata across MN-CSEs; cross-domain access remains subject to the applicable authorization and discovery mechanisms.
  4. The CSE returns matching candidate resource references or authorized descriptions, rather than raw datasets. Where existing filtering cannot evaluate a predicate, the FL Orchestration Function retrieves permitted descriptions and performs the remaining matching itself; this solution does not presume a new native CSE query language.
  5. The FL Orchestration Function evaluates candidate eligibility based on feature compatibility, data volume and freshness, applicable policies, trust information, client availability, and data-source-to-execution associations. Candidates satisfying the selection criteria may be proposed for participation.
  6. Where applicable, the FL Orchestration Function obtains purpose-bound data authorization, host acceptance and participation acceptance from their respective authorities. A candidate may decline even when descriptors match. It creates children under the existing and updates their referenced participant pool.
  7. On descriptor expiry, availability changes, or policy changes, a subscribed notification may trigger re-evaluation and participant reselection. Eligibility is checked again before training begins; participation acceptance may also need to be renewed when relevant conditions change.

The modular discovery and binding traces FL-02 and FL-03 in clauses 7.3.5.2.5 and 7.3.5.2.6 supersede the earlier single discovery illustration. In particular, the operation already exists before discovery; this procedure updates it rather than creating it after candidate selection.

This candidate solution relies on existing oneM2M resource and semantic discovery, access control, CRUD, and subscription/notification procedures where applicable. Further work should specify the candidate dedicated resource types, discovery predicates and indexing, cross-CSE visibility, metadata freshness, authorization semantics, and optional prototype mapping. The FL framework remains responsible for using local data and selecting any algorithm-specific aggregation weights or profile.

7.3.5.2.4 Dedicated discovery and binding resources

Table 7.3.5.2.4‑1: Federated Learning dataSuitability

Proposed resource
Parent
Candidate required attributes
Optional attributes and semantics
Resource publisher/controller
Data Owner
sourceResourceRefs (1..n), dataAuthorityRef (1), metadataVersion (1), eligibilityState (1)
schemaRef, featureDescriptions, observationWindow, protected sampleCountRange, qualitySummaryRef, trustDomainRef, processingPolicyRefs, datasetPolicyRef; no raw-data copy
Authorized Data Owner AE
Host/Gateway Agent
hostReference (1), platformType (1), computeCapabilities (1), supportedFLRoles (1..n), deploymentManagerRef (1), hostAvailability (1), capabilityTimestamp (1)
hostingCSERef, availableCapacity, runtimeProfiles, networkCapabilities, trustDomainRef; published capacity is not a reservation
Authorized host manager or Gateway Agent AE
operationRef (1), dataSourceRefs (1..n), executionHostRef (1), logicalParticipantId (1), participationMode (1), bindingState (1), bindingVersion (1)
datasetPolicyRef, datasetVersionRef, flClientRef, authorizationDecisionRefs, effective descriptor versions and acceptance provenance
FL Orchestration Function, based on separate data and host authority decisions

Permitted child types for and would need corresponding oneM2M TS-0001 [i.2] and oneM2M TS-0004 [i.9] definitions. Source and host descriptions may be announced or made reachable through existing CSE connectivity only where authorized and supported; there is no assumption of automatic federation or unrestricted cross-domain discovery. A data description available to an orchestrator is not proof of permission to retrieve the underlying observations. The operation records metadata versions, timestamps and authorization expiry so eligibility can be reevaluated before use.

The participationMode explicitly distinguishes singleSource, independentSources and aggregatedSources from Solution 4 and Solution 9. Multiple sources processed by one TFC do not automatically count as multiple independent FL clients. A candidate binding is not an allocation of compute or a data-access grant: transition to ready requires effective authorization, prepared data and client readiness.

7.3.5.2.5 FL-02: Model-driven data discovery
@startuml
hide footbox
autonumber
participant "Data Owner AE" as Owner
participant "MN-CSE" as MN
participant "FL Orchestrator AE" as Orch
participant "IN-CSE" as IN
Owner -> MN: CREATE/UPDATE  (op=1/3)
MN --> Owner: 2001 CREATED / 2004 UPDATED
Orch -> IN: UPDATE (state=preparing) (op=3)
IN --> Orch: 2004 UPDATED
Orch -> IN: RETRIEVE discovery(fc,drt) for  (op=2)
opt Announced/reachable and authorized MN metadata
 IN -> MN: Cross-CSE discovery / retrieve through supported Mcc
 MN --> IN: Authorized candidate resource identifiers
end
IN --> Orch: 2000 OK + permitted candidate references
loop For each returned candidate
 Orch -> IN: RETRIEVE selected  metadata (op=2)
 IN --> Orch: 2000 OK + disclosure-limited attributes / error
 Orch -> Orch: Match model schema, time, quality, data policy
end
Orch -> IN: UPDATE operation discoveryStatus/candidateDataRefs
IN --> Orch: 2004 UPDATED
alt No eligible data or metadata stale
 Orch -> Orch: Apply retry/relaxation/failure policy
 Orch -> IN: UPDATE operation outcome and errorInformation
end
@enduml

Figure 7.3.5.2.5‑1: FL-02: Model-driven data discovery

The CSE performs only discovery filtering supported by oneM2M TS-0004 [i.9]; feature/schema compatibility, trust and statistical suitability matching are FL Orchestrator decisions. An empty result, a restricted descriptor, a partially unreachable MN-CSE, expired metadata and an incompatible dataset are distinct outcomes. No raw observations are returned by discovery. Metadata exposure (including counts or class distributions) is subject to source policy.

7.3.5.2.6 FL-03: Host discovery, authorization and participant binding
@startuml
hide footbox
autonumber
participant "Host/Gateway Agent AE" as Host
participant "MN-CSE" as MN
participant "FL Orchestrator AE" as Orch
participant "IN-CSE" as IN
participant "Data Authority AE" as Authority
participant "FL Client/TFC AE" as Client
Host -> MN: CREATE/UPDATE  (op=1/3)
MN --> Host: 2001 CREATED / 2004 UPDATED
Orch -> IN: RETRIEVE discovery(fc,drt) for host metadata (op=2)
IN -> MN: Authorized cross-CSE discovery (where available)
MN --> IN: Host resource references
IN --> Orch: 2000 OK + host references
loop Candidate data-to-host pair
 Orch -> IN: RETRIEVE  permitted attributes (op=2)
 IN --> Orch: Host capabilities and freshness
 Orch -> Orch: Validate locality, runtime, access path and policy
 Orch -> Authority: Purpose-bound data-use decision (application procedure)
 Authority --> Orch: Decision reference / denied
 Orch -> Host: Placement/capacity acceptance (application procedure)
 Host --> Orch: Accepted / rejected
 opt Existing FL Client
  Orch -> Client: Participation acceptance (application procedure)
  Client --> Orch: Accepted / rejected
 end
end
alt Sufficient approved relationships
 Orch -> IN: CREATE  under operation (op=1)
 IN --> Orch: 2001 CREATED + bindingRef
 Orch -> IN: UPDATE operation.participantBindingRefs (op=3)
 IN --> Orch: 2004 UPDATED
else Insufficient eligible relationships
 Orch -> IN: UPDATE discovery result and operation errors (op=3)
 IN --> Orch: 2004 UPDATED
end
@enduml

Figure 7.3.5.2.6‑1: FL-03: Host discovery, authorization and participant binding

The authorization and host-acceptance exchanges are application-level decisions, not newly invented native oneM2M primitive operations; implementations may route authorized AE requests over Mca and CSE-mediated notifications. On source-policy denial, the binding is excluded without revealing prohibited data. On a capacity refusal or stale host capability, the orchestrator retries/reselects. A binding records selected descriptor versions, authorization decisions and expiry for later revalidation. An accepted binding is not a platform capacity reservation.

7.3.5.3 Solution 3: Deployment orchestration using Software Campaign and lifecycle adapters

7.3.5.3.1 Orchestration function

The FL Orchestration Function determines an execution plan for each selected target.

Software Campaign path

Software Campaign may be used when:

  • multiple oneM2M-managed targets require a coordinated install, update, activation, rollback, or removal operation;
  • the target software or model can be represented by the applicable campaign package information;
  • trigger criteria and aggregated results are useful; and
  • platform authority permits the campaign operation.

The campaign representation should be correlated with:

  • FL operation identifier;
  • deployment purpose;
  • target participant or inference-target identifiers;
  • application or model artifact type;
  • model or software version;
  • desired readiness state; and
  • replacement or rollback policy.

ETSI MEC path

For a MEC-managed target:

  1. The FL Orchestration Function creates common deployment intent.
  2. A Gateway Agent or authorized interworking function receives the intent.
  3. The function maps or references the request in the applicable MEC package and lifecycle procedure.
  4. MEC management validates requirements and controls placement and resource allocation.
  5. MEC operation and instance status are mapped to oneM2M deployment status.
  6. The FL component separately reports FL readiness.

Other-edge-platform path

For another edge platform:

  1. The same common intent and status model is used.
  2. The Gateway Agent selects the applicable local adapter.
  3. The local platform performs package validation and lifecycle operations.
  4. Local identifiers and status are correlated with the FL operation.

A platform adapter hides execution-specific details but does not remove the need for authorization or platform policy enforcement. If the Gateway Agent and MEC IPE are co-located, their deployment forwarding and service translation functions still have separate permissions; neither can approve the MEC lifecycle action on behalf of MEC management.

7.3.5.3.2 Dedicated deployment resource and lifecycle mapping

is proposed as a child of . Its mandatory attributes are operationRef, executionHostRef, componentRole, applicationPackageRef, deploymentMode, deploymentManagerRef, deploymentState and readinessState. Optional attributes include participantBindingRef, configurationRef, externalOperationRef, applicationInstanceRef and structured errorInformation. Creation of this resource records a requested deployment, not successful instantiation. Its controller is an authorized FL orchestration function; platform-derived progress is published by the selected authorized lifecycle manager through a controlled update interface.

Table 7.3.5.3.2‑1: Federated Learning actions

Common action
ETSI MEC path
oneM2M Software Campaign path
Other gateway path
Validate/accept
Authorized MEC lifecycle management retains placement authority
Existing Software Campaign/target authority
Gateway Agent local policy/runtime authority
Execute
Invoke the applicable MEC management lifecycle API/reference point (not an assumed Mp1 install API)
Invoke applicable TS-0005 campaign operation
Authorized local runtime API
Correlate
MEC package, occurrence, host and instance IDs
Campaign and per-target outcome IDs
Local job and application instance IDs
Report
Update common deployment resource with platform status
Map campaign and target outcomes
Map local runtime outcome
Readiness
Separately observed FL Client capability/readiness
Separately observed FL Client readiness
Separately observed FL Client readiness

One authoritative lifecycle controller applies to each component/action. Software Campaign does not duplicate an MEC management activation for the same instance. If the component already exists, a deployment record may correlate and validate that instance without reinstalling it. The exact MEC procedure and the Software Campaign information mappings are version-/deployment-specific and require further normative profiling; the present document does not claim that any particular API is universally available.

7.3.5.3.3 FL-04: Common deployment request with platform branches
@startuml
hide footbox
autonumber
participant "FL Orchestrator AE" as Orch
participant "IN-CSE" as IN
participant "Deployment/Gateway Agent AE" as Agent
participant "Authorized Lifecycle Controller" as Controller
participant "MN-CSE" as MN
participant "FL Client/TFC AE" as Client
Agent -> IN: CREATE  for authorized deployment requests (op=1)
IN --> Agent: 2001 CREATED
Orch -> IN: CREATE (state=requested) (op=1)
IN --> Orch: 2001 CREATED + deploymentRef
Orch -> IN: CREATE  for deployment status (op=1)
IN --> Orch: 2001 CREATED
IN -->> Agent: NOTIFY requested deployment (Agent subscription)
Agent -> IN: RETRIEVE  and binding (op=2)
IN --> Agent: 2000 OK + permitted request data
Agent -> Agent: Verify authority, package, target, policy
alt Rejected
 Agent -> IN: UPDATE deploymentState=failed, reason (op=3)
else Authorized
 Agent -> IN: UPDATE deploymentState=accepted (op=3)
 alt MEC-managed
  Agent -> Controller: Invoke authorized MEC management lifecycle
 else oneM2M Software Campaign
  Agent -> Controller: Initiate applicable Software Campaign
 else Non-MEC local gateway
  Agent -> Controller: Invoke authorized local runtime manager
 end
 Controller --> Agent: External lifecycle/campaign/job reference
 Agent -> IN: UPDATE externalOperationRef and progress (op=3)
 loop Until platform reaches terminal status
  Controller --> Agent: Platform progress/result (API/event/poll)
  Agent -> IN: UPDATE deploymentState + instanceRef/error (op=3)
  IN -->> Orch: NOTIFY changed deployment state
 end
 alt Installed/active
  Client -> MN: Register/update FL Client capability/readiness (op=1/3)
  MN -->> Orch: NOTIFY FL readiness / relevant status
  Orch -> IN: UPDATE bindingState=ready after data/policy revalidation (op=3)
 else Failed or partial success
  Orch -> IN: UPDATE operation recovery/error status (op=3)
 end
end
@enduml

Figure 7.3.5.3.3‑1: FL-04: Common deployment request with platform branches

A successful platform installation or successful CREATE of never establishes FL training readiness. Readiness also requires framework configuration, model accessibility, current data authorization and task acceptance. Deployment retries retain the external operation identifier and check actual platform state before issuing a new install. Failure types include authorization denial, incompatibility, insufficient capacity, management transport failure and installed-but-not-ready; only the latter should be reported as successful deployment plus unsuccessful readiness.

7.3.5.4 Solution 4: Trusted FL Client profile

7.3.5.4.1 Architecture and deployment profiles

A Trusted FL Client (TFC) is an FL Client AE performing local training for constrained or non-FL-native Data Sources. A TFC is not a CSE or a synonym for a MEC host. Data Sources may be oneM2M AEs, IPE-represented devices, or datasets referenced through existing oneM2M resources. The TFC registers as its own AE; the MN-CSE provides resource discovery, access enforcement and subscription/notification, whereas the TFC executes framework-specific dataset preparation and training. The MEC host or gateway supplies compute and runtime isolation where applicable. The FL Coordinator and Aggregator are logically distinct from the TFC and need not be hosted with the IN-CSE.

Three participation profiles are illustrated:

  1. Single-source (singleSource): one logical participant trains using an authorized dataset derived from one Data Source. It normally emits one update for a given round.
  2. Independent-source (independentSources): one TFC execution instance hosts multiple logical participants, each with its own dataset reference, task and update identity. Shared execution infrastructure means these participants are not automatically independent for privacy, fault-diversity or statistical purposes.
  3. Aggregated-source (aggregatedSources): one logical participant trains against an authorized local dataset combining observations from several sources and normally emits one update. The source count does not necessarily equate to the number of FL participants.

These profiles may coexist across the same FL operation. A source can contribute to multiple authorized dataset versions; an operation policy needs explicit overlap and de-duplication rules. Counts used by model aggregation should represent effective training examples, not numbers of physical sensors, source resources or AE registrations. For sample-count-weighted FedAvg, the TFC can report effective sample count, while the FL framework determines the update weight and secure/robust aggregation algorithm.

Trust interpretation. The Data Source operator, legal data authority, gateway operator, CSE administrator, MEC provider, dataset processor and TFC operator can be different principals. Co-location or successful AE registration does not imply a common trust domain. Technical resource access is enforced using applicable oneM2M ACP/dynamic-authorization procedures (oneM2M TS-0003, oneM2M TS-0001 [i.2]); any separate right to process the retrieved data for a given purpose is represented by an approved policy/decision and enforced by the relevant system authority. A trust or authorization reference is not a cryptographic attestation unless an attestation mechanism actually supplies that assurance. The effective policy should be evaluated at binding creation, before reading data and again when policy or execution location changes.

Figure 7.3.5.4.1‑1 is informative; trust-zone boundaries are administrative, not necessarily physical.

Figure 7.3.5.4.1-1: Trusted FL Client roles and trust boundaries
Figure 7.3.5.4.1‑1: Trusted FL Client roles and trust boundaries

Figure 7.3.5.4.1‑1: Trusted FL Client roles and trust boundaries

7.3.5.4.2 TFC profile and logical participant resource information

The following are candidate information models; names and attribute multiplicities are not existing TS resource definitions. For an MVP, represent them as AE-owned application metadata using available oneM2M generic resources or specializations, and apply existing ACPs. A future normative design may place them under dedicated oneM2M resource types. MVP = Yes indicates a minimal multi-source demonstration, not normative mandatory status. Suggested cardinalities refer to the candidate application profile; ordinary oneM2M common attributes (e.g. resourceID, parentID, creator, accessControlPolicyIDs, creationTime and expirationTime) continue to be provided by their enclosing resource as applicable.

Table 7.3.5.4.2‑1: Candidate trustedFLClientProfile attributes

Attribute
Proposed multiplicity
MVP
Meaning and verification/use
clientAERef
1
Yes
oneM2M reference to the independently registered TFC AE; not a sensor identifier.
profileVersion
1
Yes
Version of the profile schema used to interpret these attributes.
executionHostRef
1
Yes
Gateway/node/MEC execution instance reference hosting the TFC runtime.
hostingCSERef
1
Yes
CSE offering data resources and local oneM2M API access.
clientOperatorRef
0..1
Yes
Identifies the TFC administrative operator; does not alone confer data rights.
executionDomainRef
0..1
Yes
Security/administrative execution domain for policy comparison.
deploymentInstanceRef
0..1
No
MEC application instance, Software Campaign instance or other lifecycle correlation.
capabilityProfileRef
0..1
Yes
Existing Solution 2 flClientCapability representation or linked capability data.
supportedParticipantModes
1..n
Yes
Modes supported: singleSource, independentSources, aggregatedSources.
supportedFrameworks
0..n
Yes
FL framework identifiers and versions, used in task compatibility checks.
supportedModelProfiles
0..n
No
Supported architecture/model-format references and accelerator/runtime constraints.
maxSources
0..1
Yes
Advertised upper bound on source references; not the number of simultaneously eligible sources.
maxConcurrentParticipants
0..1
No
Training-context concurrency bound for independent-source mode.
dataAccessMethods
0..n
Yes
Supported oneM2M RETRIEVE, SUBSCRIBE/NOTIFY or locally mediated data interfaces.
processorProfileRef
0..1
No
Optional Dataset Processor AE if preparation is delegated.
permittedOutputProfileRef
0..1
No
Reference to restrictions on gradients, weights, metrics and other exports.
coordinatorRef
0..1
Yes
FL Coordinator application address/reference for assigned operations.
activeOperationRefs
0..n
Yes
FL operation associations; do not imply unconditional source authorization.
readinessState
1
Yes
registered, awaitingAuthorization, preparing, ready, running, blocked, failed or retiring.
lastHealthUpdate
0..1
No
Freshness timestamp of readiness/health information.
securityAssuranceRef
0..1
No
Optional evidence/reference to runtime isolation or attestation; verification external to the resource itself.

Table 7.3.5.4.2‑2: Candidate flParticipantProfile attributes

Attribute
Proposed multiplicity
MVP
Meaning and verification/use
participantId
1
Yes
Unique logical participant identity within the referenced operation.
operationRef
1
Yes
FL operation owning the participant.
clientAERef
1
Yes
TFC/FL Client AE performing model training.
participantMode
1
Yes
One of the three defined participation modes.
datasetRef
1
Yes
Dataset or prepared dataset-version reference consumed by this logical participant.
datasetVersion
1
Yes
Immutable or otherwise reproducible version identifier for audit and repeatability.
sourceBindingRefs
1..n
Yes
Authorized source associations covered by the dataset (policy-protected).
representedSourceCount
1
Yes
Count of authorized contributing sources; NOT a participant weight.
effectiveSampleCount
0..1
Yes
Number of examples actually eligible/used for the reported update.
sampleCountMethod
0..1
Yes
Defines whether the count is post-filtering, deduplicated, weighted, etc.
overlapPolicyRef
0..1
Yes
Reference to deduplication/overlap handling for sources or participant datasets.
weightingPolicyRef
0..1
Yes
Framework/operation-defined contribution weighting policy; no weight inferred from source count.
administrativeDomainRef
0..1
No
Domain identifier usable for diversity and policy evaluation, subject to privacy controls.
trainingTaskRefs
0..n
Yes
Assigned task references for the participant.
lastUpdateRef
0..1
No
Optional model-update artifact reference (not raw training data).
contributionStatus
1
Yes
candidate, authorized, ready, training, submitted, excluded, revoked or failed.
lastEvaluationTime
0..1
No
Timestamp of latest source eligibility and authorization evaluation.

The sourceBindingRefs association is logical; Solution 9 defines its reusable dataset/source processing-policy form. A separate FL-only binding resource is not proposed at this stage.

7.3.5.4.3 TFC registration, source eligibility and participant assignment

The following messages indicate oneM2M primitive types where applicable. Authorize processing is a conceptual interaction with an authorized policy function; it is not a new standardized oneM2M primitive. Assign FL task and model-update exchanges use Solution 6 or a framework-specific transport, respectively.

@startuml
participant "Data Source AE / IPE" as DS
participant "MN-CSE" as MN
participant "Trusted FL Client AE" as TFC
participant "FL Orchestrator AE" as OR
participant "Policy Authority (logical)" as PA
DS -> MN: CREATE/UPDATE contentInstance; dataSuitability
TFC -> MN: CREATE AE (register)
TFC -> MN: CREATE trustedFLClientProfile / flClientCapability
OR -> MN: DISCOVERY (sources, TFC capability, dataset policies)
MN --> OR: Eligible candidate references (filtered)
OR -> PA: Request processing authorization for source(s), purpose, host
PA --> OR: Approved sources, constraints / denial
alt source(s) approved
  OR -> MN: CREATE/UPDATE authorized source-policy association
  OR -> MN: CREATE flParticipantProfile (candidate)
  OR -> TFC: Assign task(datasetRef, participantMode, operationRef)
  TFC -> MN: RETRIEVE dataset metadata (ACP enforced)
  MN --> TFC: Permitted metadata or access denied
  TFC --> OR: Readiness / rejection with reason
else denied
  OR -> OR: Exclude source; reselect participant or dataset
end
@enduml

Figure 7.3.5.4.3‑1: TFC enrollment and participant selection

7.3.5.4.4 TFC relocation and refreshed authorization

A destination host may have a different operator, isolation policy, jurisdiction or access path. Successful MEC or other application deployment therefore cannot transfer source authorization implicitly. Existing lifecycle adapters retain authority for installing applications; the FL orchestration profile controls the required readiness handshake.

@startuml
participant "FL Orchestrator" as OR
participant "MEC / Gateway Lifecycle Manager" as LM
participant "Target MN-CSE" as MN
participant "Policy Authority" as PA
participant "Replacement TFC AE" as NT
participant "Original TFC AE" as OT
OR -> LM: Deploy replacement application (platform-specific)
LM --> OR: Deployment instance / operation status
NT -> MN: CREATE AE + trustedFLClientProfile
OR -> PA: Authorize new client, host, domain and data purpose
alt authorization granted
  PA --> OR: Approved source scope and restrictions
  OR -> MN: CREATE target source-policy associations
  NT -> MN: RETRIEVE authorized dataset metadata
  MN --> NT: Data access decision
  NT --> OR: Dataset and FL readiness
  OR -> NT: Assign/resume task at safe checkpoint
  OR -> OT: Stop old task; release subscriptions and temporary copies
  OT --> OR: Cleanup disposition
else authorization denied
  PA --> OR: Denial
  OR -> LM: Retire replacement or choose alternative target
end
@enduml

Figure 7.3.5.4.4‑1: Trust-aware TFC relocation

7.3.5.4.5 Specification impact and implementation boundary

Table 7.3.5.4.5‑1: Specification impacts

Candidate change
Reuse or future work
Impact
TFC AE registration, source data access, subscriptions
Existing oneM2M procedures
oneM2M TS-0001 [i.2] and oneM2M TS-0004 [i.9]: existing baseline; no new primitive presumed
trustedFLClientProfile and flParticipantProfile interoperability
AE-owned MVP profiles; candidate standardized attributes/children
Potential oneM2M TS-0001 [i.2] resource/CSF design and oneM2M TS-0004 [i.9] resource representation
Host/domain and authorization evaluation
Reuse ACP and evaluate dynamic authorization, with additional application-specific processing authority
oneM2M TS-0003 security study; oneM2M TS-0001 [i.2] relationships only if necessary
TFC placement / migration
Reuse MEC platform application lifecycle or Software Campaign adapters
ETSI GS MEC 010-2 [i.8] and relevant MEC lifecycle work; TS-0044 correlation only
Source composition and data processing
Use oneM2M TR-0071 [i.27] proposals but extend generic dataset governance
oneM2M TS-0044 AI enablement ; See Solution 9 for impacts

NOTE: oneM2M TS-0044 is a candidate future oneM2M technical specification for AI enablement.

7.3.5.5 Solution 5: Constrained inference-deployment profile

An inference-deployment profile may include:

  • model identifier and version;
  • model format;
  • required runtime;
  • memory, storage, compute, and acceleration requirements;
  • numerical precision;
  • input and output interface description;
  • integrity information;
  • activation and rollback policy;
  • monitoring policy; and
  • fallback edge-inference reference.

The FL Orchestration Function compares the profile with target capabilities.

  • For a capable device, Software Campaign or management enablement may deploy the model package.
  • For an incapable device, an edge inference application is selected or deployed and associated with the device.

Inference-model readiness should identify the active model version rather than only indicate successful package installation.

7.3.5.6 Solution 6: FL task, round, and readiness representations

7.3.5.6.0 Introduction

Task and round information below is application-level candidate metadata correlated with and ; it does not add a seventh dedicated core type. Training Coordination is the authoritative writer of task/round assignments and progress (using authenticated client/aggregator reports), while the FL Orchestration Function reads these reports to determine operation state.

A minimal FL task representation may include:

  • task identifier;
  • operation and round references;
  • selected client;
  • model reference;
  • local training configuration;
  • data-selection policy;
  • deadline;
  • update destination;
  • status target; and
  • security references.

A minimal round representation may include:

  • round identifier;
  • participant-set reference;
  • global-model input version;
  • local-update status;
  • aggregation status;
  • optional framework-specific aggregation-profile reference and intermediate-update contribution metadata, where authorized;
  • resulting-model version;
  • start and completion time; and
  • failure or exclusion information.

FL readiness should include:

  • application running;
  • FL framework initialized;
  • model accessible;
  • credentials and coordinator configuration available;
  • authorized local data accessible; and
  • client able to accept an FL task.
7.3.5.6.1 FL-05: Governed dataset preparation, training and publication

references the Solution 9 and prepared /version or an authorized equivalent governed input. Solution 9 defines source associations, authorized retrieval, transformation, provenance, invalidation and the distinction among singleSource, independentSources and aggregatedSources; this solution does not redefine those resources. Where a delegated TFC processes locally, raw observations remain inside the permitted trust domain. The task records the binding version and dataset version so changes can be detected between assignment and execution.

@startuml
hide footbox
autonumber
participant "FL Orchestrator AE" as Orch
participant "IN-CSE" as IN
participant "MN-CSE" as MN
participant "Dataset Processor/TFC AE" as TFC
participant "FL Coordinator AE" as Coord
participant "FL Aggregator" as Agg
participant "Model Repository AE" as Repo
Orch -> MN: Authorized preparation request referencing Solution 9 policy
MN -->> TFC: NOTIFY permitted dataset preparation work
TFC -> MN: RETRIEVE permitted data source records (op=2)
MN --> TFC: Authorized records / error
TFC -> TFC: Transform, validate, version, record provenance
TFC -> MN: CREATE/UPDATE governed dataset status (op=1/3)
MN -->> Orch: NOTIFY dataset/version readiness
Orch -> IN: UPDATE binding.datasetVersionRef (op=3)
IN --> Orch: 2004 UPDATED
Orch -> Coord: Activate ready participant set (application procedure)
loop Each training round
 Coord -> IN: CREATE/UPDATE task and round representations
 Coord -> TFC: Assign binding/version, model and training profile
 TFC -> Repo: Retrieve authorized base/current model artifact
 Repo --> TFC: Model artifact
 TFC -> TFC: Verify current data policy; train locally
 TFC -> Agg: FL-framework-specific model update
 TFC --> Coord: Task progress/result with task/version identity (framework)
 Coord -> IN: UPDATE task status from authenticated client report (op=3)
 IN --> Coord: 2004 UPDATED
 Agg -> Agg: Aggregate according to selected topology/profile
 Agg --> Coord: Round result/metrics (framework protocol)
 Coord -> IN: UPDATE round/model-version references (op=3)
end
Coord -> Repo: Publish candidate final model artifact
Repo --> Coord: Candidate model version and digest
Coord -> Orch: Candidate result, contribution lineage and metrics
Orch -> Repo: Request/verify authorized evaluation evidence (application)
Repo --> Orch: Evaluator identity, criteria, metric evidence / unavailable
alt Result satisfies intent requirements
 Orch -> IN: UPDATE operation(completed, modelResultRef) (op=3)
 IN --> Orch: 2004 UPDATED
else Criteria unmet
 Orch -> IN: UPDATE operation(failed or policy-defined continuation) (op=3)
 IN --> Orch: 2004 UPDATED
end
@enduml

Figure 7.3.5.6.1‑1: FL-05: Governed dataset preparation, training and publication

Training round assignment, weight transfer and aggregation are FL-framework-specific, not automatically oneM2M CRUD exchanges. Model artifacts may reside in an authorized repository while oneM2M maintains references. Completion requires the resulting model to be identifiable and validated against the intent's result criteria; inference deployment is separately initiated and correlated to the published model version. Reusing the result across several inference targets does not change the training outcome.

7.3.5.7 Solution 7: Correlation and status model

The correlation model is an application-level index/view controlled by the FL Orchestration Function, not by can independent owner of external platform status. Original MEC/local lifecycle outcomes, Software Campaign outcomes, FL Client readiness, Training Coordination progress and Aggregation results remain attributable to their producing authorities and are not overwritten to force agreement.

A common correlation model should relate:

  • FL service-intent identifier;
  • FL-operation identifier;
  • oneM2M Software Campaign identifier;
  • oneM2M target and host resources;
  • Gateway Agent identifier;
  • MEC package identifier;
  • MEC lifecycle-operation occurrence;
  • MEC or local application-instance identifier;
  • FL Client identifier;
  • represented Data Source identifiers;
  • model and version identifiers;
  • task and round identifiers; and
  • inference-deployment identifier.

Status should identify both:

  • the state of each underlying mechanism; and
  • the interpreted state of the end-to-end FL operation.

This separation prevents successful software installation from being misinterpreted as successful FL readiness or training completion. The resource model can be analysed for permissible and child types, creation/update privileges, attribute cardinality, allowed status transitions, authorization of protected discovery attributes, announcement/cross-CSE visibility, subscription event representation, deletion and retention rules, and conflict-safe correlation. The present document assigns no resource type codes or new CSE procedures. Model-result publication references an independent inference lifecycle; inference target failures do not rewrite completed training state.

7.3.5.8 Solution 8: Event-driven monitoring and adaptation

7.3.5.8.1 Introduction

The FL Orchestration Function may subscribe to:

  • host capability and availability changes;
  • Data Source policy or eligibility changes;
  • campaign and deployment status;
  • FL Client readiness;
  • task and round progress;
  • coordinator and aggregator status;
  • model-version updates; and
  • inference-deployment monitoring.

An adaptation policy may define actions such as:

  • continue with fewer participants;
  • select a replacement participant;
  • deploy a Trusted FL Client;
  • retry a failed campaign target;
  • roll back an application or model;
  • move an FL component to another host;
  • pause or cancel the FL operation; or
  • initiate retraining.

The adaptation history should remain associated with the FL operation for traceability.

7.3.5.8.2 FL-06: Revocation, failure and participant reselection
@startuml
hide footbox
autonumber
participant "Data Owner / Host AE" as Publisher
participant "MN-CSE" as MN
participant "FL Orchestrator AE" as Orch
participant "IN-CSE" as IN
participant "FL Coordinator AE" as Coord
participant "Deployment Manager AE" as Manager
Publisher -> MN: UPDATE policy/source/host descriptor (op=3)
MN -->> Orch: NOTIFY subscribed change
Orch -> IN: RETRIEVE operation, binding and versions (op=2)
IN --> Orch: Current state and references
Orch -> Orch: Determine affected datasets, tasks and rounds
alt Authorization revoked or expired
 Orch -> Coord: Suspend affected future data use / updates
 Orch -> IN: UPDATE bindingState=revoked (op=3)
 Orch -> Orch: Apply Solution 9 invalidation/retention policy
else Host/component failed
 Orch -> Manager: Request permitted retry or replacement
 Manager --> Orch: Recovery status
else Data descriptor no longer suitable
 Orch -> IN: DISCOVERY replacement authorized sources
 IN --> Orch: Candidate references
end
opt Replacement required
 Orch -> IN: DISCOVERY permitted replacement hosts/clients
 IN --> Orch: Candidate references
 Orch -> Orch: Revalidate data purpose, access, trust and readiness
 Orch -> IN: CREATE replacement  (op=1)
 IN --> Orch: 2001 CREATED
 Orch -> Coord: Apply round-boundary participant update
end
Orch -> IN: UPDATE operation adaptationHistory/status (op=3)
IN --> Orch: 2004 UPDATED
@enduml

Figure 7.3.5.8.2‑1: FL-06: Revocation, failure and participant reselection

adaptationHistory captures trigger, previous and replacement bindings, descriptor/policy versions, affected rounds, action, decision authority, timestamps and outcome. A partial training-round failure is not automatically a failed operation. On a revocation, future access and pending contribution handling follow Solution 9; the service cannot guarantee removal of an already aggregated contribution. Recovery may move the operation from paused back to preparing for revalidation or to running when safe. Inference deployment failures remain associated with independent deployment records.

7.3.5.8.3 Cross-resource protocol and consistency requirements

Table 7.3.5.8.3‑1: Consistency requirements

Condition
Proposed handling
Resource CREATE succeeds but asynchronous action fails
Report the action failure in the managed resource; do not reinterpret 2001 CREATED as deployment/training success
Cross-CSE resource not authorized or reachable
Do not disclose metadata; record incomplete discovery or candidate exclusion and retry according to policy
Changed data policy or descriptor version
Invalidate/revalidate affected bindings before subsequent source access and task execution
Host accepted but capacity lost
Recheck at deployment time; acceptance is not a reservation
Deployed component not FL-ready
Keep deployment and client-readiness states distinct; retry configuration or reselect
Duplicate admission/deployment request
Reconcile existing operation and external job IDs before repeating non-idempotent actions
Partial target/round failure
Correlate per-target/per-round errors and follow the selected recovery/continuation policy
Unauthorized model/data request
Apply existing CSE ACP and separate data-purpose checks; return appropriate oneM2M errors for primitive failure

Proposed FL-domain status reasons (e.g. MODEL_INCOMPATIBLE, DATA_POLICY_DENIED, HOST_UNAVAILABLE, DEPLOYMENT_FAILED, CLIENT_NOT_READY, ROUND_FAILED, MODEL_EVALUATION_FAILED) are application-level values, not oneM2M response-status codes. Common response/notification behaviour uses oneM2M TS-0004 [i.9]; exact new resource authorization, notification content and discoverable filter attributes require normative follow-up.

7.3.5.8.4 Proposed authorization, lifecycle and message-arrow audit profile

The FL-01–FL-06 and TFC sequence arrows are illustrative application interactions, not a complete normative oneM2M protocol profile. In particular, a direct arrow to a named AE means an authenticated application exchange using an agreed transport, or an appropriately authorized AE request via CSE resources/notifications; it does not confer a direct oneM2M resource operation or grant the sender permission to write another principal's status. A CREATE /UPDATE arrow addresses a candidate resource to be translated to an authorized prototype record for current CSE implementations. The initiating AE's authenticated identity, target URI, ACP/purpose decision, request primitive, response and relevant activity-version precondition require recording for each implemented arrow.

Table 7.3.5.8.4‑1: Authorization

Flow
Authorized initiating decision and actual reporting principal
Gate and state/identity checks
Unresolved implementation contract
FL-01
Consumer requests; Orchestrator admits and creates intent/operation on its own authorized tree
Accepted intent precedes pending operation; reject without runnable operation; reconcile duplicate creationRequestId
Candidate CREATE permissions, cross-resource atomicity and duplicate handling
FL-02
Data Source/Client publishes only its authorized description; Orchestrator retrieves allowed metadata
Authenticated publisher, disclosure filtering, freshness and eligibility; discovery is not consent
Discovery filter semantics and cross-CSE exposure
FL-03
Data Authority decides data use; host authority accepts placement; client accepts participation; Orchestrator alone commits binding
Require all relevant purpose, access, host and client decisions and their expiry/version before binding acceptance; recheck before source access
Decision-token verification, signature/trust and host capacity reservation
FL-04
Orchestrator requests; authorized Gateway Agent invokes; MEC manager or non-MEC manager decides/executes
Deployment requested→accepted/rejected→inProgress→succeeded/failed/cancelled; only manager-originated outcome moves external job state; never infer FL readiness
Target-specific MEC/local request mappings and rollback/partial success
FL-05
Dataset authority/processor governs prepared input; Training Coordinator issues tasks/rounds; Client reports own execution; Aggregator reports evaluation inputs
Dataset policy and version valid at read and update submission; assigned→accepted/rejected→ready→running→submitted/failed/cancelled; Coordinator verifies admissibility before acceptedUpdate
Framework transfer channel, model integrity verification, aggregation/result attestation
FL-06
Source/host authority reports change; Orchestrator initiates reselection; Training Coordinator handles active-task/round exclusion
Bindings become suspended/revoked/expired; revoke authorization to future access; quarantine pending updates and preserve evidence; replacement needs fresh approvals
Mid-round consistency, deletion scope and already aggregated influence
TFC enrollment/preparation/relocation
TFC registers itself; Source/Policy Authority approves processing; host lifecycle manager authorizes deployment
Separately authenticate TFC operator, represented source(s), processor and new execution host; refresh permission after migration
Independent-source isolation, processor attestations and source-specific provenance validation

Operation and activity transition guardrails (proposed profile). Overall operation: pending→preparing after initiation of governed selection; preparing→ready only when required bindings, deployment and client readiness are confirmed; ready→running only on Training Coordination start acknowledgment. running→paused on authorized hold; paused→preparing for revalidation or paused→running only with refreshed eligibility and readiness. running→completed requires completed/accepted round or stopping condition and an explicit accepted evaluated model result; a stop-condition trigger alone is insufficient. pending, preparing, ready, running and paused may transition to failed or cancelled on an authorized decision with recorded reason and compensating actions. Terminal states are immutable in the proposed baseline, except append-only audit or a separately correlated subsequent operation. These guards are not standardized CSE state machines. Discovery, dataset preparation, deployment, task/round, evaluation and inference deployment retain independent state and actor-of-record; notifications never constitute proof of acceptance by themselves.

Evaluation and acceptance (proposed profile). Before training, the accepted intent records the initial model/version, metric names and direction, target thresholds or comparative acceptance criteria, permitted evaluation data/domain, evaluation actor, minimum participation/evidence and handling of missing or biased validation data. The Aggregation/FL framework reports output artifact digest, model/version lineage, contribution-set summary, evaluation method and metric evidence; a separately authorized evaluation actor may validate those results. The Orchestrator checks authenticity, policy conformance and the accepted criteria, then records accepted, rejected or inconclusive with evaluator identity, time, evidence reference and reason. Rejected/inconclusive models do not cause completed; policy selects retry, further validation or failed/cancelled termination. Any inference deployment remains an independent request with separate acceptance and activation outcome. Successful aggregation or a lower loss alone does not demonstrate a safe, unbiased, privacy-preserving or deployable model.

Model-update and dataset security boundary. Existing oneM2M ACP and transport security protect the oneM2M primitives only within their actual scope; neither those controls nor keeping raw observations local prevents gradient inversion, membership/property inference, poisoning, backdoors, malicious-client collusion, replay, rollback or leakage from client metadata. A deployable profile needs authenticated participant/update provenance, model/version and round binding, artifact integrity checks, scoped credentials, confidential channels, replay controls and appropriate validation/anomaly treatment. Secure aggregation, differential privacy and robust aggregation are optional framework choices with explicit threats, assumptions, utility tradeoffs and verification, not properties supplied automatically by oneM2M or MEC. TFC multi-source identities can not be assumed to be statistically independent; effectiveSampleCount, source overlap and weighting basis use Solution 9 metadata and framework rules. Following revocation, prevent future reads and exclude/quarantine not-yet-accepted updates when feasible; previously distributed artifacts and already included contributions require separate retention, rollback or retraining decisions, without guaranteed unlearning.

7.3.5.8.5 Step 06 message-contract verification matrix (proposed profile)

Table 7.3.5.8.5‑1 is an application-level implementation checklist for the modular FL-01–FL-06 sequences, not a claim of normative oneM2M resource authorization. Mca is used when an AE actually exchanges oneM2M primitives with its registrar CSE; Mcc is used only between CSEs. A direct AE-to-AE arrow is a separately authenticated application or FL-framework interface unless explicitly mediated by oneM2M resources/notifications. Each 200x response acknowledges the CSE operation, not successful asynchronous FL activity. The actor named as resource writer is an illustrative authorized principal; a normative privilege matrix and prototype URI mapping remain open.

Table 7.3.5.8.5‑1: Implementation checklist

Sequence / message group
Originator → target and interface
Request/response or event; authority and resulting state
FL-01 admission/model validation
Consumer AE → Orchestrator AE (authenticated application); Orchestrator AE → IN-CSE (Mca, model RETRIEVE); Orchestrator AE → Model Repository AE (application)
Consumer request and model checks produce admission decision; denied requests create no operation. Repository returns suitability evidence, not resource authorization.
FL-01 create/correlate
Orchestrator AE → IN-CSE (Mca, candidate intent/operation CREATE, intent UPDATE)
Each CREATE returns a resource reference or error; after accepted intent, operation starts pending. Correlation failures require reconciliation, not success notification; Orchestrator is the writer.
FL-02 publication
Data Owner AE → MN-CSE (Mca, candidate data descriptor CREATE/UPDATE)
Owner controls disclosed descriptor; each primitive is acknowledged independently. A descriptor is not consent to train.
FL-02 discovery
Orchestrator AE → IN-CSE (Mca, discovery RETRIEVE); IN-CSE ↔︎ MN-CSE (Mcc if authorized/reachable); Orchestrator AE → IN-CSE (Mca, operation UPDATE)
Only permitted identifiers/metadata are returned. Orchestrator records candidate references/preparing or failed discovery, without a data-processing grant.
FL-03 host publication/discovery
Gateway/Host Agent AE → MN-CSE (Mca, host descriptor CREATE/UPDATE); Orchestrator AE → IN-CSE (Mca RETRIEVE); IN-CSE ↔︎ MN-CSE (conditional Mcc)
Advertiser controls descriptor; orchestration verifies its freshness and returns no commitment solely from discovery.
FL-03 authorization/placement
Orchestrator AE ↔︎ Data Authority AE, Host Agent AE and existing Client AE (authenticated application decision interfaces)
Separate purpose decision, placement acceptance and participant acceptance, with decision identities, expiry and descriptor versions. No CSE success response substitutes for these approvals.
FL-03 binding
Orchestrator AE → IN-CSE (Mca, candidate binding CREATE and operation UPDATE)
Only after applicable approvals, records candidate selected binding and correlation; ready is deferred until deployment, dataset and client checks. Return individual CSE acknowledgments/errors.
FL-04 launch
Orchestrator AE → IN-CSE (Mca, candidate deployment CREATE); Agent AE ↔︎ IN-CSE (Mca subscription/RETRIEVE); IN-CSE → Agent AE (oneM2M NOTIFY)
Agent subscribes (or uses an independently-defined authorized dispatch mechanism) before relying on NOTIFY. CREATE means requested, not deployed.
FL-04 external lifecycle
Gateway Agent AE ↔︎ MEC authorized lifecycle manager (applicable MEC management interface), or ↔︎ non-MEC manager (local API), or authorized Software Campaign interface where applicable
Manager decides/executes; immediate job acceptance/refusal differs from asynchronous inProgress and terminal outcome. Agent writes attributed correlation/status to IN-CSE (Mca), Orch observes authorized NOTIFY. Exact MEC reference points/editions not asserted.
FL-04 readiness
Client/TFC AE → MN-CSE (Mca capability/status publication); Orchestrator AE → IN-CSE (Mca binding UPDATE)
Installation does not imply readiness. Orchestrator promotes binding only upon client-originated evidence, governed dataset and revalidated permissions.
TFC enrollment/preparation
TFC AE ↔︎ MN-CSE (Mca resource operations); Source/Policy Authority AE ↔︎ TFC/Orchestrator (application approval); authorized Dataset Processor AE ↔︎ MN-CSE (Mca permitted reads/status)
Data use requires purpose-bound authority in addition to ACP and current dataset policy. Only the actual authenticated processor reports its work; provenance remains source-specific.
FL-05 task assignment
Orchestrator AE ↔︎ Training Coordinator AE (application activation); Coordinator AE → IN-CSE (Mca candidate task/round CREATE/UPDATE); Coordinator AE → Client/TFC AE (framework)
Coordinator owns task control/status projection; client accepts/rejects via framework and reports readiness separately. Task identity, binding version and model digest are verified before training.
FL-05 updates/aggregation
Client/TFC AE → Aggregator (authenticated FL framework); Client/TFC AE → Coordinator AE (framework result/status); Coordinator AE → IN-CSE (Mca task/round UPDATE)
Aggregator applies eligible-update and replay checks; Coordinator projects authenticated client reports and round status, not an arbitrary client write to Coordinator-owned task records. Raw data handling follows Solution 9.
FL-05 publication/evaluation
Coordinator AE ↔︎ Model Repository AE; Coordinator AE → Orchestrator AE; Orchestrator AE ↔︎ authorized evaluator/repository (application); Orchestrator AE → IN-CSE (Mca operation UPDATE)
Candidate artifact publication does not equal evaluation acceptance. The orchestrator records evidence and marks completed only for an accepted evaluated result; rejection/inconclusive outcomes follow policy.
FL-06 event/hold
Source/Host AE → MN-CSE (Mca authoritative descriptor/policy update); MN-CSE → Orchestrator AE (oneM2M NOTIFY); Orchestrator AE ↔︎ Coordinator AE (application suspension); Orchestrator AE → IN-CSE (Mca binding UPDATE)
Notification is a trigger, not authorization. Quarantine unaccepted updates, suspend impacted tasks and apply source-specific invalidation; binding becomes suspended, revoked or expired as appropriate.
FL-06 replacement/recovery
Orchestrator AE ↔︎ Lifecycle Manager AE (application); Orchestrator AE → IN-CSE (Mca discovery/CREATE/UPDATE); Orchestrator AE ↔︎ Coordinator AE (application)
Replacement repeats FL-03 authorization and FL-04 readiness, then applies an authorized round-boundary update. Preserve predecessor identifiers and decision trail; never silently reuse expired authority.

Implementation acceptance condition. An implementation trace for each row records the authenticated originator and target, request ID and correlated response, actual endpoint and Mca/Mcc/application reference point, exact resource URI and prototype mapping (if any), ACP and independent purpose decision, external controller identity, state-version precondition, event attribution, and terminal/error disposition. The matrix verifies the draft's intended behaviour and surfaces missing contracts; it does not prove a concrete deployment or edition-specific standard conformance.

7.3.5.8.6 FL-07: Cancellation, partial failure and independent inference deployment

Cancellation is not deletion of the operation or a successful completion. A consumer can request cancellation, but only an authorized Orchestrator evaluates whether to accept it and commits the operation outcome. If cancellation races with completion, the Orchestrator resolves against the current operation version and evaluated-result decision, records the losing request and reports the actual terminal state. An already completed operation is immutable; post-completion inference deployment can be separately cancelled or rolled back.

@startuml
hide footbox
autonumber
actor "FL Service Consumer AE" as Consumer
participant "FL Orchestrator AE" as Orch
participant "IN-CSE" as IN
participant "Training Coordinator AE" as Coord
participant "Gateway Agent AE" as Agent
participant "Lifecycle Manager" as Manager
participant "FL Client/TFC AE" as Client
Consumer -> Orch: Request cancel(operationRef,requestId) [application]
Orch -> IN: RETRIEVE operation and activity versions (Mca op=2)
IN --> Orch: 2000 OK + current state/version
alt Operation already terminal
 Orch --> Consumer: Current terminal result; cancel not applied
else Cancel authorized and nonterminal
 Orch -> Coord: Stop new tasks; quarantine pending updates [application]
 Coord -> Client: Cancel assigned/active tasks [framework]
 Client --> Coord: Cancel acknowledged or unreachable [framework]
 Coord --> Orch: Task/round stop evidence; partial outcomes [application]
 Orch -> Agent: Terminate pending deployment jobs [application]
 Agent -> Manager: Cancel/terminate authorized job [MEC or local API]
 Manager --> Agent: Accepted/rejected + job reference (async outcome pending)
 Agent --> Orch: Lifecycle termination progress/evidence [application]
 Orch -> IN: UPDATE operation=cancelled; reason and cleanup refs (Mca op=3)
 IN --> Orch: 2004 UPDATED or version conflict
 Orch --> Consumer: Cancel outcome + outstanding cleanup references
end
note over Orch,Manager
Manager job acceptance is not proof of teardown.
Retain cleanup and retention obligations after operation terminal state.
end note
@enduml

Figure 7.3.5.8.6‑1: FL-07: Cancellation, partial failure and independent inference deployment

A coordinator timeout, insufficient eligible updates, dataset invalidation or partial deployment failure first affects the respective task/round/deployment activity. The Orchestrator may retry or reselect only while intent constraints, deadlines, budgets and policy remain satisfied; otherwise it records failed with reason and affected activity references. It does not mark completed without the accepted evaluated result. For Source authorization revocation, future reads cease and unaccepted updates are excluded; already aggregated influence needs a separate risk/rollback/retraining decision, never presumed deletion.

Optional inference deployment starts after an accepted evaluated result, from a separate authorized deployment request referencing modelResultRef, target/runtime compatibility and its own inferenceDeploymentRef. The relevant MEC manager or authorized non-MEC controller owns the installation/activation outcome. Rejection, failure, cancellation and rollback are tracked on that deployment and do not rewrite the training operation's completed state. If no deployment is requested, accepted training completion remains valid.

7.3.5.9 Solution 9: Governed multi-source dataset management and delegated preparation

7.3.5.9.1 Existing baseline, candidate extensions and normative status

Clause 7.2 of oneM2M TR-0071 [i.27] proposes a mechanism and resource structure for AI/ML dataset management. It has:

  • A resource for selecting and correlating observations from multiple sourceResourceIDs. This resource has the following attributes:
    • datasetStartTime
    • datasetEndTime
    • timeCorrelationStartTime
    • timeCorrelationDuration
    • nullValuePolicy
    • datasetFormat
    • historicalDatasetID
    • liveDatasetID
    • numberOfRowsForHistoricalDataset
    • numberOfRowsForLiveDataset.
  • CSE-generated resources with the following attributes:
    • mlDatasetPolicyID
    • listOfFeatures
  • The has child resources, with the following attributes:
    • datasetFragmentStartTime
    • datasetFragmentEndTime
    • numberOfRowsInFragment
    • datasetFragment
    • datasetFormat

Normal oneM2M common attributes, including relevant access-control identifiers, remain applicable as described by the resource proposal. This solution reuses these TR-level proposals without implying that they have been adopted in normative oneM2M TS-0001 [i.2] or oneM2M TS-0004 [i.9] specifications.

This solution proposes some extensions to the mechanism proposed in TR-0071 [i.27] to add data governance and provenance.

7.3.5.9.2 Proposed source association and data-processing policy information

The following candidate datasetSourceDescriptor is a structured association within or referenced by mlDatasetPolicy; it is not proposed as a mandatory standalone resource. It supplements oneM2M TR-0071 [i.27] sourceResourceIDs. Fields marked MVP are sufficient for a minimal demonstrator implementation; optional fields enable heterogeneous production deployments.

Table 7.3.5.9.2‑1: datasetSourceDescriptor

Attribute
Multiplicity
MVP
Description
sourceResourceID
1
Yes
URI/structured reference to the originating , , or other supported source.
sourceAERef
0..1
Yes
Data-producing AE or representing IPE reference; not necessarily the owner of the data.
sourceAdministratorRef
0..1
No
Administrator of the producing AE/CSE for policy escalation.
dataAuthorityRef
0..1
Yes
Authority competent to approve the proposed data use; legal roles require separate determination.
accessPolicyRefs
0..n
Yes
Existing effective ACP or dynamic-authorization references for the underlying source resource.
processingPolicyRef
0..1
Yes
Source-specific purpose/use restrictions represented in the next table.
sourceRole
0..1
No
inputFeature, targetLabel, context, qualityIndicator or application extension.
selectedFeatures
0..n
Yes
Fields from source records included in the dataset and their local names.
schemaRef
0..1
Yes
Feature/schema metadata describing parsing and data-type expectations.
featureMappingRef
0..1
No
Versioned mapping where schemas differ across sources.
sourceTimeWindow
0..1
Yes
Eligible observation interval; bounded by authorization and dataset selection.
sampleFilterRef
0..1
No
Application-defined selection/quality predicate version.
correlationKeyRef
0..1
No
Optional permitted entity or event linkage key; privacy sensitive.
sourceVersion
0..1
No
Source snapshot/content version or observation watermark.
sourceContributionCount
0..1
No
Approved/coarsened contribution count, not automatically a training weight.
requiredSource
0..1
Yes
Whether absence makes the composite dataset invalid; default recommended true in MVP.
sourceEligibilityState
0..1
Yes
candidate, authorized, denied, expired, revoked, unavailable; status not a grant.
eligibilityEvaluationTime
0..1
No
Last authorization and suitability assessment time.

A candidate datasetProcessingPolicy may be used as an AE-managed description linked from a dataset policy and evaluated by an authorized Policy Authority.

Table 7.3.5.9.2‑2: datasetProcessingPolicy

Attribute
Multiplicity
MVP
Description
policyId
1
Yes
Stable identifier of this policy/decision representation.
policyVersion
1
Yes
Immutable revision identifier so downstream datasets can cite the applicable policy.
policyAuthorityRef
1
Yes
Principal responsible for the decision; different from requester and executor.
processingPurpose
1..n
Yes
Allowed processing-purpose identifiers (e.g. particular FL training intent).
legalBasisOrAgreementRef
0..n
No
Optional pointers to applicable legal/contractual authorization evidence; no compliance inference.
authorizedProcessorRefs
0..n
Yes
TFC or Dataset Processor AE identities permitted to receive/process source data.
authorizedOperatorRefs
0..n
No
Organization/provider identities allowed to control those processor instances.
allowedExecutionDomains
0..n
Yes
Execution domain or host restrictions, interpreted by authorization authority.
allowedSourceRefs
0..n
Yes
Sources within the policy's scope; supplementary to source ACPs.
permittedOperations
1..n
Yes
Distinguishes read, transform, combine, train, validate, cache and export.
permittedOutputClasses
0..n
Yes
Types of derived results allowed outside the local domain (updates, metrics, aggregates).
exportRestrictionsRef
0..1
No
Destination/recipient/jurisdiction rules, with external enforcement where required.
rawDataExportAllowed
0..1
Yes
Boolean expressing additional source restriction; false is MVP default.
dataMinimizationRef
0..1
No
Feature selection and aggregation constraints.
temporaryRetentionDuration
0..1
Yes
Allowed duration for processor-held temporary raw/preprocessed copies.
derivedDataRetentionRef
0..1
Yes
Lifetime and disposal rules for transformed data/checkpoints; may differ from originals.
allowedTransformationsRef
0..1
No
Whitelist/profile for transforms or model types.
privacyProtectionRef
0..1
No
Applicable secure aggregation, differential privacy, clipping or output review policy.
effectiveTime
0..1
No
Beginning of validity.
expiryTime
0..1
Yes
End of validity; expired policy is not sufficient for fresh access.
revocationStatus
1
Yes
active, suspended, revoked, expired; change causes reevaluation.
revocationEventRef
0..1
No
Audit event explaining the policy transition.
auditRecordRef
0..1
No
Reference to protected record of approvals and outcomes.

Existing resources and oneM2M TS-0003 security mechanisms continue to decide whether a concrete oneM2M request is authorized. The present document proposes that a TFC cannot infer permission to train from success of an unrelated read request.

7.3.5.9.3 Proposed dataset preparation and provenance extensions

The oneM2M TR-0071 [i.27] attributes listed in clause 7.3.5.9.1 should be augmented with the following candidates to add the missing control and traceability.

Table 7.3.5.9.3‑1: Candidate extensions to TR-0071

Proposed attribute
Multiplicity
MVP
Explanation
sourceDescriptors
1..n
Yes
Structured source associations; candidate replacement/supplement to sourceResourceIDs, with compatibility mapping.
processingPurposeRef
0..1
Yes
FL operation or other authorized purpose using the dataset.
processingPolicyRefs
0..n
Yes
References to applicable general and per-source policy decisions.
processorAERef
0..1
Yes
Authorized dataset processor; absent for CSE-managed baseline. In MVP Profile C points to TFC AE.
processingMode
1
Yes
cseManaged or aeDelegated; prevents confusion about who creates dataset contents.
processingProfileRef
0..1
Yes
Versioned feature mapping, normalization and quality-processing specification.
partitionProfileRef
0..1
Yes
Train/validation/test selection method; avoids cross-split leakage.
timeAlignmentPolicyRef
0..1
No
Complement to TR-0071 time-correlation attributes for join window, missing time and skew.
partialSourcePolicy
0..1
Yes
rejectDataset, excludeOptionalSources, or an explicit defined alternative.
deduplicationPolicyRef
0..1
Yes
Defines how duplicate/overlapping samples are treated.
retentionPolicyRef
0..1
Yes
Derived-data and temporary-copy lifecycle; source expiration remains independent.
requiredOutputMetadata
0..n
No
Lists provenance and summary reports required for dataset readiness.
datasetGovernanceStatus
1
Yes
draft, pendingAuthorization, authorized, preparing, ready, blocked, invalidated, expired.

Candidate datasetProcessingProfile (referenced application information; may be embedded in the dataset policy rather than a new resource):

Table 7.3.5.9.3‑2: Candidate datasetProcessingProfile

Attribute
Multiplicity
MVP
Explanation
profileId
1
Yes
Stable identifier of the reusable transformation specification.
profileVersion
1
Yes
Immutable revision, used for reproducibility.
inputSchemaRefs
1..n
Yes
Expected input schemas for each source.
outputSchemaRef
1
Yes
Result schema/features.
featureMappingRulesRef
0..1
Yes
Field naming, type conversion and feature selection rules.
unitNormalizationRef
0..1
No
Engineering-unit conversions and scales.
timestampAlignment
0..1
Yes
Sampling period, timezone/time base, skew and join-window behaviour.
missingValueMethod
0..1
Yes
Drop/impute/last-value semantics; complements nullValuePolicy.
outlierFilterRef
0..1
No
Versioned quality checks and limits.
deduplicationMethod
0..1
Yes
Sample identity and repetition treatment.
partitionMethod
0..1
Yes
Training/validation/test selection, temporal leakage prevention.
dataQualityThresholdsRef
0..1
No
Reject, quarantine or warn thresholds.
processingImplementationRef
0..1
No
Implementation/package fingerprint; informational, not a mandated runtime.
processingIntegrityDigest
0..1
No
Hash of externally referenced processing configuration.

Table 7.3.5.9.3‑3:Candidate extensions to TR-0071 [i.27] and

Resource
Proposed attribute
Multiplicity
MVP
Explanation
datasetVersion
1
Yes
Version for repeatable task inputs; distinct from mutable resource state.
sourceDescriptorRefs
1..n
Yes
Source associations contributing to this version; protected if sensitive.
processingProfileRef
0..1
Yes
Specific transformation version used.
processingPolicyVersionRefs
0..n
Yes
Authorization decisions under which this version was assembled.
datasetProvenanceRef
0..1
Yes
Versioned lineage record linking source ranges, transformation and resulting dataset.
validSampleCount
0..1
Yes
Accepted examples after preprocessing; not raw-source row count.
sourceContributionSummary
0..1
Yes
Privacy-filtered source contribution summary; values need not be exported.
datasetLifecycleState
1
Yes
preparing, ready, invalidated, expired, deleting, deleted, failed.
retentionPolicyRef
0..1
Yes
Data lifecycle restrictions and disposition.
dataQualitySummaryRef
0..1
No
Versioned counts, missing-value and validation summary.
dataIntegrityDigest
0..1
No
Integrity of the generated dataset/version where applicable.
processingJobRef
0..1
Yes
Associates the generation job and delegated AE if used.
sourceContributionRefs
0..n
No
Authorized provenance of sources present in this fragment.
fragmentDigest
0..1
No
Content integrity reference.
dataDispositionState
0..1
No
Fragment invalidation/quarantine/deletion status; content remains immutable.

These additions supplement, rather than silently replace, the existing oneM2M TR-0071 [i.27] source time, format, feature and row-count attributes.

7.3.5.9.4 Delegated dataset processing job information

For optional aeDelegated operation, the Hosting CSE controls metadata/status and enforces its own data-resource authorization. The authorized Dataset Processor AE prepares data and reports completion. Exact creation of by a delegated AE would require clarification or extension of the oneM2M TR-0071 [i.27] proposal, which currently describes CSE-internal creation. In the MVP, a Dataset Processor AE may publish a content artifact under its own AE-managed and report a reference, while the dataset representation remains an application-level profile; this avoids pretending that an ordinary AE can use a CSE-internal CREATE operation.

Table 7.3.5.9.4‑1:Candidate datasetProcessingJob attributes:

Attribute
Multiplicity
MVP
Explanation
jobId
1
Yes
Identifier of this preparation execution.
datasetPolicyRef
1
Yes
Governing TR-0071-style dataset policy.
datasetVersion
1
Yes
Intended immutable output version.
processorAERef
1
Yes
Executing AE, optionally TFC AE.
hostingCSERef
1
Yes
CSE managing source access and/or dataset metadata.
executionHostRef
0..1
Yes
Host or MEC application instance chosen for work.
authorizationDecisionRefs
0..n
Yes
Approved source and execution-purpose references.
inputSourceDescriptorRefs
1..n
Yes
Authorized input composition and source-specific restrictions.
processingProfileRef
1
Yes
Effective versioned preprocessing instructions.
outputArtifactRef
0..1
Yes
Completed dataset/content artifact or CSE dataset resource reference.
resultPublicationMode
1
Yes
aeContentReference (MVP) or future cseDatasetPublication.
jobState
1
Yes
pending, authorized, running, completed, invalidated, cancelled, failed.
progressSummary
0..1
No
Completed records/time, without sensitive raw data.
startedAt
0..1
No
Processing start time.
completedAt
0..1
No
Completion or termination time.
errorCode
0..1
Yes
Failure reason (e.g. denied source, invalid schema, expired policy).
cleanupStatus
0..1
Yes
Cleanup state for temporary datasets and checkpoints.
auditRecordRef
0..1
No
Access-controlled evidence of decisions and output disposition.
7.3.5.9.5 Authorized creation and consumption procedure

A TFC cannot acquire data solely because the orchestrator selected it. Before data access, each source's effective ACP and any additional purpose-bound processing authorization should be resolved. If no standardized policy API is available, the policy authority interaction below is implementation-specific, and status references are recorded via oneM2M resources. The diagram distinguishes CSE-managed (oneM2M TR-0071 [i.27] proposed baseline) from AE-delegated preparation.

@startuml
participant "Data Source AE 1" as S1
participant "Data Source AE 2" as S2
participant "Hosting MN-CSE" as MN
participant "FL Orchestrator AE" as OR
participant "Policy Authority" as PA
participant "Dataset Processor AE\n(may be TFC)" as DP
participant "Trusted FL Client AE" as TFC
S1 -> MN: CREATE contentInstance (source-1)
S2 -> MN: CREATE contentInstance (source-2)
OR -> MN: CREATE mlDatasetPolicy-style description
note over OR,MN: source descriptors, processing purpose, mode,\nprocessing/partition profile, output restrictions
MN -> PA: Request source-by-source purpose and executor approval
PA --> MN: Decision, permitted source scope, expiry, restrictions
alt all required sources authorized
  MN -> MN: Check/record source policies and dataset job
  alt CSE-managed (TR-0071 baseline)
    MN -> MN: RETRIEVE/assemble authorized observations
    MN -> MN: Construct dataset and fragments (TR-0071 proposal)
  else AE-delegated (proposed option)
    MN -->> DP: NOTIFY authorized job reference
    DP -> MN: RETRIEVE permitted observations (ACP enforced)
    MN --> DP: Authorized source records
    DP -> DP: Join, transform, filter, partition and validate
    DP -> MN: CREATE application-managed result / UPDATE job status
    MN -> MN: Record output and provenance references
  end
  MN -->> TFC: NOTIFY dataset-ready/status
  TFC -> MN: RETRIEVE dataset/version/policy metadata
  MN --> TFC: Authorized metadata and dataset reference
  TFC --> OR: Dataset readiness / logical participant mapping
else one or more required sources denied
  MN --> OR: Denial, excluded source(s) or dataset blocked
  OR -> OR: Reject composite or reselect authorized sources
end
@enduml

Figure 7.3.5.9.5‑1: Authorized multi-source dataset preparation

7.3.5.9.6 FL execution and source-contribution accounting

The FL Orchestrator defines dataset selection and assigns participants. One logical participant should have a stable operation-scoped identity and a dataset version. In independent-source mode, a TFC issues separate task/update identities for each authorized dataset. In aggregated-source mode it issues one update for its composed dataset; aggregation should not multiply its influence by the number of contributing sensors. A dataset can be technically non-IID, duplicate or correlated even when source identifiers differ. Weighting and privacy guarantees remain framework/algorithm specific.

@startuml
participant "FL Orchestrator" as OR
participant "MN-CSE" as MN
participant "TFC AE" as TFC
participant "FL Aggregator" as AG
OR -> MN: RETRIEVE participant, dataset and readiness metadata
MN --> OR: Authorized summary and dataset version(s)
OR -> TFC: Assign round, modelRef, participantMode and task(s)
TFC -> MN: RETRIEVE permitted dataset fragments / artifact references
MN --> TFC: Authorized training inputs
alt independentSources
  loop each logical participant
    TFC -> TFC: Train separate task and count effective samples
    TFC -> AG: Model update(participantId, taskId, sample metadata)
  end
else aggregatedSources
  TFC -> TFC: Combine permitted sources, deduplicate and train
  TFC -> AG: One model update(participantId, effective sample count)
end
AG -> AG: Apply framework-defined weighting and aggregation
AG --> OR: Aggregation result and accepted-update statuses
TFC -> MN: UPDATE task/round readiness and contribution status
@enduml

Figure 7.3.5.9.6‑1: Independent and aggregated TFC participation

7.3.5.9.7 Policy change, dataset invalidation and retention

An authorization change is not only an error on the next RETRIEVE. It may invalidate an existing dataset version, affect an in-flight task and require cleanup of temporary copies. A notification is a trigger to reevaluate the effective authorization; notifications alone do not guarantee immediate revocation, especially where offline caches or independent processors exist. The orchestration response should record whether contributions were already submitted or aggregated.

@startuml
participant "Policy Authority" as PA
participant "MN-CSE" as MN
participant "Dataset Processor AE" as DP
participant "TFC AE" as TFC
participant "FL Orchestrator" as OR
participant "FL Aggregator" as AG
PA -> MN: Update effective policy / authorized resource state
MN -> MN: Enforce subsequent access decisions
MN -->> DP: NOTIFY policy/source eligibility changed
MN -->> TFC: NOTIFY dataset policy/version changed
DP -> DP: Halt affected preprocessing; isolate working copy
TFC -> TFC: Halt affected training; quarantine pending update
DP -> MN: UPDATE job invalidated / cleanup state
TFC -> MN: UPDATE task blocked / affected participant
TFC --> OR: Source ineligible and current round status
OR -> AG: Exclude pending update if technically possible
alt already aggregated
  AG --> OR: Update already incorporated; rollback not guaranteed
  OR -> OR: Evaluate retraining / model rollback policy
else not yet aggregated
  AG --> OR: Pending update excluded
end
OR -> OR: Recalculate eligibility; reselect participants
DP -> DP: Dispose of temporary copies per effective retention policy
TFC -> TFC: Dispose of temporary copies/checkpoints per policy
DP --> OR: Cleanup outcome / remaining obligations
TFC --> OR: Cleanup outcome / remaining obligations
@enduml

Figure 7.3.5.9.7‑1: Policy revocation during an FL round

7.3.5.9.8 Impacted standards and candidate change requests

Table 7.3.5.9.8‑1 lists the specifications that are potentially impacted by the approach proposed in solution 9.

Table 7.3.5.9.8‑1:Candidate enhancements

Candidate enhancement / issue
Current mechanism or baseline
Candidate future document impact
MVP implementation
Source association with individual policies and composition rules
oneM2M TR-0071 [i.27] with sourceResourceIDs
oneM2M TS-0044 - propose structured descriptors; oneM2M TS-0001 - resource attributes only if adopted; oneM2M TS-0004 - encoding/operations as needed
AE-owned source descriptor metadata and existing source
Dataset preprocessing, provenance and retention
oneM2M TR-0071 [i.27] /
oneM2M TS-0044 - general AI/ML policy/dataset semantics; conditional oneM2M TS-0001/TS-0004
Preprocess in TFC; versioned manifests, output reference and provenance summary
Delegated dataset construction
oneM2M TR-0071 CSE-internal construction
oneM2M TS-0044 - alternate processing architecture; oneM2M TS-0001/TS-0004 only if CSE-managed delegation is standardized
TFC AE constructs local dataset and writes its own permitted result resource
Logical FL participants, modes, contribution accounting
FL task/profile proposals in oneM2M TR-0071
oneM2M TS-0044; conditional oneM2M TS-0001/TS-0004 if interoperability attributes standardized
flParticipantProfile in oneM2M AE resource tree
Purpose-scoped processing authorization
oneM2M TS-0003 ACP / dynamic authorization; other policy arrangements
oneM2M TS-0003 study for missing enforcement semantics; oneM2M TS-0001 if policy-resource linkage standardized; oneM2M TS-0044 applicability
ACP for reads + local signed/configured policy decision; do not claim ACP enforces all downstream uses
Model update restriction / disclosure policy
FL framework security mechanisms
oneM2M TS-0044, possible oneM2M TS-0003 study if oneM2M security exposure is required
Allowlist update recipients, protected transport and output classification
Invalidation, cleanup and revoked-source response
Resource notifications and FL adaptation; oneM2M TR-0071 dataset state
oneM2M TS-0044 FL coordination; conditional oneM2M TS-0004 if new standardized procedures needed
Subscription and explicit job/task status updates
TFC relocation, host trust reevaluation
MEC app lifecycle; oneM2M CSE/AE registration
oneM2M TS-0044 and relevant ETSI MEC lifecycle documents; oneM2M TS-0003 authorization study
Re-register destination AE, reauthorize sources, then resume work
EU law motivated governance evidence
External legal/policy systems
oneM2M TS-0044 informative considerations; possible future oneM2M TS-0003 where genuinely missing
Store approved purpose/policy references and auditable timestamps

NOTE: oneM2M TS-0044 is a candidate future oneM2M technical specification for AI enablement.

7.3.5.9.9 Minimal viable demonstration and acceptance criteria

A practical minimum implementation may use two simulated sensor AEs (each with a and ), one MN-CSE, an IN-AE orchestration dashboard, a TFC AE on the gateway/MEC host and one FL Aggregator. A Policy Authority can initially be an explicit static approval file or test AE, provided the demonstration distinguishes this from actual oneM2M TS-0003 dynamic authorization and documents which checks are enforced by the CSE versus the application. One source should be administratively owned by a different test domain to prove the trust distinction.

MVP data model: use all attributes marked Yes above, with optional attributes omitted. Implement the proposed schemas as AE-managed metadata (a generic with JSON or specializations if supported by the chosen CSE). The mlDatasetPolicy-style manifest should reference both sources, their processing restrictions and the processing-profile version. The TFC should keep source data locally; an external orchestrator receives permitted summaries and update metadata, not raw sensor observations.

Demonstration sequence and acceptance checks:

  1. Register two Data Source AEs and the TFC AE; discover the source metadata and TFC capability without exporting observations during discovery.
  2. Create an authorized multi-source dataset definition, validate both source policies and record the decision references; demonstrate refusal when one policy denies training.
  3. Assemble a dataset using explicit feature selection and time-alignment rules; publish version, provenance and effective sample count.
  4. Execute aggregatedSources mode and verify one participant/update is sent even though two sensors contribute; log weighting basis.
  5. Execute independentSources mode and verify separate task, participant and update identities (not a claim of statistical independence).
  6. Revoke one source mid-task; confirm future CSE reads are denied as applicable, the affected dataset is marked invalid and the active training update is excluded where still pending.
  7. Simulate moving the TFC to a differently operated host; block data access until fresh authorization is approved.
  8. Verify retention cleanup statuses for temporary copies and document any copies or model contributions that cannot be deleted or reversed.

A production-level extension should evaluate secure processing, policy-authority authentication, separate administrative identities, model-update leakage controls, persistent audit evidence, disconnected operations, partial source failure and data-subject/user-rights workflows where applicable. These are not automatically achieved by a basic MVP.

7.4 Coordinate Swarm computing

7.4.1 Description

Swarm computing enables distributed and potentially heterogeneous participants to cooperate toward an application-defined objective. Participants may contribute sensing, actuation, computation, storage, connectivity or shared knowledge, and their participation may change in response to mobility, available resources, connectivity and application policy. A swarm may be formed for a particular purpose, adapted during operation and dissolved when it is no longer required. Coordination may be centralized, hierarchical or decentralized, and a particular deployment may combine these arrangements. As illustrated in Figures 7.4.1‑1, cooperation may emphasize direct peer interaction, shared contextual information, coordinated task execution, or combinations of these patterns.

Figure 7.4.1-1: Three common cooperation patterns
Figure 7.4.1‑1: Three common cooperation patterns

Figure 7.4.1‑1: Three common cooperation patterns

The Swarm Agent, Swarm Collector and Swarm Orchestrator described in clause 6.4 provide the functional roles for the deployment options illustrated in Figures 6.4‑1 to 6.4-3. A device, node or platform that is a candidate execution host is not thereby a separate swarm actor. A Swarm Agent performs application-specific processing or exchanges information with other agents. Local Swarm Agents may execute lightweight functions near sensors and actuators, whereas Edge Swarm Agents may perform additional computation, caching or relaying on an MN or MEC host. The Swarm Orchestrator selects participants, coordinates membership and placement, and applies relevant policies. Where results need to be combined, an optional Swarm Collector performs application-defined aggregation. Execution coordination for interdependent work may also be assigned to a Swarm Coordinator function, co-located with another role or distributed among agents. These are logical application functions and do not imply additional oneM2M node types or mandatory MEC components.

Figure 7.4.1-2: Functional roles of the swarm computing architecture and supporting oneM2M/MEC capabilities
Figure 7.4.1‑2: Functional roles of the swarm computing architecture and supporting oneM2M/MEC capabilities

Figure 7.4.1‑2: Functional roles of the swarm computing architecture and supporting oneM2M/MEC capabilities

The software executing a swarm application is distinct from the oneM2M service-layer mechanisms used to support it. An application may employ custom software to implement its processing, decision-making, dependencies and result interpretation. This clause does not assume a generic oneM2M task resource, task execution language or standardized algorithm. Instead, oneM2M can provide registration, discovery, access control, group operations, subscriptions, notifications, storage or references to application information, and applicable management capabilities. ETSI MEC may provide hosting resources, lifecycle management and network context. A Swarm Orchestrator or coordination function is responsible for interpreting application objectives; the CSE does not execute the swarm algorithm by virtue of providing its service-layer capabilities.

A device may initially be known only as a candidate execution host. Through an AE, a management function or another suitable oneM2M representation, it may make available information about its identity, compute and memory resources, connectivity, execution environment, installed software, availability and supported software-management functions. Candidate-host information is distinct from the capabilities of an active Swarm Agent. Following selection and authorization, appropriate software may be installed, updated, configured or activated using applicable oneM2M management capabilities or ETSI MEC application lifecycle management. The mechanism may include over-the-air software update where supported; the executable format, delivery and local installation procedures are outside the scope of this clause. Where a compatible agent is already present, deployment may not be needed. Completion of a management operation does not itself establish membership: once an available Swarm Agent has been identified, it does not become an active member of a swarm until its readiness has been established and its participation has been authorized.

Figure 7.4.1-3: Candidate-host selection, software provisioning and admission of a Swarm Agent
Figure 7.4.1‑3: Candidate-host selection, software provisioning and admission of a Swarm Agent

Figure 7.4.1‑3: Candidate-host selection, software provisioning and admission of a Swarm Agent

The operation of a swarm may involve a requesting application supplying an objective and execution constraints to the Swarm Orchestrator. The orchestrator discovers registered agents or candidate hosts, evaluates their capabilities and applicable trust, resource and connectivity constraints, and selects participants and a coordination arrangement. When required, it requests software-management actions through an authorized function and receives installation or activation status. Ready agents may then be admitted and provided with application-specific configuration, context subscriptions, work instructions or peer relationships, as appropriate to the selected cooperation pattern. During execution, agents may exchange information, report progress and provide intermediate or final results; an optional collector or coordination function may process those results and track dependencies where the application requires it. Changes in availability, mobility or policy may lead to reassignment, membership changes, context refresh, or additional software deployment. At completion, task-specific resources may be released while persistent agents and infrastructure remain available. These activities may be realized differently in each deployment option of clause 6.4 and are not intended to prescribe a single workflow.

Information associated with swarm operation may include participant identities and capabilities, swarm membership and roles, references to applicable policies, application-defined work and result identifiers, execution state, error indications and correlation information. Such information may be represented using existing oneM2M resources, including containers, groups, labels, semantic descriptors and applicable flexible container specializations. Large software artifacts, models, data sets or intermediate results may be referenced rather than held directly in the service layer. These information categories do not in themselves constitute proposals for new oneM2M resource types; any need for common representations or additional semantics is considered in the subsequent clauses.

Figure 7.4.1-4: Direct and CSE-mediated communication, including shared contextual information
Figure 7.4.1‑4: Direct and CSE-mediated communication, including shared contextual information

Figure 7.4.1‑4: Direct and CSE-mediated communication, including shared contextual information

Swarm Agents may communicate through CSE-mediated resource exchanges and notifications, direct application-level peer communication, or a hybrid arrangement. An AE participating in the proposed oneM2M-managed swarm is registered and identifiable, but registration alone does not authorize swarm membership or peer interaction. Direct communication requires appropriate peer authentication and application authorization; CSE-mediated resource operations are subject to the applicable oneM2M access-control policies. Participants may be registered with different CSEs, which introduces considerations for remote discovery, routing, reachability and access control. Where an S-AE changes its serving MN-CSE, the registration-point and service-continuity proposals in clause 7.2 may be relevant. Shared application context may also be produced, maintained, distributed and cached using service-layer resources and notifications, while its interpretation and use remain application-defined. The communication and coordination mechanisms, their limitations and candidate enhancements are addressed in the following clauses.

7.4.2 Feature Gap Analysis

7.4.2.1 Existing capabilities and analysis approach

oneM2M provides generic mechanisms for AE registration, resource discovery, CRUD operations, access control, group communication, subscriptions and notifications. oneM2M device and software-management capabilities may assist with the management of supported devices and application components. ETSI MEC provides a framework for edge application hosting, lifecycle management and access to platform or network services. These capabilities should be reused where they apply.

Existing oneM2M mechanisms are summarized as background only and are not themselves evaluated as feature gaps. The gaps described below concern proposed swarm-specific information models, additional peer communication capabilities or interoperability procedures that are not already specified by those mechanisms. Any proposed modification to a oneM2M Technical Specification is conditional on demonstrating an unmet requirement. The ability of a specific deployment to meet latency, mobility, energy or failure-recovery targets also depends on its topology and implementation.

7.4.2.2 AE-to-AE communication arrangements

The swarm-based autonomous delivery scenario described in clause 5.3.1 of ETSI GR MEC-DEC 050 [i.19] illustrates cooperation among agents through local peer exchanges as well as edge-assisted communication. Swarm Agents may need to exchange application-defined state, decisions or results at a frequency or latency that makes the communication path relevant to the deployment. Three arrangements are considered: direct communication between AEs, CSE-mediated communication, and a hybrid that selects a suitable path for different interactions.

The oneM2M Mca reference point connects an AE to a CSE; it does not, by itself, define a direct AE-to-AE reference point. Where two registered AEs exchange information without traversing a CSE, the data exchange may use an application-specific protocol. Existing oneM2M capabilities relevant to CSE-mediated AE-to-AE exchanges include directed NOTIFY and notification re-targeting, ordinary resource CREATE/RETRIEVE operations with subscriptions and notifications, group operations, non-blocking requests, polling-channel procedures and Communication Management and Delivery Handling (CMDH). These mechanisms provide different delivery, routing and persistence properties and may be combined where applicable. They are existing service-layer functionality and are summarized here as background, not as feature gaps. In particular, polling-channel delivery differs from retrieving application messages stored in resources, and CMDH request handling differs from persistent application-mailbox storage.

For the proposed oneM2M-managed swarm communication profile, the originator and destination are registered AEs, or an authorized representation of a participating agent is registered and uniquely associated with it. A prospective peer is found through an authorized discovery, directory or admission process before communication is established. This profile-level prerequisite does not imply that arbitrary application-level peer communication requires oneM2M registration. Registration, discovery, swarm membership, communication authorization and software-management authorization are distinct decisions.

AEs may register with the same MN-CSE or with different CSEs. In the latter case, cross-CSE resource reachability, AE identity resolution, inter-CSE routing over applicable reference points, resource visibility, administrative-domain policy and connectivity need to be considered. Direct peer connectivity is assessed separately from CSE-to-CSE reachability; the ability to discover a remote AE does not establish an end-to-end peer data path.

The remaining candidate gaps concern only functions not already provided interoperably by these mechanisms: a discoverable and authorized direct peer endpoint (including the proposed d2dPOA representation), direct AE-to-AE exchange of an existing oneM2M NOTIFY request/response primitive structure without CSE mediation, a CSE-issued peer authorization credential and locally verifiable cross-CSE trust, a common application-level envelope and permitted bindings across communication modes, standardized selection/fallback behaviour when required by the swarm interoperability profile, and a consistent treatment of retries and duplicate suppression. The direct NOTIFY response is limited to acknowledgment or error and does not carry an application result. The possibility of returning application-defined results in an existing CSE-mediated directed NOTIFY response remains a specification-verification question, not an established gap. A oneM2M primitive acknowledgment does not attest to application-task completion.

Where communication passes through a CSE, the CSE can observe and, where configured, retain information about mediated requests. A direct peer path does not expose its exchanges to the CSE automatically. Optional communication logging therefore needs an explicit agent-side reporting or other authorized collection mechanism, together with consistency, privacy, retention and integrity rules. Logging is an optional capability rather than a condition of every application exchange.

7.4.2.3 Candidate-host discovery and swarm formation

Existing resource and semantic discovery mechanisms can identify registered entities and described capabilities, but a consistent distinction is needed between an available device or execution host and an already installed and ready Swarm Agent. Candidate capability information can include processor architecture, memory, execution runtime, software-version or interface compatibility, installability and authorization constraints. These data can help select an appropriate artifact without requiring the CSE to interpret or execute the custom swarm algorithm.

Existing oneM2M containers, group resources and other resources can represent application-defined membership and coordination state. A common interpretation of admission, readiness and departure may improve interoperability. By contrast, the task graph, work assignment and algorithm-specific completion conditions may remain application-defined; lack of a generic task resource is not itself considered a service-layer gap.

7.4.2.4 Software provisioning and execution-state coordination

The deployment or activation of an agent and the execution of application-defined work are separate lifecycle operations. Existing oneM2M software- and device-management capabilities and ETSI MEC application lifecycle mechanisms can provide a deployment path, but the mapping between a selected swarm execution host, an installable artifact, the applicable management interface and agent readiness needs examination. For example, firmware-image replacement or independent module replacement are possible solutions.

Subscriptions and notifications can expose execution state, but a swarm-specific convention is needed to correlate tasks, assignments, participant changes, results, timeouts and reassignments. Recovery procedures also need to distinguish an interrupted or repeated assignment from a newly initiated subtask, particularly when outputs can arrive after an agent has been replaced.

7.4.2.5 Cross-platform and decentralized coordination

A swarm may span different MN-CSEs, MEC hosts or administrative domains. Existing mechanisms can provide selected resource visibility and platform services, but do not establish a common interworking procedure for evaluating remote execution capabilities, updating swarm membership across domains or preserving task state when coordination responsibility changes.

Peer coordination may also use local or application-specific communication mechanisms, including exchanges that do not traverse a CSE. The service layer can assist with discovery, common context and authorization, but the scope of oneM2M-managed coordination state and application-managed peer communication needs to be identified for each solution.

7.4.3 Key Issues and requirements

7.4.3.1 AE-to-AE communication, access and accountability

The proposed oneM2M-managed swarm profile considers the following key issues:

  • Identity and reachability: both peer AEs are registered and identifiable by their applicable AE identities and CSE associations before participating in the profile. The destination is resolved through authorized discovery or previously validated membership information. Expired registration, deregistration or loss of reachability invalidates assumptions about peer availability; a cached endpoint alone is insufficient to establish current authorization.
  • Admission and authorization: discovery permission does not grant permission to communicate, invoke an operation, join a swarm, access exchanged data or manage peer software. Originating and receiving AEs need appropriate permissions, while CSE-mediated interactions remain subject to applicable oneM2M access-control enforcement. Direct interaction requires peer authentication and application-level authorization because the CSE is not on its data path.
  • Alternative paths: direct, CSE-mediated and hybrid arrangements need consistent peer identity and policy evaluation without assuming identical transports or execution semantics. A hybrid change of path should not silently bypass authorization or weaken confidentiality and integrity protection.
  • Multiple CSEs: the AEs may register with different CSEs, including MN-CSEs in distinct administrative domains. Remote AE discovery, routing, announcement or other authorized resource visibility, trust relationships, policy enforcement, and failure handling need examination. Not all federated deployments allow a direct data path between peers.
  • Request and response semantics: correlation, timeouts, errors, duplicate handling and application-level outcomes are different from regular oneM2M transport or notification acknowledgments. Any proposal to carry an application result in a notification response needs separate protocol definition and compatibility analysis.
  • Optional communication logging: where enabled, event records may contain timestamp, originator and destination identities, communication mode, relevant CSE identifiers, correlation identifier, authorization outcome, message class, delivery or processing status and error indication. Payload content need not be logged. CSE-mediated exchanges may be recorded by an authorized service-layer function; direct exchanges need reporting by one or both AEs or an authorized observation function. Integrity, access control, time synchronization, retention, privacy, and correlation or deduplication across multiple log sources require consideration.

Existing oneM2M resource-based communication remains a valid realization. For example, an application may exchange content instances using subscriptions, with application-defined correlation. Dedicated request and response containers per peer pair are one possible design, not a universal requirement. A standardized direct application-level request/response mechanism or use of a notification response as the application result would constitute additional work beyond that existing arrangement.

7.4.3.2 Candidate-host discovery and selection

A candidate capability description should enable a Swarm Orchestrator to distinguish a host that can receive swarm software from an agent that already supports the requested operation. Relevant information can include installed software, processor and runtime compatibility, available memory/storage, permitted deployment methods, connectivity, current availability and applicable security constraints. Dynamic changes to software availability should not require reidentifying the execution host.

7.4.3.3 Membership and application-defined work

A swarm solution should support changes to membership and distinguish candidate-host selection, agent readiness and active participation. Execution identifiers and correlation for application-defined work can be maintained by the application; a generic oneM2M task, task graph or assignment resource is not assumed. Where results may be repeated or delayed, the application's coordination profile should preserve sufficient correlation for recovery.

7.4.3.4 Deployment, activation and lifecycle management

A solution should distinguish discovery of an existing Swarm Agent from deployment or activation of new logic on a candidate host. Applicable oneM2M device/software-management and ETSI MEC lifecycle capabilities should be reused, with an authorized interworking function where the execution platform exposes a different management interface. The deployment status should distinguish artifact availability, download, verification, installation, activation and operational readiness, as supported by the implementation. A firmware update and independent component update may have different restart and rollback implications. Swarm-level termination should not imply termination of shared hosts or agents required for other services.

7.4.3.5 Task coordination, recovery and results

A solution should support reporting of task progress, assignment completion and failure, together with sufficient identifiers to correlate intermediate or final results. Where reassignment or replication is permitted, the coordination function should be able to distinguish late, duplicated and superseded results. Collection and aggregation rules remain application-specific unless a particular workload profile defines them.

7.4.3.6 Security, federation and deployment independence

Authorization to discover a participant does not necessarily authorize its use for a task or the deployment of software on its host. Solutions should consider participant admission, access to task inputs and results, platform-management authorization, and constraints on data transfer across trust domains. They should not assume that every Swarm Agent is MEC-hosted or that every coordination exchange traverses a single CSE.

7.4.4 Proposed Solutions

7.4.4.1 Solution 1: AE-to-AE communication arrangements

7.4.4.1.0 Introduction

This solution considers three complementary arrangements for Swarm Agents represented as registered oneM2M AEs. The communication model is selected according to application requirements, CSE and peer connectivity, access policy and available capabilities. The arrangement does not prescribe the custom swarm computation or application payload format.

Communication modes and common application-level envelope

The following comparison relates direct AE-to-AE exchanges to the two CSE-mediated sub-alternatives in clause 7.4.4.1.3. These alternatives provide different delivery and resource-management mechanisms for a similar application-level exchange. Whether a directed NOTIFY response can carry an application-defined result requires confirmation against the applicable operation and protocol-binding rules; ordinary subscription-based messaging instead returns application results through a separate resource operation. This verification item is not treated as a confirmed feature gap.

Table 7.4.4.1.0-1:Comparison of alternatives

Characteristic
Alternative 1: Direct AE-to-AE
Alternative 2A: NOTIFY re-targeting
Alternative 2B: Ordinary subscription-based messaging
Initiator
AE-1
AE-1
AE-1
Intended recipient
AE-2
AE-2
AE-2, as subscription notification target
Operation
Proposed direct oneM2M NOTIFY request primitive only
oneM2M NOTIFY to AE-2's resource
CREATE under a subscribed-to
Application payload
Application-defined content carried by an agreed NOTIFY primitive-content mapping
Payload mapped to permitted NOTIFY content
Envelope encoded in content
Response
oneM2M NOTIFY response primitive: ACK or error only; no application result
AE-2 to CSE to AE-1; application result requires verification
AE-2 creates a separate response resource; CSE notifies AE-1
Resource creation
No; direct CREATE, RETRIEVE, UPDATE and DELETE are not supported
Not required for each exchange
Request and response are separately created resources
Subscription required
No
No
Yes
Communication model
Direct authenticated notification delivery
CSE-mediated notification re-targeting
Asynchronous resource-event messaging

To preserve the application semantics when using direct, CSE-mediated or hybrid transport, the participating AEs may adopt a common application-level communication envelope. The envelope is a candidate interoperable application profile, not a newly standardized oneM2M primitive or resource. Its logical information elements are:

  • Originating AE identifier and destination AE identifier: stable oneM2M AE identities, distinct from transient transport endpoints, registrar CSE addresses and subscription targets. The originator identity used for authorization should be validated rather than trusted solely because it appears in payload data.
  • Request/correlation identifier: an identifier scoped sufficiently to distinguish concurrent or retried requests and associate a result with the intended request, including after transport fallback. It is not automatically equivalent to a oneM2M request identifier (rqi).
  • Application payload and media type: the operation-specific request data and a content-type or schema indicator understood by the receiving AE. Encoding depends on the permitted mapping for the selected communication mode.
  • Application response status and optional response payload: an application execution outcome, independent of the oneM2M primitive response status or transport-level acknowledgment; the payload may contain a result or failure detail when supported by the chosen exchange.
  • Timeout and failure semantics: request expiration, response deadline, unreachable or unauthorized destination handling, retries, duplicate suppression, late results, and the distinction between a transport/procedure failure and application execution failure.

For Alternative 1 the direct exchange reuses the oneM2M NOTIFY request and response primitive structures; the application-defined envelope is mapped into a permitted or newly specified NOTIFY primitive-content representation. The direct response conveys only acceptance/error at the messaging boundary, not application processing status or result content. An application-generated result, if needed, is a distinct application message sent using a new NOTIFY request or another selected arrangement. For CSE-mediated variants, the logical envelope may be mapped to permitted NOTIFY content or encoded in content; mappings cannot assume arbitrary application response content is permitted in existing NOTIFY or CREATE responses. For normal subscription messaging, CREATE success and notification delivery are independent from application execution and response delivery. A hybrid implementation should preserve identity and application correlation across path selection, while reevaluating authorization and timeouts when changing paths.

NOTE: Further definition required (common envelope): Define a versioned envelope syntax and media type(s), uniqueness and lifetime of correlation identifiers, encoding and permitted oneM2M primitive-content mappings, application-status vocabulary for separately exchanged application messages, security binding between the envelope identifiers and authenticated AE identities, and retry/idempotency rules. Define the restricted direct NOTIFY profile and its acknowledgment/error semantics, and verify the selected oneM2M TS-0001, oneM2M TS-0004, oneM2M TS-0003 and protocol-binding releases. Verify existing response-payload carriage separately for CSE-mediated NOTIFY re-targeting. Determine which aspects require oneM2M specification extensions versus an application interoperability profile.

7.4.4.1.1 Common prerequisites: registration, discovery and authorization

Before establishing AE-to-AE communication under this solution, each participating AE is registered with a CSE, is identified by its applicable oneM2M AE identity and has an association with its registrar CSE. If a constrained device's application is represented through an authorized intermediary, the representation and its correspondence to the participating agent need to be unambiguous. An originator discovers or otherwise obtains an authorized, current reference to the destination and verifies that the destination is eligible for the intended interaction. The AEs need not have the same registrar CSE.

For direct communication, this solution considers a candidate device-to-device Point of Access (d2dPOA) associated with an AE. The d2dPOA identifies one or more application communication endpoints at which an AE can accept peer exchanges outside the CSE-mediated Mca path. It is distinct from the existing pointOfAccess (poa) attribute, which identifies addresses used to communicate with the registered AE over Mca. The d2dPOA is a proposed information element for study, not an existing standardized attribute or a new oneM2M reference point. An AE may support neither, one or several direct peer endpoints, as allowed by the applicable information model and policies.

The candidate d2dPOA information may contain an endpoint URI or address, supported transport or application protocol, reachability scope, validity or freshness information, and references to the applicable security or communication capability profile. Peer credentials or secrets should not be exposed through endpoint discovery. A d2dPOA is not proof of ownership of the referenced endpoint, authorization to communicate, or evidence that the endpoint is currently reachable. Disclosure of direct endpoints should be subject to applicable oneM2M resource access control.

Registration alone is not authorization to exchange swarm data. Authorization encompasses permission to discover the destination, eligibility to participate in the swarm, permission to send the intended class of application message, and access to the relevant data. Existing oneM2M access-control mechanisms apply to operations on protected resources and CSE-mediated interactions. For the proposed direct NOTIFY profile, an originating AE obtains a peer-communication credential from its registrar CSE after applicable authorization checks; the registrar CSE may generate and sign the credential itself or delegate cryptographic generation to an authorized security service. The destination AE locally validates the credential and authenticated peer identity and applies its own application authorization policy without requiring a CSE round trip per message. This is proposed functionality, not an assertion that an existing TS-0003 token is already valid for direct peer delivery. Authorization for software management, including software update, does not imply permission for peer communication.

Where AEs are registered to different CSEs, discovery or reference sharing, AE addressing and routing, resource visibility, trust relationships between administrative domains, and security-policy consistency need to be evaluated. CSE-mediated exchanges may involve Mcc communication between CSEs, subject to the applicable deployment and routing arrangements. Direct exchanges require an independently reachable peer endpoint and an authorized security association. The ability to resolve an AE identity through the service layer does not guarantee direct connectivity.

7.4.4.1.2 Alternative 1: Direct AE-to-AE communication

This alternative proposes direct AE-to-AE delivery of the existing oneM2M NOTIFY request and response primitive structures, without routing the application exchange through a CSE. It is a restricted peer messaging procedure: only a NOTIFY request and its corresponding response are supported. Direct CREATE, RETRIEVE, UPDATE and DELETE operations are not supported, and the receiving AE does not expose a oneM2M resource-management interface to its peer. The NOTIFY primitive-content mapping conveys application-defined information; the application decides how to interpret or act upon that information. Reuse of existing primitive structures does not establish that direct AE-to-AE NOTIFY delivery or unconstrained application content is already standardized in oneM2M TS-0001 or oneM2M TS-0004. The direct binding, allowed content representations and receiving-AE procedures are candidates for additional specification.

The direct NOTIFY response conveys only acknowledgment or a permitted error, correlated with the originating request identifier (rqi). Successful acknowledgment means the receiving AE has validated and accepted the message for application handling; it does not establish that the application has executed an action or produced a result. Any subsequent application outcome or reply is a separate application-defined exchange, which may use a new authenticated direct NOTIFY request in the reverse direction or a permitted CSE-mediated arrangement. The primitive rqi identifies the individual primitive exchange; a distinct application correlation identifier may associate exchanges or survive fallback and retry.

CSE-issued authorization for direct peers. The originating AE requests authorization from its registrar CSE. The CSE evaluates the AE identity, destination, swarm eligibility and applicable communication policy before issuing a scoped, time-limited authorization credential. It may generate or sign the credential locally or obtain it from a separate trusted token-generation function; the AE interfaces only with its CSE. This issuer-controlled procedure is a candidate extension to existing oneM2M security arrangements, not a claim that current CSE-issued resource-access tokens are suitable without modification. A credential may identify the issuing authority, originating and destination AE identities, authorized message scope, validity interval, token identifier, and a binding to the sender's authenticated key or channel. A short-lived proof-of-possession credential is preferable to an unbound bearer token when supported; other interoperable authentication and authorization mechanisms may be selected by profile.

If AE-1 and AE-2 have different registrar CSEs, the destination registrar CSE retains authority over the receiving domain's policy. The originating CSE may obtain or rely on delegated, cached or otherwise trusted destination-domain authorization constraints when issuing the credential. The receiving AE should possess trustworthy issuer verification material and applicable policy before accepting a peer message. It need not contact its registrar CSE for every NOTIFY, provided the selected offline validation and policy arrangement remains valid. Cross-CSE trust, issuer-key distribution, permitted delegation, renewal, revocation and changes to swarm membership require definition. An expired or revoked credential is not sufficient authorization even when the direct transport remains reachable.

The following logical procedure is considered:

  1. AE-1 and AE-2 register with their respective CSEs. AE-2 publishes permitted d2dPOA, supported direct-NOTIFY communication and security-profile information using an authorized resource representation; discovery does not expose credentials or secret keys.
  2. AE-1 discovers AE-2 through authorized oneM2M service-layer procedures and evaluates its endpoint, membership and communication capabilities.
  3. AE-1 requests a direct peer authorization credential from CSE-1. CSE-1 checks the applicable policy, including any destination-domain delegation or CSE-2 approval requirements, and issues a scoped, short-lived credential. Credential generation may be delegated to an authorized security function without a separate AE-facing service.
  4. AE-1 establishes an authenticated, integrity-protected direct connection to AE-2 through the selected d2dPOA and sends a oneM2M NOTIFY request primitive containing the application-defined message and the authorization credential using a profile-defined binding.
  5. AE-2 validates the authenticated sender, credential signature or proof, audience, scope, validity, applicable local policy and replay/duplicate state. If the message is valid and accepted for application handling, AE-2 sends a NOTIFY response primitive with the matching rqi and success acknowledgment; otherwise it returns a permitted error response without dispatching prohibited content to the application.
  6. AE-2 processes the accepted content under its own application logic. Any application result, when required, is transmitted separately and is not placed in the acknowledgment.
  7. On token expiry, loss of trust, revocation, membership change or endpoint change, the originator obtains renewed authorization when possible or stops using the direct path. Path fallback requires a new authorization decision and should address uncertain delivery and duplicate execution.

The following illustrative message sequence shows credential issuance through the registrar CSE. The optional token-generation function is internal to the issuer arrangement and is not a required separate oneM2M actor. The NOTIFY primitive representation and token binding are proposed, and exact oneM2M TS-0003/TS-0004 procedures and result status codes require further specification.

Figure 7.4.4.1.2-1: Alternatiue 1 - Direct and AE-to-AE communication
Figure 7.4.4.1.2‑1: Alternatiue 1 - Direct and AE-to-AE communication

Figure 7.4.4.1.2‑1: Direct and AE-to-AE communication

A direct communication path can reduce intermediary processing for frequent exchanges, but endpoint discovery alone does not address NAT traversal, transport security or changing reachability. Token lifetime limits credential exposure but does not by itself prevent device compromise. Integrity protection, replay prevention, issuer/key rollover, secure local credential storage, command validation, rate limits and application isolation remain relevant to hostile or compromised devices. The receiving AE should not assume that a valid credential makes every application-level command safe. Revocation propagation and stale authorization need consideration for disconnected operation. If the destination AE is an S-AE using the registration-point mechanisms in clause 7.2, a serving-CSE change may require endpoint refresh and renewed peer authorization without changing its stable AE identity.

Gossip-based dissemination is an illustrative application use of the direct arrangement: a Swarm Agent may forward compact observations or contextual updates to a subset of authorized peers using distinct authenticated direct NOTIFY exchanges. Gossip peer selection, forwarding limits, update validity, deduplication and convergence remain application-specific; acceptance of a notification is not evidence of convergence or task completion. This use can complement CSE-mediated subscriptions and notifications and does not create a new swarm actor or a mandatory gossip protocol.

7.4.4.1.3 Alternative 2: CSE-mediated AE-to-AE communication

7.4.4.1.3.0 Introduction

Each AE uses its applicable Mca relationship with a CSE. Where the AEs share a registrar MN-CSE, that CSE mediates the interaction. Where the AEs register to different CSEs, authorized routing and inter-CSE communication may be required. The originator and destination remain separately registered and subject to applicable access control. The common logical envelope in clause 7.4.4.1 provides consistent peer identity, request correlation and application result interpretation across the CSE-mediated variants, but its transport mapping and response carriage are subject to the individual limitations stated below. The following two sub-alternatives distinguish existing oneM2M NOTIFY re-targeting from existing non-blocking subscription-driven resource messaging. Both may be relevant to the autonomous delivery scenario. Neither requires a dedicated pair of request and response resources for every communicating AE pair, although the subscription-based option does need agreed request and response resource destinations for bidirectional application exchange.

7.4.4.1.3.1 Sub-alternative A: NOTIFY re-targeting to a registered AE

oneM2M TS-0001 describes notification re-targeting to an AE point of access. An originator can address a NOTIFY request to the resource hosted by the destination AE's registrar CSE. Subject to the applicable access control and reachability checks, the CSE forwards the NOTIFY to an available pointOfAccess (poa) of the destination AE and relays its NOTIFY response to the originator. The corresponding primitive processing is described in oneM2M TS-0004. This is notification re-targeting, not a notification generated by a resource, and does not require a preceding UPDATE or CREATE on an application data resource.

For swarm computing, AE-1 could use such an exchange to deliver application-specific coordination information to AE-2 and await its response. An implementation can associate its application-defined request data with a media type or agreed application schema, provided the chosen primitive-content encoding and delivery procedure are permitted by the applicable oneM2M specifications and supported by the peers. The CSE's forwarding role should not be confused with authorization by AE-2 to execute the requested application action. The NOTIFY result code confirms the outcome defined by the NOTIFY procedure; carriage and interpretation of an arbitrary application-level result are a separate interoperability question.

The following message sequence is illustrative. It does not assert that arbitrary application-result data is already standardized in every NOTIFY response binding.

@startuml
hide footbox
participant "AE-1\nOriginator" as AE1
participant "Registrar CSE\nof AE-2" as CSE
participant "AE-2\nSwarm Agent" as AE2

note over AE1,AE2
Precondition: AE-2 registered with a reachable poa;
AE-1 resolved its AE resource and is authorized.
end note
AE1 -> CSE: NOTIFY to AE-2  resource\nEnvelope: AE IDs, correlation ID, payload/media type, deadline
activate CSE
CSE -> CSE: Verify applicable access control\nand resolve AE-2 pointOfAccess
alt authorized and reachable
  CSE -> AE2: Re-targeted NOTIFY\nPermitted envelope fields
  activate AE2
  AE2 -> AE2: Validate request and application authorization
  AE2 -->> CSE: NOTIFY response\nProcedure status; candidate application status/result
  deactivate AE2
  CSE -->> AE1: NOTIFY response\nForward permitted response information
else unauthorized or unreachable
  CSE -->> AE1: NOTIFY error response
end
 deactivate CSE
note over AE1,AE2
Application-result payload forwarding is subject to
further protocol and binding verification.
end note
@enduml

Figure 7.4.4.1.3.1‑1: Alternative 2A - NOTIFY re-targeting to a registered AE

NOTE: Further definition required (Sub-alternative A): Confirm against the selected releases of oneM2M TS-0001, oneM2M TS-0004 and applicable protocol bindings whether NOTIFY response primitive content can carry application-defined result data end-to-end without modification. Specify accepted request and response media types, the receiving AE's application authorization, response-code mapping, correlation and retry semantics, request expiration, unreachable AE handling, poa selection, and treatment of multi-CSE routes. If the existing NOTIFY response only conveys the procedure result, an explicit application profile or normative extension would be needed to return an arbitrary AE-2 result; Figure 7.4.4.1.3.1‑1 does not imply existing support for that extension.

7.4.4.1.3.2 Sub-alternative B: Ordinary subscription-based AE-to-AE messaging

Existing oneM2M subscriptions support notification upon creation of a direct child resource. This allows a CSE-mediated, asynchronous application request/result exchange using existing resource and notification procedures. AE-2 establishes an authorized on an agreed request with the direct-child-creation event (notificationEventType 3). AE-1 creates a on that container, with content (con) carrying the common logical application request envelope identified in clause 7.4.4.1. The hosting CSE processes the CREATE using existing resource authorization and persistence rules and notifies AE-2 according to the subscription. AE-2 extracts and validates the request envelope, authorizes the application operation and processes the request independently of the CREATE response returned to AE-1.

If an application result is required, AE-2 sends a separate application response message using an authorized resource operation, for example by creating a response beneath an agreed response to which AE-1 subscribes. The response envelope identifies the originating and destination AEs and carries the same logical correlation identifier, application status and optional result payload. The response container need not be unique to each AE pair; a shared container or another existing resource arrangement may be used where ACPs, filtering, retention and routing policies permit. The CSE's successful CREATE response and notification acknowledgments indicate service-layer outcomes and do not establish that AE-2 completed the application operation. The application-level request and result are correlated by the participating AEs.

The procedure in the following figure uses existing CREATE and subscription/notification operations. The request and response resources may be hosted on the same CSE or on different CSEs; the example depicts a single CSE for clarity. The exact notification representation depends on the configured notificationContentType and the applicable oneM2M procedures. If the notification does not contain the full application envelope, the notified AE retrieves the corresponding content through an authorized operation.

@startuml
hide footbox
autonumber
participant "AE-1\nOriginator" as AE1
participant "Hosting CSE" as CSE
participant "AE-2\nSubscribed Swarm Agent" as AE2

note over AE1,AE2
Precondition: AE-2 subscribes to creation under
request container; AE-1 subscribes to creation
under response container; ACPs permit exchange.
end note
AE1 -> CSE: CREATE  on request \ncon = common request envelope (correlation ID, payload, deadline)
CSE -> CSE: Authorize and persist request resource
CSE --> AE1: CREATE response (resource creation outcome)
CSE -> AE2: NOTIFY (direct-child creation event)\nNew resource representation or reference
AE2 --> CSE: NOTIFY acknowledgment
opt Notification contains only resource reference
  AE2 -> CSE: RETRIEVE request 
  CSE --> AE2: Authorized request content
end
AE2 -> AE2: Verify origin and authorization\nCheck correlation ID / deadline and process
AE2 -> CSE: CREATE  on response \ncon = response envelope (same correlation ID, status, optional result)
CSE -> CSE: Authorize and persist result resource
CSE --> AE2: CREATE response (resource creation outcome)
CSE -> AE1: NOTIFY (response direct-child creation event)
AE1 --> CSE: NOTIFY acknowledgment
opt Notification contains only resource reference
  AE1 -> CSE: RETRIEVE response 
  CSE --> AE1: Authorized response content
end
AE1 -> AE1: Correlate application result\nwith original request
note over AE1,AE2
CREATE responses and NOTIFY acknowledgments
are not application execution results.
end note
@enduml

Figure 7.4.4.1.3.2‑1: Alternative 2B - Ordinary subscription-based AE-to-AE messaging

This arrangement permits application messages to be retained and discovered according to normal resource lifecycle policies, and it works with existing resource access control, subscription and notification procedures. Its trade-offs include resource storage, extra CREATE operations, eventual notification delivery and application-managed response correlation. For long-running swarm tasks it can be preferable to a synchronous exchange because completion is not coupled to the initial CREATE transaction. An AE may receive duplicate notifications or delayed results; the correlation identifier and an application-defined idempotency policy are therefore relevant when the hybrid communication alternative changes paths.

NOTE: Further definition required (Sub-alternative B): Specify the application interoperability profile for request and response container addressing, subscription configuration, notification content versus retrieval, authorized result publication, message envelope media type and encoding, correlation identifier uniqueness, resource retention and cleanup, filtering in shared containers, cross-CSE delivery, failure reporting, request deadlines and duplicate suppression. In particular, confirm that AE-2's application response is delivered using a distinct resource operation and is not represented as the primitive response to AE-1's original CREATE.

7.4.4.1.3.3 Selection and relationship to other communication modes

The comparison in clause 7.4.4.1 identifies the resource and subscription properties of the three communication modes. Sub-alternative A is closest to a direct application invocation, with AE-1 addressing a NOTIFY request to AE-2's registered resource; returning application-defined result content through the NOTIFY response remains subject to specification verification. Sub-alternative B is asynchronous resource-event messaging using existing CREATE, subscription and NOTIFY procedures. AE-1 receives a CREATE result for its submitted request resource, while AE-2 sends any application result in a separate response resource whose notification is delivered to AE-1. The two CSE-mediated sub-alternatives therefore have different completion, latency, persistence, failure and correlation characteristics and should not be treated as identical synchronous exchanges. Both preserve the common logical application envelope while mapping it differently onto oneM2M primitives.

7.4.4.1.4 Alternative 3: Hybrid communication

A swarm may use CSE-mediated communication for registration, discovery, admission, management, status or infrequent control exchanges, while using direct AE-to-AE communication for authorized time-sensitive application exchanges. The arrangement may also select CSE-mediated communication when direct peer connectivity is unavailable or not permitted. Selection and any fallback should be based on explicit policy, capability and connectivity information rather than treating the paths as interchangeable.

For the direct path, an authorized and currently valid d2dPOA may be used; for the CSE-mediated path, the applicable oneM2M resource addressing, poa and Mca/Mcc procedures continue to apply. The selection of a d2dPOA does not bypass resource ACP checks for service-layer operations or substitute for peer authorization on direct exchanges.

A hybrid communication profile may use the logical envelope defined in clause 7.4.4.1, with separate mappings for direct and CSE-mediated exchanges. For fallback to subscription-based messaging, the original logical correlation identifier is retained in the newly created request content, while the CREATE primitive has a distinct rqi; the response may arrive after AE-1 has already timed out or attempted delivery via another path. An application that changes paths needs duplicate detection and authorization at the destination AE, rather than assuming a failed direct delivery means that the request was not executed. A hybrid communication profile needs to preserve peer identity, application correlation identifiers and authorization decisions when switching paths. It also needs to define handling of in-flight exchanges, duplicate or late results, inconsistent membership information and temporary loss of contact with a registrar CSE. A change of route does not itself authorize an otherwise prohibited exchange. No requirement is placed on all swarm participants to support both paths.

7.4.4.1.5 Optional communication logging and traceability

Logging of swarm communication events may be enabled by application policy for operational diagnostics, accountability, security monitoring or experimental evaluation. Logging is distinct from task-result storage and is not a prerequisite for participation.

For CSE-mediated interactions, an authorized CSE or associated management function may record relevant communication metadata within the limits of its capabilities and policy. For direct interactions, one or both participating AEs or another authorized function would need to report communication events, since the CSE cannot observe peer messages it does not carry. In hybrid deployments, records from multiple sources may be correlated through shared communication identifiers while avoiding double-counting the same exchange.

An optional event record may include originator AE identity, destination AE identity, the applicable CSE identity or identities, communication mode, timestamp, correlation identifier, operation or message category, authorization outcome, delivery status and error information. Recording application payloads is not required. Any storage through oneM2M resources should reuse applicable access-control, retention and notification capabilities; a new logging resource is not assumed. Log integrity, time synchronization, privacy, retention, storage overhead and access across administrative domains need consideration. A CSE-generated log only attests to activity visible to that CSE and is not proof of delivery or execution by a remote AE unless the relevant confirmation is available.

7.4.4.1.6 Items requiring further specification

Further work should evaluate whether d2dPOA is best represented by a new optional attribute, an existing child/resource representation, or a standardized semantic/capability profile; its cardinality, syntax, discovery and update authorization, privacy, expiration, and relation to existing poa and the S-AE serving association in clause 7.2. For the direct path, specify the restricted NOTIFY-only AE-to-AE primitive binding, permissible application-content representation, ACK/error processing semantics, and explicit exclusion of CRUD operations; the credential-request/issuance procedure at the registrar CSE; optional delegated credential generation; audience/scope and proof-of-possession bindings; local receiver verification; destination-domain policy delegation, cross-CSE issuer trust and key distribution; expiry, refresh, revocation and replay protection. Evaluate existing oneM2M TS-0003 and oneM2M TS-0004 capabilities before proposing precise security or protocol extensions. Evaluate CSE-mediated NOTIFY re-targeting, application-result response carriage, subscription-based messaging, hybrid fallback and optional communication-event representation independently. New oneM2M resource types or direct AE reference points should not be introduced without identifying gaps in existing capabilities.

7.4.4.2 Solution 2: Candidate host capability and membership information

A candidate device or execution host advertises available resources and software-management capabilities through an existing oneM2M AE, node or an authorized management representation. This does not imply that swarm-specific logic is already installed. After deployment and readiness verification, a Swarm Agent AE can expose its active capabilities. Host identity and Swarm Agent identity remain logically distinct, even when both functions execute on the same device.

Candidate information may describe processor and execution environment, memory and storage, available connectivity, available software or runtime, supported delivery mechanism, a host-interface compatibility version, management reference, status and participation constraints. Such attributes are illustrative profile data, not newly standardized oneM2M resource attributes. Swarm membership may be represented using existing group, container or other permitted resource structures, with semantics for invitation, admission, readiness, departure and removal to be evaluated.

An illustrative organization is shown below. This is a logical mapping only; the placement and permitted parent-child relationships of actual oneM2M resource types require separate verification.

Candidate Device / Host
  node and/or management representation
  management AE (if present)
    hostCapabilities
    softwareAvailability
    softwareDeploymentStatus

Swarm Orchestrator AE
  candidateSelection
  swarmMembership
  coordinationState (application-defined)

Deployed Swarm Agent AE
  activeCapabilities
  availability
  executionState (application-defined)

This solution evaluates use of , applicable management objects, , , , and appropriate specializations before recommending any new native resource type. It does not propose or as new resource types.

7.4.4.3 Solution 3: Capability-based discovery and swarm formation

The Swarm Orchestrator first discovers candidate hosts and already running Swarm Agents. It matches an application-defined processing need against host resources, installed components, available execution environments and relevant admission policies. An already suitable agent may be invited directly. Otherwise an authorized management function may arrange software installation or activation before the orchestrator verifies agent readiness and admits the agent.

Candidate-host discovery, software deployment and swarm admission are distinct decisions. Availability advertised by a device does not authorize software installation, and successful software installation does not imply acceptance of swarm membership. Selection algorithms and the meaning of application-specific task inputs remain implementation choices. Additional MEC services or information from an authorized interworking function may inform placement where available.

7.4.4.4 Solution 4: Cooperative behaviour, shared contextual information and adaptive coordination

7.4.4.4.0 Introduction

This solution supports cooperative swarm behaviour using a combination of local agent logic, optional coordination functions, shared contextual information and event-driven adaptation. Depending on the application, a Swarm Coordinator, when present, may track dependencies, correlate status, publish shared context, coordinate explicit work assignments, or trigger recovery actions; otherwise the Swarm Orchestrator or participating agents perform those responsibilities. Agents publish completion, failure, progress or context information using an agreed application profile of oneM2M resources and notifications. The coordinating function identifies overdue or failed activities and may select a replacement participant, publish revised context, or alter membership.

Where an application uses explicit task or assignment execution, the solution should retain task and assignment identifiers across retries, assign a distinct execution attempt identifier where necessary, and record whether results are accepted or superseded. An optional Swarm Collector may combine results according to an application-defined policy. The use of a collector or centralized assignment is not imposed on decentralized swarms where participants maintain collective state, coordinate directly with peers, or where an application consumes individual results.

7.4.4.4.1 Shared contextual information

In addition to execution status and results, Swarm Agents may exchange or use shared contextual information to coordinate their actions without receiving explicit control instructions from a centralized function. Shared context may represent observations, environmental conditions, locally accumulated agent information, collective state, historical outcomes or application-defined coordination signals. A Swarm Agent may combine this information with local observations and its own application-specific logic when making decisions. The format, interpretation and processing algorithms remain application-specific.

A Context Hub denotes an optional logical function that maintains or references shared context and makes updates available to authorized participants. A separate application-specific Coordination Engine may process observations, combine information received from multiple agents and publish revised shared context. These are functional roles, not proposed new oneM2M entity types or mandatory Common Services Functions. The Context Hub may be realized using CSE resources and an associated AE; the Coordination Engine may be an AE hosted on an MN, a MEC host or another execution environment. Either function may be colocated with an existing Swarm Orchestrator, Swarm Coordinator or Swarm Agent. Coordination Engine computation is distinct from orchestration of membership and software deployment.

7.4.4.4.2 Production and maintenance of shared context

Participating Swarm Agents, sensing AEs or Edge Swarm Agents may publish observations and summaries through authorized oneM2M resource operations. An application-specific coordination function may subscribe to relevant resource changes, evaluate the observations and publish updated context. Depending on the application, context may be updated periodically, in response to events or through peer collaboration without a single coordination function. Publication of context does not require the CSE to interpret the underlying algorithm.

The representation of shared context may use existing and resources, subscriptions, access-control policies and other applicable oneM2M capabilities. An application profile may associate a context item or dataset with a producer identity, scope, creation or update time, version or sequence identifier, validity information and references to related observations. A large context object may be maintained outside the CSE and made available through a protected reference when suitable. These are candidate application-level information fields, not proposed new native oneM2M attributes or resource types.

An implementation should consider how outdated context is distinguished from current context, how an update supersedes an earlier version, and how a restarted or newly admitted agent obtains an initial context snapshot. Where independent producers update overlapping context, the application defines ordering, aggregation or conflict resolution; oneM2M resource operations alone do not guarantee a globally consistent application state.

Where more than one Swarm Agent or Edge Swarm Agent may independently modify a copy of shared context, the application may use an eventual-consistency model and a defined reconciliation procedure. Conflict-free Replicated Data Types (CRDTs) are an illustrative implementation alternative: compatible replicas can exchange state or deltas and merge updates according to the selected data type's rules when communication is restored. The approach to replicated shared memory is discussed in [i.25]. Application-defined alternatives may also be used. CRDT convergence is conditional on a suitable common data type, correct application of its merge rules and eventual dissemination of the required updates; it does not by itself establish the factual correctness, freshness or trustworthiness of observations. Context producers may therefore include provenance, validity and application-specific checks in addition to replica reconciliation.

7.4.4.4.3 Distribution and local caching

The Context Hub or an associated AE may make updated context available through oneM2M subscriptions and notifications. Swarm Agents may retrieve a current representation before subscribing, or use notifications as an indication that a newer version is available. Application-specific direct AE-to-AE exchanges and the CSE-mediated or hybrid communication arrangements considered in Solution 1 may also be used where applicable and authorized.

An Edge Swarm Agent may cache a relevant portion of the context and relay it to nearby or intermittently connected Swarm Agents. Such local caching and relaying can reduce repeated communication with a remote coordination function. A cached copy should retain sufficient application-defined version, validity and scope information to determine whether it can be used. The application determines whether an agent continues with a stale copy, uses local-only observations, defers action or requests synchronization when newer context cannot be obtained. CSE caching, announced resources and application-managed copies should not be assumed to provide identical synchronization or consistency semantics.

7.4.4.4.4 Coordination across multiple CSEs

For a swarm spanning multiple MN-CSEs, shared context may be maintained at one CSE, distributed among several CSEs, or replicated selectively by application functions. Existing oneM2M inter-CSE routing, resource discovery, announcement where applicable, subscriptions and authorized resource access may enable remote participants to locate and receive context. The use of such mechanisms is subject to the registered AE identities, applicable registrar CSE associations, resource reachability and access-control policies described in Solution 1 and, for mobile S-AEs, the registration-point change considerations of clause 7.2.

The implementation needs to identify the authoritative producer or source for a context item, the scope of any copies, the expected update propagation and the means of recognizing delayed, missing, duplicated or superseded updates. On a registration-point change, an AE should not assume that a previous subscription, direct endpoint or locally cached context remains current; the applicable subscription and reachability continuity procedures need to be considered. The coordination function may publish new context versions after reconnection, while the application determines how observations accumulated during disconnection are reconciled. Neither Mcc routing nor resource announcement by itself guarantees coherent replicated application state across CSEs.

Access to shared context remains subject to applicable oneM2M ACP enforcement at the hosting CSE. Direct exchanges require separate peer-level authorization, as considered in Solution 1. Swarm membership alone does not grant unrestricted resource access. Optional event or communication logging may be used to trace context publication, delivery and synchronization failures; device-side [eventLog] management functionality may be considered where applicable, without treating application telemetry and diagnostic logs as equivalent information.

The consistency needed for shared context can differ from that needed for administrative state. Observations, local route summaries or virtual coordination signals may tolerate temporary divergence and later reconciliation. Swarm admission decisions, software-deployment authorization and the authoritative S-AE serving-CSE association considered in clause 7.2 may instead require controlled, authoritative state changes. Gossip dissemination and CRDT reconciliation do not replace these authorization and registration procedures. Where replicated context is shared across CSEs, an implementation should consider replica ownership, update scope, duplicate suppression, convergence following network partitions, and whether full snapshots or delta updates are appropriate for constrained links.

7.4.4.4.5 Application-defined use of shared context

Shared context is an input to Swarm Agent behaviour and need not impose centralized control. For example, a swarm application may maintain a Virtual Pheromone Map (VPM) representing collective experience derived from local observations and interaction histories. A Coordination Engine may update the VPM and a Context Hub may disseminate it, while individual agents independently decide how to use the information. This is an illustrative application of shared contextual information; neither the VPM representation nor its update, reinforcement, decay or decision algorithms are standardized by this solution.

The applicability of existing oneM2M mechanisms can be evaluated through a proof of concept that measures publication and dissemination delay, bandwidth, freshness of cached information, recovery after disconnection and continuity across different CSE registrations. Additional standardization should be considered only if these experiments expose interoperability gaps that cannot be addressed using existing resources and application profiles.

The distinction between a shared Context Hub and autonomous agents is illustrated by the hybrid coordination architecture described by Lee, Nam and Song [i.24], in which an application-specific Coordination Engine updates shared information while participating agents retain their own local decision-making.

7.4.4.4.6 Illustrative oneM2M call flows

The following call flows illustrate how the shared-context functions can be realized using existing oneM2M resource operations. The Context Hub and Coordination Engine are logical application functions; the CSE does not interpret the context algorithm. The names observations and sharedContext below denote application-created resources. Payload fields such as contextVersion, scope and validUntil are application-defined. NOTIFY conveys an event or resource representation subject to the subscription configuration; a NOTIFY response acknowledges the notification and does not return the result of application processing. The flows are illustrative and do not define new primitives or resource types.

Flow 1 - Publication, collection and shared-context generation

In this example a Coordination Engine AE subscribes to observation updates. Agents publish observations using CREATE on , and the Coordination Engine publishes a new version of the shared context after application-specific processing. Access to each target resource is subject to the hosting CSE's applicable ACP evaluation.

@startuml
hide footbox
participant "Mobile Swarm AE" as Agent
participant "MN-CSE" as CSE
participant "Coordination Engine AE" as Engine

Engine -> CSE: CREATE  under observations
CSE --> Engine: CREATE response
Agent -> CSE: CREATE  under observations (observation, producer AE-ID, timestamp)
CSE -> CSE: Evaluate ACP; store observation
CSE --> Agent: CREATE response
CSE -> Engine: NOTIFY (new observation)
Engine --> CSE: NOTIFY response (acknowledgement)
Engine -> Engine: Aggregate observations; compute new context (application-defined algorithm)
Engine -> CSE: CREATE  under sharedContext (contextVersion, scope, validUntil, payload/ref)
CSE -> CSE: Evaluate ACP; store context version
CSE --> Engine: CREATE response
@enduml

Figure 7.4.4.4.6‑1: Flow 1 - Publication, collection and shared-context generation

Flow 2 - Context discovery, initial snapshot and notification-based refresh

A newly admitted or restarted Swarm Agent first retrieves an authorized context snapshot and then subscribes to changes. To avoid missing updates between retrieval and subscription, an implementation may subscribe before retrieval and reconcile version identifiers; this flow illustrates that ordering. The agent obtains any required full data through RETRIEVE when the notification carries only update information.

@startuml
hide footbox
participant "Swarm Agent AE" as Agent
participant "MN-CSE / Context Hub" as CSE
participant "Coordination Engine AE" as Engine

Agent -> CSE: CREATE  under sharedContext
CSE -> CSE: Evaluate ACP
CSE --> Agent: CREATE response
Agent -> CSE: RETRIEVE current context resource / latest contentInstance
CSE -> CSE: Evaluate ACP
CSE --> Agent: RETRIEVE response (contextVersion, validity, data/ref)
Agent -> Agent: Initialize local context cache
Engine -> CSE: CREATE  (contextVersion = N+1)
CSE --> Engine: CREATE response
CSE -> Agent: NOTIFY (new version / resource event)
Agent --> CSE: NOTIFY response
opt Notification does not contain required context data
  Agent -> CSE: RETRIEVE version N+1
  CSE --> Agent: RETRIEVE response
end
Agent -> Agent: Validate version and scope; update cache Use context in autonomous local logic
@enduml

Figure 7.4.4.4.6‑2: Flow 2 - Context discovery, initial snapshot and notification-based refresh

Flow 3 - Edge caching and relay using direct or CSE-mediated delivery

An Edge Swarm Agent caches a selected context version and makes it available to nearby Swarm Agents. When both AEs are registered and authorized, the application may use the direct peer endpoint information (d2dPOA) proposed in Solution 1. Alternatively, the mobile agent retrieves a protected copy through the relevant CSE. An Edge Swarm Agent's local copy is application-managed; it is not automatically a synchronized oneM2M replica.

@startuml
hide footbox
participant "Coordination Context CSE" as CSE
participant "Edge Swarm AE" as Edge
participant "Mobile Swarm AE" as Mobile
participant "Local MN-CSE" as Local

Edge -> CSE: CREATE  / RETRIEVE current context
CSE --> Edge: Responses and later NOTIFY updates
Edge -> Edge: Validate context version, scope and expiry; cache
alt Authorized direct peer exchange
  Mobile -> Local: Discover Edge AE and permitted d2dPOA information
  Local --> Mobile: Discovery response
  Mobile -> Edge: Authenticate; request suitable context (application protocol, not Mca primitive)
  Edge -> Edge: Check peer authorization and cache validity
  Edge --> Mobile: Context version and data/ref
else CSE-mediated exchange
  Edge -> Local: CREATE  under protected edgeContext (or update application-managed representation)
  Local --> Edge: CREATE response
  Mobile -> Local: RETRIEVE edgeContext / latest contentInstance
  Local -> Local: Enforce applicable ACP
  Local --> Mobile: RETRIEVE response
end
Mobile -> Mobile: Accept fresh context or apply stale-context policy
@enduml

Figure 7.4.4.4.6‑3: Flow 3 - Edge caching and relay using direct or CSE-mediated delivery

Flow 4 - Context access across MN-CSEs and recovery after registration-point change

This flow depicts an application-defined shared context hosted at MN-CSE A and a consuming Swarm Agent served by MN-CSE B. Routing over Mcc may involve an IN-CSE or other permitted CSE path; the simplified diagram does not prescribe a route. Resource announcement, when configured, may assist discovery but does not guarantee copy consistency. For a mobile S-AE, the registration-point change and reachability continuity proposals of clause 7.2 are applicable; the agent re-establishes or verifies subscriptions and retrieves the latest valid context before resuming use of its cached information.

@startuml
hide footbox
participant "Swarm AE (S-AE)" as Agent
participant "MN-CSE B (serving)" as B
participant "MN-CSE A (context host)" as A
participant "Context Producer AE" as Producer

Agent -> B: RETRIEVE remote sharedContext / latest contentInstance
B -> A: Forward RETRIEVE via applicable Mcc routing
A -> A: Evaluate applicable ACP and originator context
A --> B: RETRIEVE response (version N)
B --> Agent: RETRIEVE response
Agent -> B: CREATE  for remote context
B -> A: Forward subscription CREATE as applicable
A --> B: CREATE response
B --> Agent: CREATE response
Producer -> A: CREATE  (version N+1)
A --> Producer: CREATE response
A -> B: NOTIFY for authorized remote subscription (via applicable CSE routing)
B -> Agent: Deliver NOTIFY
Agent --> B: NOTIFY response
B --> A: Notification response via applicable routing
... S-AE changes serving MN-CSE (clause 7.2) ...
Agent -> Agent: Treat prior route/subscription/cache as potentially stale
Agent -> B: Re-establish/verify reachability and subscription via current serving CSE (illustrative)
Agent -> B: RETRIEVE latest context and reconcile versions
B -> A: Forward RETRIEVE via applicable Mcc routing
A --> B: Latest authorized context / status
B --> Agent: RETRIEVE response
Agent -> Agent: Resume with valid context, otherwise local fallback
@enduml

Figure 7.4.4.4.6‑4: Flow 4 - Context access across MN-CSEs and recovery after registration-point change

The diagrams intentionally separate the oneM2M control and data procedures from application processing. A production implementation needs to define its application-specific context schema, authoritative publisher, retention policy, correlation and de-duplication, subscription continuity, conflict resolution and behaviour during communication failure. In particular, Mcc forwarding and remote subscriptions depend on the applicable oneM2M deployment and routing configuration; the diagrams do not imply that every inter-CSE subscription is automatically available. Optional diagnostic events may use applicable [eventLog] management functionality, while observations consumed by the Coordination Engine remain application data.

Flow 5 - Optional peer dissemination and replica reconciliation after disconnection

This application-defined example combines authorized direct exchange with independently maintained context replicas. During a partition, the AEs record local observations without assuming immediate synchronization. After connectivity returns, they discover or revalidate peer endpoints, exchange context deltas and apply an agreed merge procedure. CRDT-based reconciliation is one implementation option. The CSE is used for permitted discovery and optional publication of the reconciled state; the direct exchanges do not constitute Mca primitives. Neither the CSE nor the candidate d2dPOA attribute defines the merge algorithm.

@startuml
hide footbox
participant "Swarm Agent AE-A" as A
participant "MN-CSE A" as CA
participant "MN-CSE B" as CB
participant "Swarm Agent AE-B" as B

note over A,B: AEs maintain application-defined context replicas
... Intermittent connectivity / network partition ...
A -> A: Record local observation; update replica A
B -> B: Record local observation; update replica B
note over A,B: No synchronized context view is assumed during partition
... Connectivity restored ...
A -> CA: RETRIEVE authorized peer information for AE-B
CA -> CB: Route permitted resource access over Mcc (if required)
CB --> CA: Response with current peer information
CA --> A: Response (identity / authorized d2dPOA)
A -> B: Direct authenticated exchange: context delta A
B -> B: Validate originator, freshness and application authorization
B -> B: Merge with replica B using application-defined rules
B --> A: Direct authenticated exchange: context delta B
A -> A: Validate and merge with replica A
opt Authorized shared publication
  A -> CA: CREATE contentInstance (reconciled context / version)
  CA --> A: CREATE response
end
note over A,B: Eventual convergence requires exchange of relevant updates
@enduml

Figure 7.4.4.4.6‑5: Flow 5 - Optional peer dissemination and replica reconciliation after disconnection

7.4.4.5 Solution 5: Swarm Agent software management

A candidate device or execution host may be discovered through the oneM2M service layer before the software needed for participation in a particular swarm is available or active. Following candidate selection, the Swarm Orchestrator may request an authorized software-management operation to make the Swarm Agent functionality available on the selected host. A host on which suitable software is already available may only require activation or configuration. The application-specific software and the algorithms executed by the Swarm Agent are outside the scope of this solution.

This solution considers reuse of existing oneM2M management capabilities, including applicable management objects and software-management procedures as specified in oneM2M TS-0005, and the software deployment and lifecycle mechanisms considered in clause 7.3. Depending on the deployment, the applicable management function may also interwork with ETSI MEC application lifecycle management. Over-the-air (OTA) software update is one possible means of provisioning or replacing software on a device; the OTA implementation, executable format, installation method and device runtime are not specified by this solution.

The following general procedure is considered:

  1. A candidate host or its management representation makes available information relevant to its software-management capabilities and availability through the oneM2M service layer.
  2. The Swarm Orchestrator selects a candidate and, where necessary, requests the installation, update, activation or configuration of the Swarm Agent software through an authorized management function.
  3. The management function performs or coordinates the applicable software-management operation using supported oneM2M and underlying platform capabilities.
  4. The outcome of the operation is made available through management status or other suitable oneM2M resource information. Where applicable, the deployed Swarm Agent registers as an AE or updates its availability and capability information.
  5. The Swarm Orchestrator evaluates the Swarm Agent's readiness and applicable admission policy before including it in active swarm membership. If provisioning is unsuccessful, the host may remain a candidate or be excluded from selection.

This approach separates candidate-host discovery, software management, Swarm Agent readiness and swarm admission. The use of existing oneM2M resources and procedures should be evaluated before proposing new resource types or protocol operations. Software update and recovery behaviour are implementation-dependent and may be supported by existing device-management or MEC management functions.

7.4.4.6 Solution 6: Multi-node and decentralized coordination profile

This solution addresses swarms whose participants are distributed across several CSEs or MEC hosts, or whose Swarm Agents exchange state directly. oneM2M may provide resource discovery, shared membership information, group communication, notifications and status visibility, while application-specific protocols may carry time-sensitive peer exchanges. Where more than one coordination function is active, the profile needs to identify the authority for membership and task state, as well as conflict and recovery behaviour following loss of connectivity.

The existing three deployment options in clause 6.4 remain applicable. They describe the placement and distribution of computation and result collection; the common information and coordination profile should not require a single option. More advanced leader-based or aggregate/field-based algorithms may be considered as application profiles rather than mandatory functionality of the oneM2M service layer.

7.4.4.7 Relationship with Federated Learning

The discovery, deployment, lifecycle monitoring and recovery functions described for Federated Learning in clause 7.3 provide candidates for reuse. A Swarm Agent may execute an FL-related computation, but a generic swarm task is not necessarily a model-training round and a Swarm Collector is not necessarily an FL Aggregator. Swarm computing need not define a general task or assignment resource; both applications can reuse candidate-host discovery, software provisioning, readiness reporting and membership mechanisms while retaining distinct application-specific work, model and aggregation semantics.

7.4.4.8 Items for further study

The proposed solutions require further evaluation of existing oneM2M resource types and management procedures, possible semantic or flexible-container profiles, separation of host and agent identities, module compatibility and software-lifecycle state, response semantics for Solution 1, authorization and trust-domain handling, and the interfaces to ETSI MEC lifecycle or network services. The results may identify candidates for normative specifications and interoperability tests. This Technical Report does not itself introduce new normative oneM2M resource types or ETSI MEC APIs.