Figure 6.1.0‑1: Deployment options for oneM2M and MEC integration
This clause looks at each of the deployments and identifies the unique components involved in integration of oneM2M and ETSI MEC. These four deployment options are reflected in Figure 6.1‑1 which shows the components that need to be defined in each deployment. This clause describes the components and the solutions that are needed are described in clause 7.
A MEC Interworking Proxy Entity (IPE) that acts as a bridge between the ETSI MEC and oneM2M environments, facilitating seamless communication and data exchange. The MEC IPE is deployed as a MEC application that is hosted on the MEC platform or some other platform.
This is shown in deployment option A and B.
A 3rd Party Interworking Proxy Entity (IPE) allows external applications or services to interact with the oneM2M and MEC environments. This IPE can be used to extend the capabilities of the MEC platform by integrating with external systems.
This is shown in deployment option A.
A Swarm Compute Application Entity (AE) that performs local processing and participates in cooperative swarm behaviour. Additional AEs may facilitate the coordination and management of multiple devices working together to perform complex tasks.
This is shown in deployment options B, C and D.
The FL Client and Trusted FL Client roles and the other Federated Learning AEs for both MEC-managed and other authorized edge deployments are developed in clause 7.3. No FL-specific resource or protocol definition is introduced by this architectural description.
These responsibilities are logical separations, not a requirement for six independently deployed AEs. Example deployment option B illustrates a possible edge placement, not a mandatory placement, registration model, or actor inventory. The candidate oneM2M resource and procedure mappings are confined to clause 7.3.
The FL Client is shown in deployment options B, C and D.
A 3rd Party IPE (MN-AE) that acts as an intermediary between non-oneM2M devices and the oneM2M architecture. This IPE facilitates the interaction between non-oneM2M devices and oneM2M applications by converting data formats and managing communication protocols. The difference between the 3rd Party IPE (MN-AE) and the 3rd Party IPE (MEC APP) is that it is not managed by the MEC platform.
This is shown in deployment options B, C and D.
A oneM2M Common Services Function (CSF) that provides a set of common services and APIs for MEC applications. The MEC CSF will enable seamless integration and interoperability between MEC applications and oneM2M services similar to that performed by the MEC IPE (clause 6.1.1).
This is shown in deployment options C and D.
The FL CSF described here is a proposed architectural integration depicting a standardized oneM2M CSF. Its possible responsibilities and the candidate FL integration mechanisms are addressed in clause 7.3.
A dedicated FL CSF is a oneM2M extension, illustrated conceptually in deployment options C & D. Clause 7.3 identifies the candidate FL integration mechanisms and exposes common FL management and coordination support; it does not automatically execute training or aggregation algorithms or replace FL application actors. The baseline architecture requires existing IN-CSE and MN-CSE functions to support registration, discovery, resource management, access control, subscriptions/notifications, and applicable software management, while new FL methods, resources, APIs, or behavioural extensions remain candidates developed in clause 7.3.
A oneM2M CSE that is deployed as a MEC service. This CSE will be tightly integrated with the MEC platform, allowing it to leverage MEC services and capabilities to enhance its performance and efficiency.
This is shown in deployment option D.
When using a oneM2M and MEC edge platform the deployments include multiple oneM2M/MEC instances. This clause describes needed features for the management, orchestration and federation of edge platforms that include a oneM2M MN-CSE and the ETSI MEC platform. The federation and orchestration framework will explore the existing APIs for discovery and resource management principles defined in both standards, while proposing extensions to them with federation and synchronization capabilities. Before orchestrating handover, swarm computing, or federated learning mechanisms, MEC/oneM2M instances can discover, register and organize themselves into collaborative groups:
Therefore, the orchestration framework should:
The orchestration framework should create a federated, service-aware, and resource-optimized environment where ETSI MEC and oneM2M instances jointly deliver advanced distributed computing and IoT data management by addressing handover continuity, swarm scalability, and federated learning privacy. It may also support dynamic service discovery and registration, load balancing across multiple instances, and failover and redundancy mechanisms.
The Handover mechanism refers to the process of transferring control of a device or service from one MEC/oneM2M instance to another, ensuring seamless connectivity and service continuity. There three main scenarios where handover is essential:
This process, illustrated in Figure 6.3‑1, is critical when devices move between different edge nodes or when services are migrated to maintain low latency, reliability, and high availability.
Figure 6.3‑1: IoT device handover
Depending on system design and device capability, handover control can follow one of two approaches:
In practice, the chosen strategy should balance device capability, network intelligence, and the requirements of the application domain. For resource-constrained IoT devices, offloading decision-making to the MEC/oneM2M layer may reduce device complexity and power usage, while device-controlled handovers may provide faster reaction times and greater autonomy in heterogeneous deployments. To design an effective handover mechanism, the following high-level considerations should be addressed:
These considerations will be further analyzed in oneM2M and ETSI MEC.
Swarm Computing refers to the coordination of multiple MEC/oneM2M instances so that cooperating applications can pursue a collective objective while remaining distributed across devices, gateways, edge hosts or cloud resources. In this paradigm, participating applications contribute sensing, actuation, computation, storage, connectivity or shared knowledge according to their capabilities and operating conditions. Cooperation can be decentralized and adaptive: agents may exchange local state or decisions directly, consume shared contextual information, or participate in coordinated task execution when the application requires it. When mapped onto MEC/oneM2M interworking, these participants are realized as Application Entities (AEs) hosted on Middle Nodes (MNs), Application Dedicated Nodes (ADNs), or MEC-managed execution environments. Nearby Common Service Entities (CSEs) may support registration, discovery, notifications and resource exchange, while ETSI MEC capabilities may provide hosting, lifecycle and network-context support. In this clause, the entities involved are described as follows:
Consistent with the deployment options described in clause 5, swarm computing may be implemented through the following options:
Option 1: In this configuration, the Swarm Orchestrator asks Swarm Agents to perform local tasks and interact with a Swarm Collector located nearby at the edge. The Swarm Orchestrator coordinates work assignment and resource allocation for an application that benefits from explicit task distribution. Swarm Agents execute application-specific work and may return intermediate or final results to the Swarm Collector, which consolidates outputs and sends them back to the Swarm Orchestrator or another consuming application. The Swarm Orchestrator and the Swarm Collector may be co-located or deployed separately on the edge. This option emphasizes low-latency collaboration between distributed Swarm Agents and is well-suited for scenarios where coordinated work execution and localized aggregation are useful, as illustrated in Figure 6.4‑1.
Figure 6.4‑1: Swarm Computing Implementation - Option 1
Option 2: Local Swarm Agent AEs may execute lightweight sensing, control or preprocessing functions on constrained devices, while Edge Swarm Agent AEs execute more demanding processing or coordination functions. The Swarm Orchestrator may apply work-assignment or offloading policies so that participating Swarm Agents act in accordance with their available capabilities. The Swarm Collector may aggregate results from multiple Swarm Agents and return a consolidated output to the Swarm Orchestrator and/or the originating Local Swarm Agent AE, which may perform application-specific post-processing, as shown in Figure 6.4‑2. In this option, the Swarm Collector and the Swarm Orchestrator may be co-located on the edge platform.
Figure 6.4‑2: Swarm Computing Implementation - Option 2
EDITORIAL NOTE: Update the source artwork for Figure 6.4‑2 to replace any separate device/swarm actor labels with Local Swarm Agent AE and/or Edge Swarm Agent AE, as appropriate to the revised scenario. No additional swarm actor is intended.
Option 3: This option extends orchestration beyond the edge by combining local processing with cloud-level intelligence. Local Swarm Agent AEs exchange application information with Edge Swarm Agent AEs for latency-sensitive processing and may also use shared contextual information when making local decisions. In addition, a Swarm Collector or another analytics function located in a more centralized or cloud domain may perform high-level analytics such as large-scale pattern recognition or long-term optimization using datasets that have been previously collected. The Swarm Orchestrator coordinates the relationship between local results and global insights, as illustrated in Figure 6.4‑3. The resulting information may be returned to the originating Swarm Agent AE through the Swarm Orchestrator and any applicable Edge Swarm Agent AE.
This hybrid model leverages the strengths of both edge and cloud: low latency at the edge and high computational power in the cloud, enabling scalable and adaptive swarm intelligence. The placement of functions depends on the type of analytics, latency constraints, and data-handling rules of each application.
Figure 6.4‑3: Swarm Computing Implementation - Option 3
EDITORIAL NOTE: Update the source artwork for Figure 6.4‑3 to show exchanges between Local and Edge Swarm Agent AEs, the Swarm Orchestrator and the Swarm Collector; remove any separate device/swarm actor label.
To allow multiple MEC/oneM2M nodes to collaboratively perform distributed tasks or cooperative behaviours, the orchestration and coordination mechanisms should take into account the following aspects:
The Swarm Orchestrator is a coordinator, load balancer, membership manager and fault manager for swarm computing. It does not always execute tasks itself, nor does it necessarily determine each local action of participating agents. Instead, it manages how, where, and when cooperative behaviour is established or adapted, ensuring that the swarm MEC/oneM2M nodes behave as a resilient and adaptive system.
Clause 6.5 identifies architectural capability groups, concrete actors, and illustrative placements for oneM2M/MEC support of FL. Clause 7.3 describes FL-specific gaps, proposed requirements, candidate resources, procedures, and message flows.
Platform and actor boundaries. An IN-CSE or MN-CSE supplies oneM2M service-layer registration, discovery, access control, management, subscriptions, and status-correlation support; its existence does not imply that it executes FL training, coordination, or aggregation. FL Service Orchestration, Training Coordination, and Aggregation are logically distinct application functions (clause 6.1.4) that may be separately deployed or co-located. Data Owner/Source AEs govern eligible source descriptions and data access; native FL Client AEs train using authorized local data, while Trusted FL Client AEs may train on behalf of constrained sources within an approved trust domain.
A MEC host offers an execution environment; the MEC platform exposes applicable edge services; and MEC management (including MEO/MEPM as applicable) retains MEC application placement and lifecycle authority. A MEC IPE AE provides authorized oneM2M-to-MEC service interworking where needed. A Gateway Agent or Platform Interworking Function offers a oneM2M-facing host-capability and deployment interface and invokes the authorized lifecycle manager: MEC management for MEC-managed targets or a local adapter for other edge targets. Neither the IPE nor Gateway Agent is mandatory for every deployment; their use depends on whether interface translation or remote deployment integration is required. These actor relationships are elaborated as candidate FL integration solutions in clause 7.3; references to ETSI MEC functions denote existing general architectural roles, not verification of a particular FL-specific API or registration behaviour.
Federated Learning systems require more than model training and aggregation algorithms when deployed across heterogeneous IoT, edge, and cloud environments. A managed FL service may need to discover suitable data and execution resources, express the desired service outcome, deploy required software and models, coordinate distributed execution, and adapt to changes during operation.
The following generic capability groups provide a functional framework for analysing those needs. Putting these capability groups into practice across real-world IoT-to-edge-to-cloud deployments raises infrastructure challenges that sit outside the FL algorithm itself. Three such challenges are particularly relevant:
Discovering eligible participants and describing their capabilities (see clause 6.5.2). Before a round can start, the coordinating function needs to know which clients exist, whether their data is relevant and authorised for use, and whether they have adequate compute and connectivity. IoT device populations are large, heterogeneous, and constantly changing.
Deploying and managing FL components across the continuum (see clause 6.5.4). Where FL Clients and FL Coordinators run has a direct impact on communication cost, latency, and resilience, and their placement is rarely static: components may need to be instantiated, migrated, or retired at edge nodes as conditions change. Most FL frameworks assume a fixed, pre-configured deployment and lack standardized interfaces for this kind of dynamic lifecycle management, a limitation that becomes critical once edge nodes span multiple administrative domains.
Bringing non-FL-native devices into the process (see clause 6.5.7). Most deployed IoT endpoints - sensors, actuators, low-power wireless nodes, legacy PLCs - lack the resources to train locally, even though they are the source of the data FL is meant to learn from. Including them requires a Trusted FL Client that collects their raw data at the edge, trains on their behalf within the local trust domain, and forwards only the resulting model updates.
The deployment of FL functions across oneM2M and ETSI MEC infrastructure may combine different aggregation topologies with different placements of orchestration, training coordination, and aggregation functions.
The following options illustrate centralised and hierarchical aggregation using representative cloud and edge deployments. The physical placement of the functions shown in these examples is not a defining characteristic of the aggregation topology. Additional configurations may be realised by placing these functions on different execution hosts while preserving their logical relationships.
Option 1: In this option, the FL Coordinator's Orchestrator sub-component might be hosted in a cloud-based environment, while its Aggregator sub-component might run on the edge. FL Clients could be hosted on the edge or device, depending on the computational capabilities.
Figure 6.5.1‑1 illustrates the model and update path in a centrally aggregated deployment. For the functional separation adopted in the present document, Service Orchestration authorizes and supervises the FL operation, Training Coordination initiates rounds and arranges model handoff to FL Clients, and the Aggregator combines eligible updates. The Training Coordinator reports progress to Service Orchestration and starts subsequent rounds as authorized. The existing figure labels require reconciliation with these role boundaries in editable artwork (see clause 7.3).
In this configuration, a single logical Aggregator combines eligible client updates, Training Coordination schedules training rounds, and Service Orchestration supervises the managed operation.
This option illustrates centralised FL aggregation, in which a single logical FL Aggregator combines model updates from the participating FL Clients. In the configuration shown, the FL Aggregator is hosted at the edge, while the FL Orchestrator is hosted in the cloud. The same aggregation topology may be realised with different placements of these functions.
Edge-hosted aggregation may reduce communication latency and backhaul traffic when the participating FL Clients are located near the edge host. These benefits depend on the distribution of participants and the network connectivity between the clients and the aggregator.
Figure 6.5.1‑1: Federated Learning Orchestration - Option 1
Option 2: In this option, the FL Coordinator's Orchestrator and Aggregator (Global) sub-components might be hosted in a cloud-based environment, while a local Aggregator (Local) runs on the edge, closer to the FL Clients. FL Clients could be hosted on the edge or device, depending on the computational capabilities. Figure 6.5.1‑2 illustrates the model and update path in a hierarchically aggregated deployment. For the functional separation adopted here, Service Orchestration authorizes and supervises the operation; Training Coordination initiates rounds, arranges model handoff, and correlates completion; local Aggregators combine eligible client updates; and the global Aggregator combines authorized intermediate results. Training Coordination schedules subsequent rounds as authorized. The existing figure labels require reconciliation with these role boundaries in editable artwork (see clause 7.3).
This option illustrates hierarchical FL aggregation, in which local FL Aggregators combine model updates from groups of FL Clients before forwarding intermediate results to a global FL Aggregator. In the configuration shown, local aggregation occurs at the edge and global aggregation occurs in the cloud.
The hierarchical aggregation topology does not require a cloud-hosted global FL Aggregator. An alternative configuration may place both local and global aggregation functions on different edge hosts.
Hierarchical aggregation may reduce communication overhead and improve scalability in geographically distributed deployments, depending on the number and distribution of FL Clients, aggregation frequency, and network conditions. This benefit does not, by itself, establish equivalence with a single-stage aggregation algorithm or with centralised training. For example, in sample-count-weighted FedAvg, equally averaging intermediate aggregator outputs may differ from weighting those outputs by the number of samples they represent. Relevant framework-specific considerations include the weighting of participating client updates, the local aggregation interval, client availability or exclusion, and non-identically distributed (non-IID) data. An FL aggregation configuration or profile may therefore identify how intermediate updates are weighted and when they are combined. oneM2M and ETSI MEC may support discovery and distribution of this configuration and reporting of aggregation status, while the FL framework remains responsible for the algorithm and its mathematical semantics.
Figure 6.5.1‑2: Federated Learning Orchestration - Option 2
At the architectural level, FL orchestration involves the following functional activities; the proposed oneM2M/MEC procedures and message sequences are developed in clause 7.3:
FL Resource and Data Discovery addresses the discovery challenge described above: before a training round can be planned, the FL Orchestration Function locates potential FL Clients, Data Sources, and execution hosts, and gathers enough information about each of them to judge whether they are eligible and suitable to participate. Existing oneM2M discovery and, where authorized and applicable, MEC service exposure can contribute to this capability; FL-specific suitability attributes and cross-platform mappings remain proposals in clause 7.3 rather than assumed existing standardized discovery semantics.
FL Resource and Data Discovery supports:
Discovery of a data source does not imply transfer of its raw data; the purpose is only to determine whether a data source may be suitable and eligible for local processing. Candidate selection supports an already admitted FL operation and its subsequent training tasks (see clause 6.5.3). Admission of the service intent and creation of the operation precede candidate discovery; discovery alone does not create or authorize the operation.
This clause describes the separation of logical intent and operation responsibilities; candidate oneM2M resource representations, admission ordering, and lifecycle details are specified as proposals in clauses 7.3.2 and 7.3.5.1.
Following acceptance and admission of the FL service intent, an FL operation is established before participant discovery or deployment (see clause 6.5.2). The desired outcome of the FL service and the managed execution created to deliver it remain conceptually distinct. FL Service Intent and Operation Management supports separation of the requested service outcome from implementation-specific execution procedures.
An FL service intent may identify:
An FL operation is created when an accepted service intent is admitted, before candidate discovery, and represents the managed training execution undertaken to fulfil the intent. Its overall state may be pending, preparing, ready, running, paused, completed, failed, or cancelled. Discovery, deployment, adaptation, and rollback are separately tracked activities rather than mandatory sequential operation states. Keeping the intent and operation as distinct, correlated resources allows changes in participants, hosts, or deployments without losing the original requested outcome. Successful training completion is determined by the specified result and acceptance conditions, independently of subsequent inference deployment, which may reference the resulting model version and operation.
Turning an FL operation into a running training campaign requires the applicable FL Client, Trusted FL Client, Training Coordination, and Aggregation application components to be present and correctly configured on the selected hosts, and the model artifacts they operate on to be distributed and kept up to date. FL Application and Model Lifecycle Management supports:
Application lifecycle management and model lifecycle management may use different mechanisms, since a software application may remain installed while its model versions are updated independently. Once the required components are instantiated and reachable, FL Execution and Round Coordination (see clause 6.5.5) can proceed to organize them into actual training rounds.
With FL components deployed and ready, Training Coordination organizes rounds or asynchronous participation, provides model handoff, and collects permitted updates; the distinct Aggregation function performs the configured algorithm-specific combination. FL Execution and Round Coordination supports:
The FL algorithm, aggregation method, and model format remain application-specific unless defined by another specification or profile. For hierarchical aggregation, coordination may include a reference to framework-specific aggregation configuration (e.g. update weighting, intermediate aggregation interval, and participation or exclusion policy) and status describing the participating updates. This capability group coordinates rounds and correlates their status; it does not determine how aggregation itself is computed. The resulting readiness, progress, and completion information is what FL Monitoring and Adaptation (see clause 6.5.6) observes to decide whether the operation can continue as planned.
FL operations run over extended periods across dynamic IoT and edge conditions, so discovery, deployment, and round-coordination decisions taken at the start of an operation cannot be assumed to remain valid throughout its lifetime. FL Monitoring and Adaptation closes the loop by observing the state of clients, deployments, and rounds, and by feeding changes back into the earlier capability groups so that an operation can be adjusted rather than simply failing. FL Monitoring and Adaptation supports:
The capability may use event-driven subscription and notification procedures to avoid continuous polling. Adaptation actions triggered here - reselecting a participant, redeploying a component, or rolling back a model version - loop back into FL Resource and Data Discovery (see clause 6.5.2) and FL Application and Model Lifecycle Management (see clause 6.5.4), closing the operational cycle described by this clause.
The capability groups above assume that a participant is able to act as an FL Client in its own right. Most deployed IoT endpoints cannot, since they lack the memory, compute, or software stack needed to train locally, even though they are often the source of the most relevant operational data. FL Support for Non-FL-Native and Constrained Devices extends the previous capability groups to this majority of devices through the Trusted FL Client, and supports:
Figure 6.5.7‑1: FL Client vs. Trusted FL Client for Non-FL-Native Devices
Figure 6.5.7‑1 contrasts the two cases side by side. On an FL-native device, shown on the left, the FL Client is co-located on the device with its IoT logic and physical/IoT data: it exchanges raw data and triggers model execution locally, and exchanges the model or algorithm-specific permitted updates with the applicable training functions without transferring raw training data as part of the illustrated FL procedure. On a non-FL-native device, shown on the right, the same IoT logic and physical/IoT data remain on the constrained device, but local training is instead carried out by a Trusted FL Client hosted separately within the surrounding local edge domain: it retrieves raw data and triggers model execution across that device boundary, and exchanges the model or algorithm-specific permitted updates with the applicable training functions on the represented device's behalf. The trust boundary within which raw data stays therefore shifts from the device itself to the local edge domain as a whole, which defines the authorized data-locality boundary for this deployment, without itself guaranteeing privacy against information leakage from exchanged updates.
Raw data accessed from a represented device is confined to its authorized local trust domain under the applicable source governance and data-handling policy; a Trusted FL Client does not imply that raw data stays on the originating device. The Trusted FL Client is itself discovered, deployed, executed, and monitored through the same FL Resource and Data Discovery, FL Application and Model Lifecycle Management, FL Execution and Round Coordination, and FL Monitoring and Adaptation capabilities described above (see clauses 6.5.2 to 6.5.6), acting as the participant on behalf of the devices it represents.