Implementasi Pull Message dengan menggunakan Restful Web Service pada komunikasi Wireless Sensor
DOI:
https://doi.org/10.26594/register.v3i2.699Keywords:
Arduino, Pull Message, Restful Web Service, Wireless Sensor Network, WSN, IoT, nirkabel, wirelessAbstract
Wireless Sensor Network (WSN) merupakan jaringan dengan skalabilitas yang sangat tinggi, dan memiliki jumlah sensor node yang sangat banyak. Untuk efisiensi biaya, sensor node banyak diterapkan dengan menggunakan Arduino. Arduino merupakan papan rangkaian elektronik open source yang di dalamnya terdapat chip mikrokontroler. Dengan keterbatasan resource yang dimiliki oleh Arduino, efisiensi komputasi yang ada di dalam sensor node harus diperhatikan. Salah satunya berkaitan dengan proses komunikasi dan pengiriman data dari sensor node ke sink node (gateway). Restful web service merupakan salah satu protokol komunikasi yang memanfaatkan HTTP. Protokol ini dikenal memiliki efisiensi yang cukup tinggi, di samping karena interoperabilitasnya untuk digunakan pada berbagai platform. Dalam makalah ini akan diuraikan hasil dari implementasi model pull message dengan menggunakan restful web service, pada komunikasi antara sink node (gateway) dengan sensor node, di dalam infrastruktur WSN. Dalam penelitian yang dilakukan, digunakan mikrokontroler Arduino sebagai sensor node, dan Raspberry Pi sebagai sink node. Selain itu juga diimplementasikan mekanisme thread untuk menangani multi-process yang berjalan di dalam sensor node. Hasil dari pengujian menunjukan bahwa interval sensing, ukuran data, dan jumlah sink node yang melakukan request, tidak begitu berpengaruh terhadap ketersedian free memory heap pada sensor node. Sedangkan ukuran dari data hasil sensing yang dikirim mempunyai pengaruh terhadap request-response time.
Wireless Sensor Network (WSN) infrastructure has very high scalability, which is composed of a large number of the sensor node. For cost efficiency, sensor node broadly deployed using Arduino. Arduino is the open-source electronic circuit board, which has embedded microcontroller chipset. Due to limited resource, the efficiency of computation inside Arduino must be considered during the development of sensor node. One of them is related to communication and data delivery process between the sensor node and sink node. Restful Web Service is one of communication protocol framework which uses HTTP protocol and claimed to be the most efficient Web Service. As well as the other web services, Restful also support high interoperability of communication. In this paper we describe the implementation of pull message mechanism on WSN communication between the sensor node and sink node, using Restful Web Service. We implemented sensor node using Arduino board, and sink node using Raspberry Pi. We also used thread mechanism to handle multi-process that run in the sensor node. The results of the study show that the interval time in sensing, data size, and the number of sink node which makes requests, didn’t give too much influence in the availability of free memory heap in the sensor node. While the size of sensor data that was sent to sink node have an influence on a request-response time.
References
Barroca, N., M.Borges, L., J.Velez, F., Monteiro, F., Górski, M., & Castro-Gomes, J. (2013). Wireless sensor networks for temperature and humidity monitoring within concrete structures. Construction and Building Materials, 40(2013), 1156-1166.
Burgstahler, D., Lampe, U., Richerzhagen, N., & Steinmetz, R. (2013). Push vs. Pull: An Energy Perspective (Short Paper). Service-Oriented Computing and Applications (SOCA), 2013 IEEE 6th International Conference on (pp. 190-193). Koloa: IEEE.
Chaudhary, D. D., Nayse, S. P., & Waghmare, L. M. (2011). Application of wireless sensor networks for greenhouse parameter control in precision agriculture. International Journal of Wireless & Mobile Networks (IJWMN), 3(1), 140-149.
Ferdoush, S., & Li, X. (2014). Wireless Sensor Network System Design Using Raspberry Pi and Arduino for Environmental Monitoring Applications. Procedia Computer Science, 34(2014), 103-110.
Georgitzikis, V., Akribopoulos, O., & Chatzigiannakis, I. (2012). Controlling Physical Objects via the Internet using the Arduino Platform over 802.15.4 Networks. IEEE Latin America Transactions, 10(3), 1686-1689.
Hamad, H., Saad, M., & Abed, R. (2010). Performance Evaluation of RESTful Web Services for Mobile Devices. International Arab Journal of e-Technology, 1(3), 72-78.
Käbisch, S., Peintner, D., Heuer, J., & Kosch, H. (2010). Efficient and Flexible XML-Based Data-Exchange in Microcontroller-Based Sensor Actor Networks. Advanced Information Networking and Applications Workshops (WAINA), 2010 IEEE 24th International Conference on (pp. 508-513). Perth: IEEE.
Leguay, J., Lopez-Ramos, M., Jean-Marie, K., & Conan, V. (2008). An efficient service oriented architecture for heterogeneous and dynamic wireless sensor networks. Local Computer Networks, 2008. LCN 2008. 33rd IEEE Conference on (pp. 740-747). Montreal: IEEE.
Maarif, A. F. (2016). System Monitoring And Controlling Water Nutrition aquaponics Using Arduino Uno Based Web Server. Kinetik, 1(1), 39-46.
Othman, N. Y., Glitho, R. H., & Khendek, F. (2007). The Design and Implementation of a Web Service Framework for Individual Nodes in Sinkless Wireless Sensor Networks. Computers and Communications, 2007. ISCC 2007. 12th IEEE Symposium on (pp. 941-947). Las Vegas: IEEE.
Sawidin, S., Melo, O. E., & Marsela, T. (2015). Monitoring Kontrol Greenhouse untuk Budidaya Tanaman Bunga Krisan dengan LabView. JNTETI (Jurnal Nasional Teknik Elektro dan Teknologi Informasi), 4(4), 236-242.
Downloads
Additional Files
Published
How to Cite
Issue
Section
License
Please find the rights and licenses in Register: Jurnal Ilmiah Teknologi Sistem Informasi. By submitting the article/manuscript of the article, the author(s) agree with this policy. No specific document sign-off is required.
1. License
The non-commercial use of the article will be governed by the Creative Commons Attribution license as currently displayed on Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
2. Author(s)' Warranties
The author warrants that the article is original, written by stated author(s), has not been published before, contains no unlawful statements, does not infringe the rights of others, is subject to copyright that is vested exclusively in the author and free of any third party rights, and that any necessary written permissions to quote from other sources have been obtained by the author(s).
3. User/Public Rights
Register's spirit is to disseminate articles published are as free as possible. Under the Creative Commons license, Register permits users to copy, distribute, display, and perform the work for non-commercial purposes only. Users will also need to attribute authors and Register on distributing works in the journal and other media of publications. Unless otherwise stated, the authors are public entities as soon as their articles got published.
4. Rights of Authors
Authors retain all their rights to the published works, such as (but not limited to) the following rights;
Copyright and other proprietary rights relating to the article, such as patent rights,
The right to use the substance of the article in own future works, including lectures and books,
The right to reproduce the article for own purposes,
The right to self-archive the article (please read out deposit policy),
The right to enter into separate, additional contractual arrangements for the non-exclusive distribution of the article's published version (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal (Register: Jurnal Ilmiah Teknologi Sistem Informasi).
5. Co-Authorship
If the article was jointly prepared by more than one author, any authors submitting the manuscript warrants that he/she has been authorized by all co-authors to be agreed on this copyright and license notice (agreement) on their behalf, and agrees to inform his/her co-authors of the terms of this policy. Register will not be held liable for anything that may arise due to the author(s) internal dispute. Register will only communicate with the corresponding author.
6. Royalties
Being an open accessed journal and disseminating articles for free under the Creative Commons license term mentioned, author(s) aware that Register entitles the author(s) to no royalties or other fees.
7. Miscellaneous
Register will publish the article (or have it published) in the journal if the article’s editorial process is successfully completed. Register's editors may modify the article to a style of punctuation, spelling, capitalization, referencing and usage that deems appropriate. The author acknowledges that the article may be published so that it will be publicly accessible and such access will be free of charge for the readers as mentioned in point 3.