Next Article in Journal
A Single-Stage High-Power Factor Converter with Synchronized Self-Excited Technique for LED Lighting
Previous Article in Journal
Improving the Gate-Induced Drain Leakage and On-State Current of Fin-Like Thin Film Transistors with a Wide Drain
Previous Article in Special Issue
An Ensemble Stacked Convolutional Neural Network Model for Environmental Event Sound Recognition
Article Menu
Issue 8 (August) cover image

Export Article

Appl. Sci. 2018, 8(8), 1409; doi:10.3390/app8081409

Relay-Enabled Task Offloading Management for Wireless Body Area Networks
School of Information Engineering, Wuhan University of Technology, Wuhan 430070, China
School of Engineering, University of Warwick, Coventry CV4 7AL, UK
Author to whom correspondence should be addressed.
Received: 9 July 2018 / Accepted: 16 August 2018 / Published: 20 August 2018


Inspired by the recent developments of the Internet of Things (IoT) relay and mobile edge computing (MEC), a hospital/home-based medical monitoring framework is proposed, in which the intensive computing tasks from the implanted sensors can be efficiently executed by on-body wearable devices or a coordinator-based MEC (C-MEC). In this paper, we first propose a wireless relay-enabled task offloading mechanism that consists of a network model and a computation model. Moreover, to manage the computation resources among all relays, a task offloading decision model and the best task offloading recipient selection function is given. The performance evaluation considers different computation schemes under the predetermined link quality condition regarding the selected vital quality of service (QoS) metrics. After demonstrating the channel characterization and network topology, the performance evaluation is implemented under different scenarios regarding the network lifetime of all relays, network residual energy status, total number of locally executed packets, path loss (PL), and service delay. The results show that data transmission without the offloading scheme outperforms the offload-based technique regarding network lifetime. Moreover, the high computation capacity scenario achieves better performance regarding PL and the total number of locally executed packets.
computation offloading; WBANs; C-MEC; resource management; QoS

1. Introduction

Recent technological developments have enabled various emerging biomedical and clinical applications such as transplanted organ monitoring and wireless capsule endoscopy image transmission that demand high a data rate and low-latency quality of service (QoS) requirements [1]. However, there exist numerous research challenges in this area. One of the most critical of these is how to handle the intensive computation tasks from implanted sensors promptly. Moreover, due to the technical constraint of the battery design, another research challenge is how to improve battery-powered relays’ computation capacity when executing intensive computing tasks [2,3,4,5].
Mobile edge computing (MEC) has been proposed as a promising candidate to replace cloud computing services when considering hospital/home-based healthcare scenarios [6,7]. This is achieved by extending conventional monitoring to ambulatory monitoring, offering real-time feedback to patients by taking full advantage of the Internet of Things (IoT) relays in combination with an edge computing server. In contrast to cloud-like computing providers that transmit the task to a remote server that is possibly several thousand kilometers away from the patients, the MEC-based scheme is capable of executing intensive computing tasks locally or in a proximal edge server. However, the majority of current MEC research is focused on mobile communications and very little has been reported on healthcare-related scenarios.
Direct transmission between the implanted sensor and the local coordinator suffers significant energy attenuation and thus decreases the network lifetime [8]. Moreover, since every piece of in-body information is critical when considering emergency intra-body data transmission, one should be aware that it is more efficient if the relays can execute the task from the implanted sensors when designing the system architecture. As a result, the patient can be notified of life-critical emergency medical information via the relay, which has user-friendly interaction [9,10]. Furthermore, due to the limited computation resources of relays, they cannot execute all computing tasks from implanted sensors. As reported in Reference [11], a cloud or cloudlet with a substantial amount of computing resources that can accept offloaded tasks from user equipment (UE) such as smartphones can decrease UE computing energy consumption. However, this is not applicable when considering emergency medical scenarios where the computing server should be closed to the patient, so as to offer computing resources under abnormal medical situations. Moreover, the network should provide multiple available physiological signal monitoring services.
To achieve the proposed targets, inspired by the MEC technique and IoT relays, the architecture of a wireless relay-enabled task offloading framework is proposed that can significantly improve the quality of the hospitalized patient monitoring services. Moreover, relay-based task offloading schemes are considered to address the research challenges related to computation intensive tasks and resource management. Furthermore, this work is motivated by the significant tradeoffs involving relays, considering different task offloading based schemes and various QoS metrics. Since the task offloading process consumes time regarding offloading decisions and transmission, a single-hop technique is adopted and the task offloads to the relay with a minimal cost function value if the relay cannot execute the task locally. Finally, if the emergency intra-body task is too large to be performed by relays locally, it will be offloaded to the C-MEC, which has higher computation capacity and power resources compared with on-body relays.
In this paper, a novel framework of the hospitalized relay-enabled offload strategy for wireless biomedical implant systems is proposed. It is assumed that the computation resource of relays is limited and that the computation tasks can be executed by either the relays or the C-MEC. The offloading decision model is given along with the numerous QoS constraints. To balance the energy consumption of all relays, a resource management scheme is investigated considering the computation task, computation capacity, and the energy status of the relays. The results show that the offloading strategy-based solution outperforms the non-offloading enhanced scheme regarding energy consumption, path loss (PL), and the total number of locally executed packets. Also, the tradeoff between different computation capacities and the related QoS metrics regarding the task offload technique are presented in detail.
The rest of the paper is organized as follows. Section 2 summarizes the recent work in this research area. Section 3 illustrates the proposed system regarding the structure of the C-MEC, channel models, and task offloading model. The proposed communication for the offloading-based transmission scheme is given in Section 4, and Section 5 demonstrates the system performance and comparison with our previous work. Finally, Section 6 concludes the paper and lists a collection of on-going research and future work within wireless body area network (WBAN) techniques, which are presented as motivation towards progress in medical monitoring services.

