Collaborative Cloud-Edge Service Cognition Framework for DNN Configuration toward Smart IIoT