Gemini: A green deployment scheme for Internet of things | Synapse