Integrating COTS Software Components into Dependab

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

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

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

资源描述

IntegratingCOTSSoftwareComponentsintoDependableSoftwareArchitecturesPauloAsteriodeC.GuerraAlexanderRomanovskyRogériodeLemosCecíliaMaryF.RubiraInstitutodeComputaçãoUniversidadeEstadualdeCampinas,BrazilSchoolofComputingScienceUniversityofNewcastleuponTyne,UKComputingLaboratoryUniversityofKentatCanterbury,UK{asterio,cmrubira}@alexander.romanovsky@r.delemos@ukc.ac.ukic.unicamp.brncl.ac.ukAbstractThispaperconsiderstheproblemofintegratingcommercialoff-the-shelf(COTS)softwarecomponentsintosystemswithhighdependabilityrequirements.Thesecomponents,bytheirverynature,arebuilttobereusedasblackboxesthatcannotbemodified.Instead,thesystemarchitecthastorelyontechniquesexternalwithrespecttothecomponentforresolvingmismatchesoftheservicesrequiredandprovidedthatmightariseintheinteractionofthecomponentanditsenvironment.AnapproachisdescribedinthispapertohowthesetechniquesshouldbestructuredaroundtheCOTScomponenttoobtainanidealisedfault-tolerantcomponent.Theapproachemploysthelayer-basedC2architecturalstyleforstructuringmechanismsoferrordetectionandrecoverythatshouldbeintegratedintothesoftwarearchitecture.ThefeasibilityoftheproposedapproachispresentedinthecontextofasteamboilersystemwhichcontainsaCOTScontroller.1.IntroductionComponent-basedsoftwaredevelopment(CBSD)isrecognizedtodayasaneffectivewaytoreducedevelopmentcostsandtime-to-market[S98].Untilrecently,themajorityofCBSDuseswasprimarilyforclient-tierapplications,withlittleattentionpaidtoserver-tiercomponents[BW98].Componentsattheclientsideareusuallyfine-grainedclassesofsimpleobjects,suchasboxesandbuttonsontheuser'sscreen.Theircounterpartsattheserversidearelarge-grainedcomponents1encapsulatingcomplexbusinessrulesorinfrastructureservices,usuallycomprisingasetofrelatedcomponentssuchascommercialoff-the-shelf(COTS)applicationframeworksanddatabasemanagers.Todaythemainchallengesofcomponent-basedsoftwareengineering(CBSE)areinguaranteeingsystemsafety,reliability,andsecurity[V98].AlthoughthefundamentalprinciplesofCBSDapplytobothclient-sideandserver-sideportionsofasystemequally,theirdependabilityrequirementsaresubstantiallydifferent.ACOTScomponentisusuallyprovidedasablackboxtobereusedasitis,whichcanindependentlyevolveafteritwasintegrated.Thesecomponentsusuallydonothavecompleterigorously-writtenspecification,thereisnoguaranteethatthedescriptiontheintegratorshaveintheirdisposaliscorrect(veryoftenitisambiguous).Thesecomponentscanhavebugs,moreover,thespecificcontextinwhichtheyareusedisnotknownattheirdevelopmenttime.Whenintegratingsuchacomponentintoasystemwithhighdependabilityrequirementsweshouldemploysolutionsatthearchitecturalleveltoensurethattheserequirementsaremet,irrespectiveoffaultsintheCOTScomponentitselforinthewayitinteractswiththeothersystemcomponents.Researchintodescribingsoftwarearchitectureswithrespecttotheirdependabilitypropertieshasrecentlygainedconsiderableattention[SI99,S01,S98].In[GRL02]theidealisedfault-tolerantcomponentconcept[AL81]isappliedinthearchitecturaldescriptionoffault-tolerantcomponent-basedsystems.[PR01]putsforwardageneralapproachtodevelopingprotectivewrapperstobeusedforbuildingdependablesoftwaresystemsbasedonCOTScomponents.InthispaperwecombinetheconceptsofanidealisedarchitecturalcomponentandprotectivewrapperstodevelopanarchitecturalsolutionthatprovidesaneffectiveandsystematicwayforbuildingdependablesoftwaresystemsfromCOTSsoftwarecomponents.Therestofthepaperisorganisedasfollows.Inthenextsection,webrieflydiscussbackgroundworkontheidealisedfault-tolerantcomponent,architecturalmismatchesandtheC2architecturalstyle.Section3describesthearchitecturalrepresentationofidealisedfault-tolerantCOTS.Thecasestudydemonstratingthefeasibilityoftheproposedapproachispresentedinsection4.RelatedworkonhowtobuilddependablesoftwaresystembasedonCOTScomponentsisdiscussedinsection5.Finally,section6presentssomeconcludingremarksanddiscussesourfuturework.22.Background2.1.ArchitecturalMismatchesandCOTSComponentIntegrationDealingwitharchitecturalmismatches[GAO95]isoneofthemostdifficultproblemssystemintegratorsfacewhendevelopingarchitecturalapproachestointegratingsystemswithCOTScomponents.Anarchitecturalmismatchoccurswhentheassumptionsthatacomponentmakesaboutanothercomponentortherestofthesystemdonotmatch.Thatis,theassumptionsassociatedwiththeserviceprovidedbythecomponentaredifferentfromtheassumptionsassociatedwiththeservicesrequiredbythecomponentforbehavingasspecified[OWZ98].Whenbuildingsystemsfromexistingcomponents,itisinevitablethatincompatibilitiesbetweentheservicedeliveredbythecomponentandtheservicethattherestofthesystemexpectsfromthatcomponent,giverisetosuchmismatches.Thesemismatchesarenotexclusivetothefunctionalattributesofthecomponent;mismatchesmayalsoincludequalityattributes,suchasdependability,whichcanberelatedtothecomponentfailuremodeassumptionsoritssafetyintegritylevels.WeviewallincompatibilitiesbetweenaCOTScomponentandtherestofthesystemasarchitecturalmismatches.This,forexample,includesinternalfaultsofaCOTScomponentthataffectotherssystemcomponentsoritsenvironment,inwhichcasethefailureassump

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

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

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

×
保存成功