Types in Their Prime: Sub-typing of Data in Resource Constrained Environments

Thoelen, Klaas and Preuveneers, Davy and Michiels, Sam and Joosen, Wouter and Hughes, Danny (2014) Types in Their Prime: Sub-typing of Data in Resource Constrained Environments. In: Mobile and Ubiquitous Systems: Computing, Networking, and Services. 10th International Conference, MOBIQUITOUS 2013, Tokyo, Japan, December 2-4, 2013, Revised Selected Papers.

[thumbnail of 20828.pdf] PDF
20828.pdf

Download (343kB)

Abstract

Sub-typing of data improves reuse and allows for reasoning at different levels of abstraction; however, it is seldom applied in resource constrained environments. The key reason behind this is the increase in overhead that is caused by including hierarchical information in data types as compared to a flat list. Where hierarchical data typing is used, it is often represented using verbose textual identifiers or numerical encodings that are suboptimal with regards to space. In this paper, we present an encoding function for hierarchically typed information, based on the properties of prime numbers. It provides a compact representation of types, fast subsumption testing even on resource constrained platforms and support for the evolution of the data type hierarchy. We demonstrate the feasibility of our approach on two representative communication models in constrained environments; a publish/subscribe event bus and a RESTful application protocol. We evaluate the performance of our encoding function and show that it has limited overhead compared to a flat list of data types and that this overhead is outweighed by reduced memory and communication overhead once applied.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: Sub-typing, Constrained environments, Prime numbers
Date Deposited: 04 Mar 2026 10:22
Last Modified: 20 Nov 2026 12:14
URI: https://eprints.eai.eu/id/eprint/12275

Actions (login required)

View Item
View Item