What is an Application Entity?
An Application Entity, or AE, is a software component in a oneM2M-based IoT system that represents an application on an IoT device or a oneM2M node. An AE could be a simple sensor application on a constraint device, a complex IoT application doing data analytics that runs on a gateway or in the cloud, or even an application that mediates between different IoT systems.
It is important to understand that an AE is not the application itself, but a representation of the application in a oneM2M system.
This is also an important difference to other IoT technologies, where usually an explicit distinction is made between an IoT device and its software, and the application that consumes the data from the device. In oneM2M, all application and software components are represented by Application Entities that are treated equally in the oneM2M system.
AE Registration
An AE needs to be registered to a oneM2M CSE in order to be able to use the services provided by the CSE. This is necessary to enable the CSE to identify the AE to allow later access to the CSE's services and resources. The registration can be done either by the AE itself, or by another AE that is responsible for the management of many AEs in a business context.
Figure 1: Basic relations of an AE in a oneM2M system1
Once registered, the AE is represented in a oneM2M system by a Resource of type <AE> that is located directly under the root of the CSE's resource tree. This Resource contains all the necessary information to identify and manage the AE. This includes the AE's name, the AE's ID, an application type, and many more.
After the successful registration the actual IoT application the can now start to build up its own resource tree under its <AE> resource to store its IoT data and to use use the CSE's services.
by Andreas Kraft, 2023-08-07
-
Source: Andreas Kraft ↩