mashups: building multimedia documents on the web

30
MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEB GENOVEVA VARGAS SOLAR FRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, FRANCE [email protected] http://www.vargas-solar.com/

Upload: star

Post on 23-Feb-2016

67 views

Category:

Documents


0 download

DESCRIPTION

Mashups: building multimedia documents on the Web. Genoveva Vargas Solar French Council of scientific research, LIG-LAFMIA, France [email protected] http:// www.vargas-solar.com /. Agenda. Mashing up Web data Key concepts Problem statement and objective - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Mashups: building multimedia documents on the Web

MASHUPS: BUILDING MULTIMEDIA DOCUMENTS ON THE WEBGENOVEVA VARGAS SOLARFRENCH COUNCIL OF SCIENTIFIC RESEARCH, LIG-LAFMIA, [email protected] http://www.vargas-solar.com/

Page 2: Mashups: building multimedia documents on the Web

2

AGENDA

Mashing up Web data Key concepts Problem statement and objective

SUNO: a mashup definition environment Principle: mashing up data in space General architecture and main functions Implementation issues

Conclusions and perspectives

Page 3: Mashups: building multimedia documents on the Web

3

SCENARIO Data integration in the Web

Aggregation Combination Visualization

Page 4: Mashups: building multimedia documents on the Web

4

MASHUP

Mashlet Atomic and reusable container that calls a data-provider and

Presents the retrieved data (e.g. a Web page)

Data Provider Web scrapping

Feeds

Web services

Mashup

Page 5: Mashups: building multimedia documents on the Web

5

MASHUP

Mashlet

Mashup Application that aggregate, integrate, manage and display data, which are retrieved from

several data-providers

Examples Yahoo! Pipes (Data Flow) MS Montage (Spatial data organization)

Page 6: Mashups: building multimedia documents on the Web

MASHING UP DATA

6

Data services

Mashlets

Mashup

• Mashlet• Graphical: widget• Functional: web services

• Mashup• Composition of mashlets • Loosely coupled data integration

• Databases• Web services• Web Pages• Local Files

Page 7: Mashups: building multimedia documents on the Web

EXISTING WORKS

7

CRITERION WSO2 MASHUP SERVER

YAHOO! PIPES INTEL MASHMAKER

PRESTO

Type Platform Platform Platform Language/Platform

Implementation JavaScript Drag-And-Drop Drag-And-Drop D&DXML/ support for adding scripts

Edition tool Navigator Navigator Navigator Eclipse/ Navigator

Dashbord WSO2 gadget server Yes Yes Yes

Catalogue No Yes Yes No

Page 8: Mashups: building multimedia documents on the Web

APPROACH

Mashlet: basic unit for retrieving data from a data service (service call) and visualizing results Data service identified by an URI and exports an API with methods for retrieving data Visualization defines a way how to display data in a 2D space (html page) and in time

Mashup: a set of mashlets associated by spatial and temporal relationships8

M1

M2S2: pages blanches

S3: 118 000

S1

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

Page 9: Mashups: building multimedia documents on the Web

MASHLET

Visualization: associates a size, a position, a start time, and a duration to the data retrieved from a service

Management: frequency in which data have to be retrieved by calling the service 9

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

M1M1

y

x

t…

Page 10: Mashups: building multimedia documents on the Web

MASHLET

Visualization: associates a size, a position, a start time, and a duration to the data retrieved from a service

Management: frequency in which data have to be retrieved by calling the service 10

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

Present Genoveva’s current addresses during10 minutes once data have been retrievedin the upper part of the space in a rectangle of 300 x 200 pixels

200 pixelsx

M1

y

300 pixels

Page 11: Mashups: building multimedia documents on the Web

MASHLET

Visualization: associates a size, a position, a start time, and a duration to the data retrieved from a service

Management: frequency in which data have to be retrieved by calling the service 11

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

Present Genoveva’s current addresses during10 minutes once data have been retrievedin the upper part of the space In a rectangle of 300 x 200 pixels

10 minutes

t

data transfer interval

M1M1

Page 12: Mashups: building multimedia documents on the Web

MASHLET

Visualization: associates a size, a position, a start time, and a duration to the data retrieved from a service

Management: frequency in which data have to be retrieved by calling the service 12

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

But Genoveva moves a lot and changes addresses frequently …

S2 : Pages blanchesM1

… so data have to be refreshed

Get Genoveva’s address every week

Page 13: Mashups: building multimedia documents on the Web

MASHUP

13

Digital profile of Genoveva Vargas : address, google, bing, flicker, facebook …

