Power Aware Mobility Management of M2M for IoT Communications

Machine-to-Machine (M2M) communications framework is evolving to sustain faster networks with the potential to connect millions of devices in the following years. M2M is one of the essential competences for implementing Internet of Things (IoT). Therefore, various organizations are now focusing on enhancing improvements into their standards to support M2M communications. Thus, Heterogeneous Mobile Ad Hoc Network (HetMANET) can normally be considered appropriate for M2M challenges. These challenges incorporated when a mobile node (MN) selects a target network in an energy efficient scanning for efficient handover. Therefore, to cope with these constraints, we proposed a vertical handover scheme for handover triggering and selection of an appropriate network. The proposed scheme is composed of two phases. Firstly, the MNs perform handover triggering based on the optimization of the Receive Signal Strength (RSS) from an access point/base station (AP/BS). Secondly, the network selection process is performedby considering the cost and energy consumption of a particular application during handover. Moreover, if there are more networks available, then theMN selects the one provided with the highest quality of service (QoS).The decision regarding the selection of available networks is made on three metrics, that is, cost, energy, and data rate. Furthermore, the selection of an AP/BS of the selected network is made on five parameters: delay, jitter, Bit Error Rate (BER), communication cost, and response time. The numerical and experimental results are compared in the context of energy consumption by an MN, trafficmanagement on an AP/BS, and QoS of the available networks.The proposed scheme efficiently optimizes the handoff related parameters, and it shows significant improvement in the existing models used for similar purpose.


Introduction
Adaptation of heterogeneous access network and efficient use of available resources are one of the key confront for the next generation of mobile communication.M2M practices miscellaneous models in terms of the electronic smart grid, connected cars, body area network, and Android communication using vehicular technologies [1].M2M communication is an important facilitating technology for Internet of Things (IoT), which facilitates an outsized number of implicated escorts to a large number of research challenges [2].In 3GPP terminology, M2M communication is usually referred to as Machine-Type Communication (MTC) [3][4][5].
Over the last few years, the numbers of heterogeneous networks available at a particular location were increased noticeably [6].Various communication networks show inherent characteristics in terms of handover failure and consumption of energy and cost, which offer higher communication performance.To highlight the eventual function of M2M communication for developing wide-ranged connections among various devices, the potential of HetMANET cannot be neglected in this regard.
A handover process starts from the machine when it experiences a weak received RSS from a base BS/AP.When RSSI reached a predefined threshold, machine (MN) starts to search for available networks.The handover time is mainly dependent on the scanning delay of the available networks.Furthermore, an optimum network can be selected for effective handover process among available networks on the basis of price, security, transmission rate, and quality of service (QoS).

