Applications for supporting pervasive computing and agility are the current trend in software development. The serviceoriented architecture (SOA) enables connection between consumers and service providers in a loosely-coupled way to improve flexibility and
Context-awarePolicyMatchinginEvent-drivenArchitecture
Shao-youCheng
r93070@csie.ntu.edu.tw
Wan-rongJih
jih@agents.csie.ntu.edu.tw
ComputerScienceandInformationEngineering,
NationalTaiwanUniversity,Taiwan
JaneYung-jenHsu
yjhsu@csie.ntu.edu.tw
Motivation
Applicationsforsupportingpervasivecomputingandagilityarethecurrenttrendinsoftwaredevelopment.Theservice-orientedarchitecture(SOA)enablesconnectionbetweenconsumersandserviceprovidersinaloosely-coupledwaytoimprove exibilityandextensibility.Thisarchitectureisstatic,whichutilizesprede nedsequencesofactionsand xedpolicies.Ongoingprocessescannotadapttodynamicchangesintheenvironmentalconditionsorcontext.
Imaginethesituationwherearealestatebrokershowsherclientahouseforsale,matchingthepreferencepro lepro-videdbythepotentialbuyer.Whilethebuyerlikesthegen-erallocationofthehouse,heconsidersitunacceptableduetotheunexpectedtraf cnoisefromanearbystreet.Insteadofproceedingwiththeoriginalplantoshowanotherhouseonthesamestreet,anexperiencedbrokershouldadjusttheplaninlightofthisadditionalconstraint.Thebrokercon-nectstothemultiplelistingservicewithhermobiledeviceanddownloadsanewlylistedhousewithinminutesofthecurrentlocationthatbettersatis estheclient’srequirements.SuchascenariocanfacilitatetheintroductionofeventsintoSOA(He2003).Real-timechangesaremodeledasevents,whichinturntriggerchangesofstatesforthework- owtomeetthebusinessneeds.Inthisscenario,eventscanbe”showsclientahouse”,”addclient’srequirements”,etc.
Introduction
Thisresearchexplorestheroleofcontext-awarepolicymatchinginanevent-drivenarchitecture(EDA).Inpartic-ular,acontext-awareruleengineisadoptedtoderivecon-clusionsbasedonthecurrentcontextsandbusinesspolicies.Figure1showsthefunctionalmodulesoftheprototypede-signedtodemonstratetheadvantagesoftheproposedap-proach.IntheUnderlyingArchitecturelayer,standardSOAiscombinedwithEDA.TheContext-AwareRuleEnginelayerconsistsofthreedistinctagentsforcollectingprefer-encepro les,ambientorcontextinformation,anddynamicevents.AllinformationcollectedwillbeforwardedtotheRuleEngine,augmentedwiththeRuleRepositoryandCon-textOntology.ResultsfromtheRuleEnginewillbegiventotheActionAgentthatperformsthedesiredsequenceof
Copyright
c2005,AmericanAssociationforArti cialIntelli-gence(doc.guandang.net).Allrightsreserved.
actions.Thefollowingsectionscontaindetaileddescriptionofeachmodule.

Figure1:Context-awarepolicymatchingframework
Event-drivenArchitecture
TheSOAuseasimpleandclearinterfacetobindallpar-ticipatingsoftwarecomponentsandprovidesservicereuse.However,itlacksproactiveability.Eventnoti cationisthecoreofEDA,itcantightlybindservices,events,andcon-sumersinadynamicenvironment.Eventsaremorelikelytocomplement,notreplace,servicesinSOA.SinceEDAhasbeentoutedasthe“thenextbigthing”onthehorizonofsoftwaredevelopmentmethodology(Schulte2004).Itisgenerallybelievedthatevent-drivenservicesunderSOAgainbene tsfromthefeaturesofbotharchitectures(Hanson2005).
Conventionalevent-drivendesignisalsoreferredtoasmessage-basedsystems,whereamessagehereisaformofanevent.Speci cationsofWS-Noti cationfamilyandWS-Eventingde nethestandardWebservicesapproachesforeventhandling.Wheneventsoccur,asshowninFigure2,serviceproducerspublishthemessageswhichwillbedeliv-ered,e.g.viapublish-and-subscribe,totheeventconsumers.
Context-AwareRuleEngine
TheproposedframeworkutilizestheJessruleen-gine(Friedman-Hill2005)toprovideinferenceresults.JessprocessestherulesandfactsusingtheRetealgorithm(Forgy1982).Userpreferencesarerepresentedaspolicyrulesthatarematchedinthereasoningprocess.
Contextsrefertothevariousdynamicaspectsoftheen-vironment,forexample,location,time,andpeople(Dey
Context-aware Applications ? Developing Context-...Distributed architecture ? Pervasive Computing Context...matching between gaps and offering functions ...
context-param与init-param的区别与作用_IT/计算机_专业资料。context-param与init-param的区别与作用今日推荐 四季养生 中医养生与保健 中医养生知识大全 女人...
Context-aware Policy Mat... 暂无评价 2页 免费 Model-driven Composition... 10页 免费 Model-driven Development... 暂无评价 29页 免费 An Event-driven ...
Context-Aware Process Networks的翻译__计算机硬件及网络_IT/计算机_专业资料。...Design Space Exploration of Stream-based Dataflow Architecture Methods and ...
context-aware 19页 免费 Context 3 暂无评价 32页 免费 context 5页 免费 how context makes meta... 暂无评价 16页 免费 职能与事业部的区别 13页 免费 ...
or event-related content providers marketing ... 1. Generic service and application architecture. ...matching and presentation profile generation ...
<context-param> context/param avalible during application </context-param> (2)servlet 范围内的参数,只能在 servlet 的 init()方法中取得,在 web.xml 中...
[3] design an event-driven rule based system to recommend services ...Klusch et al.[21] propose a service matching algorithm which combines ...
Production-fragmentation-and-trade-integration-East-Asia-in-a-global-context...(1997). The new regionalism and Asia: Impact and policy options. In A....
Context-sensitive applications subscribe to event ...nd matching sources or existing operators installed...In Xerox Parc’s distributed architecture each ...
热门文档