plicit support to deal with quality of service in the
presence of errors. A common approach is to address
errors in a best effort manner in a cleaning step. Of-
ten, it is left to the application developers to deal with
the errors. In contrast, Morepork treats errors as first
class citizens and offers dedicated support for estimat-
ing their impact on application level. A CEP system
that addresses QoS is Aurora (Abadi et al., 2003). It
adapts processing under consideration of QoS param-
eters. It considers response time, tuple drops and pro-
duced values as QoS parameters. Unlike Morepork, it
offers no support to estimate and monitor the QoS on
application level.
Another example of related work is the MILTON
measure for event detection (Efros et al., 2017). The
MILTON measure aims to quantify the effect of lossy
transformation on event detection processes. The gen-
eral concept of MILTON is similar to our approach of
quantifying the effect of errors on application level
QoS; our work draws on the principles behind the
MILTON measure. However, MILTON does not ex-
plicitly consider communication errors and provides
no architecture for dealing with QoS in an IoT sys-
tem. In that sense it is only loosely related to our
work. Similar, the machine learning approaches sug-
gested by (Shrestha and Solomatine, 2006) are related
to parts of the Morepork system. Specifically, our ap-
proach in training a model for estimating the error of
another model is inspired by the work of Shrestha et
al. However, these works only address a small part of
the Morepork concept and do not aim at providing a
system of similar scope.
6 CONCLUSION
This paper introduced the Morepork system for man-
aging application-level Quality of Service in stream
queries for rugged IoT environments. To the best of
our knowledge the system is unique in its approach
for treating errors as first class citizens and provid-
ing a generic solution for making application-level
QoS explicit in an IoT system. Morepork thus ac-
knowledges the error-prone nature of data streams
from real-world IoT applications in rugged outdoor
environments. It provides a system for generic sup-
port of IoT applications with application-level QoS.
In Morepork, machine learning components are used
as wrappers around the application-specific data an-
alytics logic. To explore the Morepork concept for
a real-world setting, we used data from the Hakituri
project in a Proof of Concept implementation.
ACKNOWLEDGEMENTS
We acknowledge the work of Chris Griffiths in col-
lecting the forestry data, and the support of the
forestry contracting companies and workers.
REFERENCES
Abadi, D. J., Carney, D., C¸ etintemel, U., Cherniack, M.,
Convey, C., Lee, S., Stonebraker, M., Tatbul, N., and
Zdonik, S. (2003). Aurora: A new model and architec-
ture for data stream management. The VLDB Journal,
12(2):120–139.
Adams, G., Armstrong, H., and Cosman, M. (2014). Inde-
pendent forestry safety review – an agenda for change
in the forestry industry. report published by the NZ
Ministry for Business and Innovation, Wellington.
Adeleke, J. A., Moodley, D., Rens, G., and Adewumi, A. O.
(2017). Integrating statistical machine learning in a se-
mantic sensor web for proactive monitoring and con-
trol. Sensors, 17(4):807.
Bandyopadhyay, S., Sengupta, M., Maiti, S., and Dutta, S.
(2011). Role of middleware for internet of things: A
study. International Journal of Computer Science and
Engineering Survey, 2(3):94–105.
Bowen, J., Hinze, A., and Griffiths, C. (2017a). Investigat-
ing real-time monitoring of fatigue indicators of new
zealand forestry workers. Accident Analysis and Pre-
vention. in press.
Bowen, J., Hinze, A., Griffiths, C., Kumar, V., and Bain-
bridge, D. (2017b). Personal data collection in the
workplace: Ethical and technical challenges. In
British Computer Society Human Computer Interac-
tion Conference, pages 57:1–57:11.
Cugola, G. and Margara, A. (2012). Processing flows of
information: From data stream to complex event pro-
cessing. ACM Computing Surveys (CSUR), 44(3):15.
Efros, P., Buchmann, E., Englhardt, A., and B
¨
ohm, K.
(2017). How to quantify the impact of lossy trans-
formations on event detection. Big Data Research,
9:84–97.
Hockey, R. (2013). The Psychology of Fatigue, Work, Effort
and Control. University of Sheffield.
Hothorn, T., Hornik, K., and Zeileis, A. (2006). Unbiased
recursive partitioning: A conditional inference frame-
work. Journal of Computational and Graphical statis-
tics, 15(3):651–674.
J
´
arvelin-Pasanen, S., Sinikallio, S., and Tarvainen, M.
(2018). Heart rate variability and occupational stress-
systematic review. Industrial Health.
Marz, N. and Warren, J. (2015). Big Data: Principles and
best practices of scalable real-time data systems. New
York; Manning Publications Co.
Merlino, G., Bruneo, D., Distefano, S., Longo, F., and Pu-
liafito, A. (2014). Stack4things: integrating iot with
openstack in a smart city context. In Smart Comput-
ing Workshops, pages 21–28.
IoTBDS 2019 - 4th International Conference on Internet of Things, Big Data and Security
230