Thingframe

Architectural Reference Model

The IoT architectural reference model: its views and perspectives

What the IoT-A Architectural Reference Model contains: five sub-models, three views, four perspectives, nine functionality groups and the guidance for architects.

Final version
D1.5, July 2013
Functionality groups
9
Pages of D1.5
482
Domain, information, functional and communication model stacked as layers of the reference model 04 Communication model how users, services and devices interact 03 Functional model nine functionality groups 02 Information model how Virtual Entities are described 01 Domain model entities, devices, resources, services
Four of the reference model's sub-models as one stack. The fifth, the trust, security and privacy model, runs across all of them.

The truck driver in the IoT-A documents is called Ted. He carries orchids to a retail store, stops for lunch, switches off the engine and with it the air conditioning, and a temperature sensor on load carrier number 6 sends an alarm to his phone before the flowers wilt. That small scene, taken from the project’s logistics use case on smart load carriers, runs through all 482 pages of the final deliverable as a recurring example. Every abstraction in the model is shown against it at least once.

The IoT architectural reference model, usually shortened to ARM, was the main result of the IoT-A project. Its authors did not start from a clean slate. They took existing IoT systems and standards, extracted the traits those systems had in common, added requirements gathered from an external stakeholder group, and wrote the result down as a model that any later architecture could be checked against. The approach was conservative by design: backward compatibility with working solutions mattered more than elegance.

Reference model, reference architecture and guidance

The ARM has three parts, and confusing the first two is the most common mistake readers make. The reference model sits at the highest level of abstraction. It defines concepts and the relations between them, following the OASIS definition of a reference model, and it says nothing about components. The reference architecture sits one level lower. It describes abstract mechanisms, organised as views and perspectives, from which a concrete architecture can be derived. The third part, guidance, explains how to do that derivation in practice.

So when people search for the IoT reference model and architecture as if they were one thing, they are half right. The ARM packages both, and the guidance chapter is the bridge. D1.5 calls that chapter an extremely important part of the work, and judging by its length (well over a hundred pages) the authors meant it.

The project listed seven uses for the IoT architectural reference model: a cognitive aid, a common grounding for discussion, the generation of architectures, identifying differences between derived architectures, achieving interoperability, planning system roadmaps and product life cycles, and benchmarking. Most readers today use it for the first two. A team drafting its own IoT reference model and architecture document can take the domain model alone and still gain from it.

The five sub-models

The reference model breaks into five sub-models. The domain model is the centre. Its cast is short: a User with a goal, a Physical Entity in the real world, its digital stand-in the Virtual Entity, a Device bridging the two, Resources hosted on devices or in the network, and Services that make those Resources callable. Every one of these words has a fixed meaning, recorded in the IoT domain model glossary.

The information model describes how a Virtual Entity is written down: an identifier, an entity type and any number of attributes, each with a name, a semantic type and one or more values, and each value with its own metadata such as a timestamp or a unit. A service description and an association link those attributes to the service that can read or change them. The functional model splits any IoT system into functionality groups. The communication model covers how users, services and devices exchange data across very different networks, and it was the part most heavily reshaped in the final version. The trust, security and privacy model cuts across the other four.

Each sub-model depends on the domain model. That dependency is deliberate, and it is the reason the IoT architectural reference model can be read from any chapter outward without losing its vocabulary.

The nine functionality groups

The functional model contains seven longitudinal groups and two transversal ones. The longitudinal groups are Application, IoT Process Management, Service Organisation, Virtual Entity, IoT Service, Communication and Device. Management and Security are transversal, which means every policy they carry also applies to the other seven. A security policy, as D1.5 puts it, only works if no component offers a way around it.

The derivation of the groups is easy to follow. Application, Virtual Entity, IoT Service and Device come straight from the main abstractions of the domain model. Communication exists because the model has to cover a wide range of network technologies. IoT Process Management and Service Organisation answer stakeholder requests for building business processes and composite services on top of IoT resources. Management was introduced into the functional model and functional view only in D1.4.

The minimum set of groups is smaller. D1.5 answers a question the authors say they were asked often: which groups must every derived architecture contain? The answer is Application, IoT Service, Communication and Device. Things are reached through devices, data travels by communication, services expose it and an application uses it. The other groups are not optional in principle, they are just not needed for every set of requirements.

The IoT architectural reference model views

A view, in the sense the ARM borrows from Rozanski and Woods, isolates one structural aspect of a system so that it can be designed and checked on its own. The architectural reference model views in D1.5 are three.

The Functional view lists the runtime functional components inside each group, their responsibilities, default functions, interfaces and main interactions. It is derived from the functional model on one side and the unified requirements on the other, and more than one functional view can be derived from the same model. D1.5 added a component for event brokerage and publish/subscribe to it.

