Docstoc

WS-ECA

Document Sample
WS-ECA Powered By Docstoc
					Event-driven Coordination Rule of Web
Services enabled Devices in Ubiquitous
             environments


                    Kangchan Lee
ETRI(Electronics and Telecommunications Research Institute)
                     chan@etri.re.kr
                         IT839 Strategy in Korea

     • The IT839 Strategy
            – the government’s active efforts towards u-Korea
            – http://eng.mic.go.kr/

     8 Services          3 Infrastructure       9 New Growth Engine

                                              Next-generation mobile Communications
    WiBro
                          Borad Convergence   Digital TV Broadcasting
    DMB
                          Network             Home Network
    Telemetics/LBS
                                              Next generation PC
    Home Network
                          u-Sensor Network    IT SoC
    RFID                  (USN)
                                              S/W solution & Digital Contents
    W-CDMA
                                              Embedded SW
    Terrestrial DTV       IPv6
                          Soft infraware      Telemetics
    Internet Telephony
                                              Intelligent Service robot




2
                                    Ubiquitous Environments

                                         Mobile

    Automobile Service                                      SD
                                                                        Office
                                                   SIM     MMC

                                                  SD
                                                  MMC


                                                                         Infra
                                                                          Info   IC Card


                Personal Info           How to coordinate ?
     Home                                                                                  Shop
                                                                                 E-Tower
    DVC
                TV
                     STB    Game
                                                                         ♪
                                            Map Info
    PC                                                       Digital               SD
                                                                                  MMC
                                                             Contents
                                Audio

                      DVD
    Telephone
                                                         Outdoor


3
    Ubiquitous Web Services
                              Basic Concept of Ubiquitous Web Services




                                Any Devices




                                Any Network




                                Any Service




4
                  Ubiquitous Web Services

        Dynamic Discovery, Composition mechanism is required

                             Discovery
                             Services




                           interaction


      Service
    Requestor /                            Service
     Provider                              Provider




5
                                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




6
            ECA Rule Description Language                                                Overview

    • General structure of ECA Rule

        on event   if condition   do action



    • 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)



7
             ECA Rule Description Language                                  Overview (cont’d)

    • 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)

    WS-ECA Rules   and complex actions                                               External Device
                           Variables
                                                                                      WS-ECA Rules
                           Device variables
                           Event variables                          WS-Eventing
                                                  Device                                   Services
                                                                    & Service invocation
      ECA Rule                                 WS-ECA Rules
                            Events
                                                                                       WS-Eventing
        Event                 time events        Services                              & Service invocation
                            External events
       Condition            Internal events
        Action
                            Actions                                                  External Device
                            createIntEvent                  WS-Eventing
                              passEvent                                               WS-ECA Rules
                             assign/delay
                                invoke                                                     Services
                                                   Web service invocation




8
                    ECA Rule Example                                                       Scenario




                                                                                           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



9
                               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




10

				
DOCUMENT INFO