{'fraction_non_alphanumeric': 0.01592797783933518, 'fraction_numerical': 0.0, 'mean_word_length': 5.689814814814815, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
The Context Gateway : A Pervasive Computing Infrastructure for Context Aware Services

Context -aware computing is an emerging paradigm to relieve users from excessive interactions with various kinds of devices and services in pervasive computing environments. In this paper, we will identify the design requirements of context aware computing, and present a generic layered model (the Context Stack) to melt essential mechanisms into a coherent architecture as a design abstraction. As current development of context aware systems is difficult and costly due to the lack of open middleware support, we plan to develop an open infrastructure for context aware services, namely Context Gateway, to support essential context aware mechanisms in form of a reusable middleware. In particular, the design of Context Gateway will explore Web Ontology Language for context modeling and knowledge sharing, hybrid logic reasoning and machine learning for context interpretation, and Semantic Web query language for context query and resource discovery. Context Gateway consists of two parts: a set of specification delineating Application Programming Interface (API) standards for the essential context aware mechanisms, and a set of Java implementation as a programming library. To evaluate the feasibility of context modeling using ontology and context reasoning using logics, we have presented detailed examples and conducted preliminary experiments.