文档详情

软件体系结构复习资料.ppt

发布:2025-04-16约9.24千字共40页下载文档
文本预览下载声明

CourseReview软件体系结构〔SA〕

课程主要内容软件体系结构定义软件体系结构风格建模和文档化软件体系结构理解质量属性软件体系结构设计软件体系结构评估

软件体系结构定义软件体系结构定义不存在一个统一的定义各个流派对软件体系结构的定义重点关注 GarlanandShaw的定义:

体系结构=组件+连接件+约束

SoftwareArchitecture= Components+Connectors+Constrains

软件体系结构风格软件体系结构风格定义软件体系结构风格的描述常见的软件体系结构风格数据流顺序的批处理管道过滤器控制环路调用/返回主程序/子程序面向对象层次结构客户端/效劳器

软件体系结构风格以数据为中心〔数据共享〕数据存储〔编译器的演化〕黑板虚拟机解释器、基于规那么的系统其它独立组件通信进程、事件〔隐式调用〕其它其它风格C2、HMB、DSSA

建模和文档化软件体系结构基于软件体系结构的开发〔ABD〕

软件架构文档化如何文档化软件架构好文档的评价准那么采用视图描述软件架构IEEE1471“4+1”视图体系结构语言ADLUML熟练掌握并理解所有UML的图和适用场合

软件质量属性软件质量属性定义软件质量属性与功能、非功能性需求的关系软件质量属性情景定义、如何描述常见的质量属性可用性〔Availability〕可修改性〔Modifiability〕性能〔Performance〕平安性〔Security〕可测试性〔Testability〕易用性〔Usability〕其它质量属性

软件质量属性场景什么是质量属性场景?为什么要使用质量属性场景?刻画质量属性的手段,6局部组成:source–anentitythatgeneratesastimulusstimulus–aconditionthataffectsthesystemartifact–thepartofthatwasstimulatedbythestimulusenvironment–theconditionunderwhichthestimulusoccurredresponse–theactivitythatresultsbecauseofthestimulusresponsemeasure–themeasurebywhichthesystem’sresponsewillbeevaluated以一种统一标准的方式来表达“质量属性”的需求。

软件质量属性场景

Availabilitygeneralscenarios

Sampleavailabilityscenario

ModifiabilityGeneralScenarioPortionofScenarioPossibleValuesSourceEnduser,developer,systemadministratorStimulusWishestoadd/delete/modify/varyfunctionality,qualityattribute,capacityArtifactSystemuserinterface,platform,environment;systemthatinteroperateswithtargetsystemEnvironmentAtruntime,compiletime,buildtime,designtimeResponseLocatesplacesinarchitecturetobemodified;makesmodificationwithoutaffectingotherfunctionality;testsmodification;deploysmodificationResponseMeasureCostintermsofnumberofelementsaffected,effort,money;extenttowhichthisaffectsotherfunctionsorqualityattributes

Samplemodifiabilityscenario

PerformanceGeneralScenariosPortionofScenarioPossibleValuesSourceOneofanumberofindependentsources,possiblyfromwithinsystemStimulusPer

显示全部
相似文档