Cargando…

An Enhanced File Transfer Mechanism Using an Additional Blocking Communication Channel and Thread for IoT Environments

In this paper, we propose an enhanced file transfer mechanism for a communication framework (CM) for Internet of Things (IoT) applications. Our previous file transfer method uses a basic non-blocking communication channel and thread for the CM (non-blocking method), but this method has a cost of add...

Descripción completa

Detalles Bibliográficos
Autores principales: Moon, Yangchan, Lim, Mingyu
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2019
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6471322/
https://www.ncbi.nlm.nih.gov/pubmed/30871216
http://dx.doi.org/10.3390/s19061271
_version_ 1783412002276769792
author Moon, Yangchan
Lim, Mingyu
author_facet Moon, Yangchan
Lim, Mingyu
author_sort Moon, Yangchan
collection PubMed
description In this paper, we propose an enhanced file transfer mechanism for a communication framework (CM) for Internet of Things (IoT) applications. Our previous file transfer method uses a basic non-blocking communication channel and thread for the CM (non-blocking method), but this method has a cost of adding additional bytes to each original file block. Therefore, it is not suitable for the transfer of large-sized files. Other existing file transfer methods use a separate channel to transfer large-sized files. However, the creation of a separate channel increases the total transmission delay as the transfer frequency increases. The proposed method uses a dedicated blocking communication channel in a separate thread (blocking method). The blocking method uses a separate channel and thread which are dedicated to transferring file blocks. As it creates the separate channel in advance before the file transfer task, the proposed method does not have an additional channel creation cost at the moment of the file transfer. Through file transfer experiments, the blocking method showed a shorter file transfer time than the non-blocking method, and the transmission delay was increased as the file size grew. By supporting both non-blocking and blocking methods, an application can flexibly select the desirable method according to its requirement. If the application requires the transfer of small-sized files infrequently, it can use the non-blocking method. If the application needs to transfer small-sized or large-sized files frequently, a good alternative is to use the blocking method.
format Online
Article
Text
id pubmed-6471322
institution National Center for Biotechnology Information
language English
publishDate 2019
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-64713222019-04-26 An Enhanced File Transfer Mechanism Using an Additional Blocking Communication Channel and Thread for IoT Environments Moon, Yangchan Lim, Mingyu Sensors (Basel) Article In this paper, we propose an enhanced file transfer mechanism for a communication framework (CM) for Internet of Things (IoT) applications. Our previous file transfer method uses a basic non-blocking communication channel and thread for the CM (non-blocking method), but this method has a cost of adding additional bytes to each original file block. Therefore, it is not suitable for the transfer of large-sized files. Other existing file transfer methods use a separate channel to transfer large-sized files. However, the creation of a separate channel increases the total transmission delay as the transfer frequency increases. The proposed method uses a dedicated blocking communication channel in a separate thread (blocking method). The blocking method uses a separate channel and thread which are dedicated to transferring file blocks. As it creates the separate channel in advance before the file transfer task, the proposed method does not have an additional channel creation cost at the moment of the file transfer. Through file transfer experiments, the blocking method showed a shorter file transfer time than the non-blocking method, and the transmission delay was increased as the file size grew. By supporting both non-blocking and blocking methods, an application can flexibly select the desirable method according to its requirement. If the application requires the transfer of small-sized files infrequently, it can use the non-blocking method. If the application needs to transfer small-sized or large-sized files frequently, a good alternative is to use the blocking method. MDPI 2019-03-13 /pmc/articles/PMC6471322/ /pubmed/30871216 http://dx.doi.org/10.3390/s19061271 Text en © 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Moon, Yangchan
Lim, Mingyu
An Enhanced File Transfer Mechanism Using an Additional Blocking Communication Channel and Thread for IoT Environments
title An Enhanced File Transfer Mechanism Using an Additional Blocking Communication Channel and Thread for IoT Environments
title_full An Enhanced File Transfer Mechanism Using an Additional Blocking Communication Channel and Thread for IoT Environments
title_fullStr An Enhanced File Transfer Mechanism Using an Additional Blocking Communication Channel and Thread for IoT Environments
title_full_unstemmed An Enhanced File Transfer Mechanism Using an Additional Blocking Communication Channel and Thread for IoT Environments
title_short An Enhanced File Transfer Mechanism Using an Additional Blocking Communication Channel and Thread for IoT Environments
title_sort enhanced file transfer mechanism using an additional blocking communication channel and thread for iot environments
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6471322/
https://www.ncbi.nlm.nih.gov/pubmed/30871216
http://dx.doi.org/10.3390/s19061271
work_keys_str_mv AT moonyangchan anenhancedfiletransfermechanismusinganadditionalblockingcommunicationchannelandthreadforiotenvironments
AT limmingyu anenhancedfiletransfermechanismusinganadditionalblockingcommunicationchannelandthreadforiotenvironments
AT moonyangchan enhancedfiletransfermechanismusinganadditionalblockingcommunicationchannelandthreadforiotenvironments
AT limmingyu enhancedfiletransfermechanismusinganadditionalblockingcommunicationchannelandthreadforiotenvironments