This dissertation describes the possible extension possibilities of the PerLa middle- ware. This system was developed since 2005 at Politecnico di Milano and it enables to manage data from pervasive systems and wireless sensor networks. The main goal is to let the applications connected to the system to receive context level information and modify their run-time behavior. This is possible by integrating into the client side a context oriented language; this type of language allows to modify the run-time behavior based on the contextual information that is available at run-time. In this project JCOP, a context-oriented language based on java was chosen. In the second part, it is described how to distribute the contextual data from the PerLa system and the connected applications. The proposed design is based on a publish/subscribe paradigm to allow the applications to receive only the information they are interested in, in the current context and to which they have access based on a security policy. In the last part, is described another xtension that allows sending context information to REST services.
La presente tesi descrive i possibili ampliamenti di PerLa. Questo middleware sviluppato dal 2005 al Politecnico di Milano permette di gestire dati provenienti da sistemi pervasivi e reti di sensori. L’obbiettivo principale è poter rendere disponibile, alle applicazioni collegate, le informazioni relative al contesto e di modificarne il comportamento a run-time. Questo è possibile integrando lato client un linguaggio orientato al contesto, questo tipo di linguaggio permette di modificare il comportamento a run-time del programma in base alle informazioni contestuali che sono disponibili. In particolare in questo progetto è stato utilizzato JCOP che è un linguaggio orientato al contesto basato su java che permette molta flessibilità. Nella seconda parte si parlerà di come distribuire i dati da Perla alle applicazioni collegate. Il design proposto si basa su un paradigma publish-subscribe per permettere alle applicazioni di collegarsi solo ai contesti cui sono interessate ed hanno il permesso di accedere. Infine si parlerà di come eseguire chiamate a servizi REST quando viene attivato un contesto.
Extending PerLa with contex oriented programming
ANGARONI, ANDREA
2015/2016
Abstract
This dissertation describes the possible extension possibilities of the PerLa middle- ware. This system was developed since 2005 at Politecnico di Milano and it enables to manage data from pervasive systems and wireless sensor networks. The main goal is to let the applications connected to the system to receive context level information and modify their run-time behavior. This is possible by integrating into the client side a context oriented language; this type of language allows to modify the run-time behavior based on the contextual information that is available at run-time. In this project JCOP, a context-oriented language based on java was chosen. In the second part, it is described how to distribute the contextual data from the PerLa system and the connected applications. The proposed design is based on a publish/subscribe paradigm to allow the applications to receive only the information they are interested in, in the current context and to which they have access based on a security policy. In the last part, is described another xtension that allows sending context information to REST services.File | Dimensione | Formato | |
---|---|---|---|
2016_04_Angaroni.pdf
accessibile in internet per tutti
Descrizione: Thesis text
Dimensione
1.87 MB
Formato
Adobe PDF
|
1.87 MB | Adobe PDF | Visualizza/Apri |
I documenti in POLITesi sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/10589/121423