Text this: R-learning-based team game model for Internet of things quality-of-service control scheme