CP Unit-1
CP Unit-1
We now have a good grasp of the objectives and principles needed for M2M
and IoT solutions, and we recognize some key capabilities required for these
systems.
Despite this understanding, there is no universally accepted architecture or set
of standards for M2M systems. Various organizations have proposed protocols
and architectures, but no single system is widely acknowledged.
In Europe, there are ongoing research efforts (such as the Internet of Things
European Research Cluster) working towards defining a reference architecture
for IoT. These efforts are diverse due to the wide range of applications and
deployment scenarios.
Because of the variety of applications and scenarios, creating a single
architecture results in many optional and conditional requirements, specific to
different problems or applications.
Despite these challenges, the key features needed for M2M and IoT solutions
can be conceptualized into a functional overview . This overview is not a strict
formal architecture but rather a conceptual one, showing the system capabilities
in a layered manner.
Other common ways to describe an architecture include focusing on software
distribution or network topology. This document, however, discusses the
functional layers and capabilities for brevity, using IoT as a collective term for
both M2M and IoT.
Asset Layer:
Resource Layer:
Communication Layer:
Types of Networks:
WANs can be public (available for general use) or private (dedicated for
specific business purposes).
Communication Technologies:
The Service Support Layer in IoT applications provides support services that
handle common tasks, simplifying processes.
Application Layer:
Business Layer:
This layer offers APIs for others to access data and information.
It also allows users to access applications directly, such as city services for
residents in smart cities and data displays for workers.
1. Asset Layer: This layer includes physical devices like smart thermostats, smart lights, and
security cameras. These are the actual objects that are monitored and controlled in the smart
home.
2. Resource Layer: Here, the smart devices (like thermostats and lights) gather data and
execute tasks. For example, the smart thermostat collects temperature data and can adjust the
heating or cooling based on user preferences.
3. Communication Layer: This layer connects the smart devices to the internet and allows
them to communicate with each other and with external services. For instance, it ensures that
the thermostat can send data to a cloud service or receive commands from a smartphone app.
4. Service Support Layer: This layer provides services like remote management and
automation rules. For example, it might allow homeowners to set schedules for the thermostat
or receive alerts if a security camera detects motion.
5. Data and Information Layer: This layer organizes and processes the data collected from
devices. It might analyze temperature trends over time to suggest energy-saving adjustments
or store data on home security events for future reference.
6. Application Layer: This layer consists of user-facing applications, such as a smartphone app
that allows users to control their smart home devices, monitor energy usage, and receive
alerts.
7. Business Layer: Finally, this layer integrates the smart home system into broader business
processes, like customer support systems for troubleshooting or offering energy-saving tips. It
allows service providers to access data and provide additional services.
In addition to the functional layers, three functional groups cross the different
layers, namely Management, Security, and IoT Data and Services.
Management:
Security:
Security involves protecting the system, its information, and services from
external threats and harm across all layers.
IOT Standards:
The process of creating standards for M2M (Machine-to-Machine) and IoT (Internet of Things) is
complex because it involves many different industries and organizations. These standards help ensure
different devices and systems can work together smoothly. There are three key points to consider:
1. Various Industries and Organizations: Standards are developed by different industries and
organizations, including formal standards bodies and special interest groups. These standards
can be specific to certain fields like healthcare or transportation, and they aim to reduce
technology differences.
2. System and Technology Standards: Some standards cover entire systems (like smart grids),
while others focus on specific technologies (like communication protocols). It's challenging to
integrate different technologies into a single standard.
3. Collaboration and Regulation: Standards are created when researchers and industries
work together, often guided by rules from organizations like the European
Commission. These rules can shape which technologies are chosen. The goal is to
ensure that various technologies can smoothly integrate with one another.
Device Types:
Basic Devices:
o Provide basic services such as sensor readings and actuation tasks.
o Limited support for user interaction.
o Support LAN communication via wired or wireless technology.
o Require a gateway to connect to a Wide Area Network (WAN).
Advanced Devices:
o Host the application logic themselves.
o Have a built-in WAN connection.
o Feature device management capabilities.
o Include an execution environment for hosting multiple
applications.
o Gateway devices typically fall into this category, handling more
complex tasks and reducing the load on basic devices.
Deployment scenarios for devices:
Deployment scenarios for devices vary between basic and advanced categories:
Basic Devices:
Designed for single or multiple tasks (e.g., monitoring air pressure, humidity, and
temperature).
Use low-cost microcontrollers with built-in memory, storage, and sensor ports.
Prioritize low-power consumption, sometimes utilizing energy harvesting.
Communicate via interfaces like SPI, I2C, or UART, with optional encryption.
Lack WAN interfaces, requiring gateways for connectivity.
Run simple operating systems with limited computational power.
Constrained hardware and non-standard software can increase development costs.
Gateways:
A gateway functions as a translator between different protocols
(e.g., IEEE 802.15.4 or IEEE 802.11 to Ethernet or cellular).
Gateways typically perform translation at the physical and link layer, though
application layer gateways (ALGs) are also used, which can add complexity and
errors.
Examples of ALGs include ZigBee gateways that translate ZigBee to SOAP
and IP, or CoAP to HTTP/REST.
For certain LAN technologies (e.g., 802.11, Z-Wave), gateways assist in the
inclusion and exclusion of devices(selecting which devices to add or omit based on
specific criteria,) through activation modes.
Basic gateways prioritize simplicity and low cost, while more advanced
gateways may handle tasks like data management and device management,
often using more powerful hardware with GNU/Linux.
Data Management:
Gateways can run local applications like home alarms or ventilation control to keep things
running smoothly even if the internet goes down, reducing data costs and latency.
An execution environment is needed to manage applications, handling tasks like
installation, updates, and removal.
OSGi is a popular execution environment for embedded systems, using Java bundles to
manage applications securely and allow upgrades without downtime.
Linux can also be used as an execution environment for these tasks.
Security Problems: Greater security risks compared to LAN due to the combination
of multiple technologies.
Need for Firewalls and Antivirus Software: Essential to protect against hackers and
viruses; requires installation of multiple security solutions.
High Setup Cost: Initial setup is expensive, involving the purchase of routers,
switches, and security software.
Server Down and Disconnection Issues: Possible connectivity problems due to ISP
issues, electricity supply, or infrastructure; dedicated lines can help mitigate this.
Internet
Most Big Banks
Airline Companies
Stock Brokerages
Railway Reservations Counters
Satellite Systems
Data Management:
Modern enterprises must be flexible and support decision-making at different levels. To do
this, they need to have critical information available quickly and in the right format.
Big Data: Generates vast amounts of detailed data about device-involved processes.
Heterogeneous Data: Produced by a variety of devices, differing in sampling rate
and quality.
Real-World Data: Relates to real-world processes and depends on the environment.
Real-Time Data: Generated and communicated in real-time, essential for business
value.
Temporal Data: Measures the environment over time.
Security and Privacy: Capturing detailed information can lead to privacy and security
risks.
The data flow from a wireless sensor node to the backend system goes through several
processing stages. These stages modify the data for different applications or analyze it to gain
insights. Different points in the network process the data based on the application's needs.
Handling machine-to-machine (M2M) data involves multiple stages, but not all are needed in
every solution, and their sequence can vary depending on the system and data requirements.
IoT and M2M communication are creating a world where billions of devices communicate
and share information.
This communication will mostly use Internet technologies.
Advanced methods are being developed for complex interactions where devices and
systems work together.
Interaction can happen at two levels:
Devices can use short-range protocols like ZigBee and Bluetooth or long-range ones like
Wi-Fi.
Devices can automatically connect and offer services like REST. Limited devices may
need gateways to communicate. M2M interactions and service-oriented approaches connect
devices through web services, and gateways integrate older systems.
The cloud offers scalability, reduces communication costs, and handles tasks like data
transmission. Separating devices from data usage improves business processes.
Data Overload: Sending all data to backend systems is impractical due to communication
and processing limits.
Minimized Communication: Focus on sending only relevant data to backend systems to
avoid overloading them.
Distributed Processing: Use advanced networks and devices to distribute processing
tasks to the network and edge devices, improving efficiency.
Local Processing: Devices with computing power can process and evaluate data locally
or in clusters, reducing reliance on central servers.
Dynamic Integration: Business processes can dynamically use local resources and adjust
based on requirements and costs for optimal performance.
On-Demand Access: Cloud computing offers easy access to shared resources like
networks, servers, storage, and applications with minimal management.
Essential Features:
Service Models:
Definition: A broad term that encompasses the delivery of various types of services
over the internet. It means providing everything—hardware, software, and
infrastructure—through cloud services instead of traditional methods.
Example: Cloud computing platforms that offer a wide range of services including
computing power, storage, and applications, all accessed and managed online.
Definition: A cloud computing model where software applications are delivered over
the internet. Users access and use these applications through a web browser without
needing to install them locally.
Example: Google Workspace (formerly G Suite) – includes tools like Gmail, Google
Drive, and Google Docs, which users access via a web browser.
Deployment Models: