QoS-Aware Scheduling of Services-Oriented Internet of Things