Unit-3 Iot
Unit-3 Iot
• Statelessness: For scalability and reliability, the communication between client and
server should be stateless. This means that each request should contain all the
necessary information to complete the transaction, and the server does not need to
remember previous interactions.
• Scalability: IoT systems can have thousands or millions of devices. Design your
architecture to be scalable, meaning it can handle a growing number of devices,
users, or resources without degradation in performance.
• Latency: Minimizing latency (the delay in communication between devices and the
server) is important, especially in real-time applications like traffic monitoring or
healthcare. WebSockets and MQTT can help minimize latency compared to
traditional HTTP.
• Resource Discovery: It’s important to have mechanisms for resource discovery in
IoT systems. This means that clients should be able to find and interact with devices
or services dynamically, without needing to know their exact location in advance.
6. Middleware and Broker Systems
• Broker: In many IoT systems, a broker acts as an intermediary to manage
communication between different devices or services. It handles the
publishing and subscribing of messages in a publish/subscribe model,
common in MQTT and CoAP systems.
• Proxy: A proxy server can act as a go-between for clients and servers,
caching responses or modifying requests to improve performance or
security.
Conclusion: Applying These Principles in IoT/M2M Web
Connectivity
• When designing a communication architecture for IoT/M2M device networks, you
should:
• Leverage APIs and Web Services: Expose device data and capabilities through
standardized APIs (RESTful APIs) or web services (SOAP).
• Ensure Scalability and Security: Use protocols like REST, MQTT, and WebSockets for
scalable, secure, and real-time communication. Secure the communication with
firewalls and encrypted protocols.
• Optimize Data Formats: Use efficient data formats like JSON for data exchange.
• Design for Flexibility and Robustness: Build a flexible system that can handle various
devices and communication methods, ensuring robustness in diverse environments
(e.g., constrained networks or unreliable connectivity).
• By understanding these principles, you’ll be equipped to design an efficient, scalable,
and secure IoT/M2M communication system for real-time web connectivity.
Web Communication Protocols for Connected Devices in Constrained
and Unconstrained Environments
Network Type Local Area Networks (LANs), Low IP-based networks (Internet)
Power and Lossy Networks (ROLL)
TCP (Transmission Control
Transport Protocol UDP (User Datagram Protocol) Protocol)
Routing Protocol ROLL (Routing Over Low Power and Standard IP Routing
Lossy networks)