iot-Unit-II
iot-Unit-II
Networking is the practice of connecting computers and other electronic devices to share resources and
communicate with each other. It enables data exchange between devices, facilitating tasks like file
sharing, internet access, and communication across different locations.
1. Types of Networks :
Local Area Network (LAN) : A network confined to a small geographic area, like a single
building or a campus.
Wide Area Network (WAN) : A network that covers a broad area, often connecting LANs
across cities or countries.
Wireless LAN (WLAN) : A type of LAN that uses wireless communication to connect devices
instead of physical cables.
Personal Area Network (PAN) : A network for connecting devices within the immediate
vicinity of a person, like Bluetooth devices.
Metropolitan Area Network (MAN) : A network that covers a larger geographic area than a
LAN but smaller than a WAN, typically within a city.
2. Networking Devices :
Router : Routes data packets between networks.
Switch : Connects devices within a network, directing data to its intended destination.
Hub : Passes data along to all devices connected to it.
Modem : Converts digital data from a computer into analog signals for transmission over
telephone lines or vice versa for receiving data.
Access Point (AP) : Allows wireless devices to connect to a wired network.
Firewall : Protects a network by monitoring and controlling incoming and outgoing network
traffic based on predetermined security rules.
3. Network Protocols :
TCP/IP (Transmission Control Protocol/Internet Protocol) : The foundation of the internet,
enabling data transmission across networks.
HTTP (Hypertext Transfer Protocol) : Protocol used for transferring web pages and other data
on the World Wide Web.
FTP (File Transfer Protocol) : Protocol for transferring files between a client and server on a
computer network.
SMTP (Simple Mail Transfer Protocol) : Protocol used for sending email messages between
servers.
4. Network Topologies :
Star Topology : Devices are connected to a central hub or switch.
Bus Topology : Devices are connected in a linear fashion along a single cable.
Ring Topology : Each device is connected to two other devices, forming a circular network.
Mesh Topology : Every device is connected to every other device in the network, providing
redundancy and fault tolerance.
5. Network Security :
Encryption : Encoding data to prevent unauthorized access.
Firewalls : Protecting networks from unauthorized access while allowing legitimate traffic.
Virtual Private Networks (VPNs) : Securely extending a private network across a public
network like the internet.
Basics of Networking:
Understanding networking fundamentals is crucial for effectively managing and troubleshooting
networks, whether in a home environment or a large-scale enterprise setting. At its core, networking is
about connecting devices together to share resources and communicate.
Here are some basics of networking:
1. Devices :
Computers : The most common devices in a network, including desktops, laptops, servers, and
mobile devices.
Routers : Devices that connect multiple networks together and route data packets between them.
Switches : Devices that connect multiple devices within a single network and facilitate
communication between them.
Modems : Devices that modulate and demodulate signals to enable communication over different
types of transmission media, such as telephone lines, cable lines, or fiber optic cables.
Access Points : Devices that allow wireless devices to connect to a wired network, typically used
in wireless LANs (WLANs).
2. Network Types :
Local Area Network (LAN) : A network that connects devices within a limited geographical area,
such as a home, office, or school.
Wide Area Network (WAN) : A network that spans a large geographical area, connecting LANs
over long distances, often using public infrastructure like the internet.
Wireless LAN (WLAN) : A LAN that uses wireless communication to connect devices, allowing
mobility and flexibility in device placement.
Internet : The largest WAN, connecting millions of networks and devices worldwide.
3. Protocols :
TCP/IP (Transmission Control Protocol/Internet Protocol) : The fundamental protocol suite of
the internet, responsible for addressing, routing, and delivering data packets.
HTTP (Hypertext Transfer Protocol) : A protocol used for transferring hypertext documents on
the World Wide Web.
FTP (File Transfer Protocol) : A protocol for transferring files between computers on a network.
SMTP (Simple Mail Transfer Protocol) : A protocol used for sending and receiving email
messages.
4. Network Addressing :
IP Address : A unique numerical identifier assigned to each device on a network, used for
routing data packets.
MAC Address : A hardware address assigned to network interfaces, used for communication
within a local network.
5. Network Topologies :
Star Topology : Devices are connected to a central hub or switch.
Bus Topology : Devices are connected in a linear fashion along a single cable.
Ring Topology : Devices are connected in a circular manner, with each device connected to
exactly two other devices.
Mesh Topology : Devices are interconnected with multiple redundant paths, providing high
reliability and fault tolerance.
Communication Protocols:
Communication protocols are a set of rules and conventions that govern the exchange of data between
devices in a network. These protocols define the format, timing, sequencing, and error control of data
transmission. Here are some common communication protocols:
5. Post Office Protocol (POP) and Internet Message Access Protocol (IMAP) :
POP and IMAP are protocols used by email clients to retrieve email messages from
a server.
POP typically downloads emails to the client's device and removes them from the
server, while IMAP keeps emails stored on the server and synchronizes them with
the client.
1. Sensor Nodes :
Sensors : These are electronic devices that measure physical or environmental
parameters. They can include temperature sensors, humidity sensors, pressure sensors,
motion sensors, and more.
Processing Units : Sensor nodes often include microcontrollers or microprocessors to
process data locally before transmitting it to the central location.
Communication Interfaces : Sensor nodes are equipped with communication interfaces
such as Wi-Fi, Bluetooth, Zigbee, or LoRa to transmit data wirelessly to other nodes or
a central base station.
2. Network Topology :
Mesh Topology : Sensor nodes are interconnected with each other, forming a mesh
network. This topology provides redundancy and enables self-healing in case of node
failures.
Star Topology : Sensor nodes communicate directly with a central base station. This
topology simplifies network management but may lead to single points of failure.
Hybrid Topology : A combination of mesh and star topologies, offering a balance
between redundancy and simplicity.
3. Data Aggregation and Processing :
Sensor nodes may perform local data processing to reduce the amount of data
transmitted over the network.
Data aggregation techniques are used to combine data from multiple nodes before
transmission, reducing bandwidth consumption and energy usage.
4. Energy Efficiency :
Sensor nodes are often powered by batteries or energy harvesting techniques such as
solar panels or kinetic energy harvesting.
Energy-efficient protocols and algorithms are used to minimize energy consumption
and prolong the lifespan of sensor nodes.
5. Security and Privacy :
Sensor networks may transmit sensitive data, making security and privacy concerns
paramount.
Encryption, authentication, and access control mechanisms are implemented to secure
data transmission and prevent unauthorized access.
6. Applications :
Environmental Monitoring: Monitoring air quality, water quality, soil conditions, and weather
patterns.
Industrial Monitoring: Monitoring equipment condition, process parameters, and energy
consumption in industrial settings.
Healthcare: Monitoring patients' vital signs, tracking medication adherence, and managing
chronic conditions remotely.
Smart Cities: Monitoring traffic flow, parking availability, and environmental conditions to
optimize urban infrastructure.
Sensor networks offer valuable insights into the physical world, enabling real-time monitoring, analysis,
and decision-making in various domains. Advances in sensor technology, wireless communication, and
data processing continue to drive innovation in this field, opening up new possibilities for applications
and research.
Machine to Machine Communication:
Machine-to-Machine (M2M) communication refers to the exchange of data or information between two
or more machines or devices without human intervention. These machines can be anything from
sensors, actuators, vehicles, appliances, industrial equipment, to entire systems or networks. M2M
communication enables automated processes, remote monitoring, control, and optimization across
various industries.
M2M communication plays a crucial role in enabling automation, efficiency, and innovation across
various industries, driving the development of the Internet of Things (IoT) ecosystem. Advances in
connectivity, sensors, and data analytics continue to expand the scope and capabilities of M2M
communication, paving the way for new applications and services.
IoT Components:
The Internet of Things (IoT) comprises interconnected components that enable the exchange of
data and control commands among devices, systems, and users. These components include sensors and
actuators that gather and manipulate physical data, embedded systems and microcontrollers that process
and transmit this data, communication protocols and networks that facilitate connectivity and data
exchange, cloud platforms and edge computing infrastructure that handle data storage, processing, and
analysis, and applications and interfaces that enable users to interact with and derive insights from IoT
systems. Together, these components form a complex ecosystem that drives automation, efficiency, and
innovation across industries, ranging from smart homes and cities to industrial automation and
healthcare. Security, privacy, and interoperability are essential considerations in the design and
implementation of IoT systems to ensure reliability, trustworthiness, and seamless integration with
existing infrastructure and devices.
Inter-Dependencies:
Inter-dependencies within systems, including technological, organizational, and environmental
factors, are crucial for understanding the functioning and resilience of complex systems. In
technological inter-dependencies, components rely on each other for functionality, where failure or
disruption in one component can cascade through the system, affecting others. Organizational inter-
dependencies involve relationships and interactions among different entities, such as departments,
teams, or stakeholders, which influence decision-making, resource allocation, and communication
within the system. Environmental inter-dependencies consider external factors, including regulatory
frameworks, market dynamics, and socio-cultural influences, which shape the context within which the
system operates. Understanding and managing these inter-dependencies are essential for optimizing
system performance, mitigating risks, and fostering adaptability and resilience in the face of uncertainty
and change.
SoA:
Service-Oriented Architecture (SoA) is an architectural style that structures software
applications as a collection of loosely coupled, interoperable services. These services are self-contained,
modular units that perform specific business functions and communicate with each other over a
network. SoA promotes reusability, scalability, and flexibility by breaking down complex applications
into smaller, manageable services that can be developed, deployed, and maintained independently. Key
principles of SoA include service reusability, service autonomy, service composition, and service
abstraction. SoA facilitates the integration of disparate systems and technologies, enabling
organizations to build agile, adaptable, and interoperable software solutions that align with business
objectives.
Gateways
Gateways are network devices that serve as entry points between different networks, protocols,
or communication technologies, facilitating interoperability and data exchange. Acting as
intermediaries, gateways translate, route, or convert data between disparate systems, enabling seamless
communication and integration. They often provide protocol translation, security enforcement, and data
transformation functionalities, ensuring compatibility and reliability in heterogeneous network
environments. Gateways are commonly used in IoT deployments, industrial automation,
telecommunications, and cloud computing architectures, where they play a crucial role in connecting
devices, systems, and services across diverse network infrastructures.
Difference Protocols:
The Internet relies on a variety of protocols to facilitate communication and data exchange between
devices and systems. TCP/IP (Transmission Control Protocol/Internet Protocol) is the fundamental
protocol suite that governs how data is transmitted across networks, ensuring reliable and efficient
delivery. HTTP (Hypertext Transfer Protocol) is used for transferring web pages and other content on
the World Wide Web, while FTP (File Transfer Protocol) enables the transfer of files between
computers. SMTP (Simple Mail Transfer Protocol) is responsible for sending email messages between
servers, while DNS (Domain Name System) translates domain names into IP addresses. Other protocols
like UDP (User Datagram Protocol) offer connectionless communication, and SNMP (Simple Network
Management Protocol) facilitates network management tasks. Each protocol serves a specific purpose
and plays a critical role in enabling the functionality and interoperability of the internet and networked
systems.