{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,10]],"date-time":"2026-05-10T14:39:04Z","timestamp":1778423944723,"version":"3.51.4"},"reference-count":52,"publisher":"MDPI AG","issue":"4","license":[{"start":{"date-parts":[[2023,3,31]],"date-time":"2023-03-31T00:00:00Z","timestamp":1680220800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"European Union\u2019s Project H2020 PHYSICS","award":["101017047"],"award-info":[{"award-number":["101017047"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Future Internet"],"abstract":"<jats:p>This paper focuses on Internet of Things (IoT) architectures and knowledge generation out of streams of events as the primary elements concerning the creation of user-centric IoT services. We provide a general, symmetrical IoT architecture, which enables two-way bidirectional communication between things and users within an application domain. We focus on two main components of the architecture (i.e., Event Engine and Process Engine) that handle event transformation by implementing parametric Complex Event Processing (CEP). More specifically, we describe and implement the transformation cycle of events starting from raw IoT data to their processing and transformation of events for calculating information that we need in an IoT-enabled application context. The implementation includes a library of composite transformations grouping the gradual and sequential steps for transforming basic IoT events into business events, which include ingestion, event splitting, and calculation of measurements\u2019 average value. The appropriateness and possibility of inclusion and integration of the implementation in an IoT environment are demonstrated by providing our implementation for a smart farming application domain with four scenarios that each reflect a user\u2019s requirements. Further, we discuss the quality properties of each scenario. Ultimately, we propose an IoT architecture and, specifically, a parametric CEP model and implementation for future researchers and practitioners who aspire to build IoT applications.<\/jats:p>","DOI":"10.3390\/fi15040135","type":"journal-article","created":{"date-parts":[[2023,3,31]],"date-time":"2023-03-31T08:27:27Z","timestamp":1680251247000},"page":"135","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":4,"title":["Transforming IoT Events to Meaningful Business Events on the Edge: Implementation for Smart Farming Application"],"prefix":"10.3390","volume":"15","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-7428-5753","authenticated-orcid":false,"given":"Dimitris","family":"Gkoulis","sequence":"first","affiliation":[{"name":"Department of Informatics and Telematics, Harokopio University of Athens, 17778 Athens, Greece"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4831-4984","authenticated-orcid":false,"given":"Cleopatra","family":"Bardaki","sequence":"additional","affiliation":[{"name":"Department of Informatics and Telematics, Harokopio University of Athens, 17778 Athens, Greece"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0961-3471","authenticated-orcid":false,"given":"George","family":"Kousiouris","sequence":"additional","affiliation":[{"name":"Department of Informatics and Telematics, Harokopio University of Athens, 17778 Athens, Greece"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4541-961X","authenticated-orcid":false,"given":"Mara","family":"Nikolaidou","sequence":"additional","affiliation":[{"name":"Department of Informatics and Telematics, Harokopio University of Athens, 17778 Athens, Greece"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2023,3,31]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"28","DOI":"10.1109\/MC.2015.12","article-title":"Enabling the Internet of Things","volume":"48","author":"Want","year":"2015","journal-title":"Computer"},{"key":"ref_2","unstructured":"Chen, Y.K. (February, January 30). Challenges and opportunities of internet of things. Proceedings of the 17th Asia and South Pacific Design Automation Conference, Sydney, Australia."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"2787","DOI":"10.1016\/j.comnet.2010.05.010","article-title":"The internet of things: A survey","volume":"54","author":"Atzori","year":"2010","journal-title":"Comput. Netw."},{"key":"ref_4","first-page":"97","article-title":"That \u2018internet of things\u2019 thing","volume":"22","author":"Ashton","year":"2009","journal-title":"RFID J."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"243","DOI":"10.1007\/s10796-014-9492-7","article-title":"The internet of things: A survey","volume":"17","author":"Li","year":"2015","journal-title":"Inf. Syst. Front."},{"key":"ref_6","unstructured":"Wu, M., Lu, T.J., Ling, F.Y., Sun, J., and Du, H.Y. (2010, January 20\u201322). Research on the architecture of Internet of Things. Proceedings of the 2010 3rd International Conference on Advanced Computer Theory and Engineering (ICACTE), Chengdu, China."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"164","DOI":"10.4236\/jcc.2015.35021","article-title":"Internet of Things (IoT): A literature review","volume":"3","author":"Madakam","year":"2015","journal-title":"J. Comput. Commun."},{"key":"ref_8","unstructured":"Tan, L., and Wang, N. (2010, January 20\u201322). Future internet: The Internet of Things. Proceedings of the 2010 3rd International Conference on Advanced Computer Theory and Engineering (ICACTE), Chengdu, China."},{"key":"ref_9","first-page":"291","article-title":"A survey on Internet of Things architectures","volume":"30","author":"Ray","year":"2018","journal-title":"J. King Saud Univ.\u2014Comput. Inf. Sci."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Al-Qaseemi, S.A., Almulhim, H.A., Almulhim, M.F., and Chaudhry, S.R. (2016, January 6\u20137). IoT architecture challenges and issues: Lack of standardization. Proceedings of the 2016 Future Technologies Conference (FTC), San Francisco, CA, USA.","DOI":"10.1109\/FTC.2016.7821686"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Kr\u010do, S., Pokri\u0107, B., and Carrez, F. (2014, January 6\u20138). Designing IoT architecture(s): A European perspective. Proceedings of the 2014 IEEE World Forum on Internet of Things (WF-IoT), Seoul, Republic of Korea.","DOI":"10.1109\/WF-IoT.2014.6803124"},{"key":"ref_12","first-page":"9324035","article-title":"Internet of things: Architectures, protocols, and applications","volume":"2017","author":"Sethi","year":"2017","journal-title":"J. Electr. Comput. Eng."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Zhang, Y., Duan, L., and Chen, J.L. (July, January 27). Event-Driven SOA for IoT Services. Proceedings of the 2014 IEEE International Conference on Services Computing, Anchorage, AK, USA.","DOI":"10.1109\/SCC.2014.88"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Dash, S.S., Das, S., and Panigrahi, B.K. (2018). International Conference on Intelligent Computing and Applications, Proceedings of the ICICA 2018, Sydney, Australia, 8\u201310 January 2018, Springer.","DOI":"10.1007\/978-981-10-5520-1"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"4","DOI":"10.3991\/ijoe.v11i2.3842","article-title":"An Event-driven Service-oriented Architecture for the Internet of Things Service Execution","volume":"11","author":"Lan","year":"2015","journal-title":"Int. J. Online Eng."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"116","DOI":"10.1109\/MS.2015.11","article-title":"Microservices","volume":"32","year":"2015","journal-title":"IEEE Softw."},{"key":"ref_17","unstructured":"Dragoni, N., Giallorenzo, S., Lafuente, A.L., Mazzara, M., Montesi, F., Mustafin, R., and Safina, L. (2017). Present and Ulterior Software Engineering, Springer."},{"key":"ref_18","unstructured":"Newman, S. (2021). Building Microservices, O\u2019Reilly Media, Inc."},{"key":"ref_19","unstructured":"Josuttis, N.M. (2007). SOA in Practice: The Art of Distributed System Design, O\u2019Reilly Media, Inc."},{"key":"ref_20","first-page":"10","article-title":"Event-driven architecture overview","volume":"2","author":"Michelson","year":"2006","journal-title":"Patricia Seybold Group"},{"key":"ref_21","first-page":"1","article-title":"Combining service-oriented architecture and event-driven architecture using an enterprise service bus","volume":"12691275","year":"2006","journal-title":"IBM Dev. Work."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"155","DOI":"10.1109\/TSC.2008.13","article-title":"Dissemination Protocols for Event-Based Service-Oriented Architectures","volume":"1","author":"Medjahed","year":"2008","journal-title":"IEEE Trans. Serv. Comput."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Lan, L., Li, F., Wang, B., Zhang, L., and Shi, R. (2014, January 4\u20136). An Event-Driven Service-Oriented Architecture for the Internet of Things. Proceedings of the 2014 Asia-Pacific Services Computing Conference, Fuzhou, China.","DOI":"10.1109\/APSCC.2014.34"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Esposito, C., Castiglione, A., Palmieri, F., Ficco, M., and Choo, K.K.R. (2016, January 8\u201312). A Publish\/Subscribe Protocol for Event-Driven Communications in the Internet of Things. Proceedings of the 2016 IEEE 14th International Conference on Dependable, Autonomic and Secure Computing, 14th International Conference on Pervasive Intelligence and Computing, 2nd International Conference on Big Data Intelligence and Computing and Cyber Science and Technology Congress (DASC\/PiCom\/DataCom\/CyberSciTech), Auckland, New Zealand.","DOI":"10.1109\/DASC-PICom-DataCom-CyberSciTec.2016.79"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"114","DOI":"10.1145\/857076.857078","article-title":"The many faces of publish\/subscribe","volume":"35","author":"Eugster","year":"2003","journal-title":"ACM Comput. Surv. (CSUR)"},{"key":"ref_26","unstructured":"Barga, R.S., Goldstein, J., Ali, M., and Hong, M. (2006). Consistent Streaming Through Time: A Vision for Event Stream Processing. arXiv."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/2187671.2187677","article-title":"Processing Flows of Information: From Data Stream to Complex Event Processing","volume":"44","author":"Cugola","year":"2012","journal-title":"ACM Comput. Surv."},{"key":"ref_28","unstructured":"Hall\u00e9, S. (2017). From Complex Event Processing to Simple Event Processing. arXiv."},{"key":"ref_29","unstructured":"Luckham, D.C. (2001). The Power of Events: An Introduction to Complex Event Processing in Distributed Enterprise Systems, Addison-Wesley Longman Publishing Co., Inc."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Chen, C.Y., Fu, J.H., Sung, T., Wang, P.F., Jou, E., and Feng, M.W. (2014, January 18\u201322). Complex event processing for the Internet of Things and its applications. Proceedings of the 2014 IEEE International Conference on Automation Science and Engineering (CASE), New Taipei, Taiwan.","DOI":"10.1109\/CoASE.2014.6899470"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Choochotkaew, S., Yamaguchi, H., Higashino, T., Shibuya, M., and Hasegawa, T. (2017, January 5\u20137). EdgeCEP: Fully-Distributed Complex Event Processing on IoT Edges. Proceedings of the 2017 13th International Conference on Distributed Computing in Sensor Systems (DCOSS), Ottawa, ON, Canada.","DOI":"10.1109\/DCOSS.2017.14"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"581","DOI":"10.1016\/j.compeleceng.2018.02.007","article-title":"A visual programming framework for distributed Internet of Things centric complex event processing","volume":"74","author":"Eren","year":"2019","journal-title":"Comput. Electr. Eng."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Bok, K., Kim, D., and Yoo, J. (2018). Complex Event Processing for Sensor Stream Data. Sensors, 18.","DOI":"10.3390\/s18093084"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Akbar, A., Chaudhry, S.S., Khan, A., Ali, A., and Rafiq, W. (2019, January 20\u201321). On Complex Event Processing for Internet of Things. Proceedings of the 2019 IEEE 6th International Conference on Engineering Technologies and Applied Sciences (ICETAS), Kuala Lumpur, Malaysia.","DOI":"10.1109\/ICETAS48360.2019.9117467"},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Wang, W., and Guo, D. (2012, January 24\u201326). Towards unified heterogeneous event processing for the Internet of Things. Proceedings of the 2012 3rd IEEE International Conference on the Internet of Things, Wuxi, China.","DOI":"10.1109\/IOT.2012.6402308"},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"10","DOI":"10.1109\/MIC.2015.26","article-title":"Thingsonomy: Tackling Variety in Internet of Things Events","volume":"19","author":"Hasan","year":"2015","journal-title":"IEEE Internet Comput."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Aggarwal, C.C. (2013). Managing and Mining Sensor Data, Springer.","DOI":"10.1007\/978-1-4614-6309-2"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Liu, L., and \u00d6zsu, M.T. (2009). Encyclopedia of Database Systems, Springer.","DOI":"10.1007\/978-0-387-39940-9"},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"101865","DOI":"10.1109\/ACCESS.2019.2930313","article-title":"A Universal Complex Event Processing Mechanism Based on Edge Computing for Internet of Things Real-Time Monitoring","volume":"7","author":"Lan","year":"2019","journal-title":"IEEE Access"},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"181","DOI":"10.1016\/j.is.2017.11.002","article-title":"From event streams to process models and back: Challenges and opportunities","volume":"81","author":"Soffer","year":"2019","journal-title":"Inf. Syst."},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Stojanovic, N., Stojanovic, L., Xu, Y., and Stajic, B. (2014, January 24\u201328). Mobile CEP in Real-Time Big Data Processing: Challenges and Opportunities. Proceedings of the 8th ACM International Conference on Distributed Event-Based Systems, DEBS \u201914, New York, NY, USA.","DOI":"10.1145\/2611286.2611311"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Gkoulis, D., Bardaki, C., Politi, E., Routis, I., Nikolaidou, M., Dimitrakopoulos, G., and Anagnostopoulos, D. (2021, January 14\u201318). An Event-based Microservice Platform for Autonomous Cyber-Physical Systems: The case of Smart Farming. Proceedings of the 2021 16th International Conference of System of Systems Engineering (SoSE), V\u00e4ster\u00e5s, Sweden.","DOI":"10.1109\/SOSE52739.2021.9497471"},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Chun, S., Jung, J., Jin, X., Cho, G., Shin, J., and Lee, K.H. (2014, January 6\u20138). Short paper: Semantic URI-based event-driven physical mashup. Proceedings of the 2014 IEEE World Forum on Internet of Things (WF-IoT), Seoul, Republic of Korea.","DOI":"10.1109\/WF-IoT.2014.6803156"},{"key":"ref_44","unstructured":"(2023, February 20). Apache Software Foundation. Available online: https:\/\/kafka.apache.org\/."},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"347","DOI":"10.1016\/j.compag.2018.09.013","article-title":"Rules engine and complex event processor in the context of internet of things for precision agriculture","volume":"154","author":"Pan","year":"2018","journal-title":"Comput. Electron. Agric."},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"da Costa Bezerra, S.F., Filho, A.S.M., Delicato, F.C., and da Rocha, A.R. (2021). Processing Complex Events in Fog-Based Internet of Things Systems for Smart Agriculture. Sensors, 21.","DOI":"10.3390\/s21217226"},{"key":"ref_47","doi-asserted-by":"crossref","unstructured":"Kodali, R.K., Jain, V., and Karagwal, S. (2016, January 21\u201323). IoT based smart greenhouse. Proceedings of the 2016 IEEE Region 10 Humanitarian Technology Conference (R10-HTC), Agra, India.","DOI":"10.1109\/R10-HTC.2016.7906846"},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"186","DOI":"10.1016\/j.jss.2017.05.125","article-title":"Quality of service approaches in IoT: A systematic mapping","volume":"132","author":"White","year":"2017","journal-title":"J. Syst. Softw."},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Singh, M., and Baranwal, G. (2018, January 23\u201324). Quality of Service (QoS) in Internet of Things. Proceedings of the 2018 3rd International Conference On Internet of Things: Smart Innovation and Usages (IoT-SIU), Bhimtal, India.","DOI":"10.1109\/IoT-SIU.2018.8519862"},{"key":"ref_50","doi-asserted-by":"crossref","unstructured":"Jos\u00e9, R., Van Laerhoven, K., and Rodrigues, H. (2020). 3rd EAI International Conference on IoT in Urban Space, Springer.","DOI":"10.1007\/978-3-030-28925-6"},{"key":"ref_51","unstructured":"Subash, K., Ramya, D.J., and Arockiam, L. (2019). Quality of Service in the Internet of Things (IoT)\u2013A Survey, ReTeLL."},{"key":"ref_52","unstructured":"Green, J. (2023, February 20). Fast Innovation Requires Fast IT. Available online: https:\/\/docplayer.net\/16351642-Fast-innovation-requires-fast-it.html."}],"container-title":["Future Internet"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-5903\/15\/4\/135\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T19:07:32Z","timestamp":1760123252000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-5903\/15\/4\/135"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,3,31]]},"references-count":52,"journal-issue":{"issue":"4","published-online":{"date-parts":[[2023,4]]}},"alternative-id":["fi15040135"],"URL":"https:\/\/doi.org\/10.3390\/fi15040135","relation":{},"ISSN":["1999-5903"],"issn-type":[{"value":"1999-5903","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,3,31]]}}}