Mobile Information Systems
Employing the available technologies for MTC leads to various challenges, including a selection of the best network for handover, incompatibility among different networks, and handover delay.To address these challenges in the HetMANET, an efficient, organized handover management scheme is required, which can switch communication data from one network to another with the minimum packet loss and delay, respectively.When a device is moving from one BS/AP to another, it executes a discovery mechanism for searching nearby BSs/APs and then establishes a connection with higher QoS.The selection of inappropriate network introduces high handover time and delay in a handover process.This handover delay can be minimized by adjusting different factors like RSS, data rate, available bandwidth, and Signal to Interference and Noise Ratio (SINR) from a BS [7,8].
In 2008, International Telecommunication Union-Radio Sector (ITU-R) defined new specifications for 4G standard called International Mobile Telecommunication Advanced (IMT-Advanced).IMT-Advanced supports 100 Mbits/s for high mobility connections and 1 Gbits/s for low mobility connections [9].With the increase in data rates, new technologies such as WiFi and WiMAX participate actively to develop new technology modification.Development of new technologies is urgently needed since these networks face key constraints of compatibility issues.
The IEEE 802.21 is the MIH standard in 2008 for seamless handover between networks of the same and different type [10].Recently, much research has been performed to improve the currently available MIH standard [11][12][13].The MIH standard is still facing many challenges that need to be addressed; that is, (i) long handover time is required for the MIIS server, which is located many hops away, (ii) time needed for handover process is very short when the handover number is frequent in a handover region, and (iii) failure of a hop requires alternate routes to connect MIIS server that can increase handover time.In the MIH standard, MN initiates handover upon receiving RSS below the predefined threshold.The time required for handover is constant even if the MIIS server is located many hops away.When MIIS server is located many hops away, a longer time is required for MN to get the information of the available networks.If an alternate route is available for MIIS server, which consists of several hops in the case of route failure, then the time required for handover will also increase that may cause the breaking of connection during handover process in the worst condition.MIH standard utilize RSS for handover initiation.RSS suffered from different problems such as wrong network selection and too early and late handover, as shown in Figure 1.
Therefore, to address the challenges above, this paper introduces QoS based efficient handover scheme in which a BS collects information, in advance, of the available networks for MN.In this scheme, MN does not wait for long time in a handover region for the collection of information of the available network.Each time when MN needs information of available networks, it is available one hop away from BS.This straightforward and distinct scheme has many advantages including the following: (i) MN search for nearby BS/AP is done in an efficient manner, (ii) the proposed scheme is not affected by the number of incoming connections, and (iii) MN does not consume excess energy when it scans for nearby network.
The remainder of this paper is organized as follows.In Section 2, we give a brief background of the existing schemes and their shortcomings faced by handover for M2M communications in HetMANET.In Section 3, we propose an energy efficiency vertical handover scheme from M2M communication.In Section 4, a detailed analytical and simulation analysis is discussed in detail.Finally, Section 5 offers a conclusion.

Related Work
In the last decade, various schemes have been proposed for the improvements of handover management in HetMANET.Most of these schemes are based on the optimization of different parameters necessary for handover.The optimization of these parameters reduces the handover time and latency.With the passage of time, the number of the new access networks was rapidly increased, producing signaling overhead and other issues related to handover phenomenon.Similarly, the access new technologies such as LTE Advanced and Bluetooth 4.0 low energy were introduced to save communication time and energy.All of the recent technologies try to provide its customer with the best QoS.The QoS of a network can be enhanced if a consumer is provided with a continuous connection to different networks.
To upgrade the QoS of a network, a scheme is proposed, based on optimizing parameters such as Bit Error Rate, delay, jitter, and data rate in [14].The decision of handover is performed by using fuzzy logic and analytic hierarchy approaches.The proposed scheme receives the context information like networks related information, user preferences, and service requirements for an efficient handover process.MNs periodically check the RSS level with the current AP/BS; if the RSS drops below a particular level, then the MN initiates network selection phase.The network quality scoring function is defined to evaluate the QoS of a network.The network with the highest QoS is selected for the handover.The proposed scheme takes handover initiation decision on the basis of available RSS, due to which the number of false handover indications increases considerably [15].
Considering the challenges to minimize the handover number, a scheme based on self-optimizing is proposed, which extracts velocity of the MN on the basis of location information followed by the selection of an appropriate RSS level for the handover [16].The optimization of a single parameter is not a generic solution for handover management.A complete set of handover parameters should be optimized for an efficient handover process.The efficiency of handover can be maximized if each phase of the handover process is optimized for the best performance.The MIH standard does not provide an optimized solution for a handover management because this standard supports only one MIIS server for all of the available access networks.In future, the number of access networks and MNs will be increased due to advancement in network access technologies.Thus, a single MIIS server will not be appropriate for all of the access networks.
In the next generation network, MN will be provided with multiple optimized routes to send data from one end to another.During a handover process, selection of an optimized route for data transfer is a challenging task.A scheme has been proposed to provide MN with an optimized route after the handover has been processed [12].The proposed scheme efficiently reduced the handover latency and achieved fast recovery of the optimized path.A similar scheme has also been proposed in [13].The scheme optimizes the route optimization for tunnel establishment to buffer packets during handover.The scheme efficiently solves buffer overflow problem in proactive handover techniques.The packet loss and handover delay due to buffer overflow are significantly minimized.However, still many issues are yet to be answered in terms of the selection of the optimal network during handover.The route optimization not only helps in balancing traffic on a particular AP/BS, but also maximizes the probability of new connections on an optimized route.
The energy consumption during the selection of networks is a major factor in a handover process in HetMANET.The energy consumption by an MN directly depends on the application running during a handover process.A scheme based on the energy efficient handover for multimedia based applications is proposed, which utilizes the concept of adapt or handover for balancing the multimedia traffic during a handover process [17].The proposed scheme saves energy consumed due to the insignificant degradation in QoS.A single objective handover management cannot be adopted for a generic solution.However, the energy could also be reserved by the real-time power managements scheme in M2M communications, mobility management, probabilistic modeling, and graph based on M2M communications, [18][19][20][21].Furthermore, the same parameters are also achieved by optimizing data transmission in device-to-device communication and WSN, which is based on the advanced clustering scheme [22,23].Such scheme is based on the received signal strength of the sensor node.
The selection of the less expensive network with best QoS during handover leads to the smooth transition of an ongoing session from one network to another.Therefore, the cost optimization must be considered during a handover process.A scheme based on cost aware handover decision is proposed which uses two cost functions, that is, triggering and priority decision [24].Both functions are optimized for the best values of signal transmission quality, handover signaling cost, handover latency, and estimate interference.The proposed scheme efficiently transfers an ongoing session from one cell to another after checking the cost of the adjacent cells.However, still some of the parameters such as data rates and data rate based costs are not addressed in the current schemes.Therefore, we propose a solution that considers possible multiple parameters that affect the quality of a handover process in M2M.

