Device gateway
DG is an important pattern as it helps link physical and virtual worlds. The physical world is monitored by sensors and actions are initiated by actuators, as per the commands that are sent by a DG. The notation that is used for the DG in this book is shown in the following diagram:
Figure 2.1 – Notation for the DG pattern
Important Note
The DG is also referred to as the Field Gateway in the IoT literature.
In addition to its role in enabling edge/local intelligence by hosting a Local Rule Engine (LRE) and performing latency-sensitive decisions, DG enables data communication with the central server, where more complex decisions (those requiring a global context) must be made. The need for DG arises because most sensors/actuators are constrained in terms of compute, memory, storage, or power, so they can’t establish connectivity with the central server. A good practical example of DG is a smartphone as it connects to multiple...