Internet of Things Architecture

(Elliott) #1

Interaction Diagram: Insert


An IoT Service inserts its Service Description into the IoT Service Resolution
component. The Service synchronously calls the IoT Service Resolution
component using the insertServiceDescription operation with its
ServiceDescription as parameter. The IoT Service Resolution component
inserts the Service Description into its internal information base and returns the
ServiceID that uniquely identifies the stored Service Description. It is a design
choice whether the ServiceID is part of the ServiceDescription and already
assigned when calling insert, or the ServiceID is only assigned by the IoT
Service Resolution. As a result, the information required for resolution, look-up
and discovery can efficiently be found.


IoT Service

(from WP4
Interactions)

IoT Service
Resolution

(from WP4
Interactions)

insertServiceDescription(ServiceDescription) :ServiceID

Figure 128 : Insert Service Description.

Interaction Diagram: Update


An IoT Service updates its Service Description in the IoT Service Resolution
component. The Service asynchronously calls the IoT Service Resolution
component using the updateServiceDescription operation with its ServiceID and
the updated ServiceDescription as parameter. The ServiceID can be omitted as
a separate parameter if it is already included in the ServiceDescription. The IoT
Service Resolution component updates the Service Description in its internal
information base, so the updated information required for resolution, look-up
and discovery can efficiently be found. The call to updateServiceDescription
always returns with an OK status code, as the processing of the
ServiceDescription is done asynchronously.

Free download pdf