Deliverable · WP4
D4.1: identification and lookup of IoT resources
WP4's first report on finding things in an Internet of Things: identifiers, two resolution components, and five candidate architectures for discovery.
- Deliverable
- D4.1
- Work package
- WP4 · Resolution infrastructure
- Issued
- December 2011
- Pages
- 77
- Editors
- R. de las Heras (TID), N. Santos (NEC)
- Delivered
- December 2011
A smart city application should run the same way in Berlin and in Madrid without anyone reconfiguring it for each city. That sentence, from the executive summary of D4.1, explains why IoT-A needed a resolution infrastructure at all. An application written for a fixed list of services is an intranet of things. One that can ask which services currently report the noise level in a given room, and get an answer anywhere, needs machinery for lookup and discovery underneath.
The cover calls the document a project internal report, and its full title is “Concepts and Solutions for Identification and Lookup of IoT Resources”. It was edited by Ricardo de las Heras of TID and Nuno Santos of NEC, with contributors from NEC, SAG, ALBLF, the University of Surrey, CATTID, CEA and TID, and reviewed by Martin Bauer of NEC. Due in November 2011, it was delivered as final version 1.0 in December 2011. In the deliverables library it opens the published work of work package 4, whose stated aim was to build a resolution infrastructure for the IoT.
Two levels of finding things
The central idea is that lookup and discovery happen on two levels of abstraction. On the service level, an application looks for an IoT service, say one that reports noise or detects motion. On the entity level, it looks for a Virtual Entity, the digital counterpart of a room, a person or a pallet, and asks which services are associated with it. Supporting the entity level means applications can work with things rather than with the heterogeneous technologies behind them. The vocabulary comes straight from the IoT-A domain model, and the glossary gives the exact definitions of Virtual Entity, Resource and Service used here.
Two functional components carry this. IoT Service Resolution stores service descriptions, resolves a service identifier to an address or URL, looks services up by identifier, discovers them from a service specification, and manages their entries. Virtual Entity Resolution stores associations between entities and services, looks them up by entity identifier, and discovers them by describing which entities are of interest, optionally within a scope. Each component comes with its own model: a service model and an entity model.
Identifiers without a single scheme
Chapter two deals with identification and addressing, and it takes a deliberate position. Identifiers in an IoT system may also encode addresses, cryptographic material or domain structure, so the authors decline to fix one identification scheme at the level of a reference architecture. Different systems will need different ones. What they do analyse in detail is IPv6 addressing, lent addresses for privacy, group communication, and an identifier and locator split based on cryptographic identifiers. The split separates who a node is from where it currently sits in the network. Applications need the first, routers only the second.
Five architecture options
The core of the report compares five ways of distributing lookup and discovery. A domain-oriented infrastructure uses a hierarchy of index and catalogue servers. A location-oriented infrastructure organises service descriptions and associations by geographic area, with resolution servers, catalogue servers and a domain directory; it reviews R-trees, quadtrees and KD-trees as spatial indexes and lays out deployments from a single server to multi-domain catalogues. A semantic-web-oriented approach uses a probabilistic machine-learning method that turns semantic service descriptions into vectors of latent factors, so that heterogeneous descriptions can be matched against a query with vector algebra. A peer-to-peer approach maps the resolution functions onto a distributed hash table. A federation-based approach groups nodes into clusters at several levels and propagates queries through them.
Chapter five weighs these against reliability, scalability and availability, and the conclusion is refreshingly non-committal. No single option wins.
The verdict: a synthesis
For resolution and lookup by identifier, the distributed hash table looked best: fully decentralised, highly available and scalable by adding nodes. It cannot answer range queries, though, so it is weak at discovery. Location-oriented discovery should be used where geography matters, and it cannot work without a location attribute. Semantic and federation approaches suit keyword discovery. Only the location-oriented design had a domain directory for queries across administrative domains, and the authors suggest that directory could be bolted onto the others.
The plan was to examine algorithms, protocols and mechanisms in D4.3 and then pick an approach for implementation. Security and privacy for the same infrastructure followed in D4.2 two months later.
Why it is still worth opening
The split between entity-level and service-level lookup is the most durable part. It reappears in the functional view of the reference model as the Virtual Entity and IoT Service functionality groups, and it anticipates how later IoT platforms separate a digital twin registry from a device or service registry. The R-tree versus quadtree discussion is also a compact primer for anyone indexing sensor service areas. One practical point the authors make: catalogue servers have to index regions, not only points, which rules out the space-partitioning structures.