The Information view describes how information is structured, where it flows between components and how long it lives. Its one formal viewpoint covers the type system of Virtual Entities, which can be flat or hierarchical. In the Ted scenario the hierarchy runs from abstract load carriers down to boxes and pallets.

The Deployment and Operation view groups the domain model into Devices, Resources and Services, because each group poses its own deployment problem, and guides the choice of technologies for each. Two more views, the Physical-Entity view and the IoT Context view, were left out of the reference architecture on purpose. They depend on the concrete use case, so the guidance chapter tells architects how to write them.

Read together, the architectural reference model views answer three different questions about the same system: what it does, what it knows, and where it runs.

The four perspectives

Views alone were not enough. Many stakeholder wishes are qualities rather than structures, and a quality such as privacy touches every view at once. The ARM handles these as perspectives, each described with a desired quality, the unified requirements it answers, its applicability, a list of activities and a set of tactics.

Evolution and Interoperability concerns systems that must keep working as technology changes after deployment. Performance and Scalability concerns predictable behaviour under a stated load and the ability to grow. Trust, Security and Privacy mirrors the sub-model of the same name. Availability and Resilience concerns staying operational, fully or partly, when parts fail; its tactics range from fault-tolerant hardware to designing for failure and allowing component replication.

Each perspective names its requirements by number. Performance and Scalability, for instance, cites seventeen of them, from UNI.008 to UNI.717.

How architects were meant to use it

The guidance chapter of D1.5 turns the model into a method. It describes a process for generating an architecture, explains how to use the unified requirements during requirements engineering, walks through a threat analysis, and then lists design choices. A design choice is the point where a perspective is applied to a view: for each pair the chapter lists options and rates how strongly the perspective affects that view. This follows the matrix approach of Rozanski and Woods, and D1.5 notes that it replaced the different structure used in D1.4.

The same chapter contains a reference manual for the domain, information and communication models, a set of typical interactions between functionality groups, and a reverse mapping. In the reverse mapping the authors took existing systems, namely ETSI M2M, EPCglobal, ucode and the MUNICH platform, and expressed them in ARM terms to test whether the model was complete. That exercise is the strongest evidence in the documents that the model describes real systems and not only the project’s own prototypes.

If you want to apply the model, start with the design choices and the minimum set of groups. They are the parts that change what gets built.

Four versions in two and a half years

The model was published in four public deliverables. D1.2, the initial architectural reference model, version 0.9, was delivered in June 2011 under the editorship of Joachim W. Walewski of Siemens. It covered the domain, information and communication models and gave a first look at the reference architecture through the functional view and security and privacy.

D1.3, delivered in July 2012 and edited by Andreas Nettsträter of Fraunhofer IML, was called version 1.5 and described itself as a partial update. It added the Information view and the Deployment and Operation view, introduced three of the four perspectives, and gave the first version of the best practices and design choices.

D1.4, the converged model or ARM v2, followed in November 2012, edited by Carsten Magerkurth of SAP. It took in feedback collected at IoT Week 2012 in Venice, reworked the Information view to show information flow between components, added Management to the functional model and introduced the reverse mapping.

D1.5, the final version 3.0, was submitted in July 2013 under the editorship of Francois Carrez of the University of Surrey. It reshaped the communication model, rebuilt the Deployment and Operation view, expanded the guidance chapter and introduced the recurring orchid example.

The edited book version, Enabling Things to Talk, appeared with Springer in 2013 as open access. The ARM book introduction is the short way in. The longer way is D1.5 itself, and its Appendix C, which holds the use cases, interfaces and message sequence charts that the main chapters only point to.

Questions

What are the views of the IoT architectural reference model?

The final version names three: the Functional view, the Information view and the Deployment and Operation view. Two further views, the Physical-Entity view and the IoT Context view, are left to the architect of a concrete system and are covered in the guidance chapter of D1.5.

What is the difference between a view and a perspective in the ARM?

A view isolates one structural aspect of a system, such as its functional components or its information flow. A perspective is a quality property that cuts across several views, for example performance or privacy. The ARM follows Rozanski and Woods in applying each perspective to each view.

Which functionality groups must every IoT-A compliant architecture contain?

D1.5 names a minimum set of four: Application, IoT Service, Communication and Device. The other groups are not declared optional; they are simply not needed for every set of requirements.

Which version of the ARM should be cited?

D1.5, the final architectural reference model for the IoT, version 3.0, submitted in July 2013. The Springer book Enabling Things to Talk, published the same year, covers the same model in a shorter, edited form.