# QoS Management and Flexible Traffic Detection Architecture for 5G Mobile Networks
## 6 Conclusions  
The next 5G mobile network generation is evolving to incorporate the NFV concept, to move the control to the edge of the mobile network, and to incorporate the SDN concepts, increasing the separation between the control and data plane. This work follows this mobile evolution, particularly working with the weaknesses and strengths of the SDN network and also incrementing the use of this technology in the mobile network architecture. As the programmability is put over all mobile element, more specialized logics can be created. This work proposes a specialized logic to route the traffic without QoS requirements, which is created using proactive rules. This logic is designed to route the traffic immediately using a routing policy that is as simple as possible. To route traffic without QoS requirements, the data plane of the proposed mobile architecture continues using the centralized element called OF-GW. Then, traffic without QoS must always be routed using an OF-GW. It is important to note that all equipment that is part of control plane is implemented as simple OpenFlow switches, making it easy to replace the switches. The data plane is distributed between more elements, improving the mobile network robustness, and all OpenFlow switches can be configured to act as an OF-GW. Additionally, a specialized logic to route the traffic with QoS requirements using proactive and reactive methods at the same time is created. The proposed logic is designed to create a specific EPS-Bearer able to use the optimal path with specific QoS characteristics, thereby, satisfying the 5G mobile network objectives. This logic is composed of a programmable and flexible method for detecting traffic with QoS requirements that are applied closer to the UE. The architecture created does not add delays during the EPS-Bearer with QoS creation or the QoS traffic detection. Initially, the packets with QoS requirements are sent by two pipelines processing at the same time, one immediately routing a packet copy through the default OF-Bearer; the other is used to detect the QoS requirements creating the appropriate specific EPS-Bearer with QoS. The proposed control plane follows the concepts used by the 5 GS architecture implementing the mobile control element using the NFV concept. This technology allows the virtualization of the main control entities of mobile architecture, which are implemented as a software appliance placed on less expensive commodity hardware or run in the cloud computing environment. NFV offers a flexible scaling alternative, which can be adapted to the demands' variations and provide scaling in a distributed way, while increasing the robustness of the mobile network architecture. Finally, the proposed mobile backhaul and mobile core network architecture are created to interact optionally with a future 5G UE, or 4G UE, utilizing the NG-RAN procedures or the standard procedures using the E-UTRAN-Uu and S1-MME 3 GPP interfaces. F.L.R., U.S.D., and D.R.C. conceived the concept for flexible traffic detection architecture. F.L.R. developed the QoS management techniques. [PERSON], [PERSON], and [PERSON] reviewed and performed the validation of results. All authors contributed equally in reviewing and approving the manuscript. This research was partially funded by the Coordenacao de Aperfeicoamento de Pessoal de Nivel Superior-Brasil (CAPES), Finance Code 001. This research has also received funding from the European Union's Horizon 2020 research and innovation programme under Grant agreement No. 700326. Website: [[http://ramses2020.eu](http://ramses2020.eu)]([http://ramses2020.eu](http://ramses2020.eu))  
The research of [PERSON] was partially supported by the National Council for Scientific and Technological Development - CNPq (Grant 311796/2018-4) and by the Ministry of Justice, Government of Brazil (Grant TED-FUB/UnB-SENACON/MJ) 001/2015). The research of [PERSON] was partially supported by the National Council for Scientific and Technological Development - CNPq.