# A Proposal for IoT Dynamic Routes Selection Based on Contextual Information
## 5 Conclusion and Future Work  
This paper proposes an approach to the dynamic routes selection for IoT based on context information from the applications. The approach consists the creation of four new Objective Functions (OFs). Each one of these objective functions is based on the fusion of metrics for 6 LoWPAN environments, used by the RPL and described in RFC 6551. Each application may have requirements that simultaneously need up to three metrics (Expected Transmission Count (ETX) and/or Number of Hops (_NH_) and/or Energy Consumed (_EC_)). Additionally, the approach also accounts Route Classifier based on Fuzzy System, that estimating the degree of quality of the routes in IoT scenarios. The route classifier uses as input the values assigned to the metrics (present in the objective functions), ensuring consistency in decision making during the routing process. In general, it was observed that, for the scenarios evaluated, the proposed approach can increase the performance of the network to be used by an application of IoT. The approach proved to be able to increase the life time, to reduce the delay and to increase the reliability and the QoS. It was shown that, using the proposed approach, the lifetime of the network increased and the energy consumption during the operation of the network reduced compared to the other proposals. The approach is more effective to use Objective Functions (OFs) dynamically (at run time) and to choose the path of the high quality by means of fuzzy System-Based Route Classifier. The route with the highest quality is selected as the preferred route. Thus, it is possible to observe that the proposed approach has substantial advantages in relation to the other proposals researched, mainly in the metric time of life, which obtained 168.72 J, allowing the network to function for 2100 s. In addition, provides high reliability by successfully delivering nearly 100% of data packets, low delay for data delivery and increase in QoS. An 30% improvement is attained in the network life time when using one of proposed objective function, keeping the devices alive for longer duration. Based on the results presented, a specific objective function is recommended for each application. For application that requires a long lifetime, DQCA-OF4 is recommended. For application that requires a shorter delay, DQCA-OF4 (FL) is the more indicated. DQCA-OF1 (FL) is more recommended for applications that prioritize reliability. For application that requires QoS for data delivery, it is suggested to use DQCA-OF2 (FL). The main contribution of this work, compared to the proposals available in the literature and considered in the study, includes an optimization of the RPL protocol to reduce the delay and to increase the reliability and QoS, guaranteeing also an increase in the network life-time. In this proposal, it is not considered the variation in the number of sensor nodes and RFID tags, the mobility of both the sink and the RFID reader and the network nodes. \begin{table}
\begin{tabular}{c c c c} \hline \hline
**Objective Functions** & **Average (J)** & **Standard Deviation (J)** & **Coef. Var. Pearson** \\ \hline DQCA-OF4 (LF) & 11 & 3 & 33.48\% \\ DQCA-OF4 & 12 & 4 & 34.22\% \\ OF-FL & 15 & 5 & 33.62\% \\ ERAOF & 16 & 5 & 34.06\% \\ MRHOF & 17 & 6 & 33.81\% \\ OF0 & 23 & 8 & 35.58\% \\ \hline \hline \end{tabular}
\end{table} 
Table 4: Statistical Analysis of Delay. Next steps include the deployment of this approach in other routing protocols for IoT, taking into account the scalability of objects that performs an IoT structure. It is also intended to carry out new studies to optimize the objective functions as well as the route classifier. This work has been supported by National Funding from the FCT--_Fundacao para a Ciencia e a Tecnologia_ through the UID/EEA/50008/2013 Project, by the Government of the Russian Federation, Grant 074-U01, by Finep, with resources from Funtel, Grant No.