Proposed Scheme
This section presents our proposed handover scheme for M2M in detail.Figure 2 delineates the architecture of handover scheme that M2M practices.Multiple BSs and APs are deployed in the large geographic area having different networks (HetMANET), in which an MN moves from one network to another, performing some handover.

Assumptions and Definitions.
In this section, we present assumptions made during the design of our network and simulation model.Some of the scenario related definitions are also given.
Assumption 1 (heterogeneous devices).All the MNs have different configuration; that is, their battery requirements are different from each other.
Assumption 2 (communication radius model).In the communication range of a BS, "" has the radius "" that is centered at "."It can be defined as CR(, ) = {,  ∈  : (−) ≤   }, where CR represents communication radius,  represents the set of deployed nodes, and ( − ) is the distance between BS and  in the M2M network.

Definition 3 (Medium Scale Network
).If all the MNs have direct communication access to the BS/AP, then the network is considered to be Medium Scale Network (MSN).Suppose that, in any environment, the M2M network comprising of 100 MNs deployed in the area of 100 m × 100 m is considered as MSN.This definition can be modeled as ∀Λ ∈ , |( − BS)| <   , where  is an MN among the set "" of deployed MNs and ( − BS) is the distance between any of the deployed network nodes say,  and the BS.  is the communication radius of node .
Definition 4 (Large Scale Network).If any of the deployed MN does not have direct communication access to the BS/AP, then the network is considered to be Large Scale Network (LSN).Suppose that, in any environment, the M2M network comprising of 100 MNs deployed in the area of 200 m × 200 m is considered to be Large Scale Network (LSN).This definition can be modeled as where  is a node among the set "" of deployed nodes and (−BS) is the distance between any of the deployed network nodes say,  and the base station.  is the communication radius of node .

3.2.
Overview.An MN can perform a handover from one Access Network Operator (ANO) to another upon weak link connectivity.The MN obtains the information of cost and data rate of available networks from the MIIS server during handover to select the target network.The MIIS server stores the information of geographical locations of point of attachments (PoAs) of an ANO.Every ANO needs to send information regarding cost packages and data rates to the MIIS server.If an ANO updates either the cost model or the data rate information, it will also update this information in the MIIS server.Figure 2 delineates the fundamental idea of the proposed scheme.The proposed scheme consists of three phases: (1) handover triggering phase (2), network selection, and (3) handover execution phase.

