Introduction to IoT Data
Analytics (Module-I)
By
Dr Shola Usharani
Introduction to IOT solution Models
and Architectures
Taxonomy and reference model of
IOT
• Taxonomy is defined as the abstract level for the collection of
various domains.
▪ Generally the abstract levels are defined as interfaces to the systems
• The reference model will cover the concepts, relationships, axioms
among the entities of one particular context using these
references.
• The required components include performance, security,
functionality, deployment procedures.
Requirements of IoT layered
taxonomy technology
– Bandwidth allocation should be flexible (from very low
to high);
– The devices should perform extremely and cost for
each node should be very low;
– The communication layers should be flexible and
programmable (P2P, local, central);
– Most of the applications are with low latency;
– The reliability of the applications should be extremely
high .
– Need to provide robust privacy and security.
– Meeting the non-functional elements like
sustainability.
Taxonomy of IoT technologies
Requirements of IoT Architectures
• RFID established through various technologies
• Miniaturized objects as sensors to support the
technology as smart.
• The solution of IoT like communication and tagging are
well- developed for manufacturing and logistics.
• Business benefits for tracking asset and supply chain
management.
• same solutions may not applicable to all other solutions.
– Need to consider Interoperable, application area.
• Specify a single design pattern or taxonomy that
satisfies the domains of all applications
• Common ground or an abstract level pattern that
combines many applications need to consider
– That framework is known as reference model
IoT Architecture
Source: https://www.javatpoint.com/iot-architecture-models
• There is not such a unique or standard consensus on the
Internet of Things (IoT) architecture which is
universally defined.
• The IoT architecture differs from their functional area
and their solutions.
• However, the IoT architecture technology mainly
consists of four major components:
• Components of IoT Architecture
– Sensors/Devices
– Gateways and Networks
– Cloud/Management Service Layer
– Application Layer
Stages of IoT Solutions
Architecture
• There are several layers of IoT built upon the
capability and performance of IoT elements
that provides the optimal solution to the
business enterprises and end-users.
• The IoT architecture is a fundamental way to
design the various elements of IoT, so that it
can deliver services over the networks and
serve the needs for the future.
• Following are the primary stages (layers) of
IoT that provides the solution for IoT
architecture.
• Sensors/Actuators: Sensors or Actuators are the devices
that are able to emit, accept and process data over the
network.
• These sensors or actuators may be connected either through
wired or wireless.
• This contains GPS, Electrochemical, Gyroscope, RFID, etc.
• Most of the sensors need connectivity through sensors
gateways.
• The connection of sensors or actuators can be through a
– Local Area Network (LAN) or
– Personal Area Network (PAN). Or
– Body Area Network (BAN)or
– Wide Area network (WAN)
• Gateways and Data Acquisition: As the
large numbers of data are produced by this
sensors and actuators need the high-speed
Gateways and Networks to transfer the data.
• This network can be of type Local Area
Network (LAN such as WiFi, Ethernet, etc.),
Wide Area Network (WAN such as GSM, 5G,
etc.).
• Edge IT: Edge in the IoT Architecture is the hardware and
software gateways that analyze and pre-process the data
before transferring it to the cloud.
– If the data read from the sensors and gateways are not changed
from its previous reading value then it does not transfer over
the cloud, this saves the data used.
• Data center/ Cloud: The Data Center or Cloud comes under
the Management Services which process the information
through analytics, management of device and security
controls.
• Beside this security controls and device management the
cloud transfer the data to the end users application such as
Retail, Healthcare, Emergency, Environment, and Energy, etc.
Various IoT Architectures
• Three Layer Architecture
• Five layer Architecture
• Cloud and Fog Architecture
• Social IoT
Three Layer Architecture
Three Layer Architecture
• Perception layer : It senses the data from the
physical parameters of the sensors. The sensed
information of the environment is gathered from
smart objects.
• Networks layer :It is used for transmitting and
processing the gathered data. It is used for
connecting smart objects, network devices, and
servers.
• Application layer :It is used for providing the
application services that are specific to the user.
It specifies various applications that are deployed
in the IoT environment
Disadvantages
• The three-layered architecture just defines the
basic idea about the IoT, but it does not cover
other aspects of IoT
Five layer Architecture
Five layer Architecture
• Transport layer: The transferring networks include RFID, 3G, LAN,
Wireless, and NFC.
• Processing layer: it is the middle layer among the 5-layer mode
land is also treated as a middleware layer.
– It stores, analyses and processes the large amounts of information
obtaining from the transport layer. It also provides services to the
lower-level layer.
– the processing layer gathers data from the perception or transport
layer and similarly from transport layer to the processing layer.
– It includes technologies like databases, big data processing, and cloud
computing.
• the application layer is used the same as represented in three-
layered architecture.
• Business layer: it manages the entire IoT system. It includes
applications, business models, security and privacy.
Cloud and Fog Architecture
• Applications that need data
processing through a large
centralized cloud computer
where they need scalability
and flexibility.
• offers services like platform
infrastructure, application
software, storage tools, and
data mining tools, machine
learning, and visualization
tools.
• fog based architectures that
include monitoring, pre-
processing, storage, and the
physical, transport layers in
between with security layer.
Cloud and Fog Architecture
– Monitoring Layer :Resources, power, services and
responses are various components processed and
displayed.
– The pre-processing layer: executes various
operations on sensor data like cleaning, processing,
and analytics.
– The temporary storage layer delivers storage jobs
such as data duplication, distribution, and storage.
– Finally, data integrity, privacy and security
components like encryption/decryption are
performed at security layer
Social IoT (SIOT)
• Deals with social relations among different objects. The SIoT is navigable. Here the
navigation starts with one IoT device and that device navigate through all the
devices connected along their way. It identifies new IoT devices and services during
its social network.
• the services and devices few of the main components are considered.
• ID: it uniquely identifies the object or service. This can be MAC ID, IPV6 ID or
Universal Product Code, etc.
• Meta-information: it is other information apart from the ID. It’s about form and
operations. It is required to access the relationship with the device and place it in
the appropriate place.
• Security controls: it is about the access controls, restrictions to be considered
when the device is going to be connected. These are referred to as owner controls.
• Service discovery: storing the directions of devices that are required for certain
kinds of services. To be smarter the devices should learn more about other devices.
So it is important to keep these services up to date.
• Relationship management: it maintains the records of device connections and the
status of device connectivity between devices, and what devices are trying to
connect to which device. For example, if a controller wants to control a light
sensor, the association is maintained in the log of this layer as commands.
• Service composition: this module is responsible for maintaining better integrated
service to users. It adds new level of layer in Social IoT architecture.
Generalised IoT Solution
Model
Issues & challenges of IoT
Issues
• Security
• Privacy
• Interoperability and Standards (data
modelling).
• Legal, Regulatory and Rights
• Emerging economics and development
Understanding Real world problems
• Smart Cities asks for water leak, street faults,
broken street lights, and potholes.
• Need a good communication and interaction
channel between citizens and the
administration in improving the quality of
urban life of citizen
• Solution
– best practices of linking open data to describe all
issues, and then integrate them in the dataset
Need of Data Modelling for IoT
Solutions
• IoT opportunities in various categories ranging from
consumer home need applications to industry based
applications
– Home automation, factory, personal monitoring, health and
fitness, smart city.
• Causing connectivity of billions of newly connected devices,
need to handle the data connected virtually and physically
• Need to find ways to connect, manage, analyse and to
share the data with different organizations.
• Distribution of data management due to heterogeneous of
systems.
– Heterogeneity introduces challenges of data interoperability for
interchanging the data between devices , sensors of various
vendors and between supply chain partners etc.,
Advantages of Data modelling
• Offers an approach which could more
efficiently describe, interpret, analyze and
share data among heterogeneous IoT
applications and devices
• It helps to learn, optimize processes and
understand the hidden rules of our world
• It helps in obtain knowledge/insights beyond
the original applications
Examples of data API models
• Smart Appliances REFerence provides a shared model for
home appliances.
• Open Geospatial Consortium for geosciences and
environment domains.
• The Open Connectivity Foundation specifies data models
based on vertical industries such as automotive,
healthcare, industrial and the smart home.
• The World Wide Web Consortium Thing description
provides some vocabularies to describe physical things.
• Schema.org operates as a collaborative community and it
aims to provide more general and broad vocabularies and
schemas for structured data on the internet
Data Model provides standardization
• It is to create a body of maximally reusable
standards to enable IoT applications across
different verticals
• Future research works in IoT data modelling
– To manage data models across application verticals
and domains sets the stage for the next phase of the
IoT industry’s growth
Models applied in IoT Solutions
• Semantic data modelling
– RDF graph representation
– Ontology structure
• Information modelling
Semantic Web is the way of
understanding the IoT data that
connecting the Real World
SEMANTIC DATA MODEL
• It is a conceptual model in which semantic information is
included. This means that the model describes the meaning
of its instances.
– semantic data model is an abstraction that defines how the
stored symbols (the instance data) relate to the real world.
• It is a the capability to express and exchange information
which enables parties to interpret meaning (semantics)
from the instances, without the need to know the meta-
model.
• It provides the relations between data elements, whereas
higher order relations are expressed as collections of binary
relations.
• include the kinds of relationships between the various data
elements, such as <is located in>
– For example: the Eiffel Tower <is located in> Paris.
Semantic models for IoT
• Data models and semantics are a key aspect
for the data in cross-domain applications and
to obtain knowledge/insights beyond the
original applications.
• Links the data to describe the issues involved
in the system
• Provides integrating the data into the data set.
– Examples : Dbpedia,Geonames and FreeBase
Contd.,
• semantic data model as a conceptual
diagram the data as it relates to the real
world.
Semantic Data Model Example
• Generating next-generation music app
– Show the relationships between all parts of the
music database.
– Need to create a data base that stores data about
topics like artists, albums and songs
– Should be understand by techie and non-techie
guys What did you
understand from
this?
DBpedia
• DBpedia is to extract structured content from the
information created in various Wikimedia projects
– Data model foer Wikimedia projects.
• It is available as an open knowledge graph
(OKG) which is available for everyone on the Web.
– A knowledge graph is a special kind of database
which stores knowledge in a machine-readable form
and provides a means for information to be collected,
organized, shared, searched and utilized.
• This structured information is then made available on
the World Wide Web by using a package of APIs 6
Various types of data models
Readable data structures
• Tells how to convert the real word data into structured format.
• Principles to follow to share the machine readable IoT data on Web.
• OGD (Open Government Data)
– is a philosophy- and increasingly a set of policies - that promotes
transparency, accountability and value creation by making government
data available to all
• LOD(Linked open Data)
– is a set of design principles for sharing machine-readable
interlinked data on the Web
– a best practice of promoting the sharing and publication of structured
data on the semantic Web
• RDF (Resource Description Framework)
– RDF→publishing the data set (ontology structure as
DBPedia,Geonames and Freebase)
Resource Description Framework(RDF)
• RDF is a framework for describing resources on the web
• RDF is designed to be read and understood by computers
• RDF is not designed for being displayed to people
• RDF is written in XML
• RDF is a part of the W3C's Semantic Web Activity
– Describing properties for shopping items, such as price and
availability
– Describing time schedules for web events
– Describing information about web pages (content, author,
created and modified date)
– Describing content and rating for web pictures
RDF
• The semantic web is based on the use of the RDF
framework to organize information based on
meanings.
• RDF statements express relationships between
resources, such as the following:
• documents
• physical objects
• people
• abstract concepts
• data objects
• A collection of RDF statements about related entities
can be used to construct an RDF graph that shows
how those entities are related.
Contd.,
• RDF is a standard way to make statements about
resources. An RDF statement consists of three
components, referred to as a triple:
1. Subject is a resource being described by the
triple.
2. Predicate describes the relationship between the
subject and the object.
3. Object is a resource that is related to the subject.
• The subject and object are nodes that represent
things. The predicate is an arc, because it
represents the relationship between the nodes
Components of RDF graph
Various forms of RDF statements
• The World Wide Web Consortium (W3C)
maintains the standards for RDF, including
the foundational concepts, semantics and
specifications for different formats.
• The first syntax defined for RDF was based
on the Extensible Markup Language (XML).
• Other syntaxes are now more commonly
used, including Terse RDF Triple Language
(Turtle), JavaScript Object Notation for
Linked Data (JSON-LD) and N-Triples.
How RDFS used
• RDF statements can be incorporated
into Hypertext Markup
Language webpages or stored in separate
files and linked to data in web content.
• When RDF was first specified, RDF
statements were incorporated into XML
documents linked with web content
RDF Statement
• The combination of a Resource, a Property, and a
Property value forms Statement (known as
the subject, predicate and object of a
Statement).
• Statement: "The author of
https://www.w3schools.com/rdf is Jan Egil
Refsnes".
– The subject of the statement above is:
https://www.w3schools.com/rdf
– The predicate is: author
– The object is: Jan Egil Refsnes
RDF and "The Semantic Web"
• RDF uses Web identifiers (URIs) to identify
resources.
• RDF describes resources with properties and
property values.
– A Resource is anything that can have a URI, such as
"https://www.w3schools.com/rdf"
– A Property is a Resource that has a name, such as
"author" or "homepage"
– A Property value is the value of a Property, such as
"Jan Egil Refsnes" or "https://www.w3schools.com"
(note that a property value can be another resource)
Creating structure based on RDF
statement
• <?xml version="1.0"?>
<RDF>
<Description about="https://www.w3schools
.com/rdf">
<author>Jan Egil Refsnes</author>
<homepage>https://www.w3schools.com</
homepage>
</Description>
</RDF>
More on RDF
• https://www.techtarget.com/searchapparchit
ecture/definition/Resource-Description-
Framework-RDF
Ontology
• representation of terms and their
interrelationships is called an ontology.
• more facilities for expressing meaning and
semantics
OWL
• OWL Web Ontology Language.
• OWL is intended to be used when the
information contained in documents needs to be
processed by applications, as opposed to
situations where the content only needs to be
presented to humans.
• OWL can be used to explicitly represent the
meaning of terms in vocabularies and the
relationships between those terms
• OWL has more facilities for expressing meaning
and semantics than XML, RDF, and RDF-S
Various ontology structures
• M3-Lite
• W3C SSN
• oneM2M Ontology SAREF Ontology
• SAREF Ontology
• FIWARE and ETSI ISG CIM
• OMA LwM2M and IPSO smart Objects
Application of semantic models
• Smart city data integration
– the standardization and data modelling actions
that are working towards defining a common
semantic descriptions for smart city data to
enable cross-domain and advanced services
development in smart cities
– Detecting the fault raised by the citizens
• semantic data model for managing and resolving the
problems that exist in cities as water leak, street faults,
broken street lights, and potholes
Steps
• Obtaining the data in XML
• Transforming the information into RDF from
XML
• Constructing the ontology structure or RDF
graph from the RDF data
• Saving the data into database
HTML Input
Data of RDF to DBPedia
Ontology structure
Information modelling
Introduction
• Information Model provides the framework for
organizing your content so that it can be
delivered and reused in a variety of innovative
ways.
• It allows labelling of your repository to enhance
the search and retrieval of the information.
• Easily accessible the information.
• The Information Model is the content-
management tool.
Why we need information model
• solves the problems described when it is designed in
the context of a content-management system
• The model labels information according to the ways it
will be accessed
• the framework needed to make information accessible
to experienced and inexperienced seekers
• It reduces frustration and enhances productivity.
– It means that people spend less time searching and more
time using information resources
• Repeatability is reduced
– It helps to ensure that resources are not rewritten or
recreated
Example without modelled web page
• You can't tell how to get from the home page to the
information you're looking for.
• on click on a promising link and are unpleasantly
surprised at what turns up.
• You keep drilling down into the information layer after
layer until you realize you're getting farther away from
your goal rather than closer.
• Every time you try to start over from the home page,
you end up in the same wrong place.
• You scroll through a long alphabetic list of all the
articles ever written on a particular subject with only
the title to guide you.
Example with information modelled
web page
• On the home page, you notice promising links
right away.
• Two or three clicks get you to exactly what you
wanted.
• The information seems designed just for you
because someone has anticipated your needs.
• You can read a little or ask for more – the cross-
references are in the right places.
• Right away you feel that you're on familiar
ground – similar types of information start
looking the same.
Construction of Information models
• Static Information models
• Dynamic Information models
Static Information models
• To construct Information
Mode in one particular
logical use format.
– hierarchical arrangement
used in a file-management
system
– Functional departments
within companies
• categories such as employee
benefits, employee
demographic information, and
so on.
• The electronic filing system
Dynamic Information Models
• Changes in response to the needs of the users
– Example : an online library “patron” would
rearrange itself in response to a particular set of
needs.
• Let's say that a patron wants to “find not only all the
books written by Steven King but also all the books
and articles written about Steven King”.
• In addition, the patron would like to know “more about
mystery and horror writers in the second half of the
twentieth century living in North America or in the
United Kingdo”.
Information modelling languages
• ER
– ER_Diagram_MMORPG(Information modeling).svg
• Semantic modelling techniques
• Unified Modelling language
Building information modelling (BIM)
• It is a process supported by various tools, technologies and
contracts involving the generation and management of
digital representations of data of physical and functional
characteristics of places and buildings.
• Building information models (BIMs) are computer files not
in proprietary formats and containing proprietary data
which can be extracted, exchanged or networked to
support decision-making regarding a built asset.
• BIM software is used by individuals, businesses and
government agencies who plan, design ,construct, operate
and maintain buildings and diverse physical
infrastructures, such as water, refuse, electricity, gas,
communication utilities, roads, railways, bridges, ports
and tunnels.
Advantages of BIM
• software tools developed for modelling building or
Building Description System
• Interoperability and BIM standards
– BIM software developers have created proprietary data
structures in their software, data and files created by one
vendor's applications may not work in other vendor
solutions. To achieve interoperability between
applications, neutral, non-proprietary or open standards
for sharing BIM data among different software applications
have been developed.
– BIM is often associated with Industry foundation classes
(IFCs) and secXML – data structures for representing
information – developed by buildingSMAR.
– IFC is recognized by the ISO and has been an official
international standard, ISO 16739.
IoT System Design Methodology for
data (Information modelling process)
Home automation system
• A home automation system, allowing and
controlling of lights through an web based
application. It two types of modes Auto mode
and Manual mode to control the operation of
lights
Purpose & Requirements Specification
Purpose, behaviour and requirements like data collection, data
analysis, system management requirements
• Purpose: for home automation system, allowing and controlling of
lights through an web based application.
• Behaviour: two types of modes
– Auto mode : measures the light level in the room and switches
ON/OFF the light
– Manual mode : provides option of manual or through remotely.
• System Management Requirements
– Provision of control operations and remote monitoring.
• Data Analysis Requirement
– Analysis of data locally.
• Application deployment requirement
– Application is deployed locally but accessed remotely.
• Security Requirement
• Use authentication capability.
Process Specification
• Defining the use cases based on step1
• Process representation using flow diagrams.
• Various symbols:
– Circle : about start of the process
– Decision box
– Rectangle : state or attributes.
Process specification for home
automation IoT system
Domain Model Specification
• It represents the main concepts, entities and objects in
the IoT system.
• It is independent of technology and platform.
• Defines the attributes of objects, relationship between
objects
• It is an abstract representation of the concepts, objects
and entities.
– Physical Entity
– Virtual Entity
– Device
– Resource
– Service
Domain Model Specification
• Physical Entity
• Discrete and identifiable entity of physical environment
– Home automation system physical entities like room and light appliance.
• Virtual Entity
• Representing the digital form of physical entity.
• For each physical entity there was one virtual entity in the model.
• Virtual entity for room is monitoring and for appliances is controller.
• Device
• Interaction between physical entity and virtual entity.
• Devices for gathering the information about physical entities
• For home automation system mini computer is attached with light sensor and actuator.
• Resource
• Software component information for on-devices and network resources.
– The software for on devices will provide the information of the physical entity once it is actuated
upon.
– Similarly the software enables the network resources like databases.
• For home automation system, the operating system is a software component that runs on the
mini computer.
• Service
• An interface for interacting with physical entity.
• The service access the resource hosted on the device or the network resource to obtain
information about the physical entity or perform actuation upon physical entity.
Domain Model for Home automation
IoT System
Information Model Specification
• The structure of all information in the IoT
System like attributes, virtual entities,
relations etc.,
• It adds more details to the virtual entities
through their attributes and operations.
Information Model for Home
automation IoT System
Service Specification
• Specifications about services like service
schedules, service preconditions and service
effects.
• From process specifications and information
model states and attributes are identified.
• For Each state and attribute a service will be
defined.
Service Specification for Home
automation IoT System
Mode
service
State
service
controller
service
IoT Level specification
Function level specification
• About the functions of IoT system grouped into various functional groups(FG).
• Each FG provides functionalities to interact with the instances of concepts defined
in Domain model or provides information related to the concepts.
• FG are
– Device
• Contains devices for monitoring and control.
• For home automation system single board mini-computer, light and a relay switch.
– Communication
• Communication of IoT system like communication protocols that enables network connectivity.
• Communication APIs
– Services
• Various services for device monitoring, device control service, data publishing and service discovery
services.
• REST and native services used for home automation system.
– Management
• Functionalities required for authentication and manage the IOT system.
– Security
• Security like authentication, data security and authorization.
– Application
Function level specification for home
automation system
Operational view specification
• Options for pertaining to IoT system deployment and operation
– Service hosting options, storage options, device options, application
hosting options etc.,
• Devices: computing device (Rasberry Pi),light dependent sensor.
Communication APIs, REST API & Communication Protocols: Link
Layer-802.11, Network Layer-IPV4/IPv6,
• Services
– Control services : Hosted on devices implemented in Python and run
as a native service.
– Mode services
– State service:
• Applications
• Security
• Management
Operational view specification for
home automation IoT system
Device & component integration
Application Development
example
• Implementing a Smart Water Leakage
Detection and Management System using IoT
technology can significantly improve the city's
water infrastructure efficiency.
– Uses water leak identification & Controlling
– Indicating about location coordinate
References
• https://internetofthingsagenda.techtarget.com/blog/IoT-
Agenda/Emerging-frameworks-for-cross-silo-IoT-data-models
• https://www.w3schools.com/xml/xml_rdf.asp#:~:text=RDF%20stan
ds%20for%20Resource%20Description,RDF%20is%20written%20in
%20XML.
• OWL Web Ontology Language Overview (w3.org)
• https://en.wikipedia.org/wiki/Information_model
• https://en.wikipedia.org/wiki/Building_information_modeling
• https://gilbane.com/artpdf/GR10.1.pdf/What_is_an_Information_
Model__Why_do_You_Need_One.html.
• https://www.guru99.com/data-modelling-conceptual-logical.html
• https://afteracademy.com/blog/what-is-data-model-in-dbms-and-
what-are-its-types