100 likes | 177 Views
Event-driven Coordination Rule of Web Services enabled Devices in Ubiquitous environments. Kangchan Lee ETRI(Electronics and Telecommunications Research Institute) chan@etri.re.kr. 8 Services. 3 Infrastructure. 9 New Growth Engine. Next-generation mobile Communications
E N D
Event-driven Coordination Rule of Web Services enabled Devices in Ubiquitous environments Kangchan Lee ETRI(Electronics and Telecommunications Research Institute) chan@etri.re.kr
8 Services 3 Infrastructure 9 New Growth Engine Next-generation mobile Communications Digital TV Broadcasting Home Network Next generation PC IT SoC S/W solution & Digital Contents Embedded SW Telemetics Intelligent Service robot WiBro DMB Telemetics/LBS Home Network RFID W-CDMA Terrestrial DTV Internet Telephony Borad Convergence Network u-Sensor Network (USN) IPv6 IT839 Strategy in Korea • The IT839 Strategy • the government’s active efforts towards u-Korea • http://eng.mic.go.kr/ Soft infraware
♪ SD MMC SD MMC Ubiquitous Environments Mobile Automobile Service Office SIM SD MMC Infra Info How to coordinate ? IC Card Personal Info Home Shop E-Tower Game DVC STB TV Map Info Digital Contents PC Audio DVD Telephone Outdoor
Basic Concept of Ubiquitous Web Services Ubiquitous Web Services Any Devices Any Network Any Service
Ubiquitous Web Services Dynamic Discovery, Composition mechanism is required Discovery Services find publish interaction Service Requestor / Provider Service Provider
WS-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
Overview ECA Rule Description Language • 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) onevent if condition do action
Overview (cont’d) ECA Rule Description Language • 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 External Device WS-ECA Rules Variables WS-ECA Rules Device Device variables WS-Eventing & Service invocation Event variables Services ECA Rule WS-ECA Rules Events WS-Eventing & Service invocation Event time events Services External events Condition Internal events External Device Action Actions WS-Eventing createIntEvent WS-ECA Rules passEvent assign/delay Services invoke Web service invocation
Scenario ECA Rule Example if rice is not enough getting - up time=7:00AM cook() intEvent (out_of_rice) alarm( ‘ 20min before getting - up ’ ) if cooking is completed extEvent (cooking_completion) alert() after intEvent (out_of_rice) timeDelay (10min) before invokeService ( makeCoffee ()) morning cooking service example
Conclusions • 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