Descoperirea Serviciilor Ciotec Silvia 341 C 5 silvia

  • Slides: 28
Download presentation
Descoperirea Serviciilor Ciotec Silvia 341 C 5 silvia. ciotec@gmail. com

Descoperirea Serviciilor Ciotec Silvia 341 C 5 silvia. ciotec@gmail. com

Descoperirea Serviciilor Introducere UDDI Data Model Potrivirea semantica Algoritm de cautare Exemplu

Descoperirea Serviciilor Introducere UDDI Data Model Potrivirea semantica Algoritm de cautare Exemplu

Arhitectura servciilor Web Furnizorul serviciului(S) - implementează serviciul şil face disponibil în Internet. Solicitantul

Arhitectura servciilor Web Furnizorul serviciului(S) - implementează serviciul şil face disponibil în Internet. Solicitantul serviciului(R) – utilizează un serviciu Web, pe care-l solicită deschizând o conexiune şi trimiţând o cerere XML. Registru de servicii

Descoperirea Serviciilor Serviciile pot fi descoperite in urmatoarele moduri: - se cauta dupa specificatii

Descoperirea Serviciilor Serviciile pot fi descoperite in urmatoarele moduri: - se cauta dupa specificatii tehnice sau unele entitati specifice intr-un sistem de clasificare - se cauta dupa un keyword

UDDI Data Modelul de baza al registrelor UDDI este descris de urmatoarele structuri de

UDDI Data Modelul de baza al registrelor UDDI este descris de urmatoarele structuri de date: O descriere a unei functii de afaceri (service business function), reprezentata ca un business. Service. Informatiile despre un furnizor care publica serviciul sunt puse intr-un business. Entity. Detaliile serviciului tehnic, inclusiv o trimitere la API, sunt stocate intr-un binding. Template. Diverse alte atribute, sau metadate, cum ar fi taxonomie, transporturi, şi politici sunt stocate în t. Models.

UDDI Data Model Aceste structuri UDDI sunt exprimate in XML si sunt stocate constant

UDDI Data Model Aceste structuri UDDI sunt exprimate in XML si sunt stocate constant de catre un registru UDDI. Intr-un registru UDDI, fiecarei structuri de date ii este alocata un identificator unic in conformitate cu un sistem standard. Acest identificator este numit cheie UDDI.

Potrivire semantica Bazata pe inferenta logica Rationamentul este de a compara pe perechi parametrii

Potrivire semantica Bazata pe inferenta logica Rationamentul este de a compara pe perechi parametrii serviciului solicitat, respectiv celui oferit. exact plug-in subsumes

Algoritm de cautare de baza Input R-ul cerut (service request) Setul serviciilor S disponibile

Algoritm de cautare de baza Input R-ul cerut (service request) Setul serviciilor S disponibile Output un subset S ce contine serviciile ce corespund lui R Function Itereaza peste parametrii ceruti Pentru fiecare parametru se sustrage intervalul sau intervalele corespunzatoare. Pentru fiecare interval se testeaza cele 3 conditii: sunt egalitate, incluse sau inlcud Intoarce serviciile care indeplinesc o potrivire pentru toti parametrii

Exemplu INPUT OUTPUT R C 8 C 4, C 7 S 1 C 4,

Exemplu INPUT OUTPUT R C 8 C 4, C 7 S 1 C 4, C 2 S 2 C 3 C 9, C 7 S 3 C 5 C 1

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1,

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, [2,

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, [2, [3,

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, [2, [3, [4,

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, [2, [3, [4, 5]

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, [2, [3, 6] [4, 5]

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, [2, [3, 6] [7, [4, 5]

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, [2, [3, 6] [7, [4, 5] [8,

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, [2, [3, 6] [7, [4, 5] [8, 9]

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, [2, [3, 6] [7, 10] [4, 5] [8, 9]

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, [2, 11] [3, 6] [7, 10] [4, 5] [8, 9]

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, 20] [2, 11] [12, 19] [3, 6] [7, 10] [13, 14] [15, 16] [17, 18] [4, 5] [8, 9]

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, 20] [2, 11] [12, 19] [8, 9] [3, 6] [7, 10] [13, 14] [8, 9] [15, 16] [17, 18] [4, 5] [8, 9]

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C

Exemplu Concept Interval(s) C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 [1, 20] [2, 11] [12, 19] [8, 9] [3, 6] [7, 10] [13, 14] [8, 9] [15, 16] [17, 18] [4, 5] [8, 9] INPUT OUTPUT R C 8 C 4 , C 7 S 1 C 4 , C 2 S 2 C 3 C 9 , C 7 S 3 C 5 C 1 INPUT OUTPUT R [4, 5] [7, 10], [17, 18] S 1 [2, 11] [7, 10], [12, 19], [8, 9] S 2 [3, 6] [8, 9], [17, 18] S 3 [13, 14], [8, 9] [2, 11]

Potrivirea este facuta comparand intervalele: type of match condition exact IR = I S

Potrivirea este facuta comparand intervalele: type of match condition exact IR = I S plug-in IR IS subsumes IR IS

Va multumesc!

Va multumesc!