Interaction Diagram: Discover Associations
For the discovery of associations based on a specification of the Virtual Entity
and the specification of the service associated with the Virtual Entity, an IoT
Service Client synchronously calls the Virtual Entity Resolution component,
using the discoverAssociations operation with the VESpecification and the
VEServiceSpecification as parameters. The VESpecification specifies the
Virtual Entities that are of interest. The VEServiceSpecification contains the
attribute of the Virtual Entity with which the required service needs to be
associated and potentially other information, i.e., if the value of the attribute
should be returned by the service or if the service should influence this value as
in the case of actuation. An association is the relation between a VE-ID and a
Service Identifier and is described by the attribute name and additional
information. The Virtual Entity Resolution discovers fitting associations based
on the VESpecification and the VEServiceSpecification and provides the
resulting array as the return value. All fitting associations must refer to a Virtual
Entity that fits the VESpecification and for this Virtual Entity, the
VEServiceSpecification has to fit as well.
IoT-Service
Client
(from WP4
Interactions)
Virtual Entity
Resolution
(from WP4
Interactions)
discoverAssociations(VESpecification,
VEServiceSpecification) :Association[]
Figure 134 : Discover Associations based on VE Specifications and
VEServiceSpecifications.