SDN Framework for QoS provisioning and latency guarantee in 5G and beyond