O documento apresenta o middleware ContextNet, descrevendo sua visão geral, tutorial de instalação e utilização, incluindo soluções para computação central, móvel e em grupo. É fornecida uma tarefa para os alunos instalarem o ContextNet e executarem tutoriais disponíveis online.
4. 28/09/17 Computação Ubíqua 4
• Layer between OS and distributed applications
• Hides complexity and heterogeneity of distributed
system
• Bridges gap between low-level OS communications
and programming language abstractions
• Provides common programming abstraction and
infrastructure for distributed applications
• Overview at: http://www.middleware.org
Visão Geral
12. 28/09/17 Computação Ubíqua 12
O Data Distribution Service (DDS) é um padrão
da Object Management Group (OMG) que permite
aplicações usando o padrão publish-subscribe
que sejam escaláveis, em tempo real, de alta-
performance e troca de informações
interoperáveis.
Visão Geral
• DDS
19. 28/09/17 Computação Ubíqua 19
O arquivo a ser baixado nesta
primeira instrução encontra-se
na pasta “Instrucões Gerais .
Primeira Instrução”
Tutorial ContextNet
• Download do OpenSplice
20. 28/09/17 Computação Ubíqua 20
CASO O
WINDOWS SEJA
32 BITS, O VALOR
DA VARIÁVEL
OSPL_HOME
DEVERÁ SER:
C:OpenSpliceHD
Ex86.win32
Tutorial ContextNet
• Windows
29. 28/09/17 Computação Ubíqua 29
OU SEJA, ANTES DE RODAR UM PROJETO DO
CONTEXTNET É NECESSÁRIO:
1º - ABRIR O PROMPT DE COMANDO
2º - ENTRAR NA PASTA ONDE ESTÃO
LOCALIZADOS OS ARQUIVOS JAR
3º - EXECUTAR O COMANDO OPEN SPLICE
Tutorial ContextNet
• Instalação do ContextNet
30. 28/09/17 Computação Ubíqua 30
OU SEJA, ANTES DE RODAR UM PROJETO DO
CONTEXTNET É NECESSÁRIO:
1º - ABRIR O PROMPT DE COMANDO
2º - ENTRAR NA PASTA ONDE ESTÃO
LOCALIZADOS OS ARQUIVOS JAR
3º - EXECUTAR O COMANDO OPEN SPLICE
COMO NESTE EXEMPLO
Tutorial ContextNet
• Instalação do ContextNet
52. 28/09/17 Computação Ubíqua 52
Tarefa
• Realizar a instalação do ContextNet na sua plataforma de trabalho.
• Executar os tutorias HelloCore, HelloMobile, HelloGroup e HelloAndroid
disponíveis em http://www.lac.inf.puc-rio.br/dokuwiki/doku.php?id=tutorial
• Após concluir essas atividades, responder o questionário disponívem em
https://docs.google.com/forms/d/13HHVbT_ShoLGPFXRXOL8IfhA90BHI3G
1A9hLz-sqWdU.
• Prazo: 22h da sexta-feira 06/10.
53. 28/09/17 Computação Ubíqua 53
References
• B.T.P. Gomes, L.C.M. Muniz, F.J. Silva e Silva, L.E.T. Rios and M. Endler, A
Comprehensive and Scalable Middleware for Ambient Assisted Living
Based on Cloud Computing and IoT, Concurrency and Computation:
Practica and Experience, Wiley, 1-26, 2016.
• M. Roriz Jr., M. Endler and F.J. Silva e Silva, An on-line algorithm for cluster
detection of mobile nodes through complex event processing, Information
Systems, ISSN 0306-4379, doi:10.1016/j.is.2015.12.003, 2016
• R. Vasconcelos, M. Endler, B. Gomes, F. Silva e Silva, Autonomous Load
Balancing of Data Stream Processing and Mobile Communications in
Scalable Data Distribution Systems, International Journal On Advances in
Intelligent Systems, v. 6 nr. 3-4 , pp. 300-317, IARIA, ISSN: 1942-2679,
2013
• L.D. Nery e Silva, R.O. Vasconcelos, L. Alves, R. Andre, M. Endler, A DDS-
based middleware for scalable tracking, communication and collaboration of
mobile nodes, Journal of Internet Services and Applications (JISA), 4:16.
Springer, July 2013.