文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > Context-aware Policy Matching in Event-driven Architecture
侵权投诉

Context-aware Policy Matching in Event-driven Architecture

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.

Context-aware Policy Matching in Event-driven Architecture

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

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email