1 / 13

Pre-Workshop

Pre-Workshop. 2006-06-01 10:00 – 12:00 @102A1 Esaki Laboratory. Introduction. Theme Publish / Subscribe Model Content-based Network We focus on “Data Collection”. Discentralize Database Discentralize Data Entry Point. ?. P/S CBN. Discentralized System. Centralized System.

jalena
Download Presentation

Pre-Workshop

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pre-Workshop 2006-06-01 10:00 – 12:00 @102A1 Esaki Laboratory

  2. Introduction • Theme • Publish / Subscribe Model • Content-based Network • We focus on “Data Collection”. • Discentralize Database • Discentralize Data Entry Point ? P/S CBN Discentralized System Centralized System

  3. System Overview Databases Content-based Network Virtual Sensors

  4. Sensor Emulator (Publisher) Router sensor data Publish Interface (IP, port) PROCESS Configuration Monitor Virtual Sensors

  5. Sensor Data <?xml version=“1.0” ?> <sensor_data> <sensor_id>92a6e710-fdda-4317-a862-bacb5d53475c</sensor_id> <sensor_type>Temperature</sensor_type> <time>2006-05-12 03:12:34</time> <latitude>35.54256</latitude> <longitude>139.2345</longitude> <value>25.7</value> </sensor_data> sensor_id: Universally Unique IDentifier (UUID) sensor_type: Temperature, Humidity, Pressure, RainFall, WindDir, WindSpeed time: Current Time latitude: [-90 ,+90] (“+” means north, “-” means south) longitude:[-180,+180] (“+” means east, “-” means west) value: depends on sensor_type

  6. Sensor Configuration • IP address and port number of the router (default: TCP5001) • The number of sensor to emulate. • Publish frequency (default every one second.)

  7. Sensor Emulator Monitor • The number of sensor. Ex. 2000 • The amount of whole current traffic. Ex. 2043 (times/sec) The number of sensor: 2000 Traffic: 2043 (times/sec)

  8. Database System (Subscriber) Monitor Configuration Subscriber registration script JDBC sensor data PostgreSQL Registration Interface (IP, port) Router

  9. Subscriber Registration Script <?xml version=“1.0”?> <subscribe> <xpath>/sensor_data[.....]</xpath> <notify_ip>10.0.2.5</notify_ip> <notify_port>5003</notify_port> </subscribe>

  10. PostgreSQL • DB Name: livee • User Name: livee • Append all the data received to the table sensor_data. CREATE TABLE sensor_data( data_id bigserial primary key, sensor_id text not null, sensor_type text not null, time timestamp not null, latitude float8 not null, longitude float8 not null, value text not null );

  11. Database Monitor • Subscribe Data Traffic • Transaction Timespan • ポアソン分布を得られるか?

  12. Router Configuration Monitor Subscriber Registration Interface (default:TCP5002) Sensor Data Publish Interface (default:TCP5001) sensor data registration script

  13. Router Monitor • The number of Subscriber Joined. • For each subscriber, • Notification Succeeded Count • Notification Fault Count • Backbone Traffic • Publish Data Traffic • Notification Traffic

More Related