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:
The principal interoperability functions required are:
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
Interchange of data from IoT devices:
Use of relevant MEC services (e.g. location service) by oneM2M components (IPE and/or CSE)
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):
The IN-CSE should:
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.
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:
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)
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.
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:
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.
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)
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.
Subscriptions (/subscriptions/*)
This MEC service is relevant in case of oneM2M device without GPS.
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:
There is no relevant use case identified for oneM2M at this time.
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:
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):
Multi-access Traffic Steering API (/mts/v1):
There is no relevant use case identified for oneM2M.
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:
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.
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:
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:
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.
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:
There are relevant use cases in case of network selection through CMDH.
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:
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.
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:
There are relevant use cases for oneM2M applications such as distributing hazard messages over V2X devices.
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:
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.
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.
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.
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.
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.
|
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:
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.
The MEC-IPE component is deployed as a MEC application. This includes:
On the oneM2M side, the MEC-IPE component registers to the oneM2M IN-CSE. This includes the creation of the
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.3‑1: oneM2M Device Registers to a MEC hosted MN-CSE or IN-CSE
Where the device registration process involves the following steps:
The resource tree under the
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:
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.
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:
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:
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
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:
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
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:
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:
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
For MEC integration, the
A typical resource structure is shown below.
or
├──
└── location
├── current or historical location sample
└── The
The
In a MEC-integrated deployment, the following responsibility model is recommended:
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
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
For geofencing, the geographic area or zone of interest may be represented by application policy, by attributes associated with the
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:
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:
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:
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
Figure 7.1.3.5‑1: ETSI MEC Service discovery
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:
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.
The actors are described by the actions they perform rather than by a specific implementation technology.
The Application Provider:
The oneM2M Orchestration AE:
The onM2M Service Layer:
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:
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):
The Edge Execution Platform:
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:
The package format and transport mechanism are outside the scope of this use case.
The Edge Application:
The following preconditions apply:
A host capability description should provide sufficient information for discovery and placement. The information may include:
The detailed representation and update procedures for this information are identified as standardization gaps in clause 7.1.4.
Application deployment intent should include:
The normal procedure is:
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.
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.
Application deployment request. The Application Provider supplies the application package information, application requirements, and requested lifecycle operation to the oneM2M Orchestration AE.
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.
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.
Creation of deployment intent. The Orchestration AE creates a deployment intent associated with each selected host and subscribes to the corresponding deployment status.
Gateway notification. The oneM2M Service Layer notifies the Gateway Agent that new or updated deployment intent is available.
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.
Lifecycle invocation. The Gateway Agent invokes the applicable lifecycle procedure:
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.
Application instantiation. The execution platform allocates resources, creates the application instance, applies configuration, and starts the application.
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.
Deployment status notification. The oneM2M Service Layer notifies the Orchestration AE and other authorized subscribers of the deployment result.
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.
When the target host is managed by an ETSI MEC system:
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.
When the selected host is not managed as part of an ETSI MEC system:
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.
After a successful procedure:
After an unsuccessful procedure:
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
@endumlFigure 7.1.3.6.10‑1: oneM2M-based orchestration and deployment of an Edge Application
The use case provides the following benefits:
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.
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.
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
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:
Gap: A technology-independent location information model should be defined so that applications can consume location information regardless of its originating positioning technology.
Although both oneM2M and ETSI MEC support subscriptions for location events, no standardized mapping exists between oneM2M
Missing mappings include:
Gap: A standardized mapping should be defined between oneM2M location resources and MEC Location API resources to allow automatic translation by interworking functions.
oneM2M subscriptions and MEC subscriptions are independently managed.
Current specifications do not describe how subscription state should be synchronized during:
Gap: Standard lifecycle synchronization procedures are needed to maintain consistent subscription state across oneM2M and MEC platforms.
Release 5 introduces geographic query capabilities; however, no common model currently exists for advanced geographic objects exchanged between oneM2M and MEC.
Examples include:
Gap: A common geographic object model should be standardized to support interoperable location services across both architectures.
Applications increasingly depend on the quality of location information when making orchestration or mobility decisions.
Neither specification defines common semantics for:
Gap: A standardized quality model should accompany all exchanged location information.
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.
Future deployments are expected to combine multiple positioning technologies simultaneously.
Current specifications do not define:
Gap: A location abstraction layer should support heterogeneous positioning providers while presenting a consistent interface to applications.
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.
Current oneM2M discovery is largely attribute-based.
Emerging edge deployments require selecting services based on geographic proximity, latency, and mobility.
Examples include discovering:
Gap: Standardized location-aware service discovery and selection procedures should be defined using both oneM2M discovery and MEC location capabilities.
Existing standards primarily react to mobility events after they occur.
Future edge deployments increasingly require prediction of:
Gap: Standard interfaces supporting mobility prediction should complement existing reactive mobility mechanisms.
Large deployments may include multiple MEC platforms and multiple oneM2M CSEs.
Current specifications do not define mechanisms for:
Gap: Federation procedures should be standardized for distributed location services.
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.
The swarm computing and federated learning architectures described in this Technical Report require location awareness beyond individual devices.
Future distributed services may require:
Gap: Existing oneM2M and ETSI MEC specifications do not define standardized swarm-oriented location abstractions.
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:
Gap: Additional interoperability guidance is needed to ensure secure and privacy-preserving exchange of location information across oneM2M and ETSI MEC environments.
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:
Existing oneM2M mechanisms such as 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.
oneM2M uses
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.
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:
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.
oneM2M does not currently define a complete, commonly interpreted resource model for an application execution host that includes:
A
oneM2M does not define a standardized application deployment-intent resource that represents:
Generic containers and content instances can carry implementation-defined payloads, but independently developed orchestrators and Gateway Agents would not interpret those payloads consistently.
oneM2M discovery can identify resources that match filters, but it does not define an application-placement procedure that:
oneM2M does not define a common edge-application lifecycle state model covering:
The model also needs operation identifiers, idempotency behaviour, progress reporting, error classification, and correlation to platform-specific lifecycle-operation occurrences.
The Gateway Agent role is not defined in the oneM2M functional architecture. In particular, oneM2M does not define:
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.
Existing oneM2M access control can restrict resource operations, but the orchestration procedure additionally requires interoperable treatment of:
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:
The relationship between existing software-management objects and the proposed application-orchestration model therefore needs to be clarified to avoid duplicate or conflicting mechanisms.
ETSI MEC defines MEC management reference points and lifecycle procedures, but it does not define a standardized binding by which a oneM2M AE can:
ETSI MEC defines MEC host and application information used within MEC management. It does not define how this information is:
resource.ETSI MEC does not define the Gateway Agent actor used by this use case. It does not specify:
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.
A standardized relationship is not defined between:
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.
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:
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
|
The following requirements are informative objectives for evaluating candidate solutions.
For implementation analysis, the following aspects should be evaluated:
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.
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:
The proposed structure combines three complementary views:
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.
The following baseline resource tree is proposed for a MEC host/platform instance. The MEC host is represented in a oneM2M
NOTE: The resource name
mecServiceNmay 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
The following resource tree is proposed for exposing MEC services from the MEC-IPE AE. The MEC services are represented through oneM2M
/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.
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
/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.
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.
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:
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 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:
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.
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:
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.
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:
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:
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.
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:
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:
The MEC hosting and service information should be represented within the oneM2M resource structure and is relevant to FL clients.
MEC service representation examples:
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.
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:
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:
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:
Using existing MEC and oneM2M procedures, an integrated orchestration sequence may include:
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.
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.
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
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.
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
/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) 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:
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) 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:
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:
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.
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.
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
|
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‑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
Step 2: Response to locationPolicy creation
The IN-CSE creates the
Step 3: Retrieve Request for
The IN-AE sends a RETRIEVE request to the
Step 4: Request Current Location from MEC Location Service
The IN-CSE checks the locationSource attribute of the
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:
Step 8-9: CREATE Location contentInstance
The IN-CSE creates a new
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
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 MEC Location Service returns the last known location (if available) with aging metadata. The CSE creates a
If retrieveLastKnownLocation is FALSE, the CSE returns an error (e.g. 404 Not Found) to the application, and no fallback mechanism is invoked.
All instances of
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
Detailed Step Procedure (Callflow 2):
Step 1: Request for creation of
The IN-AE sends a
Step 2: Response to locationPolicy creation
The IN-CSE creates the
Step 3: Create oneM2M Subscription on container
The IN-AE creates a oneM2M
Step 4: IN-CSE Establishes MEC Location Subscription
Upon detecting the
Step 5: MEC-IPE/CSF Translates Subscription Parameters
The MEC-facing entity translates oneM2M
Step 6: MEC-IPE/CSF Sends Subscription Request to MEC Location Service
The MEC-facing entity sends:
{
"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
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):
Step 20-29: Subscription Lifecycle Termination
When the IN-AE no longer requires location updates:
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
Detailed Step Procedure (Callflow 3):
Step 1: Define Geofence Zone and Create locationPolicy
The IN-AE creates either an extended
Alternatively, the IN-AE creates a
Step 2: CSE Creates Zone Storage Containers
The IN-CSE creates container structures for zone definitions and event storage:
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):
{
"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:
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
Step 6-19: Device Enters Geofence Zone
When device location enters the defined zone:
Step 20-29: Device Exits Geofence Zone
When device location exits the zone:
Step 30: Multiple Zone Management (optional)
Applications can monitor multiple overlapping geofence zones simultaneously. The CSE manages multiple
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:
This clause presents two variants:
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. 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 .
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
/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 branch stores observations derived from the MEC Location API or another network-based location provider. The branch stores observations reported by the device AE. The 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.
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=networkIf 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.
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"
}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:
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
. under the device AE.(nodeID, sourceKey) tuple. under the node-scoped network location container.This clause describes the resource tree structure for representing MEC services as oneM2M
A 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.
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:
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;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
|
oneM2M ty
|
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
Table 7.1.6.13.2‑8: Attributes of the
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
Table 7.1.6.13.2‑9: Configuration of the
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
|
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.
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
|
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
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:
[locUser_0] (or of its child [locInfo_0] when the first point is a stored coordinate).[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:
[locUser] instance;[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:
{apiRoot}/location/v3/queries/distance?address=&address= For the alternative UE-to-coordinate case the URI is {apiRoot}/location/v3/queries/distance?address=, 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]:
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).
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
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:
The following definitions are used in this clause:
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.
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:
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)
Key oneM2M/MEC Components:
trigger, remoteCSE and AE re-registration procedureA 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)
Key oneM2M/MEC Components:
flexContainer or mgmtObj schema to represent and cache MEC platform utilization metrics as a oneM2M resource, enabling policy evaluation against CMDH thresholds.AE re-registration triggered by policyThe 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)
Key oneM2M/MEC Components:
remoteCSE mappingsA 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)
Key oneM2M/MEC Components:
mgmtCmd or flexContainer for decision logicThe 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)
Key oneM2M/MEC Components:
mgmtObj for network policyoneM2M 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.
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:
AE from the source MN-CSEAE instance at the target MN-CSE
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:
AE, andAE 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:
AE is not preserved across mobility events.AE across MN-CSE boundaries is not explicitly supported.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 CSEstriggerRequest 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.
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
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
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
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
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
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
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
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
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:
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:
As a result, target selection logic is implementation-specific and may produce inconsistent handover behaviour across deployments.
Possible Extensions to Related oneM2M/MEC Elements
remoteCSE/CSEBase extensions to expose handover-target metadata (e.g. location/coverage, reachability, capacity/load, policy tags, trust domain, and administrative scope).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:
Open issue OI-7.2-01 (from ISG MEC discussions):
Possible Extensions to Related oneM2M/MEC Elements
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):
Possible Extensions to Related oneM2M/MEC Elements
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):
Possible Extensions to Related oneM2M/MEC Elements
flexContainer or mgmtObj schema to represent and cache MEC platform utilization metrics as a oneM2M resource, enabling policy evaluation against CMDH thresholds.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):
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):
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:
role for AE S-registration tracking at the IN-CSE versus normal announcement semantics.ACTIVE to INACTIVE, cleanup timing, and possible reactivation).Impact on handover:
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.
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:
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:
Possible Extensions to Related oneM2M Elements
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.
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.
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.
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:
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.
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
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
|
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.
|
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 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.
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:
resource hosted by the IN-CSE; resources associated with MN-CSEs at which the S-AE has been registered;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:
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.
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
The procedure consists of the following steps:
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.
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.
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.
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 exact representation of these capabilities as resource attributes is subject to the corresponding oneM2M specification changes.
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.
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.
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.
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
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:
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.
Resolution of the authoritative S-AE
MN-CSE B interacts with the IN-CSE and resolves the authoritative corresponding to the S-AE.
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.
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.
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.
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.
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:
Child-resource migration or synchronization is addressed separately because not all child resources necessarily require identical treatment during an S-AE registration-point change.
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.
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
The procedure consists of the following steps:
Deregistration request
The S-AE sends a DELETE or equivalent deregistration request to its active MN-CSE.
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.
Validation
The IN-CSE verifies that the MN-CSE requesting deregistration corresponds to the active registration point of the S-AE.
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.
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.
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.
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.
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:
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.
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 .
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.
Removal of MN-CSE projections
resources associated with the authoritative S-AE are removed according to the S-AE projection lifecycle procedure.
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.
Deletion of the authoritative
After the dependent registration state has been processed, the authoritative is deleted from the IN-CSE.
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:
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
Preconditions
Before the procedure begins, the following conditions apply:
resource hosted by the IN-CSE. associated with the authoritative . identifies MN-CSE A as the current registration point. for registration-point-change notifications.Handover-preparation procedure
The handover-preparation procedure consists of the following steps:
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.
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:
Conceptually, the authoritative can be updated with information equivalent to:
handoverState = PREPARING
sourceRegistrationCSE = MN-CSE A
targetRegistrationCSE = MN-CSE B
handoverTransactionID = assigned transaction identifierGeneration 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.
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:
;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.
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:
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:
inactive or deleting it according to the applicable lifecycle policy; active;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:
requestReachability through MN-CSE A to TRUE; at MN-CSE B;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:
notificationEventType;notificationContentType;requestReachability; andThis 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.
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:
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:
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)
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)
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.
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).
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:
The purpose of this use case is to apply oneM2M and ETSI MEC capabilities to provide a common service-layer procedure for:
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.
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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.
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:
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.
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:
A data suitability description may include:
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.
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:
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.
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:
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.
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:
Host and function registration
Gateway Agents, hosts, FL-native applications, and available FL infrastructure functions register or are represented in the oneM2M Service Layer.
Capability publication
Hosts and FL Clients publish or update execution, availability, trust, interface, and lifecycle capabilities.
Data-source registration
Data Sources register or are represented and publish authorized data suitability descriptions. Raw data remain local.
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.
Candidate discovery
The FL Orchestration Function performs oneM2M resource or semantic discovery for candidate Data Sources, FL Clients, and execution hosts.
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.
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.
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.
Deployment planning
For each selected target, the FL Orchestration Function determines whether deployment should use:
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.
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.
Other-platform lifecycle invocation, when applicable
For another edge execution platform, the Gateway Agent invokes the authorized local lifecycle adapter.
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.
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.
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.
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.
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.
Task and round creation
The FL Coordinator creates participant-specific FL tasks and initiates a training round with the current model and configuration.
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.
Local training
Each FL Client or Trusted FL Client trains using authorized local data and reports progress according to policy.
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.
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.
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.
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.
Inference-deployment planning
The FL Orchestration Function discovers and selects inference targets based on model requirements, target capabilities, policy, and locality.
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.
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.
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:
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.
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:
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.
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:
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.
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:
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.
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:
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.
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:
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.
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:
After an unsuccessful or partially successful operation:
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.
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
@endumlFigure 7.3.2.15‑1: Federated Learning consolidated message flows
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:
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:
Existing FL framework capabilities
FL frameworks commonly provide:
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.
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
|
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:
FL operation-to-campaign mapping
A common method is not defined for associating one FL operation with one or more Software Campaigns.
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.
Application versus model artifact
A distinction is needed between:
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.
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.
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.
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.
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.
The following oneM2M-specific gaps are identified:
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
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
|
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
|
ETSI MEC already provides application lifecycle management. The relevant gaps are not a lack of MEC deployment capability but:
The principal cross-standard gaps are:
The following requirements are informative objectives for evaluating candidate solutions.
The following informative design objectives correspond to FL-TFC-01 through FL-TFC-11:
singleSource, independentSources and aggregatedSources participation and permit a TFC to host multiple logical participants without equating them with independently controlled clients. 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.
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.
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.
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.
@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.
A common profile may represent:
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.
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.
dataSuitability description at an MN-CSE. An FL Client AE or Trusted FL Client AE independently advertises flClientCapability and its authorized source associations.flServiceIntent containing data-characteristic predicates, selection constraints, and processing policies. The FL Orchestration Function reads the intent. children under the existing and updates their referenced participant pool.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.
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.
@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.
@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.
The FL Orchestration Function determines an execution plan for each selected target.
Software Campaign path
Software Campaign may be used when:
The campaign representation should be correlated with:
ETSI MEC path
For a MEC-managed target:
Other-edge-platform path
For another edge platform:
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.
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.
@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.
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:
singleSource): one logical participant trains using an authorized dataset derived from one Data Source. It normally emits one update for a given round.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.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
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.
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
@endumlFigure 7.3.5.4.3‑1: TFC enrollment and participant selection
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
@endumlFigure 7.3.5.4.4‑1: Trust-aware TFC relocation
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
|
|
trustedFLClientProfile and flParticipantProfile interoperability
|
AE-owned MVP profiles; candidate standardized attributes/children
|
|
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.
An inference-deployment profile may include:
The FL Orchestration Function compares the profile with target capabilities.
Inference-model readiness should identify the active model version rather than only indicate successful package installation.
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:
A minimal round representation may include:
FL readiness should include:
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
@endumlFigure 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.
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:
Status should identify both:
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.
The FL Orchestration Function may subscribe to:
An adaptation policy may define actions such as:
The adaptation history should remain associated with the FL operation for traceability.
@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.
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.
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.
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.
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
@endumlFigure 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.
Clause 7.2 of oneM2M TR-0071 [i.27] proposes a mechanism and resource structure for AI/ML dataset management. It has:
resource for selecting and correlating observations from multiple sourceResourceIDs. This resource has the following attributes:
datasetStartTimedatasetEndTimetimeCorrelationStartTimetimeCorrelationDurationnullValuePolicydatasetFormathistoricalDatasetIDliveDatasetIDnumberOfRowsForHistoricalDatasetnumberOfRowsForLiveDataset. resources with the following attributes:
mlDatasetPolicyIDlistOfFeatures has child resources, with the following attributes:
datasetFragmentStartTimedatasetFragmentEndTimenumberOfRowsInFragmentdatasetFragmentdatasetFormatNormal 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.
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.
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.
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.
|
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
@endumlFigure 7.3.5.9.5‑1: Authorized multi-source dataset preparation
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
@endumlFigure 7.3.5.9.6‑1: Independent and aggregated TFC participation
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
@endumlFigure 7.3.5.9.7‑1: Policy revocation during an FL round
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 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 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.
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:
aggregatedSources mode and verify one participant/update is sent even though two sensors contribute; log weighting basis.independentSources mode and verify separate task, participant and update identities (not a claim of statistical independence).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.
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
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
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
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
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.
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.
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.
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.
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.
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.
The proposed oneM2M-managed swarm profile considers the following key issues:
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.
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.
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.
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.
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.
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.
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:
rqi).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.
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.
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:
d2dPOA, supported direct-NOTIFY communication and security-profile information using an authorized resource representation; discovery does not expose credentials or secret keys.d2dPOA and sends a oneM2M NOTIFY request primitive containing the application-defined message and the authorization credential using a profile-defined binding.rqi and success acknowledgment; otherwise it returns a permitted error response without dispatching prohibited content to the application.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: 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.
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.
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,
poaselection, 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
@endumlFigure 7.4.4.4.6‑5: Flow 5 - Optional peer dissemination and replica reconciliation after disconnection
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:
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.
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.
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.
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.