Presentation is loading. Please wait.

Presentation is loading. Please wait.

Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p.

Similar presentations


Presentation on theme: "Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p."— Presentation transcript:

1 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Allan Hansen, Kasper Ligaard Nielsen & Niels Olof Bouvin Department of Computer Science, University of Aarhus Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework

2 Problem domain –Mobile sensors and mobility –A metaphor for direct interaction Requirement for a JXTA-based p2p framework What JXTA provides Framework mechanisms Finding nearby peers Demo & Questions Presentation outline Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework

3 In recent years the number of small appliances has been rapidly growing and diversified Users no longer only have a single personal computer, but interact with several computers throughout their daily lives Many of these new appliances possess sensors of different kinds: –GPS and temperature gauges; –Less obvious sensors include cameras etc. We will think of a sensor as something that can capture data from the physical world and provide an interface for accessing the data Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Photo, video, sound Photo, video Sound Mobile Sensors

4 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Photo, video, sound Photo, video Sound Service discovery & data transfer ???

5 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Peer types ??? Data Producers Data Consumers

6 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework text/plain Image/jpeg audio/mp3 Data handling (mime) ??? Data Producers Data Consumers audio/mp3 image/jpeg, text/plain Image/jpeg

7 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework text/plain Image/jpeg audio/mp3 Device groups ??? Data Producers Data Consumers audio/mp3 image/jpeg, text/plain Image/jpeg Display Printer Audio player

8 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework text/plain Image/jpeg audio/mp3 Conservative context-aware service discovery audio/mp3 image/jpeg, text/plain Image/jpeg Display Printer Audio player

9 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Peers are implemented as either –Consumers of specific data types (e.g. “image/jpeg”) –Producers of specific data types Consumer peers are grouped by their capabilities: –Supported data type (mime) –Device type (Display, printer, audio player, etc.) Producer peers should only associate with consumer peers accepting the correct data types, thus –The framework supports automatically discovery of consumers –And filtering of consumers not capable of handling the produced data type. Device type and device selection is done by the user. –The framework supports structures for presenting available consumer devices. Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework A Framework for Supporting Mobile Sensors

10 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework JXTA mechanisms: –Peer A peer is any networked device…and is uniquely identified by a Peer ID (and so are all other resources) –PeerGroup A peer group is a collection of peers…the JXTA protocols describe how peers may publish, discover, join, and monitor peer groups Discovery Service, Membership Service, Pipe Service, etc. –Pipe JXTA peers use pipes to send messages to one another –Message A message is an object that is sent between JXTA peers (set of key/value pairs) –Advertisement XML representation of JXTA resources (Peer, PeerGroup, Pipe, Message, …) Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework A Framework for Supporting Mobile Sensors (2)

11 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Consumer peers: –Consumers will join (or create) PeerGroups based on their supported data types (supported by the framework) –Consumers should implement a query interface (data type, device type, name,…) –The consumer can be queried through messages send on their input pipe –Consumers should implement an interface for data transfer –Data are sent as messages on their input pipe The programmer should: –Implement the query interface (specify capabilities) –And implement the usual application logic Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework A Framework for Supporting Mobile Sensors (3) Printer Peer “image/jpeg” “audio/mp3” PeerGroups

12 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Producer peers: –Producers will join PeerGroups (if they exists) based on their supported data types (supported by the framework) –Producers will query the group for existing consumers and their capabilities (supported by the framework) –Producers should implement a query interface (data type) –Producers should implement an interface for data transfer The programmer should: –Implement the query interface (specify capabilities) –And implement the usual application logic Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework A Framework for Supporting Mobile Sensors (4) Printer Peer “image/jpeg” “audio/mp3” PeerGroups Sensor Peer

13 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Framework abstractions

14 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework JXTA implementation

15 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework How do we know which devices are close to us? “Micro networks” –Using a direct connection between devices: Bluetooth IR Adding location awareness and service mapping: –Outdoor: GPS –Indoor: determining position from WiFi base stations (http://www.ekahau.com/)http://www.ekahau.com/ Bluetooth or IR beacons Digital or physical tags (RFID, bar codes) “You are here” Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Where am I? Finding nearby peers

16 Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework P2P based framework –A metaphor for direct interaction –Framework abstraction P2P software concepts > Consumer, Producer, Device group… –Conservative context-aware service discovery What about? –Location-awareness –Small devices (Mobile P2P: JXME) Why not? –UPNP, JINI, Rendezvous Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Summary


Download ppt "Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p."

Similar presentations


Ads by Google