Handover Triggering Phase.
In the proposed scheme, we have used a threshold mechanism for handover triggering.This mean that handover is triggered if the RSS from the current network drops below a predefined threshold.An optimal threshold mechanism reduces the number of false handover indications as well as the number of handover failures to a network with overloaded APs/BSs.We set a threshold of RSS level on the boundary of the coverage area.
Let  represent the radius of the coverage area of AP and BS.According to the signal propagation model [25], the threshold should be set based on the distance (1 − ) ×  from AP or BS, where  represents the fluctuation that is produced due to the variation in network data rate dynamics.The value of  is taken between 0 and 1.The threshold is given by the following equation: where  1 represents the antenna gain and signal wavelength and  2 represents the path loss factor.Most of the traditional To avoid these problems, we optimize the RSS value using (1), and it considerably reduces the false handover indications as shown as in Figure 3.With a view to elaborating the proposed handover triggering phase, we consider a reference example based on Figure 3 [26].In 3GPP, various handover measurements techniques are defined which supports mobility [27,28].However, handover triggering based on RSS and Time-to-Trigger (TTT) techniques are usually used in a horizontal handover in LTE system since its simplicity and efficiency made it easy to implement [29].As shown in Figure 3, MN periodically measures the RSS of the neighboring AP/BS.If the RSS of the candidate MN is greater than the RSS from the current MN, the timer is set to  TTT  TTT seconds by the MN and starts to observe RSS candidate and RSS attached .Apparently, if RSS candidate > RSS attached is incessantly following during the  TTT seconds, the MN performs handover to the candidate MN (case 1).However, if the RSS candidate < RSS attached follows during the  TTT seconds, the MN stops observation and come back to its initial state (case 2).

