Abstract

In the last decent, the number of Internet of Things (IoT) health-based paradigm reached to a huge number of users, services, and applications across different disciplines. Thus, hundreds of wireless devices seem to be distrusted over a limited or small area. To provide a more efficient network, the software-defined network (SDN) thought to be a good candidate to deal with these huge number of wireless users. In this work, after a novel SDN algorithm is proposed for the hospital environment, it is also designed and integrated into an Internet of Health Things (IoHT) paradigm. The novel algorithm called adaptive switching (AS) is proposed as a novel adaptive access strategy based on adaptively hoping among existing Go-Back-N and Selective Repeat techniques. Finally, the throughput performance of the proposed AS method is compared with the performances of traditional Go-Back-N and Selective Repeat ARQ methods using the developed MATLAB simulation. For this, an optimal rate that the network should prefer to switch either from Go-Back-N to Selective Repeat or from Selective Repeat to Go-Back-N method to maximize the network throughput performance is determined. The evaluated results are also confirmed by theoretical calculation results using well-known Mathis throughput formula. It is observed from the simulation results that the best throughput performance can be evaluated, when AS switches to Go-Back-N if the is less than 3.5% and it switches back to Selective Repeat when the is greater than 3.5%. By this way, it is also observed that the throughput always has its best possible results for all rates and up to 37.52% throughput improvement is provided by the use of novel proposed adaptive switching (AS) algorithm.

1.1. Introduction

The IoT is a rapidly evolving ecosystem that connects hardware, computing devices, physical items, software, and animals or humans over a network, allowing them to interact, communicate, gather, and share data [1, 2]. From industrial applications to e-healthcare applications, there are many distinct kinds of IoT services [35].

In [6], the authors introduced the development in the rising technologies and the framework for EC-IoT-based SG (edge computing for IoT-enabled smart grid), with its implementation requirements. And in [7], the authors provide the current operations of the healthcare system and discuss the mapping of these operations into the architectural diagram. Smart wearable/implant sensors, machine devices connected to or within a human body for monitoring in a hospital digital healthcare system, are the goal of this study, to gather data about the person’s state of health for heartbeat, blood pressure, glucose level, etc., via the technologies of wearable sensors [8]. The overall proposed structure of the software-defined network-driven Internet of Health Things paradigm is given in Figure 1. In this figure, the end-to-end (ETE) data flow in the proposed structure can easily be followed.

The control types of wireless body sensors used in hospital-based healthcare applications can be categorized into 3 subcategories as centralized control, decentralized control, and distributed control types [9]. In the case where the single node in a centralized control system has a global view and knowledge of the network, and it decides whether a node’s functionality is required or not, the node should be active or inactive. In the case of the having a noncentralized control system, the categorization of the nodes will be done in several groups where there will certainly be a single node in each group (as the central node). The activity of these nodes is determined by interactions among the core nodes of different groups. When the distributed control is in use, there will be no grouping or no central control nodes, and also for network-wide decision-making, such as selecting the active nodes over the network region, all the nodes in the network will communicate with each other dynamically.

In this work, the throughput performance of decentralized control of wireless body sensors in hospital-based healthcare applications is investigated. And, since the SDN really does distinct from the control plane to the data plane, it is considered to be a good candidate for controlling such a network; thus, a new structure for SDN-driven Internet of Things is proposed for e-health applications.

In Figure 1, a multifloored hospital building structure is considered with several sections distributed in each floor of the hospital, where each of these sections consists of at least six and up to seven patient beds. The machine sensors are connected to the whole body of the patient to monitor his/her biological or vital signals and their other activities. Each of these sensors is also equipped with a wireless transceiver, and the gathered data are transmitted to the controller node over the wireless channel (each patient has his/her own single controller node which is located close to him but not attached to his/her body) using the standard of IEEE 802.15.6. The most important function of the controller node (CN) is to receive the data and transmit it to the bridge node (BN). In this work, the layer up to this point is called as “the healthcare monitoring network layer” or “the data plane layer.”

The second layer above the first one is “the software-defined network (SDN) layer,” for which the healthcare monitoring network layer can be considered as the data plane for it. In each of the sections, the data are collected and transmitted to the BN either by a multihop or by a single hop. Then, the SDN controller selects the appropriate path for the data gathered by the CN over the hop or multihop and delivers them to the BN using IEEE 802.15.6 standard (the sensors collect data, which is then sent to the controller based on 802.15.6 standard). However, to increase the system performance, the CN will also use the novel proposed technique called “adaptive switching (AS) technique” as the second function of the SDN controller.

