Participatory sensing (PS) platforms enable stakeholders to collect, analyse and visualise data for a particular interest. Despite high societal demand, developing a new PS platform remains a labour-intensive, nonreus...
详细信息
ISBN:
(纸本)9781450360708
Participatory sensing (PS) platforms enable stakeholders to collect, analyse and visualise data for a particular interest. Despite high societal demand, developing a new PS platform remains a labour-intensive, nonreusable process that requires high technical expertise. We present DISCOPAR, a visual reactive flow-based domain-specific language geared towards the construction of reusable citizen observatories. With DISCOPAR, users interact with visual components to implement the various elements of a PS platforms without having to worry about its underlying technological complexities. We validate our approach through experiments using real-world empirical usability studies of ICT-agnostic users. The results show that DISCOPAR allows users with limited technological knowledge to create their own PS platform.
The Internet of things (IoT) has expanded at a fantastic pace in the last years. It will be only a matter of years before every single daily object will contain embedded sensors and actuators connected through the Int...
详细信息
ISBN:
(纸本)9781450351911
The Internet of things (IoT) has expanded at a fantastic pace in the last years. It will be only a matter of years before every single daily object will contain embedded sensors and actuators connected through the Internet, producing massive amounts of data. Mean-while, efforts are being carried out to enable IoT objects to be accessible through the Web as well. Thanks to those efforts, a new class of graphical tools, namely physical mashups, that explores data flow programming to connect Web components and Internet of things' devices easily, can now be used to build applications that mix the physical world with the virtual one. In parallel, the concept of Complex Event processing has emerged as a response to the increase of data from different types of distributed applications due to the need for (quasi) real-time processing of data. In this paper we propose the combination of both approaches, CEP and WoT mashups, to build a simple approach to tackle this new avalanche of data in the context of IoT applications. We apply reactive programming to implement the CEP operators that we provide as extensions of an existing WoT platform. A use case scenario is presented to demonstrate the approach.
Functional reactive programming (FRP) has come to mean many things. Yet, scratch the surface of the multitude of realisations, and there is great commonality between them. This paper investigates this commonality, tur...
详细信息
ISBN:
(纸本)9781450344340
Functional reactive programming (FRP) has come to mean many things. Yet, scratch the surface of the multitude of realisations, and there is great commonality between them. This paper investigates this commonality, turning it into a mathematically coherent and practical FRP realisation that allows us to express the functionality of many existing FRP systems and beyond by providing a minimal FRP core parameterised on a monad. We give proofs for our theoretical claims and we have verified the practical side by bench-marking a set of existing, non-trivial Yampa applications running on top of our new system with very good results.
Functional reactive programming (FRP) is an approach to reactive programming where systems are structured as networks of functions operating on signals. FRP is based on the synchronous data-flow paradigm and supports ...
详细信息
ISBN:
(纸本)9781605583327
Functional reactive programming (FRP) is an approach to reactive programming where systems are structured as networks of functions operating on signals. FRP is based on the synchronous data-flow paradigm and supports both continuous-time and discrete-time signals (hybrid systems). What sets FRP apart from Most other languages for similar applications is its support for systems with dynamic structure and for higher-order reactive constructs. Statically guaranteeing correctness properties of programs is an attractive proposition. This is true in particular for typical application domains for reactive programming such as embedded systems. To that end, many existing reactive languages have type systems or other static checks that guarantee domain-specific properties, such as feedback loops always being well-formed. However, they are limited in their capabilities to support dynamism and higher-order data-flow compared with FRP. Thus, the onus of ensuring such properties of FRP programs has so far been on the programmer as established static techniques do not suffice. In this paper, we show how dependent types allow this concern to be addressed. We present an implementation of FRP embedded in the dependently-typed language Agda, leveraging the type system of the host language to craft a domain-specific (dependent) type system for FRP. The implementation constitutes a discrete, operational semantics of FRP, and as it passes the Agda type, coverage, and termination checks, we know the operational semantics is total, which means our type system is safe.
This work presents the concept of MorphLang, a functional reactive programming language tailored for shape-changeable computers, which are built using wirelessly interconnected chiplets. MorphLang simplifies the progr...
详细信息
ISBN:
(纸本)9798400703843
This work presents the concept of MorphLang, a functional reactive programming language tailored for shape-changeable computers, which are built using wirelessly interconnected chiplets. MorphLang simplifies the programming process for these systems by concentrating on the basic behaviors of individual nodes and their asynchronous communication. The language allows for compilation into binary or Arduino formats, and programs can be transmitted to each node either wirelessly or through physical connections.
The paradigm of reactive programming has attained more and more interest in recent time. In this paper, we show why reactive programming is a well-suited paradigm for sensor fusion algorithms. As a new contribution, w...
详细信息
ISBN:
(纸本)9786058631113
The paradigm of reactive programming has attained more and more interest in recent time. In this paper, we show why reactive programming is a well-suited paradigm for sensor fusion algorithms. As a new contribution, we show how the efficiency of stream-oriented reactive programs can be enhanced by applying the magic update method that originally stems from the field of update propagation in deductive databases.
The IoT-system architecture is considered on the basis of the reactive programming paradigm. The generalized types and variables and also program modules are used for data presentation. Communication between the varia...
详细信息
ISBN:
(纸本)9781538615966
The IoT-system architecture is considered on the basis of the reactive programming paradigm. The generalized types and variables and also program modules are used for data presentation. Communication between the variables and the modules connections are established. The synchronization of variables values and the events transfer about their changes is carried out through these communications. Local communications are supported by the reactive programming system, remote communications are supported by service and the synchronization protocol. The events processing is made with use of the simple interpreted language. The WebAPI server allows clients to operate the server information model, to create own synchronized variables in client applications. The functioning uniform environment of the IoT, or the "clever house", or the distributed system is created on this basis.
Contemporary IoT systems are challenging to develop, deploy, and maintain. This is because of their ever-increasing scale, dynamic network topologies, heterogeneity and resource constraints of the involved devices, an...
详细信息
ISBN:
(纸本)9781538678992
Contemporary IoT systems are challenging to develop, deploy, and maintain. This is because of their ever-increasing scale, dynamic network topologies, heterogeneity and resource constraints of the involved devices, and failures that may occur as a result of these characteristics. Existing approaches are either not at the right level of abstraction, require developers to learn specialized languages, or miss certain key features to address all these challenges in a uniform manner. In this paper we leverage reactive programming and code mobility to support the entire life-cycle of large-scale IoT systems. Our approach is based on existing programming technologies and offers simple and composable abstractions to developers. We implemented our approach as a middleware called Potato and used it to develop and deploy an IoT application on a Raspberry Pi cluster. We found that using Potato reduces much of the accidental complexity associated with developing and deploying IoT systems, resulting in clean and maintainable programs.
reactive programming languages and libraries, such as reactiveX, have been shown to significantly improve software design and have seen important industrial adoption over the last years. Asynchronous applications whic...
详细信息
ISBN:
(纸本)9781728125084
reactive programming languages and libraries, such as reactiveX, have been shown to significantly improve software design and have seen important industrial adoption over the last years. Asynchronous applications which are notoriously error-prone to implement and to maintain greatly benefit from reactive programming because they can be defined in a declarative style, which improves code clarity and extensibility. In this paper, we tackle the problem of refactoring existing software that has been designed with traditional abstractions for asynchronous programming. We propose 2Rx, a refactoring approach to automatically convert asynchronous code to reactive programming. Our evaluation on top-starred GitHub projects shows that 2Rx is effective with common asynchronous constructs and it can provide a refactoring for 91.7% of their occurrences.
We propose a novel distributed reactive propagation semantics that provides strong consistency guarantees with minimal locking. This is achieved by decoupling reactive propagation from transaction execution, utilizing...
详细信息
ISBN:
(纸本)9798400703843
We propose a novel distributed reactive propagation semantics that provides strong consistency guarantees with minimal locking. This is achieved by decoupling reactive propagation from transaction execution, utilizing reactive histories to avoid propagating in-progress or inconsistent results. We formally define soundness properties in terms of histories, and sketch how our semantics upholds them. We implement Historiographer, a runtime incorporating our methods, and conduct a preliminary evaluation demonstrating performance improvements of up to 38% on select benchmarks.
暂无评论