Architecture-Based Software Reliability Modeling

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1Architecture-BasedSoftwareReliabilityModelingWen-LiWangDaiPanMei-HwaChenComputerScienceDepartmentSUNYAlbany(wlwang,dpan,mhc)@cs.albany.eduAbstractInthispaper,wepresentanarchitecture-basedapproachformodelingsoftwarereliability.Ourapproachaimsatmodelingreliabilityonvarioussoftwareinfrastructuresandinanystageofsoftwarelifecycles.Tothisend,weutilizecharacteristicsofarchitecturalstylestocapturenon-uniformbehaviorsofsoftwareembodyingheterogeneousarchitecture.Furthermore,astatemodelthatsynthesizesalldifferentarchitecturalstylesembeddedinthesystemisdeveloped,allowingtheMarkov-basedreliabilitymodeltobeemployed.Ourmodelcanbeappliedtosoftwarewithheterogeneousarchitecture,canfacilitatethemakingofarchitecturedesigndecision,andissuitableforuseinthetestingandmaintenancephasesduringwhichsoftwarechangestakeplace.Tovalidatethemodel,weappliedittoanindustrialreal-timecomponent-basedfinancialsystemandobtainedsignificantpromisingresults.Itisexpectedthatourmodelhavegreatpotentialforusetoimprovesoftwarequalityeffectively.Keywords:SoftwareArchitecture,ArchitecturalStyle,MarkovModel,andReliabilityEstimation1.INTRODUCTIONSoftwaresystemshavesignificantimpactontheworld.Afailureoperationofsoftwarecanleadtoeconomiclossandmayevencauselossofhumanlives,thusprovingitsimportanceinourdailylife.Therefore,unreliablesoftwareisnotacceptableandshouldbeidentifiedintheearlystageofsoftwaredevelopment.Softwarereliabilityisoneofthekeymetricsfordeterminingthequalityofsoftware.Itisoftendefinedastheprobabilityofafailure-freeoperationofacomputerprogramwithinaspecifiedexposuretimeinterval[33].Overthepasttwodecades,anumberofstudieshavebeenconducted2formeasuringreliabilityofgivensoftware.Asaresult,anumberofanalyticalmodels[14,33]havebeenintroduced.Mostoftheseanalyticalmodelsfocusonobservingthebehaviorsofsoftware,basedonanoperationalprofile.Measurementsaremadeusingthedatacollectedovertheobservationperiod,regardlessofthestructureofthesoftware.Theyaremainlyappliedduringthelatephaseofthesoftwaredevelopmentinordertodetermineifthesoftwaremeetsitsreliabilityrequirements.Thesemodels,whichusestatisticalmeans,aredifficulttoapplyifnosufficienttestdataisavailableorwhenchangesaremadetothesoftware.OtherapproachesutilizeMarkovpropertyandmakeuseofthestructureofsoftware,whichistypicallyappliedtosoftwarewithsimplehomogeneousarchitecture.However,modernsoftwareoftenembodiescomplexheterogeneousarchitecturetoachievemultiplequalityrequirements,suchastheuseofaparallelarchitecturetoincreaseperformanceand/orintroduceaback-upcomponenttoprovidefaulttolerance.Moreover,vastgrowingcomponent-basedsoftwarethatassembledusingcertainthirdpartycomponentsrequiresadaptingfrequentcomponentupgrade.Thosewiththeseinfrastructurescannotbeapplieddirectlyusingtheexistingwhite-boxMarkov-basedmodel.Theaimofourmodelistotakeheterogeneityofsoftwarearchitectureintoaccountandallowittobeappliedtovarioustypesofsoftwareinfrastructuresatanearlystageofsoftwaredevelopment.Softwarearchitecture,whichdescribesthestructureofsoftwareatanabstractlevel[17,34],consistsofasetofcomponents,connectorsandconfigurations.Furthermore,apatternthatcharacterizestheconfigurationsofcomponentsandconnectorsofsoftwarearchitecturesisconsideredanarchitecturalstyle[13,15].Manyarchitecturalstyleshavebeenidentified[17,36,40]withnewstylescontinuouslyemerging[32].Thus,apractitionercanbefacedwiththechallengeofselectingsuitablestylesand/ormodelingconfigurationsofselectedstylesfordesigningthearchitectureofagivensoftwarespecification.Insuchasituation,amethodormodeltopredictorevaluatethereliabilityofaheterogeneoussoftwaresystemcancertainlyprovideameansthroughwhichdesignerscanconfigurethearchitecturethatbestfitstheirquality3demands.Ourpreviousstudies[8,41]suggestthatitispossibletoselectanarchitecturalstylethatcanprovidebetterperformanceand/oravailabilityatthearchitecturedesignstage.Inourapproach,weutilizeexistingarchitecturalstylesthathavewell-definedcharacteristicstoanalyzearchitectureofthesoftwaresystemthathasnon-uniformbehaviorsindifferentportionsofthesystem.Wefirstidentifythearchitecturalstylesinthesystemanddevelopastatemachineforeachstylebasedonthebehaviorencapsulated.Next,thestatemachinethatunifiestherenderingsofindividualarchitecturalstylesinthesystemisformulated.Withthisunifiedstatemachine,wecanfurtherapplytheMarkovmodeltoobtainreliabilityofthesoftwareusingtraditionalapproaches[11,33].Fourarchitecturalstylesareusedtodemonstratethedevelopmentofthestatemachine.Thesestylesincludebatch-sequential,parallel/pipe-filter,faulttolerance,andcall-and-returnarchitecturalstyles.Wealsodescribehowavariationofthesestylescanbeincorporatedusingcertaintransformations.Tovalidateourmodel,weconductedanexperimentonanindustrialreal-timecomponent-basedfinancialsystem;thereliabilitymeasureobtainedfromthemodelwasclosetotheobservedvalue.Therefore,webelievethatourmodelhasgreatpotentialforuseinheterogeneoussoftwaresystemswiththeabilityofbeingappliedearlyinthedesignstageforaidingdecision-makingandlateinthetestingandmaintenancephasesforfastadjustmentofreliabilityonsoftwarethath

1 / 24
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功