Module 3_IoT Processing topologies
Module 3_IoT Processing topologies
Offloading.
Reference
Textbook 1: Chapters 6 – 6.1 to 6.5
Learning Outcomes
• The Internet is a vast space where huge quantities and varieties of data are generated
regularly and flow freely.
• As of January 2018 (5.52 billion internet users worldwide, representing about
67.1% of the global population.), there are a reported 4.021 billion Internet users
worldwide.
• The massive volume of data generated by this huge number of users is further
and automated monitoring systems further add to the data load on the Internet.
Data Format
Data can be broadly grouped into two types based on how they can be
1. Structured data
2. Unstructured data.
Data Format
1. Structured data
• Structured data are associated with relational database management systems (RDBMS).
• Primarily created by using length-limited data fields such as phone numbers, social security numbers, etc.
• Even if the data is human or machine-generated, these data are easily searchable by querying algorithms
• Common usage of this type of data is associated with flight or train reservation systems, banking systems,
• Established languages such as Structured Query Language (SQL) are used to access these data in
RDBMS.
• In the context of IoT, structured data holds a minor share of the total generated data over the Internet.
Data Format
2. Un Structured data
• All the data on the Internet, which is not structured, is categorized as unstructured.
• These data types have no pre-defined structure and can vary according to applications and data-
generating sources.
Example
• Human-generated unstructured data include text, e-mails, videos, images, phone recordings, and
chats. etc.
• Machine-generated unstructured data include sensor data from traffic, buildings, industries,
satellites, imagery, surveillance videos etc.
• This data type does not have fixed formats, which makes it very difficult for querying
algorithms to perform a look-up.
• Querying languages such as NoSQL are generally used for this data type.
Importance of Processing in IoT
• The vast amount and types of data flowing through the Internet necessitate intelligent and
The data to be processed is categorized into three types based on the urgency of
processing:
1) Very time-critical
2) Time Critical
3) Normal
Importance of Processing in IoT
Very Time-Critical:
Example:
Time-Critical:
Normal:
Data that can be processed later without immediate
impact.
Example:
A smart fridge analyzing weekly usage patterns to
suggest groceries.
Why: There's no urgency to process this data in
real-time. It can happen overnight or during low
activity times.
Importance of Processing in IoT
Example
Very time-critical: Flight control data, healthcare etc.
Few seconds.
urgently.
Processing Topologies
IoT (Internet of Things) processing, topology refers to the arrangement or
structure of interconnected devices, sensors, gateways, and systems within an IoT
network.
It defines how data flows between these components and influences the system's
performance, reliability, and scalability.
Choosing an IoT Topology: The choice depends on factors like:
Scalability requirements.
Data processing needs.
Latency tolerance.
Fault tolerance.
Processing Topologies
application are one of the crucial steps in deciding the architecture of the
deployment.
The various processing solutions are categorized into two large topologies:
1. On-site
2. Off-site
a. Remote processing
b. Collaborative processing
Processing Topologies
On-site processing
The on-site processing topology signifies that the data is processed at the source
itself.
Very time-critical applications that have a very low tolerance for latencies.
Applications associated with healthcare and flight control systems (real-time
systems) have a quick data generation rate.
These show rapid temporal (time) changes, which leads to catastrophic damages if
missed.
The processing infrastructure should be fast and robust enough to handle such
data.
Processing Topologies
On-site processing
It encompasses sensing data by various sensor nodes; the data is then forwarded to a remote server or a cloud-
The processing of data from hundreds and thousands of sensor nodes can be simultaneously offloaded to a
This results in massive cost and energy savings by enabling the reuse and reallocation of the same processing
resource.
Enabling the deployment of smaller and simpler processing nodes at the site of deployment.
Processing Topologies
Off-site processing
Remote Processing
Where the sensing of an event is performed locally, and the decision-making is outsourced
However, this paradigm tends to use up a lot of network bandwidth and relies heavily on the
presence of network connectivity between the sensor nodes and the remote processing
infrastructure.
Processing Topologies
Off-site processing
Collaborative processing
This processing topology is used in scenarios with limited or no network connectivity, especially systems
lacking a network.
This topology is quite economical for large-scale deployments spread over vast areas, where providing
In such scenarios, the solution is to club together the processing power of nearby processing nodes and
This approach also reduces latencies due to the transfer of data over the network.
Additionally, it conserves the bandwidth of the network, especially ones connecting to the Internet.
Processing Topologies
Off-site processing
Collaborative processing
Fig: Event detection using a collaborative processing topology logged after long intervals.
IoT Device Design and Selection Considerations
The main consideration for IoT solution is the selection of the PROCESSOR.
The selection is governed by many parameters that affect the usability, design,
Cost Add-ons
IoT Device Design and Selection Considerations
Size
Crucial factors for deciding the form factor(physical dimensions,
The larger the form factor, the larger the hardware’s energy
consumption.
Large form factors are unsuitable for many IoT applications, which
Size Cont.,
Wearables (Minimal Form Factor, Low Energy Consumption)
Example: Fitness Trackers (e.g., Fitbit, Xiaomi Mi Band)
Industrial IoT Sensors (Larger Form Factor, Higher Energy Needs)
Example: Smart Vibration Sensors for Machines
Environmental Monitoring (Compact Form Factor, Moderate Energy Needs)
Example: Soil Moisture Sensors in Smart Agriculture
Smart Home Sensors (Moderate Form Factor, Low to Moderate Energy)
Example: Motion Sensors (e.g., Philips Hue, Aqara)
IoT Device Design and Selection Considerations
Energy
The energy requirements of a processor is the most important deciding factor in
The higher the energy requirements, the higher is the energy source (battery)
replacement frequency.
applications.
IoT Device Design and Selection Considerations
Cost
Cheaper cost of the hardware enables a much higher density of hardware deployment by
users of an IoT solution.
Example: cheaper gas and fire detection solutions would enable users to include much more
sensing hardware for a lesser cost.
Memory
The memory requirements (both volatile and non-volatile memory) determine the capabilities the
device.
Features such as local data processing, data storage, data filtering, data formatting, etc. rely
heavily on the memory.
Devices with higher memory tend to be costlier.
IoT Device Design and Selection Considerations
Processing power
Processing power is vital in deciding what type of sensors can be accommodated with the
IoT device/node, and what processing features can integrate on-site with the IoT device.
The processing power also decides the type of applications the device can be associated
with.
Applications that handle video and image data require IoT devices with higher processing
power.
IoT Device Design and Selection Considerations
I/O rating
The I/O rating refers to the voltage levels at which a processor or device can send and
receive signals through its input and output pins.
The processor, is the deciding factor in determining the circuit complexity, energy usage,
and support of various sensing solutions and sensor types.
Newer processors have an I/O voltage rating of 3.3 V, as compared to 5 V for the older
processors.
This translates to requiring additional voltage and logic conversion circuitry to interface
legacy technologies and sensors with the newer processors.
The low power consumption due to reduced I/O voltage levels, this additional voltage and
circuitry affects the complexity of the circuits & also the costs.
IoT Device Design and Selection Considerations
Add-ons
The support of various add-ons a processor, an IoT device provides, such as
ADC units, in-built clock circuits, connections to USB and ethernet, inbuilt
The provision for these add-ons also decides how fast a solution can be
developed.
Processing Offloading
economical.
Processing Offloading
platforms.
1) Offload Location: Outlines where all the processing can be offloaded in the
IoT architecture.
The various data generating and storage sources connected to the Internet and the data types contained within it.
Processing Offloading
Data offloading
Example
A Smart Camera detects motion.
If the internet is slow, the camera decides to process the motion
locally and sends only an alert to the homeowner.
If the internet is fast, the video is sent to the cloud for advanced
analysis.
If the camera's battery is low, it skips local processing and directly
offloads to the gateway or cloud.
Processing Offloading
Offload Location
2.Fog 4.Cloud
Processing Offloading
Offload Location
Offload Location
Low Latency: Process data faster without waiting for the cloud.
Processing Offloading
Processing Offloading
Offload location
data flowing through the Internet, and enable rapid mobility support for IoT
devices.
• The data, computing, storage and applications are shifted to a place between
the data source and the cloud.
IoT devices.
Rapid scalability is an issue with remote servers and are costlier and
hard to maintain.
Processing Offloading
Offload location
4. Cloud:
Where to offload and how much to offload are the major deciding
factors in the deployment of an offsite processing topology.
The decision-making is done considering data generation rate,
network bandwidth, the criticality of applications, processing
resources available at the offload site, etc.
1. Naive Approach
Offload decision-making approaches are;
2. Bargaining-based approach
3. Learning-based approach
Offload Decision Making
1.Naive Approach
Statistical measures are used for generating the rules for offload
decision-making.
Offload Decision Making
2. Bargaining based approach
Processing-intensive approach
Enables the improvement of network traffic congestion, and enhances QoS
(quality of service) parameters such as bandwidth, latencies, etc.
Approach tries to maximize the QoS by reducing the qualities of certain
parameters & enhancing the others
Example:
1.Bandwidth
2.Latency
3.Criticality
4.Resources
5.Data
Offloading Considerations
1. Bandwidth:
The maximum amount of data that can be transmitted over the network
between two points.
Data-carrying capacity is used to describe the data rate of that network.
2. Latency:
It is the time delay incurred between the start and completion of an operation.
Latency can be due to the network (network latency) or the processor
(processing latency).
Offloading Considerations
3. Criticality:
The more critical a task is, the lesser latency is expected from the IoT
solution.
4. Resources:
Signifies the actual capabilities of an offload location.
The capabilities may be the processing power, analytical algorithms, etc.
5. Data volume:
The amount of data generated by a source that can be handled by the offload
location.
For large and dense IoT deployments, the offload location should be robust
enough to address the processing issues related to huge data volumes.
Exercises
What are the different data formats found in IoT network trac streams?
Depending on the urgency of data processing, how are IoT data classified?
Highlight the pros and cons of on-site and off-site processing.
Differentiate between structured and unstructured data.
How is collaborative processing different from remote processing?
What are the critical factors to consider during IoT device design?
What are the typical data offload locations available in the context of IoT?
What are the various decision-making approaches chosen for offloading data in
IoT?
IoT Device Design and Selection Considerations