skip to main content
10.1145/3102304.3102334acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicfndsConference Proceedingsconference-collections
research-article

Agile servient integration with the Swarm: Automatic code generation for nodes in the Internet of Things

Published:19 July 2017Publication History

ABSTRACT

Swarm vision, consists in an organic ecosystem of heterogeneous devices that communicate and collaborate to achieve complex results. In previous work, we have proposed an architecture to implement this vision based on web technologies. In this paper, we have proposed a framework that makes the creation of Swarm-ready servients (devices that acts both as server and client) easier, by generating a ready-to-run project from a high-level description of the service. The project generated contains all dependencies and libraries needed to integrate an IoT device into the Swarm, thus saving development and configuration time. We compared the development effort of creating a servient by hand and by using our framework, having the number of lines of code as a metric. Our results show a reduction of 500% in the development effort to connect a device to the Swarm. The next steps include a semantic high-level description for participating services and support for resource-constrained devices.

References

  1. Oren Ben-Kiki, Clark Evans, and Brian Ingerson. 2005. YAML Ain't Markup Language (YAML™) Version 1.1. yaml. org, Tech. Rep (2005).Google ScholarGoogle Scholar
  2. Alexandra Caracaş and Alexander Bernauer. 2011. Compiling business process models for sensor networks. In Distributed Computing in Sensor Systems and Workshops (DCOSS), 2011 International Conference on. IEEE, 1--8.Google ScholarGoogle ScholarCross RefCross Ref
  3. Wendy Hui Kyong Chun. 2011. Programmed visions: Software and memory. Mit Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Laisa CP Costa, Jan Rabaey, Adam Wolisz, Max Rosan, and Marcelo K Zuffo. 2015. Swarm OS control plane: An architecture proposal for heterogeneous and organic networks. IEEE Transactions on Consumer Electronics 61, 4 (2015), 454--462.Google ScholarGoogle ScholarCross RefCross Ref
  5. Hatem Hamad, Motaz Saad, and Ramzi Abed. 2010. Performance Evaluation of RESTful Web Services for Mobile Devices. Int. Arab J. e-Technol. 1, 3 (2010), 72--78.Google ScholarGoogle Scholar
  6. John Klein, Harry Levinson, and Jay Marchetti. 2015. Model-driven engineering: Automatic code generation and beyond. Technical Report. Technical report, Software Engineering Institute at Carnegie Mellon University, 2015.Google ScholarGoogle Scholar
  7. Sonja Meyer, Andreas Ruppen, and Carsten Magerkurth. 2013. Internet of Things-aware Process Modeling: Integrating Iot Devices As Business Process Resources. In Proceedings of the 25th International Conference on Advanced Information Systems Engineering (CAiSE'13). Springer-Verlag, Berlin, Heidelberg, 84--98. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Amy Nordrum. 2016. Popular internet of things forecast of 50 billion devices by 2020 is outdated. IEEE Spectrum 18 (2016).Google ScholarGoogle Scholar
  9. Tim O'Reilly. 2007. What Is Web 2.0: Design Patterns and Business Models for the Next Generation of Software. Number 65. International Journal of Digital Economics. 17--37 pages.Google ScholarGoogle Scholar
  10. Pankesh Patel and Damien Cassou. 2015. Enabling high-level application development for the internet of things. Journal of Systems and Software 103 (2015), 62--84. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Jan M Rabaey. 2011. The swarm at the edge of the cloud-a new perspective on wireless. In VLSI Circuits (VLSIC), 2011 Symposium on. IEEE, 6--8.Google ScholarGoogle Scholar
  12. Till Riedel, Nicolaie Fantana, Adrian Genaid, Dimitar Yordanov, Hedda R Schmidtke, and Michael Beigl. 2010. Using web service gateways and code generation for sustainable IoT system development. In Internet of Things (IOT), 2010. IEEE, 1--8.Google ScholarGoogle Scholar
  13. Kishor Wagh and Ravindra Thool. 2012. A comparative study of soap vs rest web services provisioning techniques for mobile host. Journal of Information Engineering and Applications 2, 5 (2012), 12--16.Google ScholarGoogle Scholar

Index Terms

  1. Agile servient integration with the Swarm: Automatic code generation for nodes in the Internet of Things

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Other conferences
            ICFNDS '17: Proceedings of the International Conference on Future Networks and Distributed Systems
            July 2017
            325 pages
            ISBN:9781450348447
            DOI:10.1145/3102304

            Copyright © 2017 ACM

            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 the author(s) 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].

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 19 July 2017

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article
            • Research
            • Refereed limited

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader