Iiot Notes
Iiot Notes
● The gateways assigned with prefixes are immune to changes of network prefixes.
● The address of the nodes within the gateways remain unchanged as the
gateways provide them with locally unique address
● tunneling, where the nodes communicate to a remote anchor point instead of channeling
their packets through router
● Multi-homing => A node/network connected to multiple networks for improved reliability.
● proxy based approach is used to manage multiple IP addresses and map them to link
local addresses
● The IPv4 emphasizes more on reliable transmission and IPv6 it mainly focuses
on the addressing part of the source and destination.
● Sensor = > A device which detects or measures a physical property and records,
indicates, or otherwise responds to it.The more is the resolution of a sensor, the more
accurate is its
precision.
● Transducers convert energy of one kind into another.
● Actuators which can be used to switch voltages or currents
● Analogous sensor produce continuous signal and digital sensor produce discrete signal.
● Scalar Sensors produce output signal or voltage which is generally
proportional to the magnitude of the quantity being measured.
● Vector Sensors produce output signal or voltage which is generally
proportional to the magnitude, direction, as well as the orientation
of the quantity being measured.
● An actuator is a component of a machine or system that
moves or controls the mechanism or the system.
Actuator types = > Hydraulic,Pneumatic,Electrical,Thermal/ Magnetic,Mechanical
Week 2
Addressing in 6LoWPAN
● 64 bit addresser-> globally unique and 16 bit addresser-> Pan specific.
● Routing protocol use = > LOADng and RPL
● LOADng = Generation of Route Requests (RREQs) and Route Replies (RREPs) and
If a route is detected to be broken, a Route Error (RERR) message is
Returned to the originator.Uses AODV.
● Optimized flooding is supported, reducing the overhead incurred by RREQ generation
and flooding.
RPL Routing
● Distance Vector IPv6 routing protocol for lossy and low power
Networks. Proactive: Maintaining routing topology. And Reactive: Resolving routing
inconsistencies.
RFID(“radio‐frequency identification”)
● Derived from Automatic Identification and Data Capture (AIDC) technology.
● AIDC performs object identification, object data collection and mapping of the collected
data to computer systems with little or no human intervention.
● Connectivity (6LowPAN, RPL)
● Identification (EPC, uCode, IPv6, URIs)
● Communication / Transport (WiFi, Bluetooth, LPWAN)
● Discovery (Physical Web, mDNS, DNS‐SD)
● Data Protocols (MQTT, CoAP, AMQP, Websocket, Node)
● Device Management (TR‐069, OMA‐DM)
● Semantic (JSON‐LD, Web Thing Model)
● Multi‐layer Frameworks (Alljoyn, IoTivity, Weave, Homekit)
SMQTT(Secure MQTT)
● uses encryption based on lightweight attribute based encryption.
● the algorithm consists of four main stages: setup, encryption, publish and decryption.
CoAP(Constrained Application Protocol)
● Web transfer protocol for use with constrained nodes and networks.
● Machine to Machine (M2M) applications such as smart energy and building automation.
● Request‐Response model between end‐points.
● CoAP is designed to enable low‐power sensors and build over UDP.
● It has four messaging modes: Confirmable, Non-Confirmable,Piggyback,Separate
● Piggback for direct communication and separate => server response from separate msg.
●
● Components - Exchange->Part of Broker. Receives message and routes them to queue
Queue ->separate queue for separate business and consumer receive msg from queue.
Binding -> Rules for distributing message.
● AMQP Exchanges => Direct, Fan‐out, Topic, Header
IEEE 802.15.4
● Uses direct sequence spread spectrum (DSSS) modulation.
Zigbee
● types=> Zigbee router and Zigbee end device.
Week 3
HART( Highway Adress Remote Transducer)
● HART standard was developed for networked smart field devices. It consist of
physical,data link,Network,Transport,Application. It is of two types wired and unwired
and wired hart lack network layer.
● Hart Physical Layer => It operates only in the 2.4 GHz ISM band.
● HART Data Link Layer=>Collision free and deterministic communication
achieved by means of super‐frames and TDMA.Super‐frames consist of
grouped 10ms wide timeslots.This layer incorporates channel hopping and
channel blacklisting to increase reliability and security.
=> Channel blacklisting identifies channels consistently affected by
interference and removes them from use.
● HART Network & Transport Layers=> handle various types of traffic, routing,
session creation, and security.WirelessHART relies on Mesh networking for its
communication.Network layer (HART)=Network + Transport+ Session layers
● HART Application Layer => communication between gateways and devices via
command and respond msg.Responsible for extracting commands from
msg,executing and generating response.
COVERAGE
Two types of reporting
event driven => e.g. forest fire monitoring
on demand => e.g. inventory control system
The coverage algorithm
Distributed: Nodes compute their position by communicating with their neighbors only.
Centralized: Data collected at central point and global map computed.
Localized: Localized algorithms are a special type of distributed algorithms where only
Week 7
Components/Attributes of SDN
Hardware switches
Controller
Applications
Flow-Rules
Application programming interfaces (APIs)
Fast processing is done using TCAM at the switches.
Hard timeout
-All rules are deleted from the switch at hard timeout.
-This can used to reset the switch
Soft timeout
-If NO flow is received associated with a rule for a particular time, the rule is deleted.
-This is used to empty the rule-space by deleting an unused rule.
APIs in SDN
Southbound API
Used to communicate between control layer and infrastructure layer.
OpenFlow protocol is used.
Northbound API
Used to communicate between control layer and application layer.
Standard APIs are used.
East-Westbound APIs
Used to communicate among multiple controllers in the control layer.
Control Mechanisms
Distributed
The control decisions can be taken in a distributed manner
Ex: each subnetwork is controlled by different controller
Centralized
The control decisions are taken in a centralized manner.
Ex: A network is controlled by a single controller.
SDN is not overflow
OpenFlow Switch Software
Mininet
Used to create a virtual network with OpenFlow-enabled switches
Based on Python language
Supports remote and local controller.
Challenges
Real-time programming of sensor nodes
Vendor-specific architecture
Resource constrained – heavy computation cannot be performed
Limited memory – cannot insert too many control programs
Week 8
Rule placement at access device
Approaches
ODIN=>An agent is placed at access points to communicate with controller .Odin master–
placed with the physical devices. Odin agent - placed with controller.
Ubi-Flow
Mobi-Flow
Application level security => Both CSP and the customer are responsible for security at
application level
Cloud Simulators
Week 9
Horizon Components
Keystone
Identity service
Provides authentication and authorization
Horizon
Dashboard
GUI of the software
Provides overview of the other components
Nova
Compute service
Where you launce your instances
Glance
Image service
Discovering, registering, retrieving the VM
Snapshot
Swift
Object storage
Helps in storing data safely, cheaply and efficiently
Neutron
Provides networking service
Enables the other services to communicate with each other
Make your own network
Cinder
Block storage
Virtualizes the management of block service
Heat
Orchestration
Ceilometer
Billing
What service you are using
How long are you using
Transmit the sensed data (through wireless communication) to a centralized unit, commonly
known sink node.
Actors in Sensor-cloud
● End ‐users
Enjoy Se‐aaS through applications as per the requirements.
Unknown about what and which physical sensor is/are allocated to serve the
application
● Sensor‐owner
Plays a role from business perspective.
They purchase physical sensor devices, deployed over different geographical
locations, and lend these devices to the sensor‐cloud
● Sensor
Week 10
HAN Standards
● Universal Plug and Play (UPnP)
● Digital Living Network Alliance(DLNA) => Trade organization created by Sony, Intel, and
Microsoft.Connects cable-based networks with wireless networks for increased sharing
of media, control and access.
● Konnex (KNX): an open important standard for home and building networks.Utilizes the
full range of home communication infrastructure –Power lines, coaxial cables, twisted
pair, RF, etc.
● Local Operation Networks (LonWorks).Every device includes a Neuron Chip, a
transceiver and the application electronics.
● Zigbee consists of four layers – Physical,Medium Access Control, Network, and
Application. ZigBee Alliance is composed of Mitsubishi, Honeywell, Invensys, Motorola
and Philips
● X-10 enables remote control of compliant transmitters and receivers over power lines
and electrical wirings present in the house. Adopted by GE and Philips.
●