Hmmm... could be a few different ones based on your description. My best guess, though, would be 'The Sarah Jane Adventures'. Main plot revolved around fighting and negotiating with aliens... a whole lot of aliens. Aired from 2007 to 2011—falls right into your timeline. Hope that rings a bell!