Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/2892664.2892685acmotherconferencesArticle/Chapter ViewAbstractPublication PagesmodularityConference Proceedingsconference-collections
research-article

A layer-structure diagram and a layer-interaction diagram towards a context-oriented development methodology for embedded systems

Published: 14 March 2016 Publication History

Abstract

The paper introduces new kinds of diagrams for describing organizations and interactions of layers based on context-oriented technology for context-sensitive embedded system developments. The concept of layers is suitable for processing context-aware embedded systems. As mentioned in several related literatures, layer-interactions cause critical problems such as deadlock, collision, and multi-invocation. To comprehend these problems at a high level, diagrams for visualizing relationships among layers are required. In a previous work, we proposed an OS-like architecture based on context-oriented technologies for embedded system development. The layering mechanism of the architecture dispatches or inserts layers with their states for dealing with layer-interaction problems. The goal of this paper is to introduce diagrams that contain notations for relating with the elements of the layering mechanism. To accomplish this, we consider the following issues: (1) the relations between layers, (2) layer-state management, and (3) context management attributes. The diagrams contribute to understanding layer-interaction problems with time delay and mutually exclusive layers. To explain the diagrams, we provide a simple example of an automatic cleaner robot.

References

[1]
R. Hirschfeld, P. Costanza, and O. Nierstrasz. Context-oriented Programming, Journal of Object Technology, vol. 7, no. 3, pp. 125– 151, 2008.
[2]
M. Appeltauer, R. Hirschfeld, and J. Lincke. Declarative Layer Composition with the JCop Programming Language, Journal of Object Technology, vol. 12, no. 4, pp. 4:1–37, 2013.
[3]
M. Appeltauer, R. Hirschfeld, M. Haupt, J. Lincke, and M. Perscheid. A Comparison of Context-oriented Programming Languages, Proceedings of the Workshop on Context-oriented Programming (COP) 2009, ECOOP 2009, pp. 1–6, 2009.
[4]
R. Hirschfeld, P. Costanza, and M. Haupt. An Introduction to Context-oriented Programming with ContextS, In Generative and Transformational Techniques in Software Engineering (GTTSE) II, Springer LNCS 5235, pp. 396–407, 2008.
[5]
I. Tanigawa, N. Ogura, M. Sugaya, H. Watanabe, and K. Hisazumi. A Structure of A C# Framework ContextCS based on Context-oriented Programming, Companion Proceedings of the 14th International Conference on Modularity, MODULARITY Companion 2015, pp. 21–22, 2015.
[6]
M. Appeltauer, R. Hirschfeld, M. Haupt, and H. Masuhara. ContextJ: Context-oriented Programming with Java. Information and Media Technologies, vol. 6, no. 2, pp. 399–419, 2011.
[7]
J. Lincke, M. Appeltauer, B. Steinert, and R. Hirschfeld. An Open Implementation for Context-oriented Layer Composition in ContextJS, Computer Program., vol. 76, no. 12, pp. 1194–1209, December 2011.
[8]
T. Kamina, T. Aotani, H. Masuhara, and T. Tamai. Context-oriented Software Engineering: A Modularity Vision, Proceedings of the 13th International Conference on Modularity, MODULARITY 2014, pp. 85–98, 2014.
[9]
H. Watanabe, M. Sugaya, I. Tanigawa, N. Ogura, and K. Hisazumi. A Study of Context-oriented Programming for Applying to Robot Development, Proceedings of the 7th International Workshop on Context-Oriented Programming (COP), ECOOP 2015, pp. 4:1–6, 2015.
[10]
I. Tanigawa, N. Ogura, M. Sugaya, H. Watanabe, and K. Hisazumi. A Structure of a C# Framework ContextCS Based on Context-oriented Programming, Companion Proceedings of the 14th International Conference on Modularity, MODULARITY Companion 2015, pp. 21–22, 2015.
[11]
V. Utkin, et al. Sliding Mode Control in Electromecha-nical Systems, Taylor & Francis, 1999.
[12]
K. Kang, S. Cohen, J. Hess, W. Novak, and A. Peterson. Featureoriented Domain Analysis (FODA) Feasibility Study, Carnegie-Mellon Univ Pittsburgh Pa Software Engineering Inst., 1990.
[13]
K. Kang, S. Kim, J. Lee, K. Kim, E. Shin, and M. Huh. FORM: A Feature-oriented Reuse Method with Domain-Specific Reference Architectures, Annals of Software Engineering, vol. 5, no. 1, pp. 143– 168, 1998.
[14]
T. Kamina, T. Aotani, and A. Igarashi. On-Demand Layer Activation for Type-Safe Deactivation, Proceedings of 6th International Workshop on Context-Oriented Programming (COP), ECOOP 2014, pp. 4:1–7, 2014.
[15]
N. Cardozo, S. Gonzalez, K. Mens, and T. D’Hondt. Safer Context (de)Activation: through the Prompt-loyal Strategy, Proceedings of the 3rd International Workshop on Context-Oriented Programming (COP), ECOOP 2011, pp. 2:1–6, 2011.
[16]
N. Cardozo, S. Gonzalez, K. Mens, and T. D’Hondt. Uniting Global and Local Context Behavior with Context Petri Nets, Proceedings of the International Workshop on Context-Oriented Programming (COP), ECOOP 2012, pp. 3:1–6, 2012.
[17]
T. Aotani, T. Kamina, and H. Masuhara. Unifying Multiple Layer Activation Mechanisms Using One Event Sequence, Proceedings of 6th International Workshop on Context-Oriented Programming (COP), ECOOP 2014, pp. 2:1–6 2014.

Index Terms

  1. A layer-structure diagram and a layer-interaction diagram towards a context-oriented development methodology for embedded systems

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Other conferences
      MODULARITY Companion 2016: Companion Proceedings of the 15th International Conference on Modularity
      March 2016
      217 pages
      ISBN:9781450340335
      DOI:10.1145/2892664
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      In-Cooperation

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 14 March 2016

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. Context-Oriented Programing
      2. Dynamic Program Rewriting

      Qualifiers

      • Research-article

      Conference

      Modularity '16

      Acceptance Rates

      Overall Acceptance Rate 41 of 139 submissions, 29%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • 0
        Total Citations
      • 116
        Total Downloads
      • Downloads (Last 12 months)3
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 23 Nov 2024

      Other Metrics

      Citations

      View Options

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media