The third layer which is called “the IoT layer” is in charge of the data follow management and the making of decision. The data are forwarded either to the healthcare services inside the hospital (and represented by doctors or nurses before being stored in the data storage devices) or to other hospitals and the intelligent cloud system over the Internet.

The main contribution of this work is done on the data link layer of OSI (open systems interconnection) model where a novel adaptive switching (AS) technique is proposed which is a combination of traditional automatic repeat request protocols. This technique is simulated on a hospital healthcare monitoring system to be used with the SDN-driven Internet of Health Things (SDN-IoHT). As the result of this work, it is shown that the throughput performance of hospital healthcare monitoring system is improved by the proposed technique.

The major contributions provided in this work can be summarized as follows: (i)An SDN-driven Internet of Health Things (SDN-IoHT) network is designed for the hospital monitoring system in real time which comprised of three layers, “healthcare monitoring network layer,” “SDN layer,” and “IoT” layer(ii)The novel proposed switching technique called adaptive switching (AS) which makes switching among one of the traditional Go-Back-N and Selective Repeat methods according to the packet error rate of the network at an instant is simulated, and it is shown that the throughput performance of real-time hospital monitoring system is improved(iii)Additionally, a multihop technique is also utilized to present alternative paths to CN and to overcome the direct transmission failures

The rest of the paper is organized as follows.

The MAC protocol of the Go-Back-N and selective repeat ARQ is explained in Subsection 2.1; then, in Subsection 2.2, the proposed adaptive switching (AS) technique is described. In Section 3, the evaluated simulation results and the provided throughput performance improvement are presented. Finally, in Section 4, conclusions are made and future research approaches are suggested.

1.2. Related Work

The limitations of the proposed frameworks/design/algorithms in Table 1 are as follows: (i)Single work considered the important metric quality of service which represented by throughput in the SDN environment for healthcare applications(ii)None of the previous work consider the packet error rate in the SDN environment for healthcare application(iii)Finally, none of the previous work design framework that taken into account MAC protocol in the SDN environment for healthcare applications

Only a few research has been done on the SDN healthcare-based paradigm thus far. SDN is a promising technology that defines new network communication design and management techniques. Despite the fact that it is a broad emergency, IoHT is still in its infancy, with a huge field of study for different issues such as scalability and heterogeneity, with existing IoHT paradigm and so forth.

In [10], for the healthcare paradigm, a WBSN architecture based on the SDN paradigm with a novel energy-aware routing algorithm is presented. As a result, for e-healthcare architecture, a WBSN architecture based on the SDN method with a novel energy-aware routing algorithm is presented and built.

In [11], a framework for software-defined WBAN (SDWBAN) is designed and proposed that brought the idea of SDN technologies into WBAN applications. By this concept, decoupling the control plane from the data plane and having more programmatic control would assist to remedy the current deficiencies and challenges of WBAN.

In [12], the use of SDN is proposed in addition to service function chain (SFC), and instinctive simulate annealing (SA) methods, in e-health service networks, decrease the time it takes for IoT data to be transmitted. The SA technique is proven to be more effective in reducing data transmission time for multiple users; however, the greedy algorithm looks like a good candidate for more users. They designed a side-by-side e-health network by the proposed methods.

In [13] for WBSN, a virtual hospital architecture based on SDN is recommended. The inclusion of cloud architecture into WBSN for virtual hospital architectural ideas leads in a new and fundamental architecture that may benefit from SDN and reduce the intricacy of cloud architecture.

[14] proposes and presents a flexible network architecture that can handle intelligent health monitoring and emotional care. Particularly, an architecture based on an SDN system named e-health IoT is developed through separating the application plane from the physical infrastructure. The healthcare services acquire the ability to customize, transfer, and process their own gathered data. Several applications are permitted on a shared infrastructure due to emotion feedback via well-defined APIs, lowering total expenses. The physical infrastructure may also be controlled and managed in a flexible manner. In the study, the application plane of the proposed architecture is focused on.

In [15], a secure IoHT system that is integrated with the WBAN is demonstrated and investigated. Reliable crypto-primitives were applied to make dual communication systems which could be guaranteed the transmission privacy as well as build an entity authentication for the machine sensors, the CN, and the edge of the network.

