Chapter 7
Chapter 7
26 October 2015
Chapter 7
IoT Applications
Chapter 7
IoT Services Platform Area of Focus
IoT Network
IoT Gateway
IoT Devices
IoT Applications
IoT Service
IoT Services Platform Platform
Functions
IoT Network
IoT Devices
API Manager
• IoT device Registration is the process of delivering device info to the Management Entity in order
for IoT devices to communicate and exchange information.
• Most IoT devices will be identified and tracked by their IP addresses but not always.
• IoT devices must have the capability to register to an associated Platform Manager.
• This procedure may be self-registration (preferred solution) where a new IoT device identifies itself
to the management entity as soon as it joins the network, or discovery-based registration where a
device identifies itself during the discovery process.
• The registration requirements must be addressed in all IoT domains, i.e.
• Ability for new sensors and actuators to register themselves with their associated gateways.
• Ability for new gateways to register themselves with their associated Platform Manager
entities.
• Ability for Platform Managers to register themselves with a super (or another) Platform
Manager(s) as defined by the network administrator.
Discovery Request: Assume the IP Address of the Management Server is 192.15.10.5. Also assume the
Management Server is interested in discovering sensors within 500 meters from the location of
(37.76724070774898, -122.37890839576721) GPS Coordinates. The management server will send a CoAP GET
request to
Coap://192.15.10.5:5784/.well-known/core?
& ro=SSN-XG-IRI&sd=yyyyyy=&at30004&lg=-122.37890839576721
<=37.76724070774898&md=500&st=2&sr=70
Discovery Reply: Upon receiving the request, the CoAP server will start a matching process comparing the request
with all stored information in its local data store. Let’s assume that the returned set consists of two sensors matching
the request. The CoAP server response payload will be:
Note: (37.76724070774898, -122.37890839576721) are the GPS Coordinate for a northern California area .
© 2017 Copyright . All rights reserved. 15
Summary of IoT Registration & Discovery Requirements Chapter 7
The process of delivering IoT device Ability for IoT device (sensors,
information (sensors, actuators, actuators, gateways and IoT
gateways and IoT entities) to the entities) to register with their
Management Entity in order for IoT associated gateways
Registration devices to communicate and exchange
information.
Note: YANG is a tree-structured data modeling language (defined by IETF) used to model
configuration and state data. © 2017 Copyright . All rights reserved. 17
Chapter 7
3. Communication Manager
• Ability to provide a global view of the state of the entire underlying platform network.
• Ability to determine the optimal time to establish the communication connection to deliver
information between at least two platform entities. Such decision is based on the source delivery
request as well as traffic / congestion control optimization techniques within the platform. Data
may be stored / buffered for future delivery time per the provisioned Communication Manager
policies.
• Ability to deliver required information within the delivery request time.
• Ability to publish its own polices to external systems.
• Ability to provide information to external systems to drive policies describing details of the usage
of network resources (i.e. 5% of bandwidth on link X at time T was utilized for service Y).
• Ability to communicate, select paths for a given amount of time and manage buffers based on
communication manager polices. © 2017 Copyright . All rights reserved. 18
Chapter 7
4. Data Management and Repository
Collecting, storing and exchanging information among various platform entities, is one
of the key requirements for the IoT Service Platform. Data Storage and Mediation
functionalities must include:
• Data Retrieval: Data may be retrieved from various sources including IoT devices (e.g. sensors
and getaways), IoT network elements (e.g. super-gateways and switches), IoT subscribers or
IoT applications. IoT device and network element data is assumed to be collected by collection
systems or by collection agents.
• Data Aggregation: Data aggregation implies grouping data from similar or diverse sources for
further processes. Typically, data from various IoT sources need to be grouped together based
on a well-defined data model (e.g. physical locations, device types, subscribers with their
assigned devices, etc.). The aggregation syntax should be defined by the data model. Also, data
from multiple data collection systems (for the same IoT entity) need to be filtered and
aggregated accordingly.
• Data Parsing: Data parsing normally implies reading the data, using software, and extracting
useful information. Stages of data parsing are hard to define without a concrete use-case but
typically include running code to extract specific parameters and writing the extracted data to a
database.
© 2017 Copyright . All rights reserved. 19
Chapter 7
4. Data Management and Repository (Con’t)
• Data Storing: The Data Storage and Mediation Function supports taking data from various
sources and storing it based on predefined policy.
• Raw data, aggregated data and parsed data may be stored with different polices (e.g.
store raw data for 6 months, store parsed data for 2 years).
• Associated contextual information is also stored with the data.
• Examples of contextual information include: data type (e.g. Temperature), data format (e.g.
-100 C to +100 C) data source (e.g. Sensor ID and Associated Gateway ID), retrieval time
and date (e.g. 03:45:00 PM EST on 12/12/2016), retrieval location (e.g. lg=-
122.37890839576721; lt=37.76724070774898).
• Access to data based on defined access control policy: The Data Storage and Mediation
needs to have the capability of providing local or remote data access based on a well-defined
access control policy. The policy, which is typically defined by the network administrator, needs
to capture what types of functions a specific user or application can perform on the data (read-
only write-only, read/write). The policy may include temporal access restrictions, and may be
role-based (e.g. administrator vs. user, etc.).
IoT Sensor
• Fault Detection is the process of identifying error (or potential error) of an IoT element, often by
using collected statistics.
• Collected data/ statistics may be time-based (e.g. collected from an IoT element by the fault manager
function every t seconds) or event-based (e.g. IoT element notifies the fault manager only if
predefined fault-related conditions are met). Advantages?
• When a fault or event occurs in the event-based case, an IoT element will send an alarm or
notification to the fault manger (and often notify the network administrator) immediately.
• An alarm is a persistent indication of a fault that clears only when the triggering condition has been
resolved. © 2017 Copyright . All rights reserved. 27
Chapter 7
5. Element Manager Functions
B. Fault Management (Con’t) - Example
• An example of fault-related data is the Simple Network Management Protocol (SNMP) Entity
Sensor Management Information Base (MIB) as described by IETF RFC 3433.
• The Entity Sensor MIB provides generalized access to information related to sensors (see
Table next slide). One of the key variables of the Entity Sensor MIB is “Entity Sensor Status”
with three defined possible values:
- Entity Sensor Status = 1: the sensor data value can be obtained (normal operation)
- Entity Sensor Status = 2: the sensor data value is unavailable (operational but no
data was collected)
- Entity Sensor Status = 3: the sensor is broken and cannot collect data (failure).
- Once the failure status is received by the element manager (or network administrator)
needs to investigate the issue further to determine if the failure is due to disconnected
wire, out-of-range, or something else.
• Fault detection will be triggered if the value of “Entity Sensor Status” variable is 3.
1. What to measure? Determining what to measure is the most critical question for IoT
management. Smart performance algorithms are useless unless required measurements that
drive such algorithms can be collected.
• In Chapter 3 (Things in IoT), we have identified over a dozen sensor types. Knowing that these sensors
are performing correctly is important. Key sensor performance measures include:
• Operating range of Input-to-output signals
• Acceptable noise level produced by sensors
• Acceptable resolution and acceptable response time to instantaneous change in input signal.
• Examples of Perf Measures:
• Device utilization (based on available bandwidth and capacity),
• End-to-end delay and jitter
• Packet lost ratios, packet error rates, and parameters that impact services carried on the network.
2. Where to measure? Theoretically performance should be measured through the network at all
time. Practically, performance should be measured at least between the network end points
where the service is delivered. E.g. sensor to gateway, gateway to platform and platform to
application.
© 2017 Copyright . All rights reserved. 35
3. How to measure & Construct QoS and GoS measures to perform the actual minoring?
Chapter 7