Context-Aware Self-adaptations: From Requirements Specification to Code Generation

  • Tomás Ruiz-López
  • Carlos Rodríguez-Domínguez
  • María José Rodríguez
  • Sergio F. Ochoa
  • José Luis Garrido
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8276)


Embedding context-aware self-adaptation mechanisms in pervasive systems is key to improve their acceptance by the users. These mechanisms involve a precise definition of the software structures that enable adding, removing or replacing components of the system to perform the adaptations. Typically the definition of these mechanisms is a complex and time consuming task. This paper presents a model-driven engineering approach to generate these context-aware self-adaptation mechanisms. The use of models transformations to define these mechanisms helps to reduce the complexity and effort required to define them. In order to illustrate the usefulness of the proposed approach, this paper reports its application to the development of a context-aware notification service.


context-awareness self-adaptation model-driven engineering software engineering 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Cirilo, C.E., do Prado, A.F., de Souza, W.L., Zaina, L.A.: Model driven RichUbi: a model driven process for building rich interfaces of context-sensitive ubiquitous applications. In: Proceedings of the 28th ACM International Conference on Design of Communication, pp. 207–214 (2010)Google Scholar
  2. 2.
    Czarnecki, K., Helsen, S.: Classification of model transformation approaches. In: Proceedings of the 2nd OOPSLA Workshop on Generative Techniques in the Context of the Model Driven Architecture, vol. 45(3), pp. 1–17 (2003)Google Scholar
  3. 3.
    Harrington, A., Cahill, V.: Model-driven engineering of planning and optimisation algorithms for pervasive computing environments. Pervasive and Mobile Computing 7(6), 705–726 (2011)CrossRefGoogle Scholar
  4. 4.
    Hussein, M., Han, J., Colman, A.: An approach to model-based development of context-aware adaptive systems. In: IEEE 35th Annual Conference Computer Software and Applications (COMPSAC), pp. 205–214 (2011)Google Scholar
  5. 5.
    Lu, T., Bao, J.: A Systematic Approach to Context Aware Service Design. Journal of Computers 7(1), 207–217 (2012)Google Scholar
  6. 6.
    Object Management Group, Model Driven Architecture (2003),
  7. 7.
    Object Management Group, MOF Model To Text Transformation (2008),
  8. 8.
    Object Management Group, Meta Object Facility 2.0 Query/View/Transformation, QVT (2011),
  9. 9.
    Rodrigues, T., Dantas, P., Delicato, F.C., Pires, P.F., Miceli, C., Pirmez, L., Huang, G., Zomaya, A.Y.: A Model-Based Approach for Building Ubiquitous Applications Based on Wireless Sensor Network. In: Sénac, P., Ott, M., Seneviratne, A. (eds.) MobiQuitous 2010. LNICST, vol. 73, pp. 350–352. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  10. 10.
    Ruiz-López, T., Noguera, M., Rodríguez, M.J., Garrido, J.L., Chung, L.: REUBI: a Requirements Engineering Method for Ubiquitous Systems. Science of Computer Programming (2012) (in press)Google Scholar
  11. 11.
    Ruiz-López, T., Rodríguez-Domínguez, C., Noguera, M., Rodríguez, M.J., Garrido, J.L.: Towards a Component-based Design of Adaptive, Context-sensitive Services for Ubiquitous Systems. In: Proceedings of the 8th Workshop on Artificial Intelligence Techniques for Ambient Intelligence (AITAmI 2013) (2013)Google Scholar
  12. 12.
    Ruiz-López, T., Noguera, M., Rodríguez, M.J., Garrido, J.L.: Requirements Systematization through Pattern Application in Ubiquitous Systems. In: Ambient Intelligence-Software and Applications, pp. 17–24 (2013)CrossRefGoogle Scholar
  13. 13.
    Seridi, H., Bouacha, I., Benselim, M.S.: Development of context-aware web services using the MDA approach. International Journal of Web Science 1(3), 224–241 (2012)CrossRefGoogle Scholar
  14. 14.
    Serral, E., Valderas, P., Pelechano, V.: Towards the model driven development of context-aware pervasive systems. Pervasive and Mobile Computing 6(2), 254–280 (2010)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2013

Authors and Affiliations

  • Tomás Ruiz-López
    • 1
  • Carlos Rodríguez-Domínguez
    • 1
  • María José Rodríguez
    • 1
  • Sergio F. Ochoa
    • 2
  • José Luis Garrido
    • 1
  1. 1.Department of Software EngineeringUniversity of GranadaGranadaSpain
  2. 2.Department of Computer ScienceUniversity of ChileChile

Personalised recommendations