| Literature DB >> 31694148 |
Mariano Finochietto1,2, Gabriel M Eggly3, Rodrigo Santos3, Javier Orozco3, Sergio F Ochoa4, Roc Meseguer5.
Abstract
The interaction among components of an IoT-based system usually requires using low latency or real time for message delivery, depending on the application needs and the quality of the communication links among the components. Moreover, in some cases, this interaction should consider the use of communication links with poor or uncertain Quality of Service (QoS). Research efforts in communication support for IoT scenarios have overlooked the challenge of providing real-time interaction support in unstable links, making these systems use dedicated networks that are expensive and usually limited in terms of physical coverage and robustness. This paper presents an alternative to address such a communication challenge, through the use of a model that allows soft real-time interaction among components of an IoT-based system. The behavior of the proposed model was validated using state machine theory, opening an opportunity to explore a whole new branch of smart distributed solutions and to extend the state-of-the-art and the-state-of-the-practice in this particular IoT study scenario.Entities:
Keywords: IoT-based systems; communication model; soft real-time interaction
Year: 2019 PMID: 31694148 PMCID: PMC6864787 DOI: 10.3390/s19214801
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Layered structure of an Internet-of-Things (IoT) interaction scenario.
Figure 2Hierarchy of the interactions among nodes.
Figure 3Structure of a broker.
Metadata for temperature sensor.
| Variable | Units |
|---|---|
| Temp | C, F, or K |
| Location Name | Lat, Long |
| Period | s |
| Precision | 8/10/12/16 bits |
| Reliability | High/Medium/Low |
Figure 4Structure of an interaction scenario.
Figure 5Finite state machine (FSM) representing the behavior of the terminals.
Figure 6FSM representing the behavior of the processor.
Figure 7State machine diagram for broker.
Figure 8High-level activity diagram of a publication message processing of the intelligent real-time agent (IRTA).
Figure 9Sensor pump log.
Figure 10Sensor time log.
Figure 11Broker log.
Figure 12Subscriber log.
Figure 13Experiment 2: Sensor log.
Figure 14Experiment 2: Broker log.
Figure 15Experiment 2: Subscriber log.
Figure 16Experiment 3: Sensor log.
Figure 17Experiment 3: Broker log.
Comparison of solutions implemented using Message Queue Telemetry Transport (MQTT) and Software Real-Time Interaction (SRTI)-IRTA.
| Experiment | Description | Solution with SRTI-IRTA | Solution with MQTT | Benefits of Using SRTI-IRTA |
|---|---|---|---|---|
| 1 | New topic based on the values of other topics. | The broker uses a function to process, create, and publish a new message under a new topic. | An extra client is needed. It should subscribe to the topics of interest, process the values received, and publish a new message under a new topic. | (1) Less traffic in the network; (2) no extra client is needed, avoiding the overhead of having another node. |
| 2 | The publisher sends a message more frequently than what the subscriber needs. | The broker filters the messages received based on the needs of the subscriber. | The broker will send all the messages received, and it will be a task of the subscriber to discard it. | (1) Less traffic in the network; (2) less processing at the subscriber. |
| 3 | The publisher latency is higher than the one required by the subscriber. | The broker filters the messages received based on the needs of the subscriber. | The broker will send all the messages received, and it will be a task of the subscriber to analyze it and discard it. | (1) Less traffic in the network; (2) less processing at the subscriber. |
Figure 18Sensors deployment in a hypothetical precision agriculture (PA) scenario.
Topics for the sensors within the loT scenario.
| Variable | URI |
|---|---|
| Temperature |
|
| pH |
|
| Humidity |
|
| Nitrogen |
|
URIs for the weather stations.
| Variable | URI |
|---|---|
| Temperature |
|
| Wind Direction |
|
| Wind Intensity |
|
| Humidity |
|
| Pressure |
|
| UV factor |
|