Live E! Workshop
Introduction Theme –Content-Based Network (CBN) Aim –To Learn about Publish Subscribe Model –Introduction to Application Layer Messaging –To Provide Materials concerned about Routing Work (today) –Construct CBN as a Overlay Network Scenario Ⅰ, Ⅱ, Ⅲ, Ⅳ. –Performance Test (if possible).
Review of CBN CBN consists of : –Subscriber registers “Predicates”, which he wants to receive. –Publisher sends message into CBN. –Router handles messages from publisher to subscriber, depends on the CONTENT of the message CBN Router Publisher Subscriber
Message in the workshop 92a6e710-fdda-4317-a862-bacb5d53475c Temperature :12: 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
Examples of Predicates All the Message /* Temperature Message /sensor_data[sensor_type=’Temperature’] Message of North East of the Earth /sensor_data[latitude>=0 and longitude>=0] All (/*) North East of the Earth Temperature
Scenario Ⅰ Group A Group B Group C Group D Each has prefix of 10. Network mask: Sensor Machine DB Machine Router Machine
Scenario Ⅱ Group A Group B Group C Group D
Scenario Ⅲ Group A Group B Group C Group D
Group A Group B Group C Group D Scenario Ⅳ
Member Allocation Group A Group B Group C Group D Allocate to each machine –B4, M1, M2, Research Students, Dx in order. Please superior people take care of junior students.
Implementation and Deployment From developers: About overview of the sub-system and the way to deploy it. –Virtual Sensor (publisher) –Database (subscriber) –Router