1 / 51

Asynchronous XML/HTTP Communication

Emergency Manager. Web Browser. Asynchronous XML/HTTP Communication. Event Manager. HTML. GMaps. G-AJAX . Client. Server. G-AJAX Google AJAX API Gmaps Google Maps API GAE Google Web AppEngine. HTTP Request Processor GAE Python. EvE. RES. PoV Pacient or Victim

laasya
Download Presentation

Asynchronous XML/HTTP Communication

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. Emergency Manager Web Browser Asynchronous XML/HTTP Communication Event Manager HTML GMaps G-AJAX Client Server G-AJAX Google AJAX API Gmaps Google Maps API GAE Google Web AppEngine HTTP Request Processor GAE Python

  2. EvE RES PoVPacient or Victim EvE Emergency Event RES Remote Emergency Service LnM Landmark MEU Mobile Emergency Unit ISMU In Search for Closest MEU MUDE MEU Dispatched to Event MUAE MEU Arrived at Event MURGL MEU Ready to Go to Landmark ISCLMU In Search for Closest MEU MUDL MEU Dispatched to Landmark MUAL MEU Arrived at Landmark ETL Emergency Event Transferred to Landmark LER Landmark Received Emergency Event Emergency Detection Emergency Event created ISMU PoV RES LnM MEU MEU EvE RES MEU ISCLMU MURGL MUAE MUDE RES MEU MEU LnM LnM EvE LnM EvE MUDL MUAL ETL LRE

  3. RES LnM MEU PoVPacient or Victim EvE Emergency Event RES Remote Emergency Service LnM Landmark MEU Mobile Emergency Unit ISMU In Search for Closest MEU ENH Emergency Event Not Handled MUDE MEU Dispatched to Event MUAE MEU Arrived at Event MURGL MEU Ready to Go to Landmark ISCLMU In Search for Closest MEU MUDL MEU Dispatched to Landmark MUAL MEU Arrived at Landmark ETL Emergency Event Transferred to Landmark LRE Landmark Received Emergency Event ISCLMU Emergency Detection MURGL PoV RES MEU MEU EvE MUDL MUAE Emergency Event created EvE RES MEU MEU LnM MUDE ISMU MUAL RES EvE LnM EvE LnM EvE ENH LRE ETL Emergency Service Mobile Emergency Unit Emergency Landmark

  4. Application Services Activities IBWSs Proxy EvtQ PCM AS Adp Media ES/P Adp PaC AS EMS Communication Request Processor (GAE Python) PCM Profile and Context Manager AS Activity Scheduler Service ES/P Event Service/Processor Adp Adaptation Module PaC Profile and Context Service IBWSs Information-Based Web Services EMS Event Management Service EvtQ Event Queue GAE Google Web AppEngine

  5. Application Service Service TCP/IP File, Listener Event Sensor Event Processor Event-based Activities Event Generator Change of State X Event-based Activities X Event Channel UserProducer/Consumer Message Broker Physical Connection UserProducer AMQP Model

  6. Application Service Service Event Sensor Event Processor/Broker Event Queues Event Filters Physical Connection TCP/UDP Physical Connection TCP/UDP Event Generator Event-based Activities Changes of State X Event Channel Event Generator Event-based Activities X Logical Channel (Stateful) UserConsumer Message Broker UserProducer AMQP Model Queues Exchanges

  7. Application Service Service TCP/IP File, Listener Event Sensor Environment or Device Event Generator Change of State Remote Events Event-based Services Event Processor Event Channel Event-based Activities Event Generator Change of State Local Events

  8. Producer Information Request Consumer Producer Response Event Queue Producers Event Queue Request Forwarding P1 Request Provider P2 Consumer P3 Response Subscribed Consumers Subscription Consumer Producer Response (Callback) Event Queue Subscription per Topic Producers Event Channel P1 Request Event Processor Produced Events P2 Consumer P3 Response Event Queue Per Topic

  9. Producer Information Producers Event Queue Request Forwarding P1 Request Request Consumer Producer Provider P2 Consumer Response P3 Response (a) Requisição-Resposta Event Queue (b) Requisição-RespostaAnônimo Subscription per Topic Producers Event Channel P1 Request Event Processor Produced Events P2 Consumer P3 Response Event Queue Per Topic (d) BaseadoemEventos Subscribed Consumers (c) Callback Subscription Consumer Producer Response (Callback) Event Queue

  10. Topic Service/ Broker Transport Consumer Producer Weather Consumer Producer Food Traffic Consumer Producer

  11. Remote Profile and Context Data Environment Sensors (1) Publishnew services (7) Publish changesin remote PaC data (6) Share PaC data Information Based Web Services Application Mgmt. Container Subscription Manager Event Container Subscriptionsper Topic Eventsper Topic Eventsper User Subscriptionsper User (5, 8) Get user subscribed services and topics Server Event Processor Event Management Service (9) Get eventsfor mobile user (4) Publishchanges inLocal PaCdata (10) Send eventsto mobile user (3) Get list ofservices forsubscription (2) Mobileuser login Client Event Processor ! Profile and Context Manager Adaptation Environment Sensors Applications and Services (11) Notifyincommingevents Local Profile and Context Data

  12. Remote Profile and Context Data Environment Sensors (1) Publishnew services Information Based Web Services Application Mgmt. Container (7) Publish changesin remote PaC data Event Management Service Event Container Subscription Manager Eventsper Topic Eventsper User (6) Share PaC data Subscriptionsper Topic Server Event Processor Subscriptionsper User (5, 8) Get user subscribed services and topics (9) Get eventsfor mobile user (3) Get list ofservices forsubscription (4) Publishchanges inLocal PaCdata (10) Send eventsto mobile user (2) Mobileuser login Client Event Processor (11) Notifyincommingevents ! Profile and Context Manager Adaptation Environment Sensors Applications and Services Local Profile and Context Data

  13. Remote Profile and Context Data Environment Sensors (1) Publishnew services Information Based Web Services Environment Sensors Application Mgmt. Container Local Profile and Context Data (7) Publish changesin remote PaC data Event Container (11) Notifyincommingevents Subscription Manager Eventsper Topic Eventsper User ! (6) Share PaC data Subscriptionsper Topic Sched Server Event Processor Subscriptionsper User Event Management Service (9) Get eventsfor mobile user (5, 8) Get user subscribed services and topics (3) Get list ofservices forsubscription (10) Send eventsto mobile user (2) Mobile user Authentication (4) Publishchanges inLocal PaCdata Applications and Services PCM Adp. Client Event Processor

  14. Remote Profile and Context Data Environment Sensors Environment Sensors Information Based Web Services Application Mgmt. Container Local Profile and Context Data (11) Notifyincomingevents (1) Publishnew services Event Container (7) Publish changesin remote PaC data Subscription Manager Eventsper Topic Eventsper User (6) Share PaC data ! Subscriptionsper Topic Server Event Processor Applications and Services (5, 8) Get user subscribed services and topics Subscriptionsper User Event Management Service Sched Adp. PCM (9) Get eventsfor mobile user Client Event Processor (3) Get list ofservices forsubscription (10) Send eventsto mobile user (2) Mobile user Authentication (4) Publishchanges inLocal PaCdata

  15. Remote Profile and Context Data Environment Sensors 1- Publish new services 2- Mobile user authentication 3- Get list of services for subscription 4- Collect and publish changes in local PaC data 5- Get user subscribed services and topics 6- Share local PaC data 7- Publish changes in remote PaC data 8- Get user subscribed services and topics 9- Get events for mobile user 10- Send events to mobile user 11- Process and notify incoming events Environment Sensors Information Based Web Services Local Profile and Context Data (1) Event Container (11) (7) Application Mgmt. Container Subscription Manager Eventsper Topic Eventsper User ! (6) (9) Subscriptionsper Topic Applications and Services Server Event Processor Subscriptionsper User (5, 8) Sched Adp. PCM Event Management Service Client Event Processor (3) (10) (2) (4)

  16. Remote Profile and Context Data Environment Sensors Environment Sensors (5) Information Based Web Services Local Profile and Context Data Event Container (7) (5) Application Mgmt. Container Subscription Manager Eventsper Topic Eventsper User ! (4) Subscriptionsper Topic (1) Server Event Processor Subscriptionsper User (3, 6) Context Event Management Service Web Browser (2) (6)

  17. (a) (b) (c) (d)

  18. Services IBWS Proxy Application Pac Data Activities PCM Adp AS Events Media ES/P PaC Adp AS EMS Communication Python Request Processor HTTP Get Request XML/HTTP Response Server Client EMS Event Management Service IBWSs Information-Based Web Services ES/P Event Service/Processor AS Activity Scheduler PCM Profile and Context Manager PaC Profile and Context Adp Content Adaptation

  19. Services Application EMS Event Management Service IBWSs Information-Based Web Services ES/P Event Service/Processor PCM Profile and Context Manager Event Container IBWS Proxy PCM ES/P EMS Communication Request Processor HTTP Get Request XML/HTTP Response Server Client

  20. Firefox Android Firefox Android

  21. Device Information • Location • Energy & Processing • Connectivity (cost & velocity) User Information -Status -Global context (traffic) -Landmark and Emergency Web Browser EntryPoint Service Impl UserManager AJAX XML HTTP EventManager Emergency Manager LandmarkManager Subscription Manager EventService UserService Persistence Manager Factory LandmarkService Web Application WebKit (Android) Mozilla Firefox MS IE Symbian Skyfire Emergency Service Cloud DB Service Proxy DECS Context Server Client AJAX Context Cloud Infrastructure

  22. Device Information • Location • Energy & Processing • Connectivity (cost & velocity) User Information -Status -Global context (traffic) -Landmark, Activities and Emergency Web Browser Entry Point Service Impl GuideManager Subscription Manager UserManager AJAX XML HTTP EventManager Emergency Manager LandmarkManager EventService UserService Persistence Manager Factory LandmarkService Cloud Web App WebKit (Android) Mozilla Firefox MS IE Symbian Skyfire Emergency Service Cloud DB Service Proxy DECS Context Server Client AJAX Context Cloud Infrastructure

  23. R a3 a5 t4 R A T a1 t3 Context-Topic Relation a1 t1 t2 a2 a3 t3 a4 t4 a5 t5 Profile and Context Properties/Attributes Subscription Topics

  24. Profile and Context Properties/Attributes Subscription Topics Context-Topic Relation (CTR) R A T a3 a5 t4 a1 t1 t2 a2 R a3 t3 Topic Subscription for Consumer a1 t3 a4 t4 S1,4 = (c1,t4) a5 t5 p1 c1 Producer Consumer e a3 a5 t4 Publishes changes inPaC data Notifies of changes inPaC data Event Object

  25. Producers Profile and Context Properties/Attributes Subscription Topics Consumers Context-Topic Relation (CTR) R P A T C a3 a5 t4 p1 a1 t1 c1 t2 c2 p2 a2 s R p3 a3 t3 c3 Topic Subscription for Consumer a1 c4 t4 t3 p4 a4 t4 c4 S1,4 = (c4,t4) Observed Properties Attributes p5 a5 t5 c5 p1 c4 Publishes changes inPaC data Notifies of changes inPaC data e a3 a5 t4 Event Object Event Queues E E E E c4 t4 t4 c4

  26. (1) Request Client Server (2) Response Interested Topics Client Server Data Data Client Server Client Client

  27. Client Client Client Client Client (1) Request (2) Response Data Data Interested Topics Server Server Server Pull-based Publish/Subscribe Push-based

  28. New Subscription Topics subscribed by consumer Consumers subscribed to topic Topics per Consumer Consumers per Topic Consumers Topic Topics Consumer tj fs1 ci fs2 cj tk fs3 [ti,tj,tk] [cl,cm,cn] [cl,cm,cn] tj

  29. a b c d

  30. a b c

  31. a b c d

  32. User Pol01 User Amb01 User Pol01 User Amb01 a b c d

  33. Client Create New Emergency List Markers List Events ISMU MUDE Server

  34. a b c d

  35. UI Panels Actions Object Queues Callbacks DECS Client Context SC Service Proxy Emergency Manager Landmark Manager User Manager SC SC SC Event Manager SC Subscription Manager Event Container DECS Server SC SC

  36. Guide Manager Event Manager Web Browser Subscription Manager SC Emergency Manager UI Panels SC Actions SC SC SC Context Service Proxy Map Overlays User Manager Event Container SC Callbacks SC Landmark Manager SC DECS Client DECS Server

  37. Web Browser Guide Manager Event Manager Persistence Manager Subscription Manager UI Panels SC SC Actions Emergency Manager Context SC Service Proxy Map Overlays SC SC User Manager Event Container Callbacks SC SC Landmark Manager Client SC Server

  38. Web Browser HTML, JavaScript and Images UI Panels GWT Components Actions Map Overlays Callbacks Client Context Context SC Remote Service Interface Client Service Proxy Network Request/ Response Server Guide Manager Emergency Manager User Manager Landmark Manager Remote Service Implementation SC SC SC SC Event Manager SC Subscription Manager Persistence Manager Event Container Server Components SC SC Web AppEngine (JavaEE)

More Related