Abstract
Using currently available infrastructure in pervasive environments it is possible to provide intelligent mechanisms that offer people help and guidance for organizing their daily activities. In this study, a framework providing such capabilities is proposed. This framework allows users to model their daily activities in the form of workflows, which are adaptable at run-time according to context information collected in pervasive environments. A workflow engine is used for modelling and management of workflows, while a separate rule engine with complex event processing (CEP) capability is incorporated into the framework for enhancing workflow adaptation and execution. The adaptation model in the framework allows for the modelling of activities in a hierarchical manner, from high level abstract activities to more detailed ones. An event-driven architecture (EDA) is utilized for loosely coupled interaction between the workflow engine and the rule engine, allowing these engines and other context sources to exchange data among themselves. Moreover, the EDA allows incorporation of context information into the workflow models without modifying the workflow language. A level of automation higher than the level supported by workflows is proposed by processing events in pervasive environments using CEP. A prototype implementation is developed and the framework is evaluated with some real life examples that demonstrate its applicability.
Similar content being viewed by others
References
Abbasi AZ, Shaikh Z (2009) A conceptual framework for smart workflow management. In: Proceedings—2009 International Conference on Information Management and Engineering, ICIME 2009, pp 574–578
Abbasi AZ, Ahsan MU, Shaikh ZA, Nasir Z (2010) CAWD: A tool for designing context-aware workflows. In: 2nd International conference on software engineering and data mining, SEDM 2010, pp 128–133
Adams M, Ter Hofstede AHM, Edmond D, van der Aalst WMP (2006) Worklets: a service-oriented implementation of dynamic flexibility in workflows. Move Meaningful Internet Syst 2006 CoopIS DOA GADA ODBASE 4275:291–308. https://doi.org/10.1007/11914853_18
Adams M, Ter Hofstede A, Russell N, van der Aalst WMP (2009) Dynamic and context-aware process adaptation. Handb Res Complex Dyn Process Manag Tech Adapt Turbul Environ 104–136. https://doi.org/10.4018/978-1-60566-669-3.ch005
Altintas I, Berkley C, Jaeger E et al (2004) Kepler: an extensible system for design and execution of scientific workflows. In: Proceedings 16th international conference on scientific and statistical database management, 2004, pp 423–424
Ardissono L, Furnari R, Goy A et al (2007) A framework for the management of context-aware workflow systems. In: Filipe J, Cordeiro J (eds) Web information systems and technologies. Barcelona, Spain, pp 80–87
Avenoğlu B (2014) A context-aware and workflow-based framework for pervasive environments. Dissertation. Middle East Technical University
Baldauf M, Dustdar S, Rosenberg F (2007) A survey on context-aware systems. Int J Ad Hoc Ubiquitous Comput 2:263 277. https://doi.org/10.1504/IJAHUC.2007.014070
Bali M (2009) Drools JBoss Rules 5.0 developer’s guide. Packt, Birmingham
Baumgrass A, Di Ciccio C, Dijkman R et al (2015) GET controller and UNICORN: Event-driven process execution and monitoring in logistics. In: CEUR Workshop Proceedings, pp 75–79
Breitenbücher U, Hirmer P, Képes K et al (2015) A Situation-aware workflow modelling extension. In: Proceedings of the 17th international conference on information integration and web-based applications & services. ACM, New York, NY, USA, pp 64:1–64:7
Cho Y, Choi J, Choi J (2007) A context-aware workflow system for a smart home. In: 2007 International Conference on Convergence Information Technology ICCIT. IEEE, pp 95–100
Cho Y, Shin C, Park D et al (2010) A workflow service scenario based on uWDL for smart agriculture. In: 2010 5th international conference on embedded and multimedia computing. EMC-10—Proceedings, pp 1–4
Esper Team and EsperTech Inc (2015) Esper reference. http://esper.espertech.com/release-5.2.0/esper-reference/pdf/esper_reference.pdf. Accessed 20 Nov 2017
Görg S, Bergmann R (2015) Social workflows—vision and potential study. Inf Syst 50:1–19. https://doi.org/10.1016/j.is.2014.12.007
Han J, Cho Y, Choi J (2005) Context-aware workflow language based on web services for ubiquitous computing. In: Computational science and its applications–ICCSA 2005. Springer, pp 1008–1017
Han J, Cho Y, Kim E, Choi J (2006) A Ubiquitous workflow service framework. In: Computational science and its applications—ICCSA 2006. Springer, pp 30–39
Hendler J, Tate A, Drummond M (1990) AI planning: systems and techniques. AI Mag 11:61–77. https://doi.org/10.1609/aimag.v11i2.833
Herrmann K, Rothermel K, Kortuem G, Dulay N (2008) Adaptable pervasive flows—an emerging technology for pervasive adaptation. In: 2008s IEEE international conference on self-adaptive and self-organizing systems workshops. IEEE, Venice, pp 108–113
Hirmer P, Wieland M, Schwarz H et al (2017) Situation recognition and handling based on executing situation templates and situation-aware workflows. Computing 99:163 181. https://doi.org/10.1007/s00607-016-0522-9
Hofstede A, ter, Clemens S, Adams M (2010) YAWL—technical manual. http://www.yawlfoundation.org/manuals/YAWLTechnicalManual2.1.pdf. Accessed 28 Jun 2017
Hsu H-J, Wu S-Y, Wang F-J (2010) A methodology to developing context-aware pervasive applications. In: 2010 Fifth IEEE international symposium on service oriented system engineering. IEEE, Nanjing, China, pp 206–213
Jennings NR, Norman TJ, Faratin P (1998) ADEPT: an agent-based approach to business process management. SIGMOD Rec 27:32–39. https://doi.org/10.1145/306101.306112
Kawsar F, Kortuem G, Altakrouri B (2010) Supporting interaction with the internet of things across objects, time and space. In: 2010 internet of things (IOT). IEEE, Tokyo, pp 1–8
Kortuem G, Kawsar F, Altakrouri B (2010) Flow-driven ambient guidance. In: 2010 8th IEEE international conference on pervasive computing and communications workshops (PERCOM Workshops). IEEE, pp 796–799
Latour ALD, Babaki B, Dries A et al (2017) Combining stochastic constraint optimization and probabilistic programming: from knowledge compilation to constraint solving. Lecture notes in computer science (including subseries lecture notes in artificial intelligence and lecture notes in bioinformatics), pp 495–511
Luckham DC (2001) The power of events: an introduction to complex event processing in distributed enterprise systems. Addison-Wesley Longman, Boston
Mahmoud QH (2004) Getting started with java message service (JMS). http://www.oracle.com/technetwork/articles/java/introjms-1577110.html. Accessed 28 June 2017
Marrella A, Halapuu P, Mecella M, Sardina S (2015) SmartPM: an adaptive process management system for executing processes in cyber-physical domains? In: CEUR workshop proceedings, pp 115–119
Michelson BM (2006) Event-driven architecture overview event-driven SOA is just part of the EDA story. Patricia Seybold Gr Elem Links. https://doi.org/10.1571/bda2-2-06cc
Minor M, Schmalen D, Weidlich J, Koldehoff A (2008) Introspection into an agile workflow engine for long-term processes—tool demonstration. In: Proceedings of the workshop on enabling technologies: infrastructure for collaborative enterprises, WETICE, pp 241–245
Ordóñez A, Eraso L, Ordóñez H, Merchan L (2016) Comparing drools and ontology reasoning approaches for automated monitoring in telecommunication processes. Procedia Comput Sci 95:353–360
Orton JD, Weick KE (1990) Loosely coupled systems: a reconceptualization. Acad Manag Rev 15:203–223. https://doi.org/10.2307/258154
Ouyang C, van der Aalst WMP, Dumas M et al (2007) Service-oriented processes: an introduction to BPEL. In: Cardoso J (ed) Semantic web services: theory, tools, and applications. Information science reference. IGI Global, London, pp 155–190
Pryss R, Tiedeken J, Reichert M (2010) Managing Processes on mobile devices: the MARPLE approach. In: CAiSE’10 Demos. Hammamet, Tunisia
Pryss R, Tiedeken J, Kreher U, Reichert M (2011) Towards flexible process support on mobile devices. LNBIP 72:150–165. https://doi.org/10.1007/978-3-642-17722-4_11
Ranganathan A, McFaddin S (2004) Using workflows to coordinate Web services in pervasive computing environments. In: Proceedings—IEEE international conference on web services (2004). IEEE, pp 288–295
Reichert M, Rinderle S, Dadam P (2003) ADEPT workflow management system flexible support for enterprise-wide business processes—tool presentation. In: Proc. 1st Int’l conf. on business process management (BPM’03). Springer, Eindhoven, pp 370–379
Russell N, ter Hofstede AHM (2009) Surmounting BPM challenges: the YAWL story. Comput Sci Res Dev 23:67–79. https://doi.org/10.1007/s00450-009-0059-7
Salatino M, Aliverti E (2012) jBPM5 developer guide. Packt, Birmingham
Satyanarayanan M (2001) Pervasive computing: vision and challenges. IEEE Pers Commun 8:10–17. https://doi.org/10.1109/98.943998
Schonenberg MH, Mans RS, Russell NC et al (2008) Towards a taxonomy of process flexibility. In: CEUR Workshop Proceedings, pp 81–84
Seiger R, Huber S, Schlegel T (2016) Toward an execution system for self-healing workflows in cyber-physical systems. Softw Syst Model 1–22. https://doi.org/10.1007/s10270-016-0551-z
Snyder B, Bosanac D, Davies R (2011) ActiveMQ in action. Manning Publications Co., Greenwich
Soylu A, de Causmaecker P, Desmet P (2009) Context and adaptivity in pervasive computing environments: Links with software engineering and ontological engineering. J Softw 4:992–1013. https://doi.org/10.4304/jsw.4.9.921-1013
Strang T, Linnhoff-Popien C (2004) A context modelling survey. In: Workshop on advanced context modelling, reasoning and management, UbiComp 2004—the sixth international conference on ubiquitous computing. pp 1–8
Taylor H, Yochem A, Phillips L, Martinez F (2009) Event-driven architecture: how SOA enables the real-time enterprise, 1st edn. Addison-Wesley Professional, Boston
The JBoss jBPM Team (2014) jBPM documentation. http://www.oracle.com/technetwork/articles/java/introjms-1577110.html. Accessed 28 June 2017
The YAWL Foundation (2011) YAWLUser Manual Version 2.2. In: YAWL found. http://www.yawlfoundation.org/manuals/YAWLUserManual2.2.pdf. Accessed 28 June 2017
Tuysuz G, Avenoglu B, Eren PE (2013) A workflow-based mobile guidance framework for managing personal activities. In: 2013 Seventh international conference on next generation mobile apps, services and technologies. IEEE, pp 13–18
Unger T, Eberle H, Leymann F (2010a) Research challenges on person-centric flows. In: Gierds C, Sürmeli J (eds) Proceedings of the 2nd Central European Workshop on Services and their Composition ZEUS 2010 Berlin Germany February 2526 2010. CEUR-WS.org, pp 97–104
Unger T, Eberle H, Marconi A, Sirbu A (2010b) Declarative language for goals, constraints, adaptation and evolution. http://www.allow-project.eu/deliverables/allow_d3-2_v1_0final.pdf. Accessed 28 June 2017
van Hoof J (2006) How EDA extends SOA and why it is important. https://soa-eda.blogspot.com.tr/2006/11/how-eda-extends-soa-and-why-it-is.html. Accessed 24 June 2017
Van Hille P, Jacques J, Taillard J et al (2012) Comparing Drools and ontology reasoning approaches for telecardiology decision support. Stud Health Technol Inf:300–304
van der Aalst WMP (2013) Business process management: a comprehensive survey. ISRN Softw Eng 2013:1–37. https://doi.org/10.1155/2013/507984
van der Aalst W, Stahl C (2011) Modelling business processes: a petri net-oriented approach. MIT, Cambridge
van der Aalst W, van Hee K (2004) Workflow management: models, methods, and systems. MIT, Cambridge
van der Aalst WMP, Weijters AJMM. (2004) Process mining: a research agenda. Comput Ind 53:231–244. https://doi.org/10.1016/j.compind.2003.10.001
van der Aalst WMP, Ter Hofstede AHM, Kiepuszewski B, Barros AP (2003) Workflow patterns. Distrib Parall Databases 14:5–51. https://doi.org/10.1023/A:1022883727209
van der Aalst WMP, Aldred L, Dumas M, Ter Hofstede AHM (2004) Design and implementation of the YAWL System. Proc 16th Int Conf Adv Inf Syst Eng CAiSE04 3084:281–305
van der Aalst WMP, Dumas M, ter Hofstede AHM et al (2005) Life after BPEL? In: Bravetti M, Kloul L, Zavattaro G (eds) Formal techniques for computer systems and business processes: european performance engineering workshop, EPEW 2005 and international workshop on web services and formal methods, WS-FM 2005, Versailles, France, September 1–3, 2005. Proceedings. Springer Berlin Heidelberg, Berlin, Heidelberg, pp 35–50
Van Der Aalst WMP, Adams M, Ter Hofstede AHM et al (2009a) Flexibility as a service. Lecture notes in computer science (including subseries lecture notes in artificial intelligence and lecture notes in bioinformatics), pp 319–333
Van Der Aalst WMP, Pesic M, Schonenberg H (2009b) Declarative workflows: balancing between flexibility and support. Comput Sci Res Dev 23:99–113. https://doi.org/10.1007/s00450-009-0057-9
Vigneras P (2008) InfoQ: why BPEL is not the holy grail for BPM. http://www.infoq.com/articles/bpelbpm. Accessed 28 Jun 2017
Vincent P (2007) Differences between a BRE and a rule-driven CEP engine (Part 1)|The TIBCO Blog. http://www.tibco.com/blog/2007/06/26/differences-between-a-bre-and-a-rule-driven-cep-engine-part-1/. Accessed 28 Sep 2017
Vishnuvardhan N (2015) CEP vs rule engine—why, how, what? https://www.linkedin.com/pulse/cep-vs-rule-engine-why-how-what-neeraj-vishnuvardhan. Accessed 20 Nov 2017
Wieland M, Kopp O, Nicklas D, Leymann F (2007) Towards context-aware workflows. In: Pernici B, Gulla JA (eds) CAiSE07 proc of the workshops and doctoral consortium. Citeseer, pp 1–15
Wieland M, Kaczmarczyk P, Nicklas D (2008) Context Integration for smart workflows. In: 6th IEEE international conference on pervasive computing and communications PerCom (2008), pp 239–242
Wolf H, Herrmann K, Rothermel K (2009) Modelling dynamic context awareness for situated workflows. Lect Notes Comput Sci (including Subser Lect Notes Artif Intell Lect Notes Bioinformatics) 5872:98–107
Zugal S, Soffer P, Haisjackl C et al (2013) Investigating expressiveness and understandability of hierarchy in declarative business process models. Softw Syst Model 14:1081–1103. https://doi.org/10.1007/s10270-013-0356-2
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Avenoğlu, B., Eren, P.E. A context-aware and workflow-based framework for pervasive environments. J Ambient Intell Human Comput 10, 215–237 (2019). https://doi.org/10.1007/s12652-017-0633-y
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12652-017-0633-y