Skip to main content
QUICK REVIEW

[Paper Review] Using JSON-LD to Compose Different IoT and Cloud Services

Darko Andročec|arXiv (Cornell University)|Sep 21, 2018
Service-Oriented Architecture and Web ServicesComputer Science2 citations
TL;DR

This paper proposes a JSON-LD and HTN planning-based framework for semi-automatically composing IoT and cloud services by semantically annotating devices and services using an open IoT ontology. The approach enables interoperability through AI planning (JSHOP2), demonstrating feasibility via a prototype that composes a temperature sensor and LED actuator with security and protocol metadata.

ABSTRACT

Internet of things and cloud computing are in the widespread use today, and often work together to accomplish complex business task and use cases. This paper propose the framework and its practical implementation to compose different things as services and cloud services. The ontology based approach and JSON-LD was used to semantically annotate both types of services, and enable the mechanism to semi-automatically compose these services. The use case and proof-of-concept application that use the proposed theoretical approach is also described in this work.

Motivation & Objective

  • To address interoperability challenges between heterogeneous IoT devices and cloud services in complex business use cases.
  • To enable semi-automatic service composition by combining semantic annotations with AI planning techniques.
  • To extend the Thing as a Service model to include cloud services through standardized semantic descriptions.
  • To support non-functional property inspection (e.g., security, protocols) during service composition.
  • To demonstrate feasibility via a prototype integrating GSN middleware, JSON-LD, and JSHOP2 planning.

Proposed method

  • Semantic annotation of IoT and cloud services using JSON-LD and a custom open IoT ontology (ThingAsAServiceOntology.owl).
  • Mapping of device and service metadata (e.g., protocols, security issues, capabilities) into structured JSON-LD format with @context and @type declarations.
  • Integration of sensor-based devices via GSN middleware and actuator-based devices via direct RESTful web services, both exposing JSON for JSON-LD enrichment.
  • Transformation of JSON-LD-annotated service descriptions into JSHOP2 planning domain and problem files for automated composition reasoning.
  • Use of Hierarchical Task Network (HTN) planning via JSHOP2 to verify and generate valid service composition workflows.
  • Programmatic conversion of cloud service descriptions using SAWSDL into equivalent JSHOP2-compatible planning representations.

Experimental results

Research questions

  • RQ1Can JSON-LD and semantic ontologies enable interoperability between heterogeneous IoT devices and cloud services?
  • RQ2To what extent can AI planning (HTN) support semi-automatic composition of IoT and cloud services based on semantic metadata?
  • RQ3How can non-functional properties (e.g., security, communication protocols) be modeled and evaluated during service composition?
  • RQ4Can a unified framework compose both IoT devices and cloud services using the same planning mechanism?
  • RQ5What is the feasibility of using GSN middleware and RESTful web services as integration layers for semantic-annotated devices?

Key findings

  • The framework successfully semantically annotated both IoT devices (e.g., Arduino Yun with DS18B20 sensor) and actuators (e.g., littleBits cloudBit with LED) using JSON-LD and the custom IoT ontology.
  • The prototype demonstrated that service composition is feasible by generating valid JSHOP2 planning files from JSON-LD-annotated services, including support for protocols and security issues.
  • The system enabled inspection of non-functional properties such as 'NetworkServicesVulnerabletoDenialOfService' and 'InsecureSoftwareFirmware' during composition.
  • The integration of GSN middleware allowed semantic annotation of devices not natively supporting HTTP or JSON, extending the framework’s device coverage.
  • Cloud services annotated with SAWSDL were successfully converted into JSHOP2-compatible planning representations, enabling unified composition of IoT and cloud services.
  • The proof-of-concept application confirmed that the proposed method supports semi-automatic composition of a temperature monitoring and alerting system using sensor and actuator services.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.