Unit 2
Unit 2
IoT Architecture
M2M high-level ETSI architecture
The European Telecommunications Standards Institute (ETSI)
M2M Device:
This is the device of interest for an M2M scenario, for example, a
device with a temperature sensor.
An M2M device which can be sensors / smart appliances connects
to the Network Domain either directly or through an M2M Gateway
that collect and send data / perform specific tasks.
• The SCL (Service Capability Layer) is a collection of functions that enables the
M2M application to interact with devices, gateways and networks through the
open interfaces or reference points mIa, dIa, and mId (ETSI M2M TC 2013b).
• Because the main topological entities that SCL can deploy are the Device,
Gateway, and Network Domain, there are three types of SCL:
– DSCL (Device Service Capabilities Layer)
• Resides on device domain.
• Provides functions for M2M devices interact with others.
– GSCL (Gateway Service Capabilities Layer)
• Resides on gateway domain.
• Acts as bridge between multiple devices and network.
– NSCL (Network Service Capabilities Layer).
• Resides on network domain.
• Provides centralized service for applications and gateway.
•IETF develops standards and protocols for the Internet of Things (IoT).
•The IETF's IoT architecture includes specifications, working groups, and an
advisory group.
IETF architecture for IoT
[Internet Engineering Task Force architecture]
Specifications
• 6LoWPAN (IPv6 over Low-power WPAN)
• CoRE (Constrained RESTful Environments)
• ROLL (Routing Over Low power and Lossy networks).
• Each set of specifications makes an attempt to address a different part of the communication
stack of a constrained device.
• One layer called Application Support which includes the Presentation and Session Layers
combined. one intermediate layer is introduced: the Adaptation Layer
Adaptation Layer
• It positioned between the Physical/Data Link and the Network Layer and whose main
function is to adapt the Network Layer packets to Phy/Link layer packets among others.
• An example of an adaptation layer is the 6LoWPAN layer designed to adapt IPv6 packets to
IEEE 802.15.4/Bluetooth Low Energy (BLE)/DECT Low Energy packets.
Application Support
• An example of an Application Support Layer is IETF Constrained
Application Protocol (CoAP), which provides reliability and RESTful
operation support to applications; however, it does not describe the
specific names of resources a node should host.
• A CoAP server is just a logical protocol entity, and the name “server”
does not necessarily imply that its functionality is deployed on a very
powerful machine; a CoAP server can be hosted on a constrained
device.
Working groups
• CoRE Link Format
• Resource Directory
• The CoRE Link Format specification describes a discovery method for the CoAP
resources of a CoAP server.
• For example, a CoAP client sending a request with the GET method to a specific well
defined server resource (./well-known/core) should receive a response with a list of
CoAP resources and some of their capabilities (e.g. resource type, interface type).
• The IETF stack for IoT does not currently include any specifications that are similar to
the profile specifications of other IoT technologies such as ZigBee
• Profile specification means a document that describes a list of profile names and their
mappings to specific protocol stack behavior, specific information model, and specific
serialization of this information model over the relevant communication medium.
• An example of a profile specification excerpt would mandate that
an exemplary “Temperature” profile:
(a) should support a resource called /temp,
(b) the resource /temp must respond to a GET method request
from a client, and
(c) the response to a GET method request shall be a temperature
value in degrees Celsius formatted as a text string with the format
“,temperature value encoded in a decimal number ._C”
Resource Directory
• A Resource Directory is a CoAP server resource (/rd) that maintains
a list of resources, their corresponding server contact information
(e.g. IP addresses or fully qualified domain name, or FQDN), their
type, interface, and other information similar to the information
that the CoRE Link Format document specifies.
• An RD functions as a meeting point mechanism for CoAP Server resource
descriptions, in other words, for devices to publish the descriptions of the
available resources and for CoAP clients to locate resources that satisfy
certain criteria such as specific resource types. (e.g. temperature sensor
resource type).
• A CoAP Server registers its resources to the Mirror Server, and upon
registration a new mirror server resource is created on the Mirror Server
with a container (mirror representation) for the original server
representation.
• The main is the different transport protocols used by the HTTP and CoAP:
HTTP uses TCP while CoAP uses UDP.
• HTTP Client sends an HTTP request to a CoAP server (Figure 6.9a)
through a Gateway Device hosting an HTTP-CoAP Cross Proxy.
• Observations and Measurements (O&M), which is a model and an XML schema for
describing the observations and measurements for a sensor (Observations and
Measurements, O&M).
• SWE Common Data model: for describing low-level data models (e.g. serialization in
XML) in the messages exchanged between OGC SWE functional entities.
• Sensor Observation Service (SOS), which is a service for requesting, filtering, and
retrieving observations and sensor system information.
• Sensor Planning Service (SPS), which is a service for applications requesting a user-
defined sensor observations and measurements acquisition.
• PUCK, which defines a protocol for retrieving sensor metadata for serial port (RS232) or
Ethernet-enabled sensor devices.
• OGC follows the SOA paradigm, there is a registry (CAT) that maintains the
descriptions of the existing OGC services, including the Sensor Observation
and Sensor Planning Services.
• Upon installation the sensor system using the PUCK protocol retrieves the
SensorML description of sensors and processes, and registers them with
the Catalog so as to enable the discovery of the sensors and processes by
client applications.
• The Sensor System also registers to the SOS and the SOS registers to the
Catalog.
• A client application #1 requests from the Sensor Planning Service that the
Sensor System be tasked to sample its sensors every 10 seconds and
publish the measurements using O&M and the SWE Common Data model
to the SOS.
• Another client application #2 looks up the Catalog, aiming at locating an
SOS for retrieving the measurements from the Sensor System.
• The application receives the contact information of the SOS and requests
from the sensor observations from the specific sensor system from the
SOS.
• As a response, the measurements from the sensor system using O&M and
the SWE Common Data model are dispatched to the client application #2.
domain model
• The domain model of an architecture model captures the main concepts or
entities in the domain, the domain model adds descriptions about the
relationship between the concepts.
information model
• These concepts and relationships serve the basis for the development of an
information model because a working system needs to capture and process
information about its main entities and their interactions.
functional model
• A working system that captures and operates on the domain and information
model contains concepts and entities of its own, and these need to be described
in a separate model, the functional model.
• An M2M and IoT system contain communicating entities, and therefore the
corresponding communication model needs to capture the communication
interactions of these entities.
• The foundation of the IoT Reference Model is the IoT Domain Model, which
introduces the main concepts of the Internet of Things like Devices, IoT
Services and Virtual Entities (VE), and it also introduces relations between
these concepts.
• Based on the IoT Domain Model, the IoT Information Model has been
developed. It defines the structure (e.g. relations, attributes) of IoT related
information in an IoT system on a conceptual level without discussing how
it would be represented.
• The functionalities of the FGs that manage information use the IoT
Information Model as the basis for structuring their information.
• A key functionality in any distributed computer system is the
communication between the different components.
• It defines:
• Key concepts (e.g., sensors, devices, users, services).
• Basic attributes (e.g., name, identifier).
• Relationships between concepts (e.g., "Services expose
Resources").
• Data exchange rules for smooth interaction across systems.