A terminal-based service-recognition methods