| Literature DB >> 28448469 |
Ruben Cruz Huacarpuma1, Rafael Timoteo de Sousa Junior2, Maristela Terto de Holanda3, Robson de Oliveira Albuquerque4, Luis Javier García Villalba5, Tai-Hoon Kim6.
Abstract
The development of the Internet of Things (IoT) is closely related to a considerable increase in the number and variety of devices connected to the Internet. Sensors have become a regular component of our environment, as well as smart phones and other devices that continuously collect data about our lives even without our intervention. With such connected devices, a broad range of applications has been developed and deployed, including those dealing with massive volumes of data. In this paper, we introduce a Distributed Data Service (DDS) to collect and process data for IoT environments. One central goal of this DDS is to enable multiple and distinct IoT middleware systems to share common data services from a loosely-coupled provider. In this context, we propose a new specification of functionalities for a DDS and the conception of the corresponding techniques for collecting, filtering and storing data conveniently and efficiently in this environment. Another contribution is a data aggregation component that is proposed to support efficient real-time data querying. To validate its data collecting and querying functionalities and performance, the proposed DDS is evaluated in two case studies regarding a simulated smart home system, the first case devoted to evaluating data collection and aggregation when the DDS is interacting with the UIoT middleware, and the second aimed at comparing the DDS data collection with this same functionality implemented within the Kaa middleware.Entities:
Keywords: Internet of Things (IoT); IoT middleware; NoSQL; data aggregation; data collection; real time
Year: 2017 PMID: 28448469 PMCID: PMC5464689 DOI: 10.3390/s17050977
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1IoT architecture.
Figure 2DDS components.
Figure 3Data collection component.
Figure 4Communication interface between the DDS and the IoT middleware.
Figure 5Example of time series organization.
Figure 6Data aggregation component.
Figure 7DDS topology.
Figure 8Kafka Consumer Configuration. In (A), a Kafka consumer reads all data partitions (P0, P1, P2, ... PN) as data arrive and this sole consumer limits the overall capacity even considering the existence of parallel partitions to manage the volume of data coming from a large network of devices under the control of an IoT middleware, while in (B), multiple Kafka consumers operate each one dedicated to reading its specific data partition only, thus leveraging the parallelism in partition reading.
Devices of the home automation system.
| Device Name | State Variable (SV) | SV Allowed Values | Reading Circuit | Write Circuit |
|---|---|---|---|---|
| Television | Channel | 1 to 1000 | - | IR circuit |
| Volume | 1 to 100 | - | IR circuit | |
| Power | On, Off | - | IR circuit | |
| Curtain | Movement | Open, Close | - | IR circuit |
| Microwave oven | Power | On, Off | Voltage sensor | Switch circuit |
| Coffee pot | Power | On, Off | Voltage sensor | Switch circuit |
| Gate | Movement | Open, Close, Stop | - | IR circuit |
| Distance | 2 to 700 | Distance detector | - | |
| Alarm clock | Power | On, Off | Voltage sensor | Switch circuit |
| Stereo | Power | On, Off | - | Switch circuit |
| Volume | 1 to 100 | - | IR circuit | |
| Station | 1 to 6 | - | IR circuit |
Number of devices for UIoT-DDS.
| Number of Producers | Number of Homes | Day | Month | Year |
|---|---|---|---|---|
| 1 | 33,600 | 0.29 TB | 8.87 TB | 107.92 TB |
| 2 | 63,492 | 0.56 TB | 16.76 TB | 203.96 TB |
| 3 | 95,238 | 0.84 TB | 25.15 TB | 305.92 TB |
| 4 | 142,857 | 1.26 TB | 37.72 TB | 458.91 TB |
Figure 9Computational environment of DDS.
Figure 10Computational environment of DDS.
Number of devices for Kaa.
| No. of Prod. | No. of Homes | Day | Month | Year |
|---|---|---|---|---|
| 1 | 33,600 | 0.09 TB | 2.86 TB | 33.73 TB |
| 2 | 63,492 | 0.17 TB | 5.41 TB | 63.74 TB |
| 3 | 95,238 | 0.26 TB | 8.12 TB | 95.61 TB |
| 4 | 142,857 | 0.39 TB | 12.18 TB | 143.41 TB |
Figure 11UIoT data producer: synchronous.
Figure 12UIoT data producer (synchronous and asynchronous).
Query time over the event and the summarized tables.
| Query Time | ||
|---|---|---|
|
|
|
|
| By minute | 1.51 | 4 |
| By hour | 2.12 | 3 |
| By day | 43.94 | 3 |
Figure 13Kaa collector results.