《软件体系结构》课件 15-课程总结_第1页
《软件体系结构》课件 15-课程总结_第2页
《软件体系结构》课件 15-课程总结_第3页
《软件体系结构》课件 15-课程总结_第4页
《软件体系结构》课件 15-课程总结_第5页
已阅读5页,还剩22页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

软件体系结构—课程总结软件体系结构课程组本节内容知识点串讲1体系结构设计案例讲解22架构师思维3体系结构定义软件体系结构定义不存在一个统一的定义各个流派对软件体系结构的定义重点关注 GarlanandShaw的定义:

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

SoftwareArchitecture= Components+Connectors+Constrains体系结构风格软件体系结构风格定义软件体系结构风格的描述常见的软件体系结构风格数据流顺序的批处理管道过滤器控制环路调用/返回主程序/子程序面向对象层次结构客户端/服务器体系结构风格以数据为中心(数据共享)数据存储(编译器的演化)黑板虚拟机解释器基于规则的系统其它独立组件通信进程事件(隐式调用)其它其它风格C2HMBDSSA基于软件体系结构的开发过程软件质量属性软件质量属性定义软件质量属性与功能、非功能性需求的关系软件质量属性情景定义如何描述常见的质量属性可用性(Availability)可修改性(Modifiability)性能(Performance)安全性(Security)可测试性(Testability)易用性(Usability)其它质量属性体系结构设计架构模式的应用常见质量属性的设计可用性(Availability)可修改性(Modifiability)性能(Performance)安全性(Security)可测试性(Testability)易用性(Usability)体系结构评估常见的体系结构评估方法重点掌握ATAMATAM的过程质量属性评估效用树(UtilityTree)风险/非风险、敏感点和权衡点的理解与应用案例讲解Acompanywantstodevelopasoftwaresystemusedinitsintranet(局域网).ThefunctionofthissystemsissameasWeiboandTwitter.Eachdepartment(部门)canpublishinformationaboutthedepartmentusingthissystem,andEmployeesinthecompanycanfollow(关注)oneormoredepartmentstoreceiveinformationpublishedbythesedepartments.Whenonedepartmentpublishesapieceofnewinformation,thesystemwillsendtheinformationtoallthefollowers(关注者)ofthisdepartment.Afteroneemployeeunfollowsonedepartment,he/shewillnotreceiveinformationpublishedbythisdepartmentinfutureFollowingaresomedetailedrequirementsofthissystem.

案例讲解Oneemployeecanfollowoneormoredepartments,andcanunfollowonedepartmentatanytime.Thetotalunavailabletimeofthesystemsshouldbelessthan10hoursinayear.Theaveragerecoverytimeofeachsystemfaultshouldbelessthanonehour.Thesystemcopiestheinterface(界面)ofWeibo,soit’seasytouse.Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.AhardwarefirewallisusedtoseparatethesystemfromtheInternet.Oneemployeecansendprivatemessagestoanotheremployeeusingthissystem.Theloadingtimefromanemployee’slogintodisplayinghis/herhomepageshouldbelessthan0.1s.Thesystemprovidesspecialinterfacestodoautomated(自动的)testing.

案例讲解Pleaseanalyzetherequirementsandcompletefollowing4questions:

a)Identifyandnametherelatedqualityattributesaccordingtothe

requirements.

b)Foreachqualityattribute,givethecorrespondingqualityattribute

scenario.

c)Foreachqualityattribute,listatleast2solutionsforarchivingthe

correspondingqualityattribute.

d)Accordingtotherequirements,whichsoftwarearchitecturestyle

isbetterforthissystem?Describethereasonandlisttheadvantages

anddisadvantagesofarchitecturestyleyouchooseforthesystem.第一步:去伪存真Oneemployeecanfollowoneormoredepartments,andcanunfollowonedepartmentatanytime.Thetotalunavailabletimeofthesystemsshouldbelessthan10hoursinayear.Theaveragerecoverytimeofeachsystemfaultshouldbelessthanonehour.Thesystemcopiestheinterface(界面)ofWeibo,soit’seasytouse.Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.AhardwarefirewallisusedtoseparatethesystemfromtheInternet.Oneemployeecansendprivatemessagestoanotheremployeeusingthissystem.Theloadingtimefromanemployee’slogintodisplayinghis/herhomepageshouldbelessthan0.1s.Thesystemprovidesspecialinterfacestodoautomated(自动的)testing.第二步:归类Thetotalunavailabletimeofthesystemsshouldbelessthan10hoursinayear.Theaveragerecoverytimeofeachsystemfaultshouldbelessthanonehour.(可用性)Thesystemcopiestheinterface(界面)ofWeibo,soit’seasytouse.(易用性)Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.(可修改性)AhardwarefirewallisusedtoseparatethesystemfromtheInternet.(安全性)Theloadingtimefromanemployee’slogintodisplayinghis/herhomepageshouldbelessthan0.1s.(性能)Thesystemprovidesspecialinterfacestodoautomated(自动的)testing.(可测试性)第三步:六要素法描述质量属性场景Thetotalunavailabletimeofthesystemsshouldbelessthan10hoursinayear.Theaveragerecoverytimeofeachsystemfaultshouldbelessthanonehour.(可用性)Thesystemcopiestheinterface(界面)ofWeibo,soit’seasytouse.(易用性)Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.(可修改性)AhardwarefirewallisusedtoseparatethesystemfromtheInternet.(安全性)Theloadingtimefromanemployee’slogintodisplayinghis/herhomepageshouldbelessthan0.1s.(性能)Thesystemprovidesspecialinterfacestodoautomated(自动的)testing.(可测试性)第三步:六要素法描述质量属性场景Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.(可修改性)第四步:针对质量属性要求给出设计策略Thetotalunavailabletimeofthesystemsshouldbelessthan10hoursinayear.Theaveragerecoverytimeofeachsystemfaultshouldbelessthanonehour.(可用性)Thesystemcopiestheinterface(界面)ofWeibo,soit’seasytouse.(易用性)Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.(可修改性)AhardwarefirewallisusedtoseparatethesystemfromtheInternet.(安全性)Theloadingtimefromanemployee’slogintodisplayinghis/herhomepageshouldbelessthan0.1s.(性能)Thesystemprovidesspecialinterfacestodoautomated(自动的)testing.(可测试性)可用性策略总结可修改性策略总结性能策略总结安全性策略总结可测试性策略总结易用性策略总结第四步:抓住主要矛盾,给出建议风格Acompanywantstodevelopasoftwaresystemusedinitsintranet(局域网).ThefunctionofthissystemsissameasWeiboandTwitter.Eachdepartment(部门)canpublishinformationaboutthedepartmentusingthissystem,andEmployeesinthecompanycanfollow(关注)oneormoredepartmentstoreceiveinformationpublishedbythesedepartments.Whenonedepartmentpublishesapieceofnewinformation,thesystemwillsendtheinformationtoallthefollowers(关注者)ofthisdepartment.Afteroneemployeeunfollowsonedepartment,he/shewillnotreceiveinformationpublishedbythisdepartmentinfuture

第四步:抓住主要矛盾,给出建议风格Acompanywantstodevelopasoftwaresystemusedinitsintranet(局域网).ThefunctionofthissystemsissameasWeiboandTwitter.

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论