2. Related Work

Currently, the majority of patients’ physiological signal monitoring services are based on note-taking, which is time-consuming and subject to inaccuracy. In addition, this method is unable to offer real-time data sensing and computing of the collected data to support the clinical diagnosis and decision-making process. One promising solution to handle the mentioned research challenges is to employ the WBAN techniques along with the utility computing methods [2,6]. In this way, the collected data of the implanted devices can be transmitted to interconnected on-body UE or computing servers to be processed. The processed data are then distributed to the relevant medical professionals.
Practically, the computation and wireless communication resources of relays are limited. Thus, the handling of intensive computation tasks is one of the critical research challenges in WBANs. The authors of References [12,13] reported a cloud-based data stream execution technique in mobile cloud computing and extended the access method of cloud services to mobile devices such as smart wearable devices. The results show that the proposed technology enables mobile devices to execute mobile applications efficiently by employing cloud resources. However, this technique is not applicable in medical applications because data are uploaded to a remote cloud at a distance of many kilometers and thus suffer significant transmission delay. Numerous commercially available cloud platforms have been proposed, such as ThinkAir and Amazon elastic compute cloud, which are able to migrate the computational tasks from the UE to the cloud [14]. However, when the UE requires a cloud computation resource, one has to send the instructions and the tasks all the way via the Internet. As a result, the long-distance data transmission cannot meet the healthcare monitoring requirements regarding communication reliability, flexibility, and latency. Wang et al. proposed a list of transmission algorithms regarding the uplink-based task offloading framework that can reduce the signaling between UE and the cloud [15]. However, the results proved that some UE might increase their transmission power to maintain the high data rate and this action may significantly increase other UE’s packet loss and degrade the link quality.
Another research challenge is that the traditional relay cannot offer sufficient computation or communication resources. Bello et al. [16] demonstrated that wearable devices can perform as IoT relays because of their computation and communication capabilities. After the physiological data of the human body have been sensed, the task can be executed locally and the results can be promptly noticed by patients. As reported by Guo et al. [17], data relaying processes require extra power and battery-operated IoT relays may exhaust quickly. These authors also pointed out that the network lifetime can be significantly increased by employing relay collaboration and efficient transmission scheduling techniques. However, this paper does not consider the relay selection scheme or the tradeoff between the system complexity and performance. Moreover, to overcome severe interference and inefficient use of the limited wireless communication resources of UE, small cell networks were recommended in Reference [18]. However, with less computational capacity compared with macro networks and local area networks, traditional small cell networks are likely unable to meet the low latency QoS requirement when a large number of relays offload the tasks simultaneously. Moreover, to increase the overall lifetime of all relays, relays with higher residual energy can accept as many as possible offloading requests from other relays by managing the communication and computation resource in the networks. However, there is no appropriate control mechanism or optimization techniques for this method when considering hospital/home-based medical monitoring scenarios.
The link quality of the body communication channel is of great significance when determining the network performance. Different researchers have proposed numerical solutions to handle the problem of the link disconnection in numerous methods. The authors of Reference [8] employed Line-of-Sight (LoS) and Non-Line-of-Sight (NLoS) communications, while Reference [19] deployed the store and forward routing technique to analyze the link quality. Moreover, energy efficient modulation techniques are advantageous in reducing the hardware structure and decreasing the noise interference when considering the limited UE battery capacities. References [20,21] pointed out that M-ary phase shift keying (M-PSK) modulation schemes are applicable to energy saving and maintaining channel reliability. As demonstrated in Reference [21], given the high QoS requirements of healthcare applications, the authors selected a bit error rate (BER) of 10−3 to ensure that the communication performance was acceptable.
This paper proposes a hospital/home-based medical monitoring framework that can be employed in potential diversified scenarios by providing a small-sized C-MEC server and task offloading strategy. We first focus on the data transmission scheme between the relays and the C-MEC rather than the intra-body networking design, as reported in Reference [19]. As proved in References [8,22], the energy consumption of the implanted sensors is heavily influenced by the transmission distance. Relay-based transmission is proposed as a promising technique to minimize the communication distance and thus improve the network lifetime. Moreover, sufficient link quality should be ensured, as stated in References [23,24], because data transmission from the on-body relay to the C-MEC suffers from high energy attenuation. Moreover, similar to one of the key research challenges in IoT offloading strategies, the issue of where to execute the computation tasks should be further investigated when designing the healthcare monitoring systems [25,26].

3. System Model

A practical wireless relay-enabled biomedical implant system is proposed, where N 1 relays are employed to serve a series of K 1 implanted sensors. The relay and implanted sensor sets are denoted as N and K , respectively, with | N | = N and | K | = K . Each relay performs an on-body physiological signal collection and has a computation task that needs to be completed locally. Since the intra-body environment is complex and different from person to person, a reasonable assumption that all devices have the same Z values is made, and we only consider the XY plane. More accurate work regarding WBAN data transmission can be investigated by extending the proposed system model to three-dimensional (3D) scenarios.

3.1. System Architecture

