skip to main content
10.1145/3297280.3297304acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

AdaptC: programming adaptation policies for WSN applications

Published: 08 April 2019 Publication History

Abstract

Evolution in both hardware and software technologies has enabled Wireless Sensor Networks(WSNs) to target a multiplicity of domains. Programming for such advanced WSNs remains a challenging process for users, especially as the WSN may need to make changes as per outcomes from different scenarios during execution. Usually, various adaptation policies are written while programming such applications to enable changes. However it is difficult for the programmer to anticipate changes for new scenarios. It also becomes difficult to reuse these adaptation policies. In this paper, we propose AdaptC, an abstraction for such adaptation policies that facilitates re-usability and expansion across various WSNs. We also present concepts for the design and implementation of AdaptC. We evaluate the abstraction for multiple use cases and compare it against existing work.

References

[1]
{n. d.}. Evaluating Programming Languages. https://courses.cs.washington.edu/courses/cse341/02sp/concepts/evaluating-languages.html
[2]
Pooyan Abouzar, David G Michelson, and Maziyar Hamdi. 2016. RSSI-based distributed self-localization for wireless sensor networks used in precision agriculture. IEEE Transactions on Wireless Communications 15, 10 (2016), 6638--6650.
[3]
Mikhail Afanasov, Luca Mottola, and Carlo Ghezzi. 2014. Context-oriented programming for adaptive wireless sensor network software. In 2014 IEEE International Conference on Distributed Computing in Sensor Systems. IEEE, 233--240.
[4]
Daniele Alessandrelli, Matteo Petraccay, and Paolo Pagano. {n. d.}. T-res: Enabling reconfigurable in-network processing in iot-based wsns. In IEEE International Conference on Distributed Computing in Sensor Systems, 2013.
[5]
Tomoyuki Aotani and Gary T Leavens. 2016. Towards Modular Reasoning for Context-Oriented Programs. In Proceedings of the 18th Workshop on Formal Techniques for Java-like Programs. ACM, 8.
[6]
Jakob E Bardram. 2005. The java context awareness framework (JCAF)-a service infrastructure and programming framework for context-aware applications. In International Conference on Pervasive Computing. Springer, 98--115.
[7]
Fehmi Ben Abdesslem, Andrew Phillips, and Tristan Henderson. 2009. Less is More: Energy-efficient Mobile Sensing with Senseless. In Proceedings of the 1st ACM Workshop on Networking, Systems, and Applications for Mobile Handhelds (MobiHeld '09). ACM, 61--62.
[8]
Stefano Bocchino, Szymon Fedor, and Matteo Petracca. 2015. Pyfuns: A python framework for ubiquitous networked sensors. In European Conference on Wireless Sensor Networks. Springer, 1--18.
[9]
Aaron Carroll and Gernot Heiser. 2010. An Analysis of Power Consumption in a Smartphone. In Proceedings of the 2010 USENIX Conference on USENIX Annual Technical Conference (USENIXATC'10). USENIX Association, 21--21.
[10]
Amol Deshpande, Carlos Guestrin, and Samuel Madden. 2005. Resource-Aware Wireless Sensor-Actuator Networks. IEEE Data Eng. Bull. 28, 1 (2005), 40--47.
[11]
Jean-Philippe Diguet, Yvan Eustache, and Guy Gogniat. 2011. Closed-loop-based self-adaptive Hardware/Software-Embedded systems: Design methodology and smart cam case study. ACM Transactions on Embedded Computing Systems (TECS) 10, 3 (2011), 38.
[12]
Adam Dunkels. 2003. The official git repository for Contiki, the open source OS for the Internet of Things. Retrieved September 22, 2018 from https://github.com/contiki-os/contiki
[13]
Adam Dunkels, Bjorn Gronvall, and Thiemo Voigt. 2004. Contiki-a lightweight and flexible operating system for tiny networked sensors. In Local Computer Networks, 2004. 29th Annual IEEE International Conference on. IEEE, 455--462.
[14]
Milan Erdelj, Nathalie Mitton, Enrico Natalizio, et al. 2013. Applications of industrial wireless sensor networks. Industrial Wireless Sensor Networks: Applications, Protocols, and Standards (2013), 1--22.
[15]
Shashank Gaur, Raghuraman Rangarajan, and Eduardo Tovar. 2016. Extending t-res with mobility for context-aware iot. In Internet-of-Things Design and Implementation (IoTDI), 2016 IEEE First International Conference on. IEEE, 293--296.
[16]
David Gay, Philip Levis, Robert von Behren, Matt Welsh, Eric Brewer, and David Culler. 2003. The nesC Language: A Holistic Approach to Networked Embedded Systems. SIGPLAN Not. 38, 5 (May 2003), 1--11.
[17]
Carlo Ghezzi, Matteo Pradella, and Guido Salvaneschi. 2010. Programming language support to context-aware adaptation: a case-study with Erlang. In Proceedings of the 2010 ICSE Workshop on Software Engineering for Adaptive and Self-Managing Systems. ACM, 59--68.
[18]
Robert Hirschfeld, Pascal Costanza, and Oscar Nierstrasz. 2008. Context-oriented programming. Journal of Object Technology 7, 3 (2008).
[19]
Xin Hu, Rahav Dor, Steven Bosch, Anita Khoong, Jing Li, Susan Stark, and Chenyang Lu. 2017. Challenges in Studying Falls of Community-dwelling Older Adults in the Real World. In Smart Computing (SMARTCOMP), 2017 IEEE International Conference on. IEEE, 1--7.
[20]
Stepan Ivanov, Kriti Bhargava, and William Donnelly. 2015. Precision farming: Sensor analytics. IEEE Intelligent systems 30, 4 (2015), 76--80.
[21]
Tetsuo Kamina, Tomoyuki Aotani, and Hidehiko Masuhara. 2011. EventCJ: a context-oriented programming language with declarative event-based context transition. In Proceedings of the tenth international conference on Aspect-oriented software development. ACM, 253--264.
[22]
Gian Pietro Picco Luca Mottola. 2011. Programming Wireless Sensor Networks: Fundamental Concepts and State of the Art. 43, 3 (2011).
[23]
Guido Salvaneschi, Carlo Ghezzi, and Matteo Pradella. 2012. Context-oriented programming: A software engineering perspective. Journal of Systems and Software 85, 8 (2012), 1801--1817.
[24]
Sanjin Sehic, Fei Li, and Schahram Dustdar. 2011. COPAL-ML: a macro language for rapid development of context-aware applications in wireless sensor networks. In Proceedings of the 2nd Workshop on Software Engineering for Sensor Network Applications. ACM, 1--6.
[25]
Norha M Villegas. 2013. Context Management and Self-Adaptivity for Situation-Aware Smart Software Systems. Ph.D. Dissertation. University of Victoria.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SAC '19: Proceedings of the 34th ACM/SIGAPP Symposium on Applied Computing
April 2019
2682 pages
ISBN:9781450359337
DOI:10.1145/3297280
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 08 April 2019

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. adaptation
  2. applications
  3. context-awareness
  4. cyber-physical systems
  5. internet of things
  6. macroprogramming
  7. wireless sensor network

Qualifiers

  • Research-article

Funding Sources

Conference

SAC '19
Sponsor:

Upcoming Conference

SAC '25
The 40th ACM/SIGAPP Symposium on Applied Computing
March 31 - April 4, 2025
Catania , Italy

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 58
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

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