In this paper, we address the data management aspect of large-scale pervasive computing systems. We aim at building an infrastructure that simultaneously supports many kinds of context-aware applications, ranging from room level up to nation level. This all-embracing approach gives rise to synergetic benefits like data reuse and sensor sharing. We identify major classes of context data and detail on their characteristics relevant for efficiently managing large amounts of it. Based on that, we argue that for large-scale systems it is beneficial to have special-purpose servers that are optimized for managing a certain class of context data. In the Nexus project we have implemented five servers for different classes of context data and a very flexible federation middleware integrating all these servers. For each of them, we highlight in which way the requirements of the targeted class of data are tackled and discuss our experiences
Semantic Web technologies, most notably RDF, are well-suited to cope with typical challenges in spatial data management including analyzing complex relations between entities, integrating heterogeneous data sources and exploiting poorly structured data, e.g., from web communities. Also, RDF can easily represent spatial relationships, as long as the location information is symbolic, i.e., represented by places that have a name. What is widely missing is support for geographic and geometric information, such as coordinates or spatial polygons, which is needed in many applications that deal with sensor data or map data. This calls for efficient data management systems which are capable of querying large amounts of RDF data and support spatial query predicates. We present a native RDF triple store implementation with deeply integrated spatial query functionality. We model spatial features in RDF as literals of a complex geometry type and express spatial predicates as SPARQL filter functions on this type. This makes it possible to use W3C's standardized SPARQL query language as-is, i.e., without any modifications or extensions for spatial queries. We evaluate the characteristics of our system on very large data volumes.
Monitoring systems assist farmers in monitoring the health of dairy cows by predicting behavioral patterns (e.g., lying) and their changes with machine learning models. However, the available systems were developed either for indoors or for pasture and fail to predict the behavior in other locations. Therefore, the goal of our study was to train and evaluate a model for the prediction of lying on a pasture and in the barn. On three farms, 7–11 dairy cows each were equipped with the prototype of the monitoring system containing an accelerometer, a magnetometer and a gyroscope. Video observations on the pasture and in the barn provided ground truth data. We used 34.5 h of datasets from pasture for training and 480.5 h from both locations for evaluating. In comparison, random forest, an orientation-independent feature set with 5 s windows without overlap, achieved the highest accuracy. Sensitivity, specificity and accuracy were 95.6%, 80.5% and 87.4%, respectively. Accuracy on the pasture (93.2%) exceeded accuracy in the barn (81.4%). Ruminating while standing was the most confused with lying. Out of individual lying bouts, 95.6 and 93.4% were identified on the pasture and in the barn, respectively. Adding a model for standing up events and lying down events could improve the prediction of lying in the barn.
The usage of workflow technology to model and execute business processes is widespread in many enterprises and within the software industry. With the growing maturity of sensors, wireless communication, and distributed computing environments, we can enhance this approach to enable smart workflows, which are business processes crossing the boundary to the physical world. Applications for such processes can be found in many application domains, like logistics or in smart factory environments. To realize smart workflows, workflow engines can be coupled with existing context provisioning systems. However, there is a gap between the rather low- level provisioning of context (e.g., sensor data and stock information) and the concepts needed in smart workflows (e.g., "is a spare tool available?"). The main contribution of this paper is to bridge this gap: we show how integration processes can be used to provide context information at different semantical levels for smart workflows.
Odysseus is a flexible, feature-rich and extensible framework to design event stream management systems and was developed to support research in event stream processing. It provides a systematic approach to define sources and queries, execution and presentation of results. Odysseus offers basic functionality for fast deployment, but due to its modular architecture, users can easily configure and expand them to meet a large set of applications and research questions.