The system architecture is introduced by considering edge computing and WBAN techniques, as shown in Figure 1. Unlike the work in References [27,28], we present the concept of C-MEC instead of the coordinator, as this offers computation resources to execute the medical tasks and forward the results to medical professionals in a timely manner. As can be seen from Figure 1a, an implanted sensor transmits the computing task C i to the on-body relay via the intra-body region. Moreover, since the implanted sensor broadcasts short information to the relays, one should note that relay selection should be considered, as shown in Figure 1b. Once the relay is selected, different task offloading schemes are given in Figure 1c. The task C i can be executed by the corresponding relay, by other relays, or by the C-MEC. One should note that we encourage tasks from intra-body devices to be executed locally by relays so that user-friendly interaction can provide timely patient warnings under emergency conditions and avoid transmitting tasks to the C-MEC, which is typically far away from the patient. In this paper, the Cartesian coordinate system in which each implanted sensor is fixed is w k = [ x k , y k ] T 2 × 1 , k K with the transmitted data packet C i to the corresponding relay. The coordinates of the relay i are expressed as w i = [ x i , y i ] T 2 × 1 , i N and those of the C-MEC are expressed as w c = [ x c , y c ] T 2 × 1 . The data transmission energy consumption for the implanted sensor k K to transmit C i to the corresponding relay i can be expressed as:
  E k t r a n s = C i ( E k e + n E a m p | | w k w i | | 2 ) ,    
where E k e and E a m p represent the energy consumption to activate the implanted sensor circuit per bit and the radio amplifier, respectively. The PL exponent is represented by n, which primarily depends on the transmission environment. The energy consumption for relay i to receive C i can be expressed as:
  E i r e c = C i E i e l e c , i N ,  
where E i e l e c is the essential energy consumption to activate the relay electronic circuit per bit.

3.2. Computation Model

The relay is of significant importance when considering the execution of task C i from the implanted devices and the on-body physiological task D i . As analyzed earlier, task U i of relay i to be performed can be defined as:
  U i = ( F i , C i , D i , T i r ) , i N ,  
