A dynamic service migration mechanism in edge cognitive computing