Intelligent Edge Computing For Connected Vehicles