Q19Internet of Things
Question
Describe in detail the physical and logical design of IoT, including communication models and APIs.
Answer
The physical design involves tangible components, while the logical design defines data flow and interaction models.
The Physical Design of IoT encompasses the physical devices (Things) and the protocols used to connect them. This includes Node devices (sensors, actuators) and Network/Communication protocols (Wi-Fi, BLE, LoRa). It represents the hardware infrastructure.
The Logical Design abstracts the physical entities into functional blocks. It defines how data is managed, processed, and communicated. It includes: 1. Communication Models: like Request-Response (client-server architecture), Publish-Subscribe (broker-based messaging), and Push-Pull. 2. Communication APIs: like REST (stateless, HTTP-based, URI-identified resources) and WebSockets (stateful, bidirectional communication over a single socket). The logical design maps out the software architecture overlaying the physical network.