Smart Office: Bluetooth Sensor Network + Instant Messaging

  • View
    21

  • Download
    0

Embed Size (px)

DESCRIPTION

Smart Office: Bluetooth Sensor Network + Instant Messaging. - PowerPoint PPT Presentation

Text of Smart Office: Bluetooth Sensor Network + Instant Messaging

  • Smart Office:Bluetooth Sensor Network + Instant MessagingY.-C. Tseng, T.-Y. Lin, Y.-K. Liu, and, B.-R. Lin, "Event-Driven Messaging Services over Integrated Cellular and Wireless Sensor Networks: Prototyping Experiences of a Visitor System", IEEE J. on Selected Areas in Communications, 2005.

  • Motivation: Instant Messaging ServiceInstant Messaging and Presence ServicesShort Message Service (SMS) in GSMMSN Messenger / ICQ

  • Goals of our Event-Driven Messaging ServicesCross-network applications and services.Event driven messaging serviceModular approach by dividing the system into several subsystems according to their functionalities.

  • Scenario: Smart OfficeBluetooth-based Sensor NetworkMike ready Mike, Mikeoffice

    (view demo: visitor-system-flash.exe)

  • System Architecture Overview

  • System Architecture (1/2)Location ServerMaintain the user-location mapping in a database. Action ServerCarry out action with reliabilityEvent ServerTrigger an action

  • System Architecture (2/2)SMPP Client and WAP Web ServerPlays the role as a bridge between telephone network and Internet.Bluetooth SensorDetects the user location Connects with mobile terminals through BluetoothClientBluetooth-enabled laptop/palmtop or a Bluetooth-enabled WAP handset.

  • Configuration Example 1Mike configures an event:(Alice Enter Sensor X) AND (Bob Enter Sensor X) Do Unicast (Mike)

    When the event becomes true, the system will send Mike a message.

  • Message Flows (through NB)Alice > X & Bob > XSend to MikeAlice > XBob > X

    Bob > XAlice > X & Bob > Xindex of ActionAlice > X & Bob > Xindex of Action(Message for Mike, index)

  • When the Event HappeningBob > XAlice > X & Bob > Xindex of ActionAlice and Bob have arrived!(Message for Mike, index)Alice > X & Bob > Xindex of Action

  • Configuration Example 2Cathy Submits a request On ( Manager LEAVE Sensor X + 3 ) Do Unicast Cathy through WAP.When the event becomes true, the system will send Cathy a message

  • Message Flows (through WAP)(Mike < X)+3Send to Cathy(Mike < X)+3Index of Action(Message for Cathy, index)Mike < X

  • When the Event Happening

    (Mike < X)+3Index of Action(Message for Cathy, index)Mike < XThe device of Cathy is a handset(Mike < X)+3Index of ActionMike is available(Mike < X)+3Index of Action3 min later!!

  • Definition: Events and Actions (1/2)Events are expressed as the following format On < EvntVal > Do < Action >ActionUnicast, Geocast, Multicast, or BroadcastText or file

  • Events and Actions (2/2)EvntValTime EventAbsolute time : @04/16/04 9:00Relative time : (Bob > Office) + 5Time interval : 04/16/04 9:00 ~ 04/16/04 11:00 Periodical time: 04/16/04 9:00 ^ 10Location EventEnter, Leave and AtCompound EventAND, OR, NOT, (),

  • EBNF Grammar of Event Expression< EvntVal > = < SubEvntVal > * < EvntVal > | < SubEvntVal > + < EvntVal > | < SubEvntVal >< SubEvntVal > = < SnglEvntVal > | (< EvntVal >) | ! < SubEvntVal >< SnglEvntVal > = < LocEvnt > | < TimeEvnt >< LocEvnt > = < ID > < Rel > < Sensor X >< Rel > = > | < | @< TimeEvnt > = < min/hr/dat/mon/yr > | < TimeOfEvnt(LocEvnt) + min> | | < min/hr/dat/mon/yr ^ period >

  • Sensing and Detecting CapabilityA sensing field A with a N sensors. Sensors are not synchronized in time.The average Latency L : the user can be detected by any sensor after it appears.Ai be the area of A that is covered by exactly i sensors. (1 i n)Li be the latency such that a user is detected by any sensor after it appears in Ai .Therefore,

  • Sensing and Detecting Example

  • Calculation of Li

  • Summary of ContributionsWe have prototyped an event-driven instant messaging application over integrated telecomm and datacomm networks.Sensing/detecting capability analysis

    , surveysurvey: instant message service location sensor network1.message service, short message:100%.messaging service, store forward, MSNICQ, , MSN., , . 2.Wireless sensor network, sensor network, .Active Badge: , ID, sensor, RFID:, tag, ,, ., sensor. ,BT_addrBT_name,

    , demo, , .

    , 1.internet, .2.instant message, Event , , . .

    , , . , , service,:, GSM SMS server, WAP GatewaySMPP Gateway,. SMPP gatewayIP networkshort message. WAPaccess internet.SMS server.,client :client, PDA, Notebook. , sensor, client.WAP web server smpp client.serviceserver, location server, action server, event server. .

    Location server, , location server, , . routing locationphysical location, , , , Bluetooth. .

    actionserver,action server, request, Action serverAction,reliability. , routing locationAction.Action,Action. mailbox, Action,action server. . Action:1. 2.mailobx.

    Event server config, trigger action server.event.SMPP Client and WAP Web Server , smpp client, WAPservers.Sensor , , PDANotebook, sensorclient, .ClientPDA, Notebook , Bluetooth,WAP message flow .Mike, meetingconfigAlice, Bob, Mike,event(Alice enter sensor x) and (bob enter sensor x) do unicat Mike, , mike.location, , , routinglocation!config, bob, Alice, mike, Notebook, sensor x1.Mikenotebookconfigure event, Bluetoothsensor Y2.Sensor yevent server.3.Event server event packet, parse Alice enter x and bob enter x, action4.event server actionaction server,action server mailbox (instant message , )5.Event server action server index, trigger action.6.Event server location server, Alice x Bobx.location server.7. 8.sensor xAliceX, location server.9.alicelocation update location server databaseevent , .10. Event server Alice > x , , rule , action server.

    , Alice Mike.1.Bob.2.locationdatabaseevent server3.,event serverbobx, 4.Event serverindex action server.5.Acition server destination, mike routing location.6.mikesensor Y.7.packet sensor y.8.Sensorpacket mike, ACK,messagemailbox.

    cathy WAP, .config, , Alice, bob mikesensor x1. CathyWAP gateway access WAP page2.WAP page event configuration messageSMPP clientWAP pageevent server, , smmp client, smppclientsensor, , implement3., SMPPevent configuration event server.4.Event server event packet, parse Mike Do < Action >action, action server, action unicast, geocast ( ), multicast,(group)broadcast.data type, , .

    event,, event time event location event, , , . time event , location event, , compound event .

    Time event :12 911,time event, time event. Absolute time ,Relative time ,Time interval Periodical timeAbsolute time, 04/16/04 9:00Relative time , , , , bobevent, Time interval, Periodical time clock, , ,.

    Location event, , , ,enter, leaveAt

    Location event time event, , , Alice meeting room bobmeeting room, , event, . and or, not, eventexpressiongrammar, and , or not, locationenter /leaveattime Absolute time ,Relative time ,Time interval Periodical time:

    , ., sensor, 1-cover, 2 cover.n cover, sensor node cover.A1 A2Ansensor,cover, average delay.(A3user sensorinquiry, A1sensor inquiry) i coveraverage delay Li Li AiA, L1, L1, L2, L2,

    L1, L2, L3, L4., ., ,internetlocation sensor network,event driven message service.,.

    present ,?