In [16], low-power consumption, transmission reliability, latency, data speeds, and security are all examined in the WBSN domain. Furthermore, the authors examined the needs and requirements of WBAN in a traditional e-healthcare system in order to determine how such systems are able to communicate effectively in the home environment network.

[17] presents and investigates a mathematical equation for the in-body to off-body channel statistical model, which may explain the signal traveling between the transmitter and receiver antennas. The research is based on a three-dimensional virtual human body model.

The authors looked at a novel design of IoT e-healthcare paradigms in [18], which they called a secure e-healthcare IoT-based paradigm for BSN-care.

In [19], the nonstatic e-healthcare IoT paradigms are suggested with an end-to-end security mechanism. The authors of the study used the idea of fog layers in IoT to provide seamless mobility for the fog extending the cloud system to the network’s edge.

In [20], the applications of IoT in the e-healthcare industries are investigated and presented, revealing the intelligentization trend of future research in e-healthcare IoT-based paradigms.

An on-body sensor device with solar energy harvesting and a low-power transmission paradigm is explored in [21], allowing for the implementation of an autonomous WBSN. Furthermore, the information gathered from the human body is shown on a web-based smartphone application.

The effect of power allocation and packet size determination on the performance of an e-healthcare IoT-based system is addressed and studied in [22] for the wireless medium. Three protocols are suggested in the study: a power level decision, a power level and packet size choice, and a global link decision.

A new IoT-aware smart hospital system is introduced in [23]. The proposed system is capable of handling emergency circumstances effectively. Interoperability has been a major challenge for IoT researchers and developers.

But in [24], an IoT-based semantic interoperability paradigm is proposed, which enables semantic interoperability for heterogeneous IoT devices. Doctors are able to communicate with their patients since the collected data was semantically interpreted and conveyed in a meaningful way.

[25] establishes a developed concept connecting cloud computing and IoT: cloud IoT-health (CC-IoT) solutions. The idea of the CC-IoT is explored, as well as a number of important integration problems, in order to show a realistic vision that integrates current CC and IoT mechanisms in e-healthcare applications.

A privacy protector is suggested in [26], which safeguards the privacy of the patient data gathered. In privacy protector, the Slepian-Wolf-coding-based secret sharing is used to overcome a variety of security measures.

A type 2 fuzzy ontology–aided recommendation system for IoT-based healthcare is proposed in [27] to efficiently monitor the patient’s body. This system greatly increased the accuracy of predicting a patient’s condition as well as the accuracy of medical and nutritional suggestions.

In [28], harvesting energy IoT health-based paradigm has been developed, with the goal of reducing outage probability via interwireless body area network collaboration. Finally, [29] investigates WBSN in IoT health-based applications: towards delay and energy consumption minimization.

However, to the best our knowledge, in none of these works, (i)the developed SDN-based driven Internet of Health Things for hospital healthcare applications are considered(ii)SDN integrates with the wireless body area network(iii)an adaptive switching access technique has been considered for SDN-based driven Internet of Health Things

2. Proposed MAC Protocol

MAC protocols are needed to regulate communication between wireless devices over a shared medium. The commonly used wireless body area network MAC protocol is a hybrid access technique, and it comprises of carrier sense multiple access collision avoidances (CSMA/CA) and time division multiple access (TDMA) (802.15 s.6). In this work, although the intra-WBAN communication is not considered, the communication between the controller nodes and bridge node is regulated in each section of the hospital.

For this purpose, an access technique called adaptive switching (AS) is proposed in this study for determining the optimal packet loss rate that will be used to switch between Selective Repeat and Go-Back-N automatic repeat request (ARQ) methods. The proposed method is used on the controller nodes to wirelessly access the shared medium broadcasted by the bridge node.

2.1. Understanding Go-Back-N and Selective Repeat ARQ Methods

The working principles of Go-Back-N (GBN) and Selective Repeat (SR) ARQ methods [30] are given in Figures 2 and 3, respectively, for comparison. And all other parameters are also created eventually by the developed simulation program.

