主权项 |
1. A method of selecting an instance of a service for use by a mobile device, the method comprising:
assembling a list of a plurality of instances of a service, wherein each instance of the service of the plurality of instances of the service is hosted by a different mobile device of a plurality of mobile devices; for each instance of the service of the plurality of instances of the service, determining situational information associated with the mobile device hosting the instance of the service, wherein the situational information comprises information associated with an operating condition of a user of the mobile device, the operating condition taken from the group consisting of motion of the mobile device, orientation of the mobile device, a geographical location of the mobile device, if the user has drawn a gun, if a user is involved in a chase, and if a user is involved in surveillance; for each instance of the service of the plurality of instances of the service, determining environmental information associated with the mobile device hosting the instance of the service, wherein the environmental information comprises information associated with environmental conditions in which the mobile device is operating, the environmental conditions taken from the group consisting of a level of smoke in the operating environment of the mobile device, a level of ambient light in the operating environment of the mobile device, and a level of sound in the operating environment of the mobile device; and selecting an instance of the service from among the plurality of instances of the service based on the environmental information and the situational information determined for each of the plurality of instances of the service. |