Research Article

A Model of Socially Connected Web Objects for IoT Applications

Algorithm 1

Social relationship discovery.
Require: (), ()
(1) Output: Ŝ (social relationship graph of objects)
(2) Load Microservices in model
(3) Load CVOs in model
(4) Load VOs in model
(5)   executeQueryStatement (, , , )
(6) for All in   do (iterate Microservice instance being used)
(7)for All do (check CVO and VOs used by the Services)
(8) if   == output of in a relationship set   then
(9) add to
(10) else
(11) if   == output of in relationship set   then
(12) add to
(13) tag (Assign relationship tag to each object entry)
(14) else
(15) add to
(16) end if
(17) end if
(18) end for
(19) end for