repositório social de serviços web
TRANSCRIPT
![Page 1: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/1.jpg)
Repositório Social de Serviços Web
Henrique DiasOrientador Leandro Wives
UNIVERSIDADE FEDERAL DO RIO GRANDE DO SULINSTITUTO DE INFORMÁTICA
![Page 2: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/2.jpg)
Agenda
• Contexto• Objetivos• Estratégia• Algoritmos• Resultados• Conclusão
AgendaRepositório Social de Serviços Web
![Page 3: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/3.jpg)
Projeto Dodona
Arquitetura de Sistemasorientada à Serviços
Composição de Serviços Web
Repositório de Serviços Web
Recomendação de Serviços Web
° ° ° ContextoRepositório Social de Serviços Web
![Page 4: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/4.jpg)
![Page 5: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/5.jpg)
Repositório de Serviços Web
° ContextoRepositório Social de Serviços Web
![Page 6: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/6.jpg)
Recomendação de Serviços Web
Sintática
?
Semântica
Prabhakar[2005]
QoS
Thio [2005]
ContextoRepositório Social de Serviços Web
![Page 7: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/7.jpg)
Armazenamento dos Serviços Web
Centralização
Organização
Recomendação
° ObjetivosRepositório Social de Serviços Web
![Page 8: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/8.jpg)
Substituição dos Serviços Web
Indisponibilidade
Tempo de Resposta
Qualidade de Resposta
ObjetivosRepositório Social de Serviços Web
![Page 9: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/9.jpg)
Repositório Socialde Serviços Web
Importação de diversos serviços web
Relacionamento por similaridade sintática
Recomendação por afinidade
° ° EstratégiaRepositório Social de Serviços Web
![Page 10: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/10.jpg)
Importação deServiços Web
WebCrawler de Serviços Web
° EstratégiaRepositório Social de Serviços Web
Cliente SOAP PHP
Banco de Dados
Relacional
![Page 11: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/11.jpg)
Relações entre osServiços Web
Similaridade sintática dos parâmetros de entrada da funções
Similaridade entre funções gera o relacionamento entre os serviços web
EstratégiaRepositório Social de Serviços Web
![Page 12: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/12.jpg)
WebCrawler deServiços Web
° ° ° ° ° ° ° ° ° AlgoritmosRepositório Social de Serviços Web
Search Engine
Google, Yahoo, Bing
Script PHP
Banco de Dados
![Page 13: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/13.jpg)
Consumo de WSDLpelo SOAP PHP
° ° ° ° ° ° ° ° AlgoritmosRepositório Social de Serviços Web
Lista de Serviços Web
WSDL SOAPPHP
MySQL
![Page 14: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/14.jpg)
Hashing de Tipos
° ° ° ° ° ° ° AlgoritmosRepositório Social de Serviços Web
insereItem (idCarinho, idItem, quantidade, observação, reservar)
0 1 0 1 0 0 3
Token, Boolean, NCName, String, anyURL, QName, int
![Page 15: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/15.jpg)
Propagação do Hashing
° ° ° ° ° ° AlgoritmosRepositório Social de Serviços Web
![Page 16: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/16.jpg)
Comparação das Funções
° ° ° ° ° AlgoritmosRepositório Social de Serviços Web
Hash(f1) 0 2 0 9 0 0 3Hash(f2) 0 5 0 3 0 0 7
Total 0 7 0 12 0 0 10 = 29Diferenças 0 3 0 6 0 0 4 = 13
Percentual de Similaridade = 55%
![Page 17: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/17.jpg)
Equação das Funções
° ° ° ° AlgoritmosRepositório Social de Serviços Web
![Page 18: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/18.jpg)
Algoritmo de Vizinhança
° ° ° AlgoritmosRepositório Social de Serviços Web
![Page 19: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/19.jpg)
Equação das Funções
° ° AlgoritmosRepositório Social de Serviços Web
INSERT INTO function_relSELECT f.id, function.id, ROUND ( ABS( CONV(SUBSTR(LPAD(f.code,8,'0'),1,1),20,10) + CONV(SUBSTR(LPAD(function.code,8,'0'),1,1),20,10)) - ABS( CONV(SUBSTR(LPAD(f.code,8,'0'),1,1),20,10) - CONV(SUBSTR(LPAD(function.code,8,'0'),1,1),20,10)) / ABS( CONV(SUBSTR(LPAD(f.code,8,'0'),1,1),20,10) + CONV(SUBSTR(LPAD(function.code,8,'0'),1,1),20,10)) ,5) as relation FROM Function f JOIN Function
![Page 20: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/20.jpg)
Equação dos Serviços Web
° AlgoritmosRepositório Social de Serviços Web
![Page 21: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/21.jpg)
Equação dos Serviços Web
AlgoritmosRepositório Social de Serviços Web
INSERT INTO webservice_rel SELECT id1,id2, ROUND(SUM(max_rel)/count(max_rel),5) FROM (SELECT f1.idwebservice AS id1, f2.idwebservice AS id2, MAX(relation) AS max_relFROM function_rel fr INNER JOIN function f1 ON f1.id = fr.id1 INNER JOIN function f2 ON f2.id = fr.id2 GROUP BY f1.id, f2.idwebservice) AS temp GROUP BY 1,2
![Page 22: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/22.jpg)
Serviços Web Importados
° ° ° ° ° ° ResultadosRepositório Social de Serviços Web
434
229
16
2.564
4.332
434.172
159.550
39.726
38.824
7.590
![Page 23: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/23.jpg)
38 mil funções 1,5 bilhões de relações
Tempo de Execução
° ° ° ° ° ResultadosRepositório Social de Serviços Web
9 mil funções 93 milhões de relações
1 dia, 16 horas e 30 minutos 5.5GB
![Page 24: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/24.jpg)
Subconjunto escolhido
° ° ° ° ResultadosRepositório Social de Serviços Web
500 funções
250.000 rel.
13 s
100 Serviços Web
6.500 rel.
7 s
![Page 25: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/25.jpg)
Relações do subconjunto
° ° ° ResultadosRepositório Social de Serviços Web
1.418
757
533
![Page 26: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/26.jpg)
Diagrama de Relaçõesentre os Serviços Web
° ° ResultadosRepositório Social de Serviços Web
![Page 27: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/27.jpg)
Diagrama de Relaçõesentre os Serviços Web
° ResultadosRepositório Social de Serviços Web
![Page 28: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/28.jpg)
Componentes comparados
ResultadosRepositório Social de Serviços Web
Funções do Google Search:doGoogleSearch (string, string, int, int, boolean, string, boolean, string,string, string)doGetCachedPage (string,string)doSpellingSuggestion (string,string)
Tipos complexos do HeartBeat:User (int, string, string, int, string, int, string, string, string, string, string, string, string, string, int)Person (int, string, int, int, string, string, string, string, string, string, int, int)
Tipos Complexos do NWIS:GetStationsWithWQParameter (string, string, string, string, string, string, string, string)GetChart (string,string,string,string)GetWQValues (string,string,string,string)
![Page 29: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/29.jpg)
Objetivos Alcançados
Repositório de Serviços Web
Valores de Relacionamentos entre os Serviços Web
° ° ° ConclusãoRepositório Social de Serviços Web
![Page 30: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/30.jpg)
Análise Crítica
“Idéias verdes incolores dormem furiosamente”
Noam Chomsky
° ° ConclusãoRepositório Social de Serviços Web
![Page 31: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/31.jpg)
Limitações
Tempo de execução das consultas
Interface de Recomendação
Categorização dos Serviços Web
° ConclusãoRepositório Social de Serviços Web
![Page 32: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/32.jpg)
Trabalhos Futuros
Grafo das relações dos Serviços Web
Otimização das consultas
Influenciar outras recomendações
Mapas auto-organizados
ConclusãoRepositório Social de Serviços Web
![Page 33: Repositório Social de Serviços Web](https://reader033.vdocuments.mx/reader033/viewer/2022060200/55980bf31a28ab2b2c8b46e8/html5/thumbnails/33.jpg)
Muito Obrigado!
Perguntas?
Henrique DiasOrientador Leandro Wives
UNIVERSIDADE FEDERAL DO RIO GRANDE DO SULINSTITUTO DE INFORMÁTICA