Inspired in http://www.123people.fr

Page 14: Mashups: building multimedia documents on the Web

MASHUP ELEMENTS

14

M1

M2S2: pages blanches

S1

S3: 118 000

Present Genoveva’s current addresses during 10 minutes once data have been retrieved in the upper part of the space In a rectangle of 300 x 200 pixels

Present Genoveva’s telephone numbers during 10 minutes once data have been retrieved in the upper part of the space in a rectangle of 600 x 200 pixels

Present Genoveva’s photos as long as data have been retrieved in the upper part of the space in a rectangle of 600 x 150 pixels

M1

M2

M3

Page 15: Mashups: building multimedia documents on the Web

y

x

t

MASHUP

15

M1

M2S2: pages blanches

S1

Compose M1 and M2 where M1 is touches M2 at the east and M1 and M2 are centered

M1

M2

Page 16: Mashups: building multimedia documents on the Web

y

x

t

MASHUP

16

S2: pages blanches

S1

Compose M1 and M2 where M1 is touches M2 at the east and M1 and M2 are centered

M4

Page 17: Mashups: building multimedia documents on the Web

y

x

t

MASHUP

17

S2: pages blanches

S1

S3: 118 000

Compose M4 and M3 where M3 touches M4 at the south and M4 and M3 are centred

M3

M4

Page 18: Mashups: building multimedia documents on the Web

y

x

t

MASHUP

18

S2: pages blanches

S1

S3: 118 000

Compose M4 and M3 where M3 touches M4 at the south and M4 and M3 are centred

Page 20: Mashups: building multimedia documents on the Web

20

AGENDA

Mashing up Web data Key concepts Problem statement and objective

SUNO: a mashup definition environment Principle: mashing up data in space General architecture and main functions Implementation issues

Conclusions and perspectives

Page 21: Mashups: building multimedia documents on the Web

21

MASHING UP DATA IN A 2D SPACEPRINCIPLE

PrincipleVideo - YouTube

Photo - CNN

Photo - Flickr

X

YNews - LeMonde

News – CNN

(1,1)

(16,9)(1,9)

(16,1)

(14,7) (18,7)

S2 S3 S4

S5Internet S2 S3 S4

S5Internet

Page 22: Mashups: building multimedia documents on the Web

22

SUNO ARCHITECTURE

HTTP

SOAP, REST

Server

User Accounts

Mashlets Catalog

Client

User interfaceEdition

Environment

Presentation

Data Sources Manager

S2 S3 S4

S5Internet

Page 23: Mashups: building multimedia documents on the Web

23

SUNO FUNCTIONS

Procedure

Step 1 Specify the sources

Step 2 Specify the data format

Step 3 Save the mashlet

MASHLET DEFINITIONMashlet 1

Source = “http://…/CNN”Type = “Photo”

Mashlet 2…

Mashlet Catalog

Save

Page 24: Mashups: building multimedia documents on the Web

24

SUNO FUNCTIONSMASHUP 2D SPACE ORGANIZATION (I)

Container A Container B

(10,1)

(17,8)

X

Y

“My First Mashup”

Page 25: Mashups: building multimedia documents on the Web

25

SUNO FUNCTIONSMASHUP 2D SPACE ORGANIZATION (II)

Container A Container B

(10,1)

(17,8)

X

Y

Page 26: Mashups: building multimedia documents on the Web

26

SUNO FUNCTIONSLINKING MASHLETS FOR PRODUCING A MASHUP (I)

Mashlets Catalog

Container A

Container B

Mashlet 1

Mashlet 2

Page 27: Mashups: building multimedia documents on the Web

27

SUNO FUNCTIONSLINKING MASHLETS FOR PRODUCING A MASHUP (II) Container A

Container B

Mashlet 1

Mashlet 2

Page 28: Mashups: building multimedia documents on the Web

28

SUNO FUNCTIONSMASHUP EXECUTION

Mashlet 4(Video - YouTube)

Mashlet 1( Photo - CNN)

M 5(Phot

o - Flickr

)

Mashlet 2(News - LeMonde)

Mashlet 3(News – CNN)

(1,1)

(16,9)(1,9)

(16,1)

(14,7) (18,7)

Page 29: Mashups: building multimedia documents on the Web

29

IMPLEMENTATION ISSUES Development platform

.NET 4 Platform Silverlight

Tools and Technologies XAML C# Visual Studio 2010

Communication Styles RESTful SOAP

Data Format JSON XML

Page 30: Mashups: building multimedia documents on the Web

30

Thanks