Efficient algorithms for trajectory-aware mobile crowdsourcing