where F i and T i r represent the required computation resource (i.e., CPU resource) and the maximum time allowance to complete all tasks, respectively. One should note that D i cannot be offloaded to others and should always be executed by relay i itself. In the proposed system, we assume that the MEC server performs as a coordinator and assists relays to execute the task C i by providing computation resources, since each relay has D i to be executed locally and only C i can be offloaded. We define the indication parameters, i.e., a i j , i N , j N to denote whether task C i from relay i is offloaded to relay j. Thus, one has:
  a i j = { 0 , no   offloading ,   1 , relay   i   offloads   the   task   C i   to   the   relay   j ,    
where i N , j N . Once relay i decides to execute C i   itself, the local power consumption for this task can be given as:
  p i c = C i α ( f i c ) β , i N ,    
where f i c means the computation capability (i.e., CPU cycles per second) of relay i as analyzed in Reference [29]. The positive constant parameters α and β are pre-configured and depend on the chip architecture. Realistic measurements of those parameters are α   = 10−11 and 2 β 3 [30]. Then, one has the time of local execution:
  T i C = F i f i c , i N ,    
where T i C T i r . However, when T i C > T i r , it means that relay i cannot accomplish the task under QoS requirements, and thus the task offloading process is needed. According to Equations (4) and (5), the energy consumption of relay i to execute task C i can be expressed as:
  E i C i = p i c · T i C = F i C i α ( f i c ) β 1 , i N  
When consider the locally executed task D i , the energy consumption for sensing this can be expressed as: E i s e n = D i E i c , where E i c is the energy consumption required for sensing one bit. Similar to Equation (7), the energy consumption of executing task D i can be written as:
  E i D i = F i D i α ( f i c ) β 1 , i N  
Thus, the minimal energy consumption for relay i is E i m i n = E i D i + E i s e n . Recalling Equation (4), a i j = 1 indicates that relay i decides to offload task C i to relay j via an on-body to on-body communication link. The distance between the two relays can be expressed as:
  d i j = | | w i w j | | 2 , i N , j N , i j ,  
where w j is the coordinate of relay j. The time of the task offloading can be expressed as:
  T i j o f f ( a i j ) = j N a i j ( | | w i w j | | 2 c ) , i N , j N , i j ,  
where c is the speed of light. Relay j can then execute task C i in the same manner as relay i. However, once relay j cannot execute the task due to a lack of computation resources or the execution time T i C T i r , the task will be offloaded to the C-MEC. This then assigns bandwidth B i j to relay j; the task offloading rate then can be written as:
  R i j ( U i ) = B i j log 2 ( 1 + h C j p j T σ 2 ) , i N , j N , i j ,  
where σ 2 represents the power of the additive white Gaussian noise (AWGN) at relay j. All of the channels are assumed to be orthogonal and ignore the interference caused by other relays. h C j is the channel state information from relay j to the C-MEC and p j T is the transmission power of relay j, respectively. As proposed in Reference [21], only white Gaussian noise is considered in this paper. Then the time of task offloading can be expressed as:
  T i j o f f ( U i ) = j N a i j ( | | w j w c | | 2 R i j ( U i ) ) , i N , j N , i j  
The energy consumption of the task offloading can be calculated as:
  E i j ( U i ) = p i T T i j o f f ( U i ) , i N , j N , i j  
Once the C-MEC receives the offloading task from relay j, it will execute it and transmit the results back to relay j promptly.

3.3. Channel Characterization

The PL model characterizing the transmission energy attenuation between the on-body transmitting relay node and the receiving relay at distance d can be formulated as [8,28]:
  P L d B ( d ) = P L d B ( d 0 ) + 10 n log 10 ( d d 0 ) + S , d d 0 ,  
where d 0 represents the reference distance and P L d B ( d 0 ) is the PL value at d 0 . S represents the shadow fading effect, which follows a normal distribution with zero mean and standard deviation σ , i.e., S ~ ( 0 , σ 2 ) . One should note that the PL model presented by Equation (14) is also applicable to the on-body channel, as proved in Reference [31]. The BER for M-PSK over the WBAN fading channel has been widely investigated. In this paper, the binary phase-shift keying (BPSK) modulation scheme is utilized for further analysis due to its simple structure and high efficiency. The performance of M-PSK ( M 4 ) can be found in Reference [20]. Assuming the transmitting power is P t and the noise to power density ratio is N 0 , one can obtain the instantaneous signal to noise ratio (SNR) γ as:
  γ = P t N 0 R i j ( U i ) P L d B ( d )  
The BER performance can be formulated as a function of the instantaneous SNR as:
  P e ( γ ) = Q ( 2 γ ) = 1 2 e r f c ( γ )  
where erfc( · ) represents the Gaussian error function. The average BER of the transmission link can be expressed as:
  P e ( γ ¯ ) = 0 + P ( γ ) P e ( γ ) d γ = 1 2 0 + P ( γ ) e r f c ( γ ) d γ ,    
where γ ¯ and P ( γ ) represent the average value of SNR and the BER performance of the additive white Gaussian noise (AWGN) channel, respectively. Consequently, Equation (17) can be rewritten as:
  P e ( γ ¯ m ) = 1 2 n = 1 N e r f c ( γ ) P m ( γ n γ n 1 ) ,    
  P m ( γ n ) = 1 μ γ n σ d B exp ( ( l n γ n γ ¯ n + 1 2 μ 2 σ d B 2 ) 2 2 μ 2 σ d B 2 ) ,    
where μ = ln 10 / 10 . The average BER performance of the WBAN channel under BPSK modulation can be obtained by the numerical evaluation of Equation (18). Considering data transmission over a fading channel such as a relay to relay or relay to the C-MEC, the capacity per unit bandwidth can be written as:
  C B = log 2 ( 1 + γ r e c ) ,    
where C denotes the channel capacity. γ r e c and B represent the received SNR and the transmitting channel bandwidth, respectively. The γ r e c in dB can be given as:
  γ r e c = P r e c 10 log 10 R i j ( U i ) P n ,    
where P r e c is the received power and P n can be expressed as:
  P n = 10 log 10 ( v T B N F ) ,    
where v is the Boltzmann constant and N F is the noise figure. Recalling the AWGN noise with one-sided power spectral density, one can obtain that:
  N 0 = v [ T r x + ( N F 1 ) T t x ] ,    
where T r x and T t x are the temperatures at the transmitter and the receiver in Kelvin (K), respectively.

4. Proposed Resource Management Solution

As analyzed above, the relay can increase the lifetime by offloading task C i . However, task offloading to others may increase the overall transmission distance and increase the energy consumption. In this section, a relay selection algorithm for the implanted sensors and a task offloading decision model to assist the relay i task offloading decision is proposed.

4.1. Network Initialization Phase

The C-MEC is placed at the center of the hospital ward and a series of on-body relays are attached to a patient’s clothes. Implanted sensors are located inside the human body at the predetermined positions. The C-MEC broadcasts a short message information packet to the relays, which assigns a unique ID to each. The relays store the C-MEC location information and send information packets, which contain the energy status and locations. In accordance with Reference [22], the implanted sensors broadcast short information to all relays, which are then updated with the location and energy status of the implanted devices. In this way, all relays can update the location and channel information for potential task offloading. After network initialization is complete, one round starts.

4.2. Local Decision Process

Equation (1) points out that the transmission energy consumption of an implanted sensor is related to the communication distance. To minimize the energy consumption of the implanted sensors, the relay selection algorithm is proposed as:
  ψ ( i ) = | | w k w i | | 2 E i E i m i n ,    
where E i is the initial energy of relay i and E i E i , m i n is the residual energy status of relay i. The relay with the minimal value of ψ ( i ) will be elected as the best relay. Relay i receives task C i from the implant sensor while simultaneously executing the on-body task D i . If relay i can execute task C i by itself, then we employ Equations (4)–(8). Numerous key QoS metrics are obtained and one round is finished. If relay i cannot executes task C i by itself according to U i , it will trigger the offloading process, and task C i will be offloaded to another relay. This method is summarized in Algorithm 1.
Algorithm 1. Proposed Iterative Relay Selection Method
The relay and implanted sensor sets are denoted as N and K .
Initialization: each relay is assigned a unique ID;
       select the x-th relay as the target to connect;
       for a specific implanted sensor k ;
       current round r;
       current residual energy status E r e s ;
For i N do
  calculate the distance between the implanted sensor and the i-th relay: | | w k w i | | 2
  calculate the relay’s residual energy: E i E i m i n ;
  If ψ ( x ) ψ ( i ) then
    //do nothing, x is still the best choice so far;
    x = i;//i-th relay becomes a better choice;
  End if
End for
establish a link between the implanted sensor and the x-th relay;
Update E r e s , r = r + 1

4.3. Data Offloading Process

At this stage, priority based task offloading criteria are given to balance the energy consumption among all relays. The proposed algorithm considers three key parameters: residual energy, computation ability F i , and task C i . Since a relay with a higher residual energy and computation capacity is more likely to handle C i under QoS constraints, the priority task offloading receiver selection function can be formulated as:
  Z ( j ) = C i E j F j ,    
where E j and F j represent the residual energy and computation resource of relay j. Relay j, which has a higher Z ( j ) value, does not have enough resources in terms of computation resource or residual energy. The offloading requests that relay i delivers task C i to relay j with the minimal value Z ( j ) . One should note that the nearest relay may not be able to accept the task due to a lack of computation resources. By doing so, the relay with the appropriate resources takes the computing task described by Equations (9) and (10). If relay j can execute the task locally, as mentioned in Equations (5)–(8), in a similar way to Section 4.2, numerous key QoS metrics are obtained and one round finishes. However, if relay j cannot execute the task, this will be offloaded to the C-MEC. The detailed information is given in Algorithm 2.
Algorithm 2. Proposed Iterative Task Offloading Strategy
Initialize F i , D i , T i r , C i , E r e s
The task with a size of C i received according to Algorithm 1;
Update U i according to Equation (3);
If E i r e s < E i C i + E i D i or T i C T i r Then
  execute the task locally according to Equations (5)–(8)
   Z ( j ) with a minimal value is selected according to Equation (25);
  offload task C i to relay j according to Equations (9)–(12);
End if
While E j E j C i + E j D i do
  execute the task on j-th relay according to Equations (5)–(8);
  offload task C i to the C-MEC according to Equations (9)–(12);
End while

4.4. Scheduling and Data Transmission

At this stage, the C-MEC assigns a time slot to relay j. The task will be offloaded to the C-MEC for executing as indicated in Equations (11)–(13) and then the selected QoS metrics will be calculated and one round finishes. This process continues until the energy of all relays is exhausted.

5. Results and Discussion

5.1. Link Quality Analysis

The cumulative distribution function (CDF) of the channel capacity per unit bandwidth should follow as:
  P ( C B ) P ( C B ) t h r ,    
where P ( C B ) t h r is the threshold value and depends on the specific application. According to Equations (17)–(22), Equation (26) can be rewritten as:
  P ( C B ) 1 2 e r f c ( P t P n P L d B ( d ) 2 σ s ) .    
Besides, the channel link quality can be measured by the system margin M s . Considering the minimum acceptable S N R t h r , it should follow that:
  M s = S N R d B S N R t h r 0 .    
A negative value of M s indicates that the link cannot provide enough power to maintain the channel link reliability [32].

5.2. Network Topology

The proposed scenario is a hospital ward with dimensions of 5 m × 5 m, where the C-MEC is placed at the center of the room, the implanted sensor is located at the center of the human body, and five relays are attached on the clothes with the same initial energy and computational capabilities. Table 1 summarizes the coordination of the relays, implanted sensor, and C-MEC.

5.3. Performance Evaluation

In this section, the performance of the proposed task offloading-based resource management scheme is compared with a non-offloading technique. We focus on the performance of the relays and assume that the energy resources of the implanted sensor and the C-MEC are infinite. The performance is conducted on the basis of the residual network energy, network lifetime, PL, and total number of executed tasks C i . The characteristics of a commercially available WBAN transceiver (CC2420) are employed in the simulations and an initial energy of 0.5 Joule (J) is provided to all relays. The number of relays is limited to five, each with a single antenna. The packet size of C i is set as 1500 bits since this is the typical payload defined by the IEEE 802.15.6 technical standard [8] and D i is set as 1000 bits. The simulation parameters are summarized in Table 2. Simulations were conducted in MATLAB and performance results are compared in terms of f i c   = 1500 CPU cycles, f i c   = 2500 CPU cycles, and the scheme without offloading. One should notice that other simulation techniques such as NS2 and OMNET+ are also applicable; detailed information can be found in References [33,34].
Considering the strict QoS requirements of healthcare applications, and according to the previous work on WBANs, a minimum acceptable BER threshold of 10−3 is selected for on-body transmission channel analysis. To guarantee human body safety, the maximum transmission power is set as −12 dBm since this is recommended by the IEEE 802.15.6 technical standard. The maximum data transmission distance is selected as 2.5 m since this is a typical value of commercial IoT WBAN platforms for home and hospital areas [35,36]. Since the on-body fading channel is time-varying, one should note that the channel capacity of the transmission link is not static. Figure 2 and Figure 3 demonstrate the CDF versus channel capacity per unit and the link quality versus different transmission distances, respectively. It can be seen from Figure 2 that, under the same channel capacity, the higher transmission rate achieves a lower CDF performance. Moreover, from Figure 3 it can be seen that the lower data rate realizes a better link quality performance. As a result, an appropriate data rate R i j ( U i ) = 500 kbps is selected for further investigation.
In this paper, the network lifetime is defined as the time spanning from the network initiation until the energy of all relays is exhausted. The relationship between the residual energy of all relays and the network lifetime is given in Figure 4 under different scenarios. One can see that application requiring higher computation resources leads to a shorter lifetime when employing the offloading strategy. Primarily, the network lifetime is approximately 1200 rounds when f i c   = 2500 CPU cycles, while it is 1800 rounds when f i c   = 1500 CPU cycles. The reasons for these results are as follows: relay i with a higher computation capacity is highly likely to accept the offload task from others according to the proposed task offloading recipient selection algorithm in Section 4.2. Moreover, when considering the non-offloading technique, the relays only forward C i to the C-MEC, thus significantly reducing the relays’ task computing power consumption.
PL is a significant indicator through which we can explore the signal power reduction when considering data transmission from the transmitter to the receiver. In accordance with Reference [8], we only analyze the on-body NLoS communications. The analysis of the LoS communication can be found in Reference [28]. The PL parameters are given as follows: PL exponent n of 5.9, standard deviation σ of 4.15 dB, and P L d B ( d 0 ) of 48.4 dB. As can be obtained from Equation (14), a longer transmission distance d leads to higher PL values. It can be seen from Figure 5 that relays in scenarios requiring higher computation resources achieve lower PL values. On the contrary, when relay i cannot handle task C i locally (when providing lower CPU cycles), it will trigger the offloading process and then offload the task to others. Therefore, the offloaded task C i with higher computation resources required suffers a longer transmission distance and leads to higher PL values. Data transmission without offloading leads to the highest PL results because all data packets are transmitted to the C-MEC from the implanted sensors via relays, which results in the longest transmission distance when compared with task offload schemes.
Figure 6 shows the total number of executed packets by relays under different scenarios. As mentioned in Section 4.2 and Section 4.3, the total number of executed packets depends heavily on the relays’ computation resources and energy status. It can be seen from Figure 6 that approximately 12,500 packets are executed by the relay when f i c   = 2500 CPU cycles, while around 4500 packets can be implemented when f i c   = 1500 CPU cycles. Clearly, the number of executed packets is zero without deploying the task offload scheme.
Figure 7 illustrates the total delay performance under different scenarios. As mentioned in Equation (6), a larger value of F i leads to longer local execution time. As can be seen from Figure 7, the maximum delay is around 60 nanoseconds (ns) when f i c   = 2500 CPU cycles and about 40 ns when f i c   = 1500 CPU cycles. Then the network becomes stable after 750 rounds and 1250 rounds when f i c   = 1500 CPU cycles and f i c   = 1500 CPU cycles, respectively. The non-offloading scheme achieves the worst performance with a maximum delay at approximate 81 ns. One can observe that the value of F i should be selected carefully when designing a task offloading-based healthcare monitoring system because the large value of f i c promises a lower PL and a higher number of locally executed tasks, while also decreasing the network lifetime significantly due to the large energy consumption. Moreover, one should note that the medical service should satisfy the latency requirement of not more than 250 milliseconds. As can be seen from the results, our proposed solution can achieve satisfactory latency performance.

6. Conclusions

Owing to the rapid developments of IoT relay and MEC, a novel framework of a relay-enabled task offloading system is proposed in this paper to handle the intensive computing tasks sent from an implanted sensor. We first proposed the network model and the task offloading decision model. Moreover, resource management of relays was determined based on the computation task, the residual energy of relays, and the computation resources, so as to be capable of balancing the energy consumption among all relays. Furthermore, we analyzed the channel capacity and the data rate under the predetermined acceptable BER condition. The results proved that the task offloading technique outperforms the non-offloading scheme in multiple aspects. Specifically, the higher computation capacity relay-based network achieved a lower PL and higher total number of locally executed packets. Moreover, the results showed that the non-offloading scheme achieves the highest network lifetime. The outcomes of this paper can be applied to future home/hospital-based healthcare monitoring services such as transplanted organ monitoring and intra-body high data rate transmission scenarios.
In this future, we are interested in evaluating the proposed technique on a real experiment testbed. Moreover, the comprehensive tradeoff between wireless communication and computation resources for the wireless relay-enabled task offloading scheme could be selected as a future research topic. In addition, the power allocation of implanted and wearable devices is of great significance when designing healthcare systems. We are also interested in exploiting efficient power allocation techniques for WBANs by employing optimization solutions [37,38].

Author Contributions

Y.L. and Q.Y. conducted the research ideas of this manuscript; Y.L. conceived the research subject and designed the simulation codes; Y.H. analyzed the data; Y.L. and Q.Y. wrote the paper. M.S.L. supervised the paperwork, provided a review, comments, assessment, and revised the paper.


This work was supported by the National Natural Science Foundation of China (Grant No. 61801342 and Grant No. 61801341) and the Fundamental Research Funds for the Central Universities (Grant No. 2018IVA098 and 2018IVA099).

Conflicts of Interest

The authors declare no conflict of interest.


  1. Hu, F.; Liu, X.; Shao, M.; Sui, D.; Wang, L. Wireless energy and information transfer in WBAN: An overview. IEEE Netw. 2017, 31, 90–96. [Google Scholar] [CrossRef]
  2. Movassaghi, S.; Abolhasan, M.; Lipman, J.; Smith, D.; Jamalipour, A. Wireless body area networks: A survey. IEEE Commun. Surv. Tutor. 2014, 16, 1658–1686. [Google Scholar] [CrossRef]
  3. Salayma, M.; Al-Dubai, A.; Romdhani, I.; Nasser, Y. Wireless body area network (WBAN): A survey on reliability, fault tolerance, and technologies coexistence. ACM Comput. Surv. 2017, 50, 3. [Google Scholar] [CrossRef]
  4. Qi, X.; Wang, K.; Huang, A.; Hu, H.; Han, G. MAC protocol in wireless body area network for mobile health: A survey and an architecture design. Int. J. Distrib. Sens. Netw. 2015, 11, 289404. [Google Scholar] [CrossRef]
  5. Cavallari, R.; Martelli, F.; Rosini, R.; Buratti, C.; Verdone, R. A survey on wireless body area networks: Technologies and design challenges. IEEE Commun. Surv. Tutor. 2014, 16, 1635–1657. [Google Scholar] [CrossRef]
  6. Tran, T.X.; Hajisami, A.; Pandey, P.; Pompili, D. Collaborative mobile edge computing in 5G networks: New paradigms, scenarios, and challenges. IEEE Commun. Mag. 2017, 55, 54–61. [Google Scholar] [CrossRef]
  7. Jararweh, Y.; Doulat, A.; AlQudah, O.; Ahmed, E.; Al-Ayyoub, M.; Benkhelifa, E. The future of mobile cloud computing: Integrating cloudlets and mobile edge computing. In Proceedings of the 23rd International Conference on Telecommunications (ICT), Thessaloniki, Greece, 16–18 May 2016. [Google Scholar]
  8. Deepak, K.S.; Babu, A.V. Improving energy efficiency of incremental relay based cooperative communications in wireless body area networks. Int. J. Commun. Syst. 2015, 28, 91–111. [Google Scholar] [CrossRef]
  9. Sawand, A.; Djahel, S.; Zhang, Z.; Naït-Abdesselam, F. Multidisciplinary approaches to achieving efficient and trustworthy eHealth monitoring systems. In Proceedings of the IEEE/CIC International Conference on Communications in China (ICCC), Shanghai, China, 13–15 October 2014. [Google Scholar]
  10. Maskooki, A.; Soh, C.B.; Gunawan, E.; Low, K.S. Opportunistic routing for body area network. In Proceedings of the IEEE Consumer Communications and Networking Conference (CCNC), Las Vegas, NV, USA, 9–12 January 2011. [Google Scholar]
  11. Gai, K.; Qiu, M.; Zhao, H.; Tao, L.; Zong, Z. Dynamic energy-aware cloudlet-based mobile cloud computing model for green computing. J. Netw. Comput. Appl. 2016, 59, 46–54. [Google Scholar] [CrossRef]
  12. Yang, L.; Cao, J.; Yuan, Y.; Li, T.; Han, A.; Chan, A. A framework for partitioning and execution of data stream applications in mobile cloud computing. ACM SIGMETRICS Perform. Eval. Rev. 2013, 40, 23–32. [Google Scholar] [CrossRef]
  13. Dinh, H.T.; Lee, C.; Niyato, D.; Wang, P. A survey of mobile cloud computing: Architecture, applications, and approaches. Wirel. Commun. Mob. Comput. 2013, 13, 1587–1611. [Google Scholar] [CrossRef]
  14. Rahimi, M.R.; Ren, J.; Liu, C.H.; Vasilakos, A.V.; Venkatasubramanian, N. Mobile cloud computing: A survey, state of art and future directions. Mob. Netw. Appl. 2014, 19, 133–143. [Google Scholar] [CrossRef]
  15. Wang, K.; Yang, K.; Pan, C.; Wang, J. Joint offloading framework to support communication and computation cooperation. arXiv. 2017. Available online: (accessed on 20 July 2018).
  16. Bello, O.; Zeadally, S.; Badra, M. Network layer inter-operation of device-to-device communication technologies in Internet of Things (IoT). Ad Hoc Netw. 2017, 57, 52–62. [Google Scholar] [CrossRef]
  17. Guo, W.; Zhou, S.; Chen, Y.; Wang, S.; Chu, X.; Niu, Z. Simultaneous information and energy flow for IoT relay systems with crowd harvesting. IEEE Commun. Mag. 2016, 54, 143–149. [Google Scholar] [CrossRef]
  18. Nakamura, T.; Nagata, S.; Benjebbour, A.; Kishiyama, Y.; Hai, T.; Xiaodong, S.; Nan, L. Trends in small cell enhancements in LTE advanced. IEEE Commun. Mag. 2013, 51, 98–105. [Google Scholar] [CrossRef]
  19. Liao, Y.; Leeson, M.S.; Cai, Q.; Ai, Q.; Liu, Q. Mutual-information-based incremental relaying communications for wireless biomedical implant systems. Sensors 2018, 18, 515. [Google Scholar] [CrossRef] [PubMed]
  20. Yi, C.; Wang, L.; Li, Y. Energy efficient transmission approach for WBAN based on threshold distance. IEEE Sens. J. 2015, 15, 5133–5141. [Google Scholar] [CrossRef]
  21. Liao, Y.; Leeson, M.S.; Higgins, M.D.; Bai, C. Analysis of in-to-out wireless body area network systems: Towards QoS-aware health internet of things applications. Electronics 2016, 5, 38. [Google Scholar] [CrossRef]
  22. Javaid, N.; Ahmad, A.; Khan, Y.; Khan, Z.A.; Alghamdi, T.A. A relay based routing protocol for wireless in-body sensor networks. Wirel. Pers. Commun. 2015, 80, 1063–1078. [Google Scholar] [CrossRef]
  23. Wang, K.; Chen, Y.; Alouini, M.S.; Xu, F. BER and optimal power allocation for amplify-and-forward relaying using pilot-aided maximum likelihood estimation. IEEE Trans. Commun. 2014, 62, 3462–3475. [Google Scholar] [CrossRef]
  24. Wang, K.; Chen, Y.; Di Renzo, M. Outage probability of dual-hop selective AF with randomly distributed and fixed interferers. IEEE Trans. Veh. Technol. 2015, 64, 4603–4616. [Google Scholar] [CrossRef]
  25. Kim, S. Nested game-based computation offloading scheme for mobile cloud IoT systems. EURASIP J. Wirel. Commun. Netw. 2015, 1, 229. [Google Scholar] [CrossRef]
  26. Chen, M.; Hao, Y.; Qiu, M.; Song, J.; Wu, D.; Humar, I. Mobility-aware caching and computation offloading in 5G ultra-dense cellular networks. Sensors 2016, 16, 974. [Google Scholar] [CrossRef] [PubMed]
  27. Javaid, N.; Ahmad, A.; Nadeem, Q.; Imran, M.; Haider, N. iM-SIMPLE: IMproved stable increased-throughput multi-hop link efficient routing protocol for wireless body area networks. Comput. Hum. Behav. 2015, 15, 1003–1011. [Google Scholar] [CrossRef]
  28. Ahmed, S.; Javaid, N.; Yousaf, S.; Ahmad, A.; Sandhu, M.M.; Imran, M.; Khan, Z.A.; Alrajeh, N. Co-LAEEBA: Cooperative link aware and energy efficient protocol for wireless body area networks. Comput. Hum. Behav. 2015, 51, 1205–1215. [Google Scholar] [CrossRef]
  29. Magurawalage, C.M.S.; Yang, K.; Hu, L.; Zhang, J. Energy-efficient and network-aware offloading algorithm for mobile cloud computing. Comput. Netw. 2014, 74, 22–33. [Google Scholar] [CrossRef]
  30. Nguyen, T.T.; Le Long, B. Joint computation offloading and resource allocation in cloud based wireless HetNets. In Proceedings of the IEEE Global Communications Conference, Singapore, 4–8 December 2017. [Google Scholar]
  31. Cheffena, M. Performance evaluation of wireless body sensors in the presence of slow and fast fading effects. IEEE Sens. J. 2015, 15, 5518–5526. [Google Scholar] [CrossRef]
  32. Zhang, L.; Leeson, M.S.; Liao, Y.; Higgins, M.D. Performance evaluation of reliable communications for wireless in-body sensor networks. In Proceedings of the 2017 International Conference on Computer, Information and Telecommunication Systems (CITS), Dalian, China, 21–23 July 2017. [Google Scholar]
  33. Al Ameen, M.; Hong, C.S. An on-demand emergency packet transmission scheme for wireless body area networks. Sensors 2015, 15, 30584–30616. [Google Scholar] [CrossRef] [PubMed]
  34. Akbar, M.S.; Yu, H.; Cang, S. Delay, reliability, and throughput based QoS profile: A MAC layer performance optimization mechanism for biomedical applications in wireless body area sensor networks. J. Sens. 2016, 2016, 7170943. [Google Scholar] [CrossRef]
  35. Kim, T.Y.; Youm, S.; Jung, J.J.; Kim, E.J. Multi-hop WBAN construction for healthcare IoT systems. In Proceedings of the 2015 International Conference on Platform Technology and Service (PlatCon), Jeju, Korea, 26–28 January 2015. [Google Scholar]
  36. Fouad, H. Continuous health-monitoring for early detection of patient by Web telemedicine system. In Proceedings of the International Conference on Circuits, Systems and Signal Processing, St. Petersburg, Russia, 23–25 September 2014. [Google Scholar]
  37. Pham, Q.V.; Hwang, W.J. Fairness-aware spectral and energy efficiency in spectrum-sharing wireless networks. IEEE Trans. Veh. Technol. 2017, 66, 10207–10219. [Google Scholar] [CrossRef]
  38. Ngo, D.T.; Khakurel, S.; Le-Ngoc, T. Joint subchannel assignment and power allocation for OFDMA femtocell networks. IEEE Trans. Wirel. Commun. 2014, 13, 342–355. [Google Scholar] [CrossRef]
Figure 1. The architecture of the proposed system: (a) communication flow; (b) information broadcasting; (c) task offloading schemes.
Figure 1. The architecture of the proposed system: (a) communication flow; (b) information broadcasting; (c) task offloading schemes.
Applsci 08 01409 g001
Figure 2. Cumulative distribution function (CDF) versus channel capacity per unit under on-body channel under different rates.
Figure 2. Cumulative distribution function (CDF) versus channel capacity per unit under on-body channel under different rates.
Applsci 08 01409 g002
Figure 3. Link quality versus transmission distance under different rates.
Figure 3. Link quality versus transmission distance under different rates.
Applsci 08 01409 g003
Figure 4. Residual energy of all relays versus time under different scenarios.
Figure 4. Residual energy of all relays versus time under different scenarios.
Applsci 08 01409 g004
Figure 5. Path loss (PL) performance versus time under different scenarios.
Figure 5. Path loss (PL) performance versus time under different scenarios.
Applsci 08 01409 g005
Figure 6. The number of executed packets by relays versus time under different scenarios.
Figure 6. The number of executed packets by relays versus time under different scenarios.
Applsci 08 01409 g006
Figure 7. The overall delay under different scenarios.
Figure 7. The overall delay under different scenarios.
Applsci 08 01409 g007
Table 1. Coordinates of on-body relays, implanted sensor, and coordinator-based mobile edge computer (C-MEC).
Table 1. Coordinates of on-body relays, implanted sensor, and coordinator-based mobile edge computer (C-MEC).
TypeNode IDX-CoordinateY-Coordinate
On-body relay10.21.65
Implanted sensor0.40.85
Table 2. Selected simulation parameters.
Table 2. Selected simulation parameters.
ParameterValue (Unit)
C i 1500 bits
D i 1000 bits
c3 × 108 ms−1
B i j 300 kHz
Α 10−11
β 2
E a m p 1.97 nJ (bit)−1
E s e n 0.12 × 10−9 nJ (bit)−1
E p r o 0.3064 nJ (bit)−1
E T x _ e l e c 16.7 nJ (bit)−1
E R x _ e l e c 36.1 nJ (bit)−1
S N R t h r 17 dB
B E R t h r 10−3
σ d B 4.15 dB
P L d B ( d 0 ) 48.4 dB
PL exponent n5.9
Initial power p i 0.5 J
Number of relays5
Bandwidth B300 kHz
Boltzmann constant v1.38 × 1023
Environment temperature T 290 K
Transmission power−12 dBm

© 2018 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 (
Appl. Sci. EISSN 2076-3417 Published by MDPI AG, Basel, Switzerland RSS E-Mail Table of Contents Alert
Back to Top