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 2017 Publication 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).
[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.
[3]
Wendy Hui Kyong Chun. 2011. Programmed visions: Software and memory. Mit Press.
[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.
[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.
[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.
[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.
[8]
Amy Nordrum. 2016. Popular internet of things forecast of 50 billion devices by 2020 is outdated. IEEE Spectrum 18 (2016).
[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.
[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.
[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.
[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.
[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.

Cited By

View all
  • (2024)Automatic generation of Web of Things servients using Thing DescriptionsPersonal and Ubiquitous Computing10.1007/s00779-020-01413-328:1(325-341)Online publication date: 1-Feb-2024
  • (2020)SwarmGen: a framework for automatic generation of semantic services in an IoT network2020 IEEE International Conference on Consumer Electronics (ICCE)10.1109/ICCE46568.2020.9043076(1-5)Online publication date: Jan-2020
  • (2019)Enabling easy Web of Things compatible device generation using a Model-Driven Engineering approachProceedings of the 9th International Conference on the Internet of Things10.1145/3365871.3365898(1-8)Online publication date: 22-Oct-2019

Recommendations

Comments

Information & Contributors

Information

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
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].

In-Cooperation

  • LABSTICC: Labsticc

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 19 July 2017

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Internet of Things
  2. Servient
  3. Swarm
  4. automatic code generation

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

ICFNDS '17

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 07 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Automatic generation of Web of Things servients using Thing DescriptionsPersonal and Ubiquitous Computing10.1007/s00779-020-01413-328:1(325-341)Online publication date: 1-Feb-2024
  • (2020)SwarmGen: a framework for automatic generation of semantic services in an IoT network2020 IEEE International Conference on Consumer Electronics (ICCE)10.1109/ICCE46568.2020.9043076(1-5)Online publication date: Jan-2020
  • (2019)Enabling easy Web of Things compatible device generation using a Model-Driven Engineering approachProceedings of the 9th International Conference on the Internet of Things10.1145/3365871.3365898(1-8)Online publication date: 22-Oct-2019

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media