In Go-Back-N method, the frames are transmitted continuously and the receiver only ACKs the highest sequence-numbered frame received among the packets in the current window. Since the ACK of this packet will come back after a round-trip delay, there is also a timeout value (retransmission timer (RTT)) to decide whether to retransmit the same packet or to wait for a while. If the ACK does not arrive at the transmitter within this timeout value, the sender retransmits all the frames that are not ACKed in the current window. Thus, CWND minus (where CWND is the current window size and is the number of frames transmitted in the current window during the round-trip time) succeeding frames that were probably already transmitted during the round-trip delay will be retransmitted. For these retransmissions, a buffer is needed at the transmitter side and the receiver side does not have to buffer the frames. Because of these properties, GBN is more feasible and less complex and also requires less message overhead, and the unique disadvantage of it is we have to retransmit all the packets which are in the window but after the last acknowledged packet. That means GBN will waste the bandwidth in case of a packet loss but gain the bandwidth when no packet losses occur.

For the example in Figure 2 in which the window size is 3 and Go-Back-N is used, since pkt-1 is lost, only the last successfully arrived packet (ACK-0) of the window is acknowledged (ACK), so some of the next 3 packets outside the window cannot be taken in before receiving the ACK-1 and cannot be transmitted. Then, when all the packets are received and acknowledged but ACK-2 is lost on the returning way, pkt-2 will be considered as a lost packet by the system and the source node will retransmit it pct-2. This will cause unnecessary retransmissions. But on the other hand, the advantage of Go-Back-N is that we do not need to make ACK transmission from destination to source for each of the packets, and it is enough to transmit only the ACK of last received packet in the window.

However, in the Selective Repeat method for which an example is illustrated in Figure 3, even the packets are again transmitted continuously without waiting, the receiver ACKs not only the last successfully received packet but also ACKs all successfully received frames. Therefore, the transmitter will have the opportunity of retransmitting (repeating) only the unacknowledged frames when their own retransmission timers (RTT) expire. This method is known as the most efficient but also the most complex method, and buffers are needed at both transmitter and receiver sides. The disadvantage of this method is the usage of extra bandwidth for acknowledging all the packets.

Therefore, in some network conditions where there is low probability of error, Go-Back-N can be useful, but if there is more than a certain probability of error, Selective Repeat will be more useful. In this work, the proposed adaptive switching method will automatically switch between these two methods dynamically considering the current probability of error in the network.

The exact location of the proposed adaptive switching technique in the framework is given in Figure 4.

2.2. The Proposed Adaptive Switching (AS) Technique

Several studies and modifications were already made in the literature to increase the bandwidth utilization and to achieve a better quality of the network. It is known that each of the ARQ methods among “Stop and Wait” (SW) or “Go-Back-N” (GBN) and “Selective Repeat” (SR) may provide better results than others for different traffic conditions. However, at the beginning, it is not easy to predict which one will give the best results for a specific network. But since the rate of a network is a stochastically predictable and also sensible value in real time, the novel AS method is proposed to control the wireless access of the controller nodes to the shared medium by using the evaluated optimal rate of the network to adaptively switch between different ARQ methods for the known traffic conditions.

In the use of GBN, a trade-off may be faced, such that using less ACK will increase the throughput performance, where the packets which were already sent successfully after the lost (and unACKed) packet will also be retransmitted which will cause extra retransmissions and reduced throughput performance. On the other hand, using SR may also have another trade-off such that using more ACK will decrease the throughput performance; however, the packets already sent successfully after the lost packet will not be retransmitted which will not cause a reduce on throughput performance. In this work, an adaptive access (AS) technique is proposed to switch between these ARQ methods when specified optimal rate is experienced. For this purpose, the simulation results are evaluated using one of GBN or SR one at a time; then, it is expected to have an improved network throughput performance by dynamically switching between these methods when the system reaches to determined optimal rate.

The flow chart of the proposed technique that is given in Figure 4 is running and controlled by the control plane of the SDN. In this figure, it is shown that each controller node forwards the packet to the bridge node based on initial calculations made by control plane in SDN and the system initializes the default simulation parameters such as buffer size, packet size, MTU (maximum transferrable unit), window size, bandwidth, and . Then, using the specified functions, each node generates random numbers of video, voice, and data packets and stores them into their corresponding buffers. Then, the classifier function analyses the packets and classifies them according to their types. Finally, the scheduler function schedules the selections of the packets from each of these buffers according to FIFO (first in first out) scheduling algorithm. Then, the fastest path routing algorithm [31] is implemented for each packet to define their routes and to transfer them to their own next nodes on their own calculated routes.

3. Simulation and Discussion

The suggested protocol’s performance is assessed in this section. By this way, the developed MATLAB simulation program is used to implement the proposed AS method to provide an improvement on network throughput performance. Table 2 lists the parameters used in the simulation and their default values, as well as the default values utilized in the calculations.

