A New Paradigm for Developing Enterprise Systems Jianwen Su University of California Santa Barbara Hangzhou Housing Management Bureau 20121116 浙江大学 2 500 workflow models 300000 casesyear ID: 274322
Download Presentation The PPT/PDF document "Data Encapsulating Services" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Data Encapsulating Services:A New Paradigm forDeveloping Enterprise Systems
Jianwen Su
University of California, Santa BarbaraSlide2
Hangzhou Housing Management Bureau2012/11/16
浙江大学
2
500 workflow models
300,000 cases/yearSlide3
Obtaining a Permit (商品房预售申请)2012/11/16
浙江大学
3
Permit for Selling an Unbuilt Appartment
Application
申请
preliminary
review
初审
secondary
review
复审
Approval
审批
lic. fee payment
缴费
Certificate
制证
Delivary
递交Slide4
Ad hoc design, developed over time, patches, multiple technologies, … a typical legacy systemProblems:Embedded business logic, hard to
learn
hard to maintain, costly to add new functionality
hard to change/evolve
A
Typical
Housing Management System
2012/11/16浙江大学
4Slide5
OpenAPI approach towardsBusiness Process as a Service (BPaaS)Enterprise may run virtual IT systems
Virtual Enterprise Systems
2012/11/16
浙江大学
5
Enterprise System
Tax
Calculation
Reassessment
Title Change
Inheritance
Determine tax base
Appraisal
Tax
Title
HR
Accounting
Assessor
Good idea but need
to manage
enterprise dataSlide6
Data and services are separately modeled, designed, managedAdds difficulties in design, execution, maintenance, and making changesFurthermore, many issues can’t be addressedWorkflow transaction remains an artData consistency is a concern of DBMS even though violations are caused by service executionBusiness analytics is an after thoughtLong tail phenomenon is a “holy grail
”
Big data
Current Practice
2012/11/16
浙江大学
6Slide7
Mckinsey Global Institute, June 2011:
Big data: The next frontier for innovation, competition, and productivity
Availability of
“
big data
”
brings opportunities for improving productivity
浙江大学
7
2012/11/16
Big Data—A Gowing TorrentSlide8
浙江大学8Big Data + Biz Processes Big Potential2012/11/16Source:MGI Analysis
Two observations
A
significant portion of big data
generated
by biz processes
Productivity growth only obtainable via
more efficient/effective biz processesSlide9
OpenAPI approach towardsBusiness Process as a Service (BPaaS)Enterprise may run virtual IT systems
Virtual ES’s: Data Management Problem
2012/11/16
浙江大学
9
Enterprise System
Tax
Calculation
Reassessment
Title Change
Inheritance
Determine tax base
AppraisalPAL
TaxPAL
TitlePAL
HR
AccountingPAL
AssessorPAL
?Slide10
No major playersEnterprise makes its own datamanagement planBring Your Own Data (BYOD)An Open Market Model2012/11/16浙江大学
10
Enterprise system
Data needed for services
+ services states
BPaaS with
OpenAPISlide11
浙江大学
11
Business
Artifacts (
业务流程工单
)
A
business artifact is a key conceptual business entity that is used in guiding the operation of the businessfedex package delivery, patient visit
,
application form
,
insurance claim
,
order
, financial deal
, registration, …both “information carrier” and “road-maps” Technically, it includes two parts:Information model:
data needed to move through workflowLifecycle: possible ways to evolveVery natural to business managers and BP modelers2012/11/16Slide12
浙江大学12DisagreedReceipts
Paid
Receipts
Pending
Receipts
Archived
Receipts
Archived
KOs
Ready
KOs
Pending
KOs
Add Item
Prepare &
Test Quality
Deliver
Payment
Recalculate
Receipt
Prepare
Receipt
Create
Guest Check
UpdateCash Balance
ArchivedGCsClosedGCs
OpenGCs
Guest Check
Artifacts
Kitchen Order
Receipt
Cash Balance
Example:
Restaurant ProcessesCashBalance
Activity
repository
2012/11/16
GC
KO
RC
CBSlide13
SeGA separates data from execution engineServes as a mediatorSeGA: A Service Wrapper/Mediator2012/11/16浙江大学13
[Sun-Xu-S.-Yang CoopIS 12]
SeGA
...
Dispatche
r
Artifact
Repository
Event Queue
Barcelona
Engine 1
EZ-Flow
Engine 1
Barcelona
Engine n
. . .
. . .
. . .
Incoming event
BP instance
Schema
Outgoing event
1.
SeGA
receives incoming events
2.
A dispatcher fetches the correlated BP instances according to the type of the incoming event
3.
The dispatcher sends the incoming event, the BP instances, and their schemas to the corresponding engine
4.
The engine then processes the incoming event, updates the BP instances, and sends outgoing events
5.
The dispatcher retrieve the updated BP instances from the engine and store them back to the repository
SeGA
...
Dispatche
r
Repository
Event Queue
Barcelona
Engine 1
EZ-Flow
Engine n
Barcelona
Engine n
Incoming
event
to SeGA
Fetch correlated
instances
of
the
event
S
end
the
event
,
the process
instances
,
&
their
schemas
to
the
engine
Outgoing
event
Process
the
event,
update
the
instances, &
emit
outgoing events
Dispatcher retrieves
the updated instances &
stores into
the repository
. . .Slide14
Data package between SeGA & services:Business data, enactment data, resource data, correlation dataData encapsulating services: Stateful services but the engine need not maintain stateIndependence ofdata and service managementData Encapsulating Services2012/11/16
浙江大学
14
Enterprise
system
SeGASlide15
Design: What are appropriate service designs? Choreography vs orchestration (Part II)? Design aid (analysis/model checking tool), interoperationRuntime: Enforcement of process/data constraints, KPI/monitoring techniques, resource planning and management Transactions: What is the notion of workflow transaction?Change/evolution: Process vs instance changes, long lasting vs temporary, longtailBig data: monitoring to analytics to change
Research Challenges
2012/11/16
浙江大学
15Slide16
Traditional and new service sectors and businessesHousing management (房管)Social security (社保)RetailAuditing (审计)…May spawn new types of service businesses such as cloud platforms for BPaaS providersconsulting businesses to analyze and improve business processes (big data)
Potential Applications
2012/11/16
浙江大学
16Slide17
Inclusion of persistent data is critical to capture business logics into servicesData encapsulating services enable separation of data and service management and supportIndependence of data and service managementMany research challengesConclusions2012/11/16浙江大学17