Emergency Services - Process+Rules+Events Rules Fest 2011

Post on 05-Dec-2014

1.633 views 1 download

description

for more information visit: http://salaboy

Transcript of Emergency Services - Process+Rules+Events Rules Fest 2011

911

PD

FD

Processes + Rules + Events

EmergencyServices

911

PD

FD

911

PD

FD

911

PD

FD

911

PD

FD

911

PD

FD

911

911

Fire Department

FD

Police Department

PD

$

Hospitals

Emergency types

Proposed Architecture for V3

Built on top of the business concepts

Designed to scale with the company requirements

Focused on taking advantage of the declarative

knowledge representations (bp, br, events)

Procedure Runtime

Procedure

processes

rules

events

services

Knowledge Related with the context of the emergency. Example:

Keep track of the resources that are being usedby the emergencyCreate warnings if some procedure gets stuckand jeopardize the overall emergency controlGenerate dynamic tasks to deal with exceptional pathsKeep track of the resources that are availablefor each kind of emergencyPlanning inside the emergency

Emergency Level Knowledge Example

Procedure Runtime + Emergency

Procedure

processes

rules

events

services

Emergency

processes

rules

events

services

Knowledge Related with the context of the procedure.

Example:

Keep track of the vehicles attached to a procedure

Keep track of the completion percentage of the procedure

Control the amount of resources required by the procedure

Generate contextual alerts depending the type of procedure

If something goes wrong suggest alternative paths

Procedure Runtime Knowledge Example

Procedure Runtime + Emergency + Company

Procedure

processes

rules

events

services

Emergency

Company

processes

rules

events

services

processes

rules

events

services

Knowledge Related with the context of the company. Example:

Keep track of the current emergencies that are being handled by the companyLoad Balance the resources that are being usedin different emergenciesGenerate company level warnings to address big situationsPlanning at company level

Company Level Knowledge Example

911

PD

FD

Components Overview

Single Environment

Java Virtual Machine

Emergency

Procedure Procedure Procedure

Distributed Environment

JVM

Company

JVM

Emergency

JVM

Procedure

JVM

Procedure Procedure

JVM

Emergency

JVM

Procedure

Runtime Component

Procedure Runtime

Process Engine Rules Engine

Event entry-points

Event entry-points

Event entry-points

Se

rvic

eC

on

nec

tor

Se

rvic

eC

on

nec

tor

Se

rvic

eC

on

nec

tor

Se

rvic

eC

on

nec

tor

Se

rvic

eC

on

nec

tor

Se

rvic

eC

on

nec

tor

Se

rvic

eC

on

nec

tor

Se

rvic

eC

on

nec

tor

Se

rvic

eC

on

nec

tor

Use

Relationships - Graph Database

911

PD

FD

Instantiate

Audit Log + Reporting

PD

FD

911

E1 - P1 - Started

E1 - P1 - Activity 1 - Started

E2 - P1 - Started

E1 - P1 - Vehicle 1 - Selected

E2 - P1 - Activity 1 - Started

E1 - P2 - Started

E2 - P1 - Vehicle 3 - Selected

E3 - P1 - Started

E3 - P1 - Activity 1 - Started

E4 - P1 - Started

Qu

ery

/Ma

na

ge

Demo

Standard Fire Emergency

Key Points

Lightweight Components

Integration => (rules + processes) engine

Temporal Reasoning

Knowledge Formalization

Conclusion

RulesProcessesEvents

RulesProcessesEvents

Conclusion

www.plugtree.com

salaboy.wordpress.com

ilesteban.wordpress.com

dcalca.wordpress.com

Download and Play

github.com/Salaboy/emergency-service-drools-app

References