DocumentCode
3386103
Title
Reflective and Refractive Variables: A Model for Effective and Maintainable Adaptive-and-Dependable Software
Author
De Florio, Vincenzo ; Blondia, Chris
fYear
2007
fDate
28-31 Aug. 2007
Firstpage
307
Lastpage
313
Abstract
We propose a simple and effective tool for the expression of tasks such as cross-layer optimization strategies or sensors-related applications. The approach is based on what we refer to as "reflective and refractive variables\´\´. Both types of variables are associated with external entities, e.g. sensors or actuators. A reflective variable is a volatile variable, that is, a variable that might be concurrently modified by multiple threads. A library of threads is made available, each of which interfaces a set of sensors and continuously update the value of a corresponding set of sensors. One such thread is "cpu", which exports the current level of usage of the local CPU as an integer between 0 and 100. This integer is reflected into the integer reflective variable cpu. A refractive variable is a reflective variable that can be modified. Each modification is caught and interpreted as a request to change the value of an actuator. For instance, setting variable "tcp_sendrate" would request a cross-layer adjustment to the thread interfacing the local TCP layer entity. This allows express in an easy way complex operations in the application layer of any programming language, e.g. plain old C We describe our translator and the work we are carrying out within PATS to build simple and powerful libraries of scripts based on reflective and refractive variables, including robotics applications and RFID tags processing.
Keywords
multi-threading; optimising compilers; software libraries; software maintenance; adaptive-and-dependable software maintenance; cross-layer optimization strategies; multiple threads; reflective variables; refractive variables; sensor-related applications; Actuators; Application software; Computer languages; Libraries; Mathematical model; Radiofrequency identification; Reactive power; Software maintenance; Software performance; Yarn;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering and Advanced Applications, 2007. 33rd EUROMICRO Conference on
Conference_Location
Lubeck
ISSN
1089-6503
Print_ISBN
978-0-7695-2977-6
Type
conf
DOI
10.1109/EUROMICRO.2007.52
Filename
4301093
Link To Document