Skip to main content

SCXML on Resource Constrained Devices

  • Chapter
  • First Online:
Book cover Multimodal Interaction with W3C Standards

Abstract

Ever since their introduction as a visual formalism by Harel et al. in 1987, state-charts played an important role to formally specify the behavior of reactive systems. However, various shortcomings in their original formalization lead to a plethora of formal semantics for their interpretation in the subsequent years. In 2005, the W3C Voice Browser Working Group started an attempt to specify SCXML as an XML dialect and corresponding semantic for state-charts and their interpretation, promoted to W3C recommendation status in 2015. In the context of multimodal interaction, SCXML derives a special relevance as the markup language proposed to express dialog models as descriptions of interaction in the multimodal dialog system specified by the W3C Multimodal Interaction Working Group. However, corresponding SCXML interpreters are oftentimes embedded in elaborate host environments, are very simplified or require significant resources when interpreted. In this chapter, we present a more compact, equivalent representation for SCXML documents as native data structures with a respective syntactical transformation and their interpretation by an implementation in ANSI C. We discuss the characteristics of the approach in terms of binary size, memory requirements, and processing speed. This will, ultimately, enable us to gain the insights to transform SCXML state-charts for embedded systems with very limited processing capabilities and even integrated circuits.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://dev.yorhel.nl/yxml.

  2. 2.

    https://github.com/tklab-tud/uscxml (accessed January 26th, 2015).

  3. 3.

    https://developer.apple.com/library/mac/qa/qa1398/_index.html (accessed January 26th, 2016).

References

  1. Barnett, J., Bodell, M., Dahl, D., Kliche, I., Larson, J., Porter, B., et al. (2012). Multimodal architecture and interfaces. W3C recommendation, W3C. http://www.w3.org/TR/2012/REC-mmi-arch-20121025/.

  2. Berjon, R., Faulkner, S., Leithead, T., Pfeiffer, S., O’Connor, E., & Navara, E. D. (2014). HTML5. Candidate recommendation, W3C. http://www.w3.org/TR/2014/CR-html5-20140731/.

  3. Crane, M. L., & Dingel, J. (2005). On the Semantics of UML State Machines: Categorization and Comparison. Technical Report 2005-501, School of Computing, Queen’s.

    Google Scholar 

  4. Harel, D. (1987). Statecharts: A visual formalism for complex systems. Science of Computer Programming, 8(3), 231–274.

    Article  MathSciNet  MATH  Google Scholar 

  5. Harel, D., Pnueli, A., Schmidt, J. P., & Sherman, R. (1987). On the formal semantics of statecharts (extended abstract). In Proceedings of the Symposium on Logic in Computer Science, Ithaca, NY, USA (pp. 54–64).

    Google Scholar 

  6. Hosn, R., Carter, J., Burnett, D., Lager, T., Barnett, J., Raman, T., et al. (2015). State chart XML (SCXML): State machine notation for control abstraction. W3C recommendation, W3C. http://www.w3.org/TR/2015/REC-scxml-20150901/.

  7. Mytkowicz, T., Diwan, A., Hauswirth, M., & Sweeney, P. F. (2009). Producing wrong data without doing anything obviously wrong! ACM Sigplan Notices, 44(3), 265–276.

    Article  Google Scholar 

  8. Radomski, S. (2015). Formal Verification of Multimodal Dialogs in Pervasive Environments. Ph.D. thesis, Technische Universität Darmstadt. http://tuprints.ulb.tu-darmstadt.de/5184/

  9. von der Beeck, M. (1994). A comparison of statecharts variants. In H. Langmaack, W. P. de Roever, & J. Vytopil (Eds.), Formal techniques in real-time and fault-tolerant systems. Lecture notes in computer science (Vol. 863, pp. 128–148). Berlin, Heidelberg: Springer.

    Google Scholar 

Download references

Acknowledgements

This work was supported by Institute for Information & communications Technology Promotion (IITP) grant funded by the Korea government (MSIP) (No. B0101-15-1292, Development of Smart Space to promote the Immersive Screen Media Service) and by the German Research Foundation (DFG) as part of the projects B02 within the Collaborative Research Center (CRC) 1053 – MAKI.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Stefan Radomski .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Radomski, S., Heuschkel, J., Schnelle-Walka, D., Mühlhäuser, M. (2017). SCXML on Resource Constrained Devices. In: Dahl, D. (eds) Multimodal Interaction with W3C Standards. Springer, Cham. https://doi.org/10.1007/978-3-319-42816-1_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-42816-1_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-42814-7

  • Online ISBN: 978-3-319-42816-1

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics