Unit Ii: Embedded Iot Platform Design Methdology
Unit Ii: Embedded Iot Platform Design Methdology
Embedded IoT
Platform Design
Methdology
Outline
• Purpose and Requirement Specification
• Process Specification
• Domain model specification
• Information Model Specification
• Service specifications
• IoT Level Specifications
• Functional view specification
• Operational View Specification
• Device and Component integration
• Application development
Steps involved in IoT System Design
Methdology
Purpose & Requirements
Define Purpose & Requirements of IoT System
Service Specification
Map Process and information model to services and define service specifications
Application development
Develop applications
Advantages of Using Design
methodology
• Reducing the design, testing and maintenance
time
• Provide better interoperability
• Reduce the complexity
Step 1 : Purpose and Requirement
Specification
Defines
• System purpose
• behavior and
• Requirements (such as data collection
requirements, data analysis requirement,
system management requirements, data
privacy and security requirements, User
interfaces requirements)
Step 1 : Purpose and Requirement
Specification
• Purpose : An automated irrigation mechanism
which turns the pumping motor ON and OFF on
detecting the moisture content of the earth
without the intervention of human
• Behavior : System should monitor the amount of
soil moisture content in soil. In case the soil
moisture of the soil deviates from the specified
range, the watering system is turned ON/OFF. In
case of dry soil, it will activate the irrigation
system, pumping water for watering the plants.
• System Management Requirements : system
should remotely provide monitoring and control
functions
Step 1 : Purpose and Requirement
Specification
• Data Analysis Requirements : system should
perform local analysis of data
• Application Deployment Requirement :
Deployed locally on device, but acts remotely
without manual intervention.
• Security : Authentication to Use the system
must be available
Step 2 : Process Specification
• Define the process with the help of use cases
• The use cases are formally described based on
Purpose & requirement specification
• In this use case :
– Circle denotes a state or an attribute
Step 2 : Process Specification
• Draw the use case
Threshold
• Physical Entity:
– Discreet identifiable entity in physical environment
– For eg. Pump, motor, LCD
– The IoT System provides the information about the physical
entity (using sensors) or performs actuation upon the Physical
entity(like switching a motor on etc.)
– In smart irrigation example, there are three Physical entities
involved :
• Soil (whose moisture content is to be monitored)
• Motor ( to be controlled)
• Pump ( To be controlled)
• Virtual Entity:
– Representation of physical entity in digital world
– For each physical entity there is a virtual entity
Step 3 : Domain Model Specification
• Device:
– Medium for interactions between Physical and
Virtual Entities.
– Devices (Sensors) are used to gather information
from the physical entities
– Devices are used to identify Physical entities
(Using Tags)
– In Smart Irrigation System, device is soil moisture
sensor and buzzer as well as the actuator (relay
switch) attached to it.
Step 3 : Domain Model Specification
• In smart irrigation system there are three services
:
– A service that sets the signal to low/ high depending
upon the threshold value
– A service that sets the motor state on/off
– A controller service that runs and monitors the
threshold value of the moisture and switches the state
of motor on/off depending upon it.
When threshold value is not crossed the controller
retrieves the motor status from database and
switches the motor on/off.
Step 4 : Information Model
Specification
• Defines the structure of all the information in
the IoT system (such as attributes, relations
etc.)
• It does not describe the specifics of how the
information is represented or stored.
• This adds more information to the Virtual
entities by defining their attributes and
relations
• I: e, Draw Class diagram
Step 4 : Information Model
Specification
Virtual Entity: Virtual Entity:
Virtual Entity: Soil Pump Motor
Controller Service
Step 5 : Service Specification
..>Controller Service
Input Has input Has Schedule
schedule
Threshold: Interval : Every 5
High/Low Sec
Service
Name: Controller
Has Output
Type: Native
Output
Motor State:
On/Off
Step 5 : Service Specification
..>Threshold Service
Input Has input Has Endpoint
endpoint Endpoint:/home/
Threshold:
threshold
High/Low
Protocol: HTTP
Service
Name: Threshold
Has Output
Type: REST
Output
Threshold :
Low/High
Step 5 : Service Specification ..>State
Service
Input Has input Has Endpoint
endpoint Endpoint:/home/
State : On/Off state
Protocol: HTTP
Service
Name: State
Has Output
Type: REST
Output
Motor : On/Off
Step 6 : IoT Level Specification
• Decide the
deployment level of
IoT System.
Here I am using
Deployment Level
1.
Step 7 : Functional View Specification
• Define the functions of IoT System grouped
into various functional groups.
• These functional groups provide
functionalities for interacting with the
concepts defined in Domain model
specification.
Step 7 : Functional View
Specification…Drawing Functional Groups
Step 7 : Functional View Specification
…Deployment level to Functional Group Mapping
Step 8 : Operational View
Specification
• Define the Operations/options related to IoT
System development
• Such as Device options, Storage options,
Application hosting option
Step 8 : Operational View Specification of
automated irrigation system
• Application
– Web App : PhP WebApp
– Application Server : Google App engine
– Database Server : MySQL
• Services
• Native : Controller Service
• Web : REST
• Communication
– Communication APIs : REST APIs
– Communication Protocol :
• Link Layer: 802.11
• N/w : IPV6
• Transport : TCP
• Application : HTTP
Step 8 : Operational View Specification of
automated irrigation system
• Management
– Device Management: Arduino device
management
– Application Management : PHP App Management
– Database Management: MySQL Db Mgmt
• Security
• Login Management
Step 9 : Device and Component
Integration
• Integrates the devices and components and
draw a schematic diagram showing the same
Device and Component Integration :
Alternate Diagram
Step 10 : Application development
• GUI / Screenshot of IoT Application
IoT Health Monitoring Application(HMA)
Purpose and Requirement Specification
• Purpose of the Project: The Health
Monitoring System is basically used to
monitor the Patient Body Temperature and
Pulse by respective sensors. This information
is captured and stored, so that the authorized
personnel can view and analyze the Data
remotely at any time.
IoT Health Monitoring Application(HMA)
Purpose and Requirement Specification
• Behavior: The Monitoring is done in real time
to identify the state of the patient. This
information can be used to analyze the state
of a patient or to get sensitive data in order to
be sequentially captured for medical
diagnosis. The system Alarms in Emergency
Situation and notifies the staff and relatives of
the patient.
IoT Health Monitoring Application(HMA)
Purpose and Requirement Specification
• System Management Requirement: The system
provides remote monitoring and control
functions
• Data Analysis Requirement: System allows the
analysis of data and can be visualized in graphical
format.
• Application Deployment Requirement:
Application will be deployed locally on the device,
but can be monitored remotely.
• System Requirements: Only Authorized users can
access and control the Application
IoT Health Monitoring Application(HMA)
Process Specification