Figure 5 shows the evaluated throughput values versus different packet error rates ranging from 0 to 0.1 (10%). And it is seen from the graph given in Figure 5 that the TCP throughput is very sensitive to error rates and packet losses. And only an average of 1% packet loss rate restricts the TCP throughput to be less than 1500 kbps. The shape of the curve also reveals that greater loss rates dramatically affect TCP throughput too. If no packet losses occur, the window size (CWND) steadily increases until a corrupted/lost packet is detected or the RTT is over or the receiver advertises an insufficient receive buffer.

On the other hand, after the GBN and SR methods are separately simulated as event-driven MATLAB simulations, the theoretical Mathis throughput graph is also evaluated for confirmation of the evaluated simulation results and calculation results. When the simulation results are evaluated for different rates using GBN and plotted holding on the calculation results evaluated by the Mathis formula [32, 33] for confirmation purpose, it is seen in Figure 6 that the experimental simulation results almost exactly match with the theoretically calculated throughput results.

The theoretical results in Figure 6 are evaluated analytically for GBN using the Mathis throughput formula [31] with the parameters given in Table 1 [32]. The MATLAB code implementation of theoretical calculations is given in Figure 7. On the other hand, simulation results are evaluated using a separate event-driven MATLAB simulation program in which GBN and SR methods are used. It is also shown that the evaluated outputs also match the outputs evaluated in [33].

In Figure 6 it looks like, as the probability of error increases, the throughput almost remains constant, but in fact, it just starts to slowly converge to zero throughput by the increased probability of error. Because by the time the probability of error will increase to 1 (100%), the throughput will obviously converge to 0.

On the other hand, when the simulation results are reevaluated using SR instead of GBN for the same rate scale, it is seen in Figure 8 that the experimental simulation results tend to increase by increasing rate.

It is seen in Figure 9 by the comparison of the evaluated simulation results under the same packet loss rate scale that GBN and SR can provide different throughput performances with different trade-offs. However, it is clearly seen from the resulting graph that GBN provides better throughput performance than SR for less values and SR provide better performance for greater values.

At this point, the value of at the intersection point of throughput graphs in Figure 9 will be the crucial value. Since the main goal of the work is maximizing the throughput performance, it is proposed for the network to switch between these two methods when rate of the system reaches to the obtained critical value.

Figure 10 gives the evaluated results in Figure 9 for both SR and GBN and the throughput improved by the system by using novel proposed AS method. The rate value that the proposed AS algorithm will switch between two ARQ algorithms is also seen in Figures 9 and 10 as where the result graphs evaluated by MATLAB simulation for GBN and SR intersect.

Since the system will periodically be aware of the packet error rates at each instance, it just decides whether the current rate value is less than evaluated intersection point or not, for switching from GBN to SR () or for switching from SR to GBN (). The system will intentionally and periodically transmit packets using SR for a period and then using GBN for the same period while keeping the records of rates vs. throughput to find and update the intersection point ( threshold).

The average amount of provided throughput improvement by the use of novel proposed AS method under different packet loss rates for GBN and SR is summarized in Table 3.

4. Conclusion and Discussion

In this work, the SDN structure integrated into an Internet of Health Things (IoHT) paradigm for the hospital environment is proposed and designed. Then, a novel proposed adaptive access technique called adaptive switching (AS) and based on traditional Go-Back-N and Selective Repeat technique is proposed.

Finally, the throughput performance of the proposed AS method is compared with the performances of traditional Go-Back-N and Selective Repeat ARQ methods using the developed MATLAB simulation. For this, an optimal rate that the network should prefer to switch either from Go-Back-N to Selective Repeat or from Selective Repeat to Go-Back-N method to maximize the network throughput performance is determined. The evaluated results are also confirmed by theoretical calculation results using well-known Mathis throughput formula. It is shown by the evaluated results that when the novel proposed adaptive switching (AS) method is used, the throughput always has its best possible results for all rates. Finally, it is being observed from Figure 10 and Table 3 that up to 37.52% throughput improvement is provided by the use of novel proposed adaptive switching (AS) method.

We will examine the performance of the suggested technique in future research by including different properties and critics data in the network, and add to that, we will include the energy factor to overall performance.

Data Availability

All data are available within the manuscript.

Conflicts of Interest

The authors declare that they have no conflicts of interest.