meta-server system software lab. overview in the music virtual channel system, clients can’t query...

10
Meta-Server System Software Lab

Upload: elvin-benson

Post on 13-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Meta-Server System Software Lab. Overview In the Music Virtual Channel system, clients can’t query for a song initiatively Through the metadata server,

Meta-Server

System Software Lab

Page 2: Meta-Server System Software Lab. Overview In the Music Virtual Channel system, clients can’t query for a song initiatively Through the metadata server,

Overview

In the Music Virtual Channel system, clients can’t query for a song initiatively

Through the metadata server, we provide the ability to let clients search for songs using metadata– The metadata server stores the lists of songs that

will be broadcasted

Page 3: Meta-Server System Software Lab. Overview In the Music Virtual Channel system, clients can’t query for a song initiatively Through the metadata server,

Overview

Music Virtual Channel

streaming information

music stream

query

Metadata Server

client

Page 4: Meta-Server System Software Lab. Overview In the Music Virtual Channel system, clients can’t query for a song initiatively Through the metadata server,

Query

Query– Clients can make a query based on attributes– The metadata describes the streaming music by the

attributes such as genre, composer, song name…, etc.– To handle the queries, the metadata server will make a

search in the stored data. If a match is found in a one or more broadcast lists, it returns the relative metadata (when will the music be broadcasted, and which channel will broadcast the music) to the client

– A failure message is returned if no match was found

Page 5: Meta-Server System Software Lab. Overview In the Music Virtual Channel system, clients can’t query for a song initiatively Through the metadata server,

Query

play list

Query

play list

play listmusic metadata

Metadata Server

query

result

Page 6: Meta-Server System Software Lab. Overview In the Music Virtual Channel system, clients can’t query for a song initiatively Through the metadata server,

Streaming Information

Streaming information– A node that wants to broadcast music will send its play list

to the metadata server. It then begin broadcasting after getting a reply from the metadata server

sliding window on the stored list

– To keep the system synchronized, the metadata server records the time of last update for each broadcasting node. The update message will be dropped if it is older then the newest one

this is a very rough synchronization scheme, and we’re working on a better mechanism to keep the system synchronized

Page 7: Meta-Server System Software Lab. Overview In the Music Virtual Channel system, clients can’t query for a song initiatively Through the metadata server,

Streaming Information

Metadata Server

broadcasting node

play list

reply msg

play list

play list

play list

Page 8: Meta-Server System Software Lab. Overview In the Music Virtual Channel system, clients can’t query for a song initiatively Through the metadata server,

Streaming Information

music play list

play list

sliding windowplaying

will play

will play

Page 9: Meta-Server System Software Lab. Overview In the Music Virtual Channel system, clients can’t query for a song initiatively Through the metadata server,

Streaming Information

Stream metadata attributes– streaming root ip– start timestamp

Music metadata attributes– song title– subtitle– genre– composer– lyricist– performer– album– copyright– language– song playing time

This is not the tables of the database May be edited if need

Page 10: Meta-Server System Software Lab. Overview In the Music Virtual Channel system, clients can’t query for a song initiatively Through the metadata server,

Progress

Works done– The centralized database

A database built on mySQL system A PHP interface to publish and query

Works to do– The sliding window model is still constructing– We are now working on the centralized database, but will d

evelop a decentralized database in the future– The metadata will be represented in XML– An interface based on Java will be developed