Upload
amberlynn-brown
View
220
Download
0
Tags:
Embed Size (px)
Citation preview
Event-driven Coordination Rule of Web Services enabled Devices in Ubiquitous
environments
Event-driven Coordination Rule of Web Services enabled Devices in Ubiquitous
environments
Kangchan LeeETRI(Electronics and Telecommunications Research Institute)
2
IT839 Strategy in KoreaIT839 Strategy in Korea
• The IT839 Strategy – the government’s active efforts towards u-Korea
– http://eng.mic.go.kr/
9 New Growth Engine9 New Growth Engine3 Infrastructure3 Infrastructure8 Services8 Services
Next-generation mobile CommunicationsNext-generation mobile Communications
Digital TV BroadcastingDigital TV Broadcasting
Home NetworkHome Network
Next generation PCNext generation PC
IT SoCIT SoC
S/W solution & Digital ContentsS/W solution & Digital Contents
Embedded SWEmbedded SW
TelemeticsTelemetics
Intelligent Service robotIntelligent Service robot
Borad ConvergenceBorad ConvergenceNetworkNetwork
u-Sensor Networku-Sensor Network(USN)(USN)
IPv6IPv6
WiBro WiBro
DMBDMB
Telemetics/LBSTelemetics/LBS
Home NetworkHome Network
RFIDRFID
W-CDMAW-CDMA
Terrestrial DTVTerrestrial DTV
Internet TelephonyInternet Telephony
Soft infrawareSoft infraware
3
Ubiquitous EnvironmentsUbiquitous Environments
SDMMC
E -TowerGame
Telephone
PC
DVD
Audio
TV
STBDVC
Map Info
IC Card
SDMMC
SDMMC
SIM
♪DigitalContents
InfraInfo
Personal Info
Automobile Service
Mobile
Office
Home
Outdoor
Shop
How to coordinate ?How to coordinate ?
4
Basic Concept of Ubiquitous Web ServicesBasic Concept of Ubiquitous Web Services
Any DevicesAny Devices
Any NetworkAny Network
Any ServiceAny Service
Ub
iqu
itou
s Web
S
ervices
5
Ubiquitous Web ServicesUbiquitous Web Services
ServiceRequestor /
Provider
ServiceProvider
interaction
DiscoveryServices
publishfind
Dynamic Discovery, Composition mechanism is required
6
WS-ECAWS-ECA
• WS-ECA : Event, Condition, Action
– Rule based services composition mechanism
• Requirements of WS-ECA
– conditional response & event filtering
– event forwarding/broadcasting/multicasting
– temporal reaction
– logical expression (conjunction, disjunction, negation, etc) of events and actions
– transitive rule
7
• General structure of ECA Rule
• Examples of ECA Rules– (conditional response)
• on e1 if c1 do a1
• on e1 if c2 do a2
– (transitive property) on e1 if c1 do{on e2 if c2 do a2}
• on e1 if c1 do a1 (e1’) cf. action a1 generate internal event e1’
• on e1’^e2 if c2 do a2
– (logical operation)• Event on (e1^e2) | e3 if c1 do a1
• Condition on e1 if c1|(c2^~c3) do a1
• Action on e1 if c1 do a1|(a2^a3)
OverviewECA Rule Description LanguageECA Rule Description Language
on event if condition do action
8
• WS-ECA Rules
– Event : primitive events(time, internal, external) & complex events
– Condition : variables in devices or events
– Action : primitive actions(invoke, passEvent, createIntEvent, assign, delay)
and complex actions
Overview (cont’d)
External Device
WS-ECA Rules
Actions
invokeassign/delaypassEvent
createIntEvent
Events
time events
Internal eventsExternal events
Variables
Event variablesDevice variables
ECA Rule
Event
Condition
Action
Device
WS-ECA Rules
Services
External Device
Services
WS-ECA Rules
Services
WS-ECA RulesWS-Eventing
Web service invocation
WS-Eventing& Service invocation
WS-Eventing
& Service invocation
ECA Rule Description Language
ECA Rule Description Language
9
ScenarioECA Rule ExampleECA Rule Example
morning cooking service example
alarm(‘ 20min before getting-up’)
getting- up time=7:00AM
cook()intEvent (out_of_rice)
if rice is not enough
alert()
after intEvent (out_of_rice)
if cooking is completed
extEvent (cooking_completion)
timeDelay (10min) beforeinvokeService( makeCoffee())
10
ConclusionsConclusions
• ECA Rules in Ubiquitous Service Computing
– WS-ECA: Rule description language
– Conflict detection and resolution in ECA Rules is required
– ECA Rule system components : e.g. Rule Manager
– ECA Rule network protocol
• Future Works
– Resource management for multiple users
– Implementation of ECA Rule Systems