that increases the dependability of the system during
and after the software rollout in comparison to the
current state-of-the-art.
6 CONCLUSION
We evaluated a set of existing customer-grade IoT
tools that seemed to be promising for application
lifecycle management in IIoT use cases, but unfor-
tunately not all of the desired functions can be im-
plemented using these tools. We thus proposed an
OSGi deployment process fulfilling the defined re-
quirements and implementing the defined tasks. It
has been successfully tested in a small lab setup and
further tests in a real world large scale co-simulation
testbed are currently undertaken. Nonetheless, fur-
ther development must be carried out to enable an
automated deployment. This involves guidelines for
application development using this approach, signing
of bundles, software versioning and the overall inte-
gration into a CI/CD pipeline. On the target side,
the rollback mechanism is currently limited to fail-
ures thrown by the OSGi framework which occur dur-
ing the installation phase of a new update. Rollbacks
on errors or wrong application behaviour during run-
time caused by a faulty update (or even by an attack)
are not supported yet. However, this is a crucial fea-
ture since the BEMS controls large devices like heat
pumps and charging stations. On large scale, wrong
application behaviour could cause serious problems
in the low voltage grid. Therefore, further work is
necessary to enhance the rollback mechanism.
Dependency management implemented by state-
of-the-art software deployment tools is limited to
the software domain. To be able to include knowl-
edge about the setup of the CPS, its physical prop-
erties, overall state etc. the KBSM framework was
presented. This additional management layer uses
knowledge represented in graphs to derive and exe-
cute software deployment schedules. By using this
backend, dependencies on all layers from device level
(software requires sensor, software requires service
on same device, etc.) via the system level (soft-
ware needs service on other device, software us-
age excludes usage of specific other software, etc.)
up to the domain level (software on device is the
only entity that controls setpoint, etc.) can be re-
solved. The KBSM framework is currently still in
active development and is currently being tested us-
ing the iSSN Application Lifecycle Management and
the OSGi deployment process as underlying deploy-
ment tools in a Smart Grid scenario using a large scale
co-simulation/emulation approach.
ACKNOWLEDGMENTS
The presented work is conducted in the LarGo!
project, funded by the joint programming initiative
ERA-Net Smart Grids Plus with support from the Eu-
ropean Union’s Horizon 2020 research and innovation
programme. On national level, the work was funded
and supported by the Austrian Climate and Energy
Fund (KLIEN, ref. 857570), and by German BMWi
(FKZ 0350012A).
REFERENCES
Arcangeli, J., Boujbel, R., and Leriche, S. (2015). Au-
tomatic deployment of distributed software systems:
Definitions and state of the art. Journal of Systems
and Software, 103:198 – 218.
Dearle, A. (2007). Software deployment, past, present and
future. In Future of Software Engineering, pages 269–
284.
Faschang, M., Cejka, S., Stefan, M., Frischenschlager, A.,
Einfalt, A., Diwold, K., Pr
¨
ostl Andr
´
en, F., Strasser,
T., and Kupzog, F. (2017). Provisioning, deployment,
and operation of smart grid applications on substation
level. Computer Science - Research and Development,
32(1):117–130.
Gawron-Deutsch, T., Diwold, K., Cejka, S., Matschnig, M.,
and Einfalt, A. (2018). Industrial IoT f
¨
ur Smart Grid-
Anwendungen im Feld. e & i Elektrotechnik und In-
formationstechnik, 135(3):256–263.
Kintzler, F., Gawron-Deutsch, T., Cejka, S., Schulte, J., Us-
lar, M., Veith, E., Piatkowska, E., Smith, P., Kupzog,
F., Sandberg, H., Chong, M., Umsonst, D., and Mit-
telsdorf, M. (2018). Large scale rollout of smart grid
services. In 2018 Global Internet of Things Summit.
Noghabi, S., Kolb, J., Bodik, P., and Cuervo, E. (2018).
Steel: Simplified development and deployment of
edge-cloud applications. In 10th USENIX Workshop
on Hot Topics in Cloud Computing.
OSGi Alliance (2018). OSGi Release 7. OSGi Alliance.
Razzaq, M. A., Gill, S. H., Qureshi, M. A., and Ullah, S.
(2017). Security Issues in the Internet of Things (IoT):
A Comprehensive Study. International Journal of Ad-
vanced Computer Science and Applications, 8(6).
Schloegl, F., Rohjans, S., Lehnhoff, S., Velasquez, J., Stein-
brink, C., and Palensky, P. (2015). Towards a classifi-
cation scheme for co-simulation approaches in energy
systems. In 2015 International Symposium on Smart
Electric Distribution Systems and Technologies, pages
516–521.
Steinbrink, C., Blank-Babazadeh, M., El-Ama, A., Holly,
S., L
¨
uers, B., Nebel-Wenner, M., Ramirez Acosta,
R. P., Raub, T., Schwarz, J. S., Stark, S., Nieße, A.,
and Lehnhoff, S. (2019). CPES Testing with mosaik:
Co-Simulation Planning, Execution and Analysis. Ap-
plied Sciences, 9(5).
Yu, X. and Xue, Y. (2016). Smart Grids: A Cyber-
Physical Systems Perspective. Proceedings of the
IEEE, 104(5):1058–1070.
IoTBDS 2020 - 5th International Conference on Internet of Things, Big Data and Security
266