Patent ID: 8522341

Claim:
A computer-implemented method in which a processor executes instructions stored on a non-transitory computer-readable medium, the method comprising: initiating a deployment of a service onto a device of a sensor network on which a plurality of services are deployed, the device being an operational device within the sensor network; determining that a first deployment condition of the device which defines at least one constraint of the device in receiving the deployment of the service does not meet an allowable deployment condition for the deployment; altering the first deployment condition to obtain a second deployment condition that alters the at least one constraint to satisfy the at least one constraint; determining if the second deployment condition meets the allowable deployment condition for the deployment; if the second deployment condition meets the allowable deployment condition for the deployment, deploying the service onto the device, based on the second deployment condition; and if the second deployment condition does not meet the allowable deployment condition for the deployment, altering at least one of the first deployment condition and the second deployment condition to obtain a third deployment condition that alters the deployment of the plurality of services on the devices of the sensor network, and deploying the service onto the device, based on the third deployment condition.