Abstract
Within a distributed software system for measuring and processing data streams, the services require knowledge to the contextualization of information. Using microservices in combination with a network of heterogeneous devices - as usual in an internet of things setting - requires the management of knowledge about integrated data and its context. Reference architectures suggest here the centralization of this knowledge management. This contribution deals with the question of how this knowledge can be structured and how to apply integration and processing services in a microservice architecture. The main focus here is on how data collection and context can be combined independently of the corresponding services and without influencing participating services. The result is a data model and a query language, which we used within the architecture to manage knowledge and used by integration and processing services. The result is evaluated based on scenario considerations in the internet of things setting, such as adding, replacing and removing devices while maintaining the context. Additionally, we provide an insight into the practical application of the approach in a realized microservice infrastructure for the management and optimization of a local smart grid.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Microsoft azure IoT reference architecture (2018)
Al-Fuqaha, A., Guizani, M., Mohammadi, M., Aledhari, M., Ayyash, M.: Internet of things: a survey on enabling technologies, protocols, and applications. IEEE Commun. Surv. Tutor. 17(4), 2347–2376 (2015). https://doi.org/10.1109/COMST.2015.2444095. ISSN 1553–877X
Apel, S., Hertrampf, F., Späthe, S.: Microservice architecture within in-house infrastructures for enterprise integration and measurement: an experience report. In: Hodoň, M., Eichler, G., Erfurth, C., Fahrnberger, G. (eds.) I4CS 2018. CCIS, vol. 863, pp. 3–17. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-93408-2_1
Bader, A.: Comparison of Time Series Databases. Diplomarbeit, Institute of Parallel and Distributed Systems, University of Stuttgart, Stuttgart (2016)
Bauer, M., et al.: IoT reference architecture. In: Enabling Things to Talk, pp. 163–211, Springer, Berlin, Heidelberg (2013). https://doi.org/10.1007/978-3-642-40403-0_8
Brundu, F.G., et al.: IoT software infrastructure for energy management and simulation in smart cities. IEEE Trans. Ind. Inf. 13(2), 832–840 (2017). https://doi.org/10.1109/TII.2016.2627479. ISSN 1551–3203
Chen, R., Li, S., Li, Z.: From monolith to microservices: a dataflow-driven approach. In: 2017 24th Asia-Pacific Software Engineering Conference (APSEC), pp. 466–475, December 2017. https://doi.org/10.1109/APSEC.2017.53
Choudhary, G., Jain, A.K.: Internet of things: A survey on architecture, technologies, protocols and challenges. In: 2016 International Conference on Recent Advances and Innovations in Engineering (ICRAIE), pp. 1–8, December 2016. https://doi.org/10.1109/ICRAIE.2016.7939537. ISSN 5090–2806
Diepenbrock, A., Rademacher, F., Sachweh, S.: An ontology-based approach for domain-driven design of microservice architectures. In: Eibl, M., Gaedke, M. (eds.) INFORMATIK 2017, pp. 1777–1791. Gesellschaft für Informatik, Bonn (2017)
George, F.: Micro-service architecture, talk at Barcelona Ruby Conference (2012)
International Electrotechnical Commision: OPC unified architecture - part 1: Overview and concepts, IEC TR 62541–1 (2016)
Krčo, S., Pokrić, B., Carrez, F.: Designing IoT architecture(s): a European perspective. In: 2014 IEEE World Forum on Internet of Things (WF-IoT), pp. 79–84, March 2014. https://doi.org/10.1109/WF-IoT.2014.6803124
Krylovskiy, A., Jahn, M., Patti, E.: Designing a smart city internet of things platform with microservice architecture. In: 2015 3rd International Conference on Future Internet of Things and Cloud, pp. 25–30, August 2015. https://doi.org/10.1109/FiCloud.2015.55
Lewis, J.: Micro services - java, the unix way, talk at 33rd Degree Conference (2012)
Luckham, D.: The Power of Events - An Introduction to Complex Event Processing. Addison-Wesley, 2nd (edn.) (2002)
Newman, S.: Building Microservices. O’Reilly Media (2015). ISBN 978-1491950357
Robie, J., Dyck, M., Spiegel, J.: XML path language (XPath) 3.1. W3C recommendation, W3C, March 2017. https://www.w3.org/TR/2017/REC-xpath-31-20170321/
Vianden, M., Lichter, H., Steffens, A.: Towards a maintainable federalist enterprise measurement infrastructure. In: 2013 Joint Conference of the 23rd International Workshop on Software Measurement and the 8th International Conference on Software Process and Product Measurement, pp. 63–70, October 2013. https://doi.org/10.1109/IWSM-Mensura.2013.20
Vianden, M., Lichter, H., Steffens, A.: Experience on a microservice-based reference architecture for measurement systems. In: 2014 21st Asia-Pacific Software Engineering Conference, vol. 1, pp. 183–190, December 2014. https://doi.org/10.1109/APSEC.2014.37, ISSN 1530–1362
Wolff, E.: Microservices: Flexible Software Architectures. Addison-Wesley (2016). ISBN 978-0134602417
Yang, Z., Yue, Y., Yang, Y., Peng, Y., Wang, X., Liu, W.: Study and application on the architecture and key technologies for IOT. In: 2011 International Conference on Multimedia Technology, pp. 747–751, July 2011. https://doi.org/10.1109/ICMT.2011.6002149
Zanella, A., Bui, N., Castellani, A., Vangelista, L., Zorzi, M.: Internet of things for smart cities. IEEE Internet Things J. 1(1), 22–32 (2014). https://doi.org/10.1109/JIOT.2014.2306328. ISSN 2327-4662
Zimmermann, O.: Microservices tenets. Comput. Sci. Res. Develop. 32(3), 301–310 (2017). https://doi.org/10.1007/s00450-016-0337-0. ISSN 1865-2042
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Späthe, S., Greulich, F., Apel, S. (2022). Context Information Management in a Microservice Based Measurement and Processing Infrastructure. In: Phillipson, F., Eichler, G., Erfurth, C., Fahrnberger, G. (eds) Innovations for Community Services. I4CS 2022. Communications in Computer and Information Science, vol 1585. Springer, Cham. https://doi.org/10.1007/978-3-031-06668-9_10
Download citation
DOI: https://doi.org/10.1007/978-3-031-06668-9_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-06667-2
Online ISBN: 978-3-031-06668-9
eBook Packages: Computer ScienceComputer Science (R0)