towards unified knowledge management platform (rulefest 2010)

31
Towards a Knowled P P a unified Business dge Management Platform Platform Edson Tirelli CEP Lead Designer Red Hat Inc

Upload: geoffrey-de-smet

Post on 05-Dec-2014

1.384 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Towards unified knowledge management platform (rulefest 2010)

Towards a unified Business Knowledge Management

PlatformPlatform

Towards a unified Business Knowledge Management

PlatformPlatform

Edson Tirelli

CEP Lead Designer

Red Hat Inc

Page 2: Towards unified knowledge management platform (rulefest 2010)

Towards a unified Business Knowledge Management Platform

Edson [email protected]@redhat.comLead CEP DesignerJBoss, a Division of Red Hat

Towards a unified Business Knowledge Management Platform

Page 3: Towards unified knowledge management platform (rulefest 2010)

What is Business Knowledge

Business Knowledge

What is Business KnowledgeBusiness Knowledge ?

Business Knowledge

Business Knowledge ?

Rules Fest – October 2010 – © Edson Tirelli 3

Page 4: Towards unified knowledge management platform (rulefest 2010)

Is legislation business knowledge?

“All products sold in California, are due

Business Knowledge

“All products sold in California, are due 8.25% of sales taxes.”

business knowledge?

All products sold in California, are due

Business Knowledge

All products sold in California, are due 8.25% of sales taxes.”

Rules Fest – October 2010 – © Edson Tirelli 4

Page 5: Towards unified knowledge management platform (rulefest 2010)

Are company policies business knowledge?

“ We match any price announced by any

Business Knowledge

“ We match any price announced by any direct competitor in the city.”

business knowledge?

“ We match any price announced by any

Business Knowledge

“ We match any price announced by any direct competitor in the city.”

Rules Fest – October 2010 – © Edson Tirelli 5

Page 6: Towards unified knowledge management platform (rulefest 2010)

Is business intelligence

“Algorithmic Trading: when a given

Business Knowledge

“Algorithmic Trading: when a given security falls more than 5% in 2 minutes,

after a government's economic announcement, re- evaluate our position

and adjust the exposure to that security.”

business knowledge?

“Algorithmic Trading: when a given

Business Knowledge

“Algorithmic Trading: when a given security falls more than 5% in 2 minutes,

after a government's economic evaluate our position

and adjust the exposure to that security.”

Rules Fest – October 2010 – © Edson Tirelli 6

Page 7: Towards unified knowledge management platform (rulefest 2010)

Is operational data business knowledge?

Business Knowledge

Country of Residence Age

US< 21

>= 21>= 21

Canada< 18

>= 18

business knowledge?

Business Knowledge

Gender Risk FactorMale 1.00

Female 0.80Male 1.20

Rules Fest – October 2010 – © Edson Tirelli 7

Male 1.20Female 1.30Male 0.90

Female 1.00Male 1.20

Female 1.10

Page 8: Towards unified knowledge management platform (rulefest 2010)

Are business processes

Business Knowledge

business processes business knowledge?

Business Knowledge

Rules Fest – October 2010 – © Edson Tirelli 8

Page 9: Towards unified knowledge management platform (rulefest 2010)

Answer: they are all Business Knowledge!

