Entity Layer
AE is application logic, CSE hosts common service functions, and NSE represents underlying network services.
Step through AEs, CSEs, reference points, resource trees, and CRUD+N primitives in the oneM2M service layer
Choose a scenario, then step through the primitives. The diagram highlights which entity is active, which reference point carries the exchange, and how the CSE resource tree changes.
AE is application logic, CSE hosts common service functions, and NSE represents underlying network services.
Mca connects AE to CSE, Mcc connects CSEs, and Mcn connects CSEs to network services.
The resource tree starts at CSEBase, then grows through AE, container, contentInstance, subscription, group, and ACP resources.
HTTP, CoAP, MQTT, and WebSocket bindings carry the same service-layer primitives; they do not change the resource model itself.
Run a flow, inspect each primitive, then compare how the path changes by scenario.
The AE asks its local CSE to create a resource. The CSE applies common service functions before storing or forwarding the request.
A sensor AE creates a contentInstance at a gateway CSE, then the CSE path can synchronize toward an infrastructure CSE for cloud applications.
An Application Entity hosts application logic. Here it is a sensor application that creates oneM2M resources through a nearby CSE.
CREATE /in-cse/mn-gw/temp-sensor/telemetry with originator C-AE-therm-01.
Start with the active orange token. Ask: which entity originated the primitive, which reference point is highlighted, and which resource changed?
oneM2M standardizes a horizontal service layer: common functions, primitives, resources, protocol bindings, and reference points. It does not require one fixed physical topology.
Do not treat the gateway as just a byte converter. A CSE can also provide registration, discovery, storage, subscription, group management, security, and other service functions.
| Item | Meaning | Typical learner check |
|---|---|---|
| AE | Application Entity. It is an execution instance of application service logic and has an AE-ID. | Is this application using CSE services, or is it the service layer itself? |
| CSE | Common Services Entity. It hosts one or more Common Service Functions such as data management, security, discovery, notification, grouping, location, and device management. | Which CSFs are needed for this primitive? |
| NSE | Network Services Entity. It represents underlying network services used by the CSE, such as connectivity, triggering, and location support. | Is the service-layer primitive asking for network support? |
| Mca | Reference point between an AE and a CSE. | Is an application talking to a CSE? |
| Mcc | Reference point between two CSEs. Mcc' is used between different service providers. | Did the request cross from one CSE tree segment to another? |
| Mcn | Reference point between a CSE and the Network Services Entity. | Is the CSE depending on underlying network capabilities? |
oneM2M developer basics describe the service layer, AE, CSE, NSE, node types, and interworking concept.
oneM2M API guidance covers CRUD+N primitives, resources, attributes, protocol bindings, and Mca/Mcc/Mcc' exchanges.
oneM2M REST resources define CSEBase, AE, container, contentInstance, access-control, subscriptions, discovery, and groups.
A dashboard creates a subscription on a container. Which primitive is used first, and which reference point carries it when the dashboard talks to an IN-CSE?
Move a constrained sensor from ASN to ADN. What disappears from the field node, and which nearby entity must now host the CSE services?
A notification never reaches the subscriber. Inspect the subscription resource, the ACP, the target AE point of access, and any Mcc hop between CSEs.