Network Selection.
The network selection phase is further divided into the following subsections.
(i) Cost.To select the new network for optimal handover, we need to consider the cost of applications used by an MN.The target network assigns the same cost as that of the old network to continue the movement of the MN in HetMANET.If a target network is not providing the cost that is equal to the old network, then the MN selects new cost from the target network, which is acceptable to the MN.Otherwise, the MN experiences long delay and even breaking of connection during handover.The MN normally uses different Multimedia applications require more cost as compared to elastic applications.We assign a particular weight of cost to each category of application as listed in Table 1.
Assuming that there are  applications, the weights of all the applications running on the MN, denoted by , are as follows: where   represents the weight of each application.The value of various weights is taken from 0 to 1, depending on the priority of an application.An application with the highest priority is assigned the largest weight.For instance, if MN's device is running a real-time streaming application, it will be assigned the highest weight since the streaming application can tolerate a handover delay of only 150 ms and a packet loss of 3%, respectively [30].Therefore, the MN selects a network with less possible cost, which has the potential to run a particular application during switching from one network to another.
(ii) Energy.In HetMANET, the MN consumes a significant amount of energy for scanning the available PoAs.In particular, the application with high priority needs much energy, which is normally required for fast scanning.Depending on the density of the medium (APs and BSs) of the network, the interface for a particular network is periodically switched to sleep and active states.The energy (denoted by ) required by MN for the scanning of a particular PoA of a network is given by where   is the power required by MN for the scanning of a PoA of an access network and   represent the time taken for interface scans.
The energy required for scanning during handover depends on the application used by MN.If the request is of a high priority, then the MNs perform fast scanning.In this case, the energy required for scanning will be high.In traditional approaches, the scanning procedure is throughout the uniform and mainly depends on the RSS from an AP/BS, which leads to a high packet loss.Thus, we restrict the scanning energy consumption depending on the applications running by the MN during scanning.The proposed energy efficient scanning procedure significantly reduces the energy consumption by the MN during handover.
(iii) QoS Computation.The network selection phase is considered an important factor in a handover management scheme.When the MN is moving across the HetMANET, it performs some handover switching from one network to another.For efficient handoff, we should choose the target network that provides acceptable cost and sufficient data rate for the applications running on the MN.Also, we need to minimize the energy for scanning a PoA for handoff.When the MN is moving away from the current ANO where RSS drops below a predefined threshold, it selects the target network for handoff using three metrics: cost, data rate, and energy.In our scheme, we introduce a QoS function to select an optimal network by integrating three metrics, which is given by where , , and  represent cost, data rate, and energy.Similarly,   ,   , and   are the weights of cost, data rate, and energy, respectively.The MN obtains the values of parameters  and  of available networks from MIIS server.The energy consumption by an interface using a particular application is computed by the MN.The weights are assigned randomly depending on the priority of application.This mean that the application with high data rate requires extra cost as compared to the application with fewer data.Similarly, every application requires different data rates depending on the nature of the application.For instance, real-time application requires more data rate as compared to an elastic application.Therefore, a target network is selected on the basis of cost, data rate, and energy which requires an interface of the MN during handover using (4).
( ( where  = 1, . . ., . (iii) Optimal AP/BS Selection.Once a particular network is selected for handover, the next step is to select an appropriate AP/BS for handover.As we know that the competition among different networks is increasing every day.Each network is trying to provide best QoS with low cost and high data rate to their user.Similarly, every network is attempting to deploy AP/BS everywhere to provide an MN with "always best connected" functionality.To achieve similar functionality in our scheme, we implant a handover decisionmaking model in our proposed scheme to provide an MN with the best AP/BS in HetMANET environment.There are several decision-making schemes available in the literature.The TOPSIS decision model has remarkable applications in handover management [31][32][33].Therefore, we used TOPSIS decision-making scheme to select one of the APs/BSs for handover.There are two types of criteria available for the selection of the AP/BS.The first type directly affects the performance of an AP/BS and the second type increases the performance of the AP/BS.To minimize the imbalance effect of both of these parameters, we choose only those parameters that directly affect the performance of an AP/BS.We choose five different criteria for the selection of the network.These criteria include delay (), jitter (), Bit Error Rate (BER) (), communication cost (), and response time ().The decision-making matrix () is represented as follows: The maximum and minimum value of a parameter in a network is represented through  *  = max 1≤≤ (  ) and  ∘  = min 1≤≤ (  ), respectively, where  represent a parameter.It is also important to normalize the decision-making matrix.Therefore, we perform linear scaling by checking the distance of each criterion from minimum ( The superscript ( * ) is used to represent criteria after normalization.
The proposed approach is purely user based decision handover scheme.Therefore, we give the user the option to assign each criterion a particular weight.These weights help us in calculating negative and positive ideal situation of a network.In particular, an AP/BS with the more positive ideal situation is closer for the selection of handover.The weighted normalized matrix () is represented as follows: After calculating the weighted normalized decision matrix, the next step is to compute the ideal situations, as we choose those parameters that directly affect the performance of an AP/BS.Therefore, the maximum and minimum value in each column of the matrix  is represented through negative ( − ) and positive ( + ) ideal situations, respectively, using the following relations: To check whether these ideal situations fulfill the requirements of an appropriate AP/BS, we compare them with the reference ideal situation.Similarly, TOPSIS also ranks the available AP/BSs by comparing the ideal situations with reference situations.Therefore, we check the distance of each criterion from ( − ) and ( + ) using the followings relations: where  +  and  −  represent the degree of negative and positive ideal situations.To elaborate the structure of these situations, we illustrate it in Figure 4.
Finally, the optimal AP/BS is selected by computing the relative degree approach () of each AP/BS as follows: Increasing If there are multiple AP/BSs available in a HetMANET environment, then one can compute the degrees of each AP/BS and then sort them to select the one with the highest degree.In general, the working of the TOPSIS decision model is illustrated in Algorithm 6.
(3) To determine the ideal situations (positive and negative): (4) Computing the separation measure of each situation: Mobile Information Systems (5) Computing relative closeness of each criterion to ideal situation.

Handover Execution.
The MN performs handover execution after selecting the network with the highest QoS.
The MN requests the serving AP/BS to connect the network.The AP/BS forwards this request to the MIIS server.The new network sends a connection response to the MN, and the MN performs handover to the new AP/BS.The MN releases the resources and terminates the connection with the old network.

Performance Evaluation
In this section, we present the simulation results to highlight the benefits of the proposed handover triggering and network selection scheme.First, we show the advantages of the QoS aware network selection scheme.Second, we performed some experiments to check the handover decision model in dense and low coverage HetMANET environment.Furthermore, we evaluate the working of the proposed scheme in C programming language.The proposed approach is tested on three different networks, that is, WIFI, UMTS, and WiMAX.Different numbers of mobile nodes are tested in the proposed scenario with a speed ranging from 10 to 100 km/h.The number of applications is assigned randomly to each MN during initialization.In Figure 5, we are using only two BSs of the WiMAX network and three BSs of the cellular network because of the availability of space.In the actual simulation scenario, we used around 15 and 20 WiMAX and cellular BSs, respectively.The simulation time is set differently with the number of nodes.We test four sets of nodes, that is, 25, 50, 75, and 100, with a simulation time of 30, 60, 90, and 120 minutes, respectively.The MIH standard does not implement MIIS server in NS 2.29 V3.Therefore, we implement the MIIS server to store the cost and data rate information of the available networks.Moreover, the proposed scheme is tested for a longer duration of time to check its performance and quality in high speed and congested scenarios.The proposed M2M communication scenario in HetMANET scenario is shown in Figure 5.
In Figure 5, the MN is initially connected with the AP1.After moving away from the AP1, the MN has found three different types of networks, that is, BSc, BSw, and AP3.In general, an MN has three different networks to decide handover to one of them.Our proposed approach enables the MN to scan the available networks and compute the QoS of each network.The MN found that BSw (WiMAX) provided the highest QoS.Therefore, the MNs choose WiMAX network for handover.The MN also uses the proposed decision model to check the available BSs of the WiMAX network.Similarly, the MN found the BSw1 with the highest degree and, therefore, the MN performs handover to it.Furthermore, the MN continues its movement in the proposed scenario.The handover is shown on the label attached to the MN in Figure 5.
The cost for UMTS network is fixed, and the costs for WIFI and WiMAX networks are generated randomly.We used two types of cost values for each network, that is, cost per minute and cost per data volume.The value of selection criteria for the network as well AP and BS is given in Table 2.
The energy consumption values by each interface are taken randomly from the ranges present in Table 2. Similarly, the RSS values are generated depending on the data rate.During the simulation, we periodically check the relation between data rate and RSS.When the data rate is increasing, the RSS is decreasing as they are in indirect proportion to each other.
We used five different parameters for the selection of AP/BS of the target network.As previously discussed, these parameters are indirectly eruptional to the performance of an AP/BS.The values of all of these parameters depend on the distance of MN and AP/BS.If the MN is away from the AP/BS, the values are high, and as the MNs move closer to the AP/BS, the values are decreasing.Initially, we do not set any particular values for these parameters.The values are changing with the distance of MN from the target AP/BS.Therefore, to achieve the optimal changing of these parameters, we implant a location management system using the coordinate geometry.The location management is simulated, and we obtain remarkable results.Finally, we do not simulate the handover execution phase and left this to the network operator.
An interface requires high energy if the MN is running an application that requires higher data rate.For example, the streaming application requires higher data rate compared to the elastic application.Therefore, a streaming application consumes more energy than an elastic application.Similarly, the MN consumes more energy on scanning if the numbers of available networks are high.Sometimes, the MN consumes unnecessary energy on scanning available networks that are far away from the MN.Therefore, in the proposed approach, we perform a dynamic sort of scanning based on the density (number of APs and BSs) of the medium.The results obtained from simulating the density based scanning are shown in Figure 6.The result shows that the energy consumption is significantly optimized by scanning a particular set of APs and BSs.Similarly, the energy that is consumed on unnecessary scanning is highly reduced.The performance of the proposed scheme shows that the energy consumed on scanning of all of the available AP/BSs of all networks is now reduced to one particular network.
We compute the device lifetime by running the simulation for a longer duration of time with the different application running on the MN's device.The MN is assigned periodically various applications.Similarly, the MN performed several handover ranging from hundreds to thousands.The device lifetime is recorded in both with and without proposed schemes.The efficient selection of the target network and AP/BS highly reduced the energy required for scanning.Therefore, the device lifetime is also increased.As shown in Figure 7, the device is consuming two types of energies (1) on Scanning and (2) running different applications.
We evaluate the energy consumption of the MN against the scanning number of APs/BSs.The MN scans a particular set of APs/BSs.Therefore, it requires less amount of energy.In Figure 8, we compared the performance of the proposed energy optimization with the scheme presented in [34].We compute the scanning time of an interface against the number of APs/BSs.Furthermore, we compute the average energy consumption by an application using all of the three interfaces.Finally, the results are calculated and drawn in Figure 8.If an application used by the MN has high priority, then the MN needs fast scanning, which requires higher energy as compared to the application with lower priority.Therefore, we assign the MN the highest weight if the applications running on it have high priority and vice versa.The range of weights for energy is taken from 0 to 1.0.The proposed optimization of energy required less energy than the existing scheme due to the new power aware interface management scheme.

Mobile Information Systems
The AP/BS can provide services to a limited number of MNs.As the number of MNs increases on AP/BS, the QoS decreases.Therefore, we need traffic management that can efficiently balance the number of connections on a particular AP/BS.If the number of connections on AP/BS exceeds a given threshold (), the AP/BS should not accept any more connections.If the MN requests a connection to an overloaded AP/BS, the AP/BS rejects the connection application for the particular MN.To address the issue above, we modeled the traffic on an AP/BS.Let  be the number of connections on AP/BS computed as follows: where If an AP/BS reaches a close state, then it blocks any incoming connections.The probability of blocking a new connection can be represented as follows [24,35]: where   is the probability of a channel that is either busy or available and  is the state of an AP/BS whether it is in the open or closed state.We restrict the boundaries of  to either 1 (open state) or 0 (close state).The computation of the blocking probability on an AP/BS is summarized in Algorithm 7.
We performed theoretical and experimental analysis of the proposed handover blocking probability results in Figures 9 and 10.As shown in Figure 9, theoretical and experimental results are almost similar demonstrating that increasing the number of new connections consequently increases the blocking probability.Similarly, in Figure 10, the theoretical and experimental analysis is giving similar results, with the increase in a mean number of connections, affecting the total The experimental and theoretical results are very close to each other which shows the accuracy of the proposed approach.The employing of blocking probability approach significantly models the traffic on an AP/BS.Moreover, the MNs do not scan those APs/BSs, which are already in a close state.Thus, using this way, the proposed approach always provides the MN with only those APs/BSs, which has channels available for the new connections.
Similarly, we test every possible probability of incoming connection on AP/BS.The probabilities are divided into three different data sets; that is, the first set is 0.1∼0.3, the second set is 0.4∼0.7,and the third set contains 0.8∼1.0 with high probability of close state in data set 3, average close state probability in data set 2, and, similarly, low probability in data set 1. On each channel of an AP/BS, we test all the possible probabilities from set 1. Furthermore, we compute the average blocking probability of AP/BS in the meantime when there is no particular channel available for incoming connection, or it is already in use.In Figure 11, we have shown that the blocking probability is high for data set 3 since most of the channels are already occupied.Similarly, for 1 and 2 data sets, the close state is considerably small as compared to the first data set.It is also shown that the increase in the number of incoming connections increases the blocking probability.In fact, upon arrival of new connections on the AP/BS, the channels are occupied and are switched to the close state.The close state probability is evaluated by using the following equation: where   ,   , and   are the probabilities of a channel availability or unavailability, holding time distribution, and new call attempt that has been accepted, respectively.Moreover, we investigated the handover initiation process on different distances from a target network.We gradually increase the velocity of an MN to check the variation in data rate dynamics.Each application has assigned a particular weight based on data rate requirements.The range of weights is taken from 0 to 1.An application that requires high data rate is assigned high weight (nearly equal to 1.0) and the application which requires less data rate is assigned (nearly equal to 0) lower weight.Table 2 shows the different values used in the performance evaluation of data rate optimization phase.
The velocity of an MN is checked against the application's weight.The proposed scheme performed efficiently since both the velocity of the MN and the weight of the application  are increased.It is due to the optimization of parameters used in Table 3 above.In Figure 12, the proposed with optimization data rate is employed against the without optimization data rate.The proposed optimization efficiently solves the high MN's velocity problem.The velocity of the MN is gradually increased, and we observed that the application that requires high data rate was shifted to the optimized data rate.Our proposed solution significantly optimized the data rate problem for the MN during the handover process.
Finally, we compute the quality of each network available in the vicinity of the MN's on the current AP/BS.The MN computes the QoS of each network using (4).The MN selects the network with the highest QoS and proceeds in contact with it.Figure 13 delineates the performance selection of an optimal network using different weights of data rate, cost, and energy ranging from 0 to 1.The different values obtained in the performance evaluation Sections 4.1, 4.2, and 4.3 are classified into three different data sets on the basis of weights assigned to data rate, cost, and energy.In data set 1, the weight of the data rate is less compared to the cost and energy, data set 2 has less weight of energy compared to the data rate and cost, and, in data set 3, the weight of the cost is smaller compared to the data rate and energy.The QoS of a network is tested against the user preference (random selection of applications from Table 1) in terms of the cost, data rate, and energy required during a handover process.The selection of  QoS of a network significantly achieves good results in the case of data set 3, which shows that most of the users preferred data rate compared to the cost and energy.Moreover, we also compute the QoS of each network after each handover.The comparison of the technologies against the QoS is illustrated in Figure 14.The proposed scheme selects the available networks on the basis of the applications running on the MN's device.

Conclusion
In this paper, we proposed a QoS based vertical handover scheme for M2M communications in HetMANET, which represents multiparameters optimization technique for a handover process.The proposed scheme efficiently obtained the information of the communication cost of all the available networks.The scanning of the available network is performed based on the density of the AP/BS.Moreover, the MN optimized the energy required by an interface for scanning and making a connection to the new network.The AP/BS optimized the traffic on AP/BS for providing the best connectivity and QoS to the users.The handover initiation phase is triggered by using the proposed optimal threshold scheme due to which the numbers of failed handover are significantly minimized.The optimizations of parameters above are quantified in a QoS function network.The QoS function returns the suitable network against the application used by the MN during handover.The quantitative analysis shows the accuracy and strength of the proposed scheme.For future work, we are planning to develop an optimization technique based on the decision modeling as well as fuzzy logic technique.

Figure 10 :
Figure 10: Mean number of connections.

Figure 11 :
Figure 11: Performance analysis of traffic management.

Figure 12 :
Figure 12: Performance analysis of data rate optimization.

Figure 13 :Figure 14 :
Figure 13: Optimization of QoS of a network.

Table 1 :
Application weight table.
Number of Applications Assigning weight to each application  = ∑  =1     Energy computation:  ← power require by interface for scanning   = scanning slot  = ∑  =1   ×   QoS Computation:   =   * ln (  ) +   * ln ( 1   ) +   * ln (  ) ) (2) Network Selection Cost computation:   →   → MIIS server  ← represents the number of connections already present on an AP/BS and the  is a new connection arriving on AP/BS.We define a two-state Markov chain model for AP/BS.In the first state, the AP/BS accepts new connection since it has vacant channels available for new connections, while in the second state the AP/BS does not accept new connections since it has no available channels for incoming connections.We called the first state as an open state, whereas the other one is a close state.The probability of a close and open state depends on the leaving and joining of new MNs, respectively.

Table 3 :
Simulation parameters used in data rate optimization.