Service: BSN monitoring
Automatic service: call family
No
Yes
Familiy
available?
No
Automatic service: call ambulance
High blood
pressure?
Yes
Figure 91 : Interacting services for a home-patient monitoring scenario.
Service associated with a Virtual Entity
Example: Services can be associated with Virtual Entities and these
associations are stored and can be discovered in the IoT system. The
management of these associations can be handled in a centralized
database or in a highly distributed fashion as in a peer-to-peer system,
depending on the characteristics of the underlying system.
Service accessing a Resource
Example: A service for monitoring air pollution. Sensor nodes are semi-
randomly distributed in a city and measure the percentage of CO in the
air. A remote server runs software that periodically queries the readings
from the sensor nodes, analyses the readings, and monitors the
evolution of the air pollution. In this example, the monitoring software is a
service that accesses multiple resources. The latter are the components
and functions running on sensor nodes, and these components allow
operations such as reading from the sensors.