What they have in common?� declarative in nature (non� independent lifecycle

Business Knowledge

� independent lifecycle� more volatile than procedural code

� susceptible to analysis and optimization

Business Knowledge!

What they have in common?declarative in nature (non-algorithmic)

Business Knowledge

more volatile than procedural codesusceptible to analysis and optimization

Rules Fest – October 2010 – © Edson Tirelli 9

Page 10: Towards unified knowledge management platform (rulefest 2010)

Case Study: Highway Toll systemCase Study: Highway Toll system

Rules Fest – October 2010 – © Edson Tirelli 10

Page 11: Towards unified knowledge management platform (rulefest 2010)

Case Study: Highway Toll system

• Vehicles using the highway have their license plates scanned at entry and exit points

• Charge is calculated based on:• Distance travelled• Type of vehicle

Day of the week, time of the day• Day of the week, time of the day• Subscription plan (for frequent users)• Etc

• For subscribers, usage is summarized and mailed as a monthly report

• For non-subscribers, bills are summarized and mailed on a weekly basis

Case Study: Highway Toll system

Vehicles using the highway have their license plates scanned at entry and exit points

Charge is calculated based on:

Day of the week, time of the day

Rules Fest – October 2010 – © Edson Tirelli 11

Day of the week, time of the daySubscription plan (for frequent users)

For subscribers, usage is summarized and mailed as a

subscribers, bills are summarized and mailed on a

Page 12: Towards unified knowledge management platform (rulefest 2010)

Processes: apparent from the start

Sample non-optimized process

Processes: apparent from the start

Rules Fest – October 2010 – © Edson Tirelli 12

optimized process

Page 13: Towards unified knowledge management platform (rulefest 2010)

Ops… I need rules…

Sample non-optimized process

I need rules…

Rules Fest – October 2010 – © Edson Tirelli 13

optimized process

Page 14: Towards unified knowledge management platform (rulefest 2010)

Type of Vehicle Day of the Week Distance (km)

passengerweek day

0, 20

21, 200

weekend 0, 200

truck week day

0, 10

11, 30

Rules for what?

truck week day 11, 30

31,200

Sample Decision Table: rule abstraction for homogeneousrules

Distance (km) Charge per Km($)

0, 20 0.10

21, 200 0.08

0, 200 0.05

0, 10 0.23

11, 30 0.2111, 30 0.21

31,200 0.19

Rules Fest – October 2010 – © Edson Tirelli 14

: rule abstraction for homogeneousrules

Page 15: Towards unified knowledge management platform (rulefest 2010)

Rules for what?

rule “Road use for emergency response”when

There is an emergency response

A vehicle used the road

thenReassign the charge to municipal administration

end

Sample DSL rule: developing

“Road use for emergency response”

emergency response event in effect

Rules Fest – October 2010 – © Edson Tirelli 15

to municipal administration

: developing adhoc rules

Page 16: Towards unified knowledge management platform (rulefest 2010)

Rules for what?

Rules to control process behaviour

Sample non-optimized process

Rules to control process behaviour

Rules Fest – October 2010 – © Edson Tirelli 16

optimized process

Page 17: Towards unified knowledge management platform (rulefest 2010)

Ops… events?

There is an emergency response…

Rules Fest – October 2010 – © Edson Tirelli 17

event in effect

Page 18: Towards unified knowledge management platform (rulefest 2010)

Typical CEP solutions

Event P

rocessors

Event P

rocessors

Event P

rocessors

Event P

rocessors

Streams Streams Streams

• Not flexible enough to meet the requirements for al l scenarios:• Rules and processes need access to intermediate events as well• Event processing assets follow the same lifecycle of the rules and processes assets

Typical CEP solutions

Event P

rocessors

Application

Rules Fest – October 2010 – © Edson Tirelli 18

Event P

rocessorsStreams Streams

Not flexible enough to meet the requirements for al l scenarios:Rules and processes need access to intermediate events as wellEvent processing assets follow the same lifecycle of the rules and processes assets

Page 19: Towards unified knowledge management platform (rulefest 2010)

What do we need?

• BRMS is no longer enough

• Business Knowledge Management• Takes into account all knowledge assets:

• Models• Rules• Processes• CEP modules• etc

• Provides a unified view and enables lifecycle management

What do we need?

Business Knowledge ManagementTakes into account all knowledge assets:

Rules Fest – October 2010 – © Edson Tirelli 19

Provides a unified view and enables lifecycle

Page 20: Towards unified knowledge management platform (rulefest 2010)

Business Knowledge ManagementBusiness Knowledge Management

Rules Fest – October 2010 – © Edson Tirelli 20

Page 21: Towards unified knowledge management platform (rulefest 2010)

Business Knowledge ManagementBusiness Knowledge Management

Rules Fest – October 2010 – © Edson Tirelli 21

Page 22: Towards unified knowledge management platform (rulefest 2010)

Business Knowledge Management

Example documentation screen for rules

Business Knowledge Management

Rules Fest – October 2010 – © Edson Tirelli 22

Example documentation screen for rules

Page 23: Towards unified knowledge management platform (rulefest 2010)

Business Knowledge ManagementBusiness Knowledge Management

Rules Fest – October 2010 – © Edson Tirelli 23

Page 24: Towards unified knowledge management platform (rulefest 2010)

Business Knowledge ManagementBusiness Knowledge Management

Rules Fest – October 2010 – © Edson Tirelli 24

Page 25: Towards unified knowledge management platform (rulefest 2010)

Business Knowledge ManagementBusiness Knowledge Management

Rules Fest – October 2010 – © Edson Tirelli 25

Page 26: Towards unified knowledge management platform (rulefest 2010)

Business Knowledge ManagementBusiness Knowledge Management

Rules Fest – October 2010 – © Edson Tirelli 26

Page 27: Towards unified knowledge management platform (rulefest 2010)

Drools Platform

Rules Fest – October 2010 – © Edson Tirelli 27

Page 28: Towards unified knowledge management platform (rulefest 2010)

Domain OverviewDomain Overview

Rules Fest – October 2010 – © Edson Tirelli 28

Page 29: Towards unified knowledge management platform (rulefest 2010)

Drools Platform

Rules Fest – October 2010 – © Edson Tirelli 29

Page 30: Towards unified knowledge management platform (rulefest 2010)

Drools Platform

Rules Fest – October 2010 – © Edson Tirelli 30

Page 31: Towards unified knowledge management platform (rulefest 2010)

Q&A

o Drools Documentation:o http://www.jboss.org/drools/documentation.html

Edson [email protected] CEP DesignerJBoss, a Division of Red Hat

http://www.jboss.org/drools/documentation.html