within the connector service to conform the input pa-
rameters of the analyzer service. If we want to add
motion prediction we have to add a new component
next to analyzer where the rest is not touched.
4 CONCLUSION
This work aimed to create a usable software architec-
ture of a near real-time system following fog comput-
ing principles.
Therefore, we proposed a fog computing archi-
tecture for service-oriented IoT applications based on
the OSGi standard, allowing dynamic deployment of
services that act as IoT application components. Ser-
vices can be dynamically updated or injected on-the-
fly without restarting the whole application. Thus, the
proposed software architecture makes it very conve-
nient to deploy and distribute the changes back into
the edge network. Furthermore, the architecture al-
lows dynamic (permanent or ad-hoc) integration of a
large number of services and IoT devices.
Following our reference architecture, we showed
an implementation variant and demonstrated the use-
fulness for a fog computing scenario. The Cube-It,
representing the 3D mouse, was built to control the
movement of a robot based on the motion of a user.
On the basis of the data-driven hardware models for
sensors and actuators, our architecture allowed to vir-
tually interchangeably use any IoT device with mini-
mal effort regarding the configuration.
Future Work. First, we plan to conduct more ex-
periments to evaluate our architecture. In this work
we have not addressed the performance of the archi-
tecture. A comparative analysis of the performance
(regarding high availability and resilience of node
failures) between the proposed implementation and
existing architectures is left for future work.
Another interesting open issue to investigate is the
behavior of the system under dynamic integration of
a large number of services and IoT devices.
ACKNOWLEDGEMENTS
This project has received funding from the Elec-
tronic Component Systems for European Leadership
Joint Undertaking under grant agreement No 692480
(IoSense). This Joint Undertaking receives support
from the European Union’s Horizon 2020 research
and innovation programme and Germany, Spain, Aus-
tria, Belgium, Slovakia.
REFERENCES
Al-Fuqaha, A., Guizani, M., Mohammadi, M., Aledhari,
M., and Ayyash, M. (Fourthquarter 2015). Internet
of Things: A Survey on Enabling Technologies, Pro-
tocols, and Applications. IEEE Communications Sur-
veys Tutorials, 17(4):2347–2376.
Argall, B. D., Chernova, S., Veloso, M., and Browning, B.
(2009). A survey of robot learning from demonstra-
tion. Robotics and Autonomous Systems, 57(5):469–
483.
Aßmann, U., Piechnick, C., Püschel, G., Piechnick, M.,
Falkenberg, J., and Werner, S. (2017). Modelling
the World of a Smart Room for Robotic Co-working.
In Model-Driven Engineering and Software Develop-
ment, Communications in Computer and Information
Science, pages 484–506. Springer, Cham.
Bakker, P. and Kuniyoshi, Y. (1996). Robot See, Robot
Do : An Overview of Robot Imitation. In In AISB96
Workshop on Learning in Robots and Animals, pages
3–11.
Billard, A., Calinon, S., Dillmann, R., and Schaal, S.
(2008). Robot Programming by Demonstration. In
Handbook of Robotics, pages 1371–1394. Springer
Berlin Heidelberg.
Bonomi, F., Milito, R., Natarajan, P., and Zhu, J. (2014).
Fog Computing: A Platform for Internet of Things
and Analytics. In Bessis, N. and Dobre, C., edi-
tors, Big Data and Internet of Things: A Roadmap for
Smart Environments, Studies in Computational Intel-
ligence, pages 169–186. Springer International Pub-
lishing, Cham.
Bonomi, F., Milito, R., Zhu, J., and Addepalli, S. (2012).
Fog Computing and Its Role in the Internet of Things.
In Proceedings of the First Edition of the MCC Work-
shop on Mobile Cloud Computing, MCC ’12, pages
13–16. ACM.
de Rengervé, A., Hirel, J., Andry, P., Quoy, M., and
Gaussier, P. (2011). On-line learning and planning in
a pick-and-place task demonstrated through body ma-
nipulation. In 2011 IEEE International Conference on
Development and Learning (ICDL), volume 2, pages
1–6.
Dillmann, R., Rogalla, O., Ehrenmann, M., Zöliner, R., and
Bordegoni, M. (2000). Learning Robot Behaviour
and Skills Based on Human Demonstration and Ad-
vice: The Machine Learning Paradigm. In Holler-
bach, J. M. and Koditschek, D. E., editors, Robotics
Research, pages 229–238. Springer London, London.
Evans, D. (2011). How the Next Evolution of the Internet
Is Changing Everything.
Huang, D. W., Katz, G., Langsfeld, J., Gentili, R., and Reg-
gia, J. (2015). A virtual demonstrator environment for
robot imitation learning. In 2015 IEEE International
Conference on Technologies for Practical Robot Ap-
plications (TePRA), pages 1–6.
ISO/IEC (2016). ISO/IEC 20922:2016 - Information
technology – Message Queuing Telemetry Trans-
port (MQTT) v3.1.1. https://www.iso.org/standard/
69466.html.
Towards a Software Architecture for Near Real-time Applications of IoT
205