已阅读5页,还剩43页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Software Architecture Wang hunan Date1Software Architecture 4: Creating an Architecture: Understanding Quality Attributes Date2Software Architecture *3 Topics lFunctionality and Architecture lArchitecture and Quality Attributes lSystem Quality Attributes lQuality Attribute Scenarios in Practice lOther System Quality Attributes lBusiness Qualities lArchitecture Qualities lExercise Date3Software Architecture *4 Functionality and Architecture lFunctionality and quality attributes are orthogonal lFunctionality may be achieved through the use of any of a number of possible structures. lfunctionality is largely independent of structure. lSoftware architecture constrains its allocation to structure when other quality attributes are important. Date4Software Architecture * Architecture and Quality Attributes lAchieving quality attributes must be considered throughout design, implementation, and deployment. lUsability involves both architectural and nonarchitectural aspects. lModifiability is determined by how functionality is divided (architectural) and by coding techniques within a module (nonarchitectural). lPerformance involves both architectural and nonarchitectural dependencies. Date5Software Architecture * quality attributes can never be achieved in isolation. lsecurity and reliability often exist in a state of mutual tension lPoints of failure lalmost every quality attribute negatively affects performance Date6Software Architecture * Quality Attributes lQualities of the system. lavailability, lmodifiability, lperformance lsecurity, ltestability, lusability. lBusiness qualities lArchitecture qualities Date7Software Architecture * Three problems for Design Architecture lThe definitions provided for an attribute are not operational. lA focus of discussion is often on which quality a particular aspect belongs to. lEach attribute community has developed its own vocabulary. lThe performance community has “events“ arriving at a system, lthe security community has “attacks“ arriving at a system, lthe availability community has “failures“ of a system, lThe usability community has “user input.“ Date8Software Architecture * Quality Attribute Scenario lA quality attribute scenario is a (Testable) quality -attribute-specific requirement. Date9Software Architecture * general scenarios and concrete scenarios lgeneral quality attribute scenarios (general scenarios)those that are system independent and can, potentially, pertain to any system; lconcrete quality attribute scenarios (concrete scenarios)those that are specific to the particular system under consideration. Date10Software Architecture *11 Availability Scenario lAvailability general scenarios Date11Software Architecture *12 Sample availability scenario lConcrete scenarios play the same role in the specification of quality attribute requirements that use cases play in the specification of functional requirements. Date12Software Architecture Example: 刺激源 刺激 制品 响应 响应度量 环境 荨蔴 疼痛 手 正常状态 缩手 在0.1s内 完成缩手 Date13Software Architecture *14 QUALITY ATTRIBUTE SCENARIO GENERATION la systems quality attribute requirements are seldom elicited and recorded in a disciplined way. lremedy this situation by generating concrete quality attribute scenarios. lquality-attribute-specific tables: general scenarios, checklist Date14Software Architecture * Topics lFunctionality and Architecture lArchitecture and Quality Attributes lSystem Quality Attributes lQuality Attribute Scenarios in Practice lOther System Quality Attributes lBusiness Qualities lArchitecture Qualities Date15Software Architecture * Quality Attribute Scenarios in Practice lAvailability, lModifiability, lPerformance lSecurity, lTestability, lUsability. Date16Software Architecture * AVAILABILITY lAvailability is concerned with system failure and its associated consequences. l A system failure occurs when the system no longer delivers a service consistent with its specification. lSuch a failure is observable by the systems userseither humans or other systems. lWe need to differentiate between failures and faults. Date17Software Architecture *Software Architecture: Module 118 Availability General Scenario Generation Date18Software Architecture *19 Availability General Scenario Generation (Cont.) Date19Software Architecture * MODIFIABILITY lModifiability is about the cost of change. lWhat can change (the artifact)? lthe functions, the platform, the environment, the qualities, and its capacity etc.). lWhen is the change made and who makes it (the environment)? limplementation , during compile, during build (by choice of libraries), during configuration setup, or during execution (by parameter setting). Date20Software Architecture *Software Architecture: Module 121 Modifiability General Scenario Generation Date21Software Architecture * Sample modifiability scenario Date22Software Architecture * PERFORMANCE lPerformance is about timing. lperformance is concerned with how long it takes the system to respond when an event occurs. lthe number of event sources and arrival patterns make performance complicated. lAn arrival pattern for events may be characterized as either periodic or stochastic. Date23Software Architecture *Software Architecture: Module 124 PERFORMANCE Date24Software Architecture * Sample performance scenario Date25Software Architecture * SECURITY lSecurity is a measure of the systems ability to resist unauthorized usage while still providing its services to legitimate users. Date26Software Architecture * Security Characterized 1. Non repudiation 认可 is the property that a transaction (access to or modification of data or services) cannot be denied by any of the parties to it. 2. Confidentiality机密性 is the property that data or services are protected from unauthorized access. 3. Integrity完整性 is the property that data or services are being delivered as intended. 4. Assurance保证 is the property that the parties to a transaction are who they purport to be. 5. Availability可用性 is the property that the system will be available for legitimate use. 6. Auditing审核 is the property that the system tracks activities within it at levels sufficient to reconstruct them. Date27Software Architecture * Security General Scenario Generation Date28Software Architecture * Security General Scenario Generation (Cont.) Date29Software Architecture * Security General Scenario Generation (Cont.) lResponse lAuthenticates user; lhides identity of the user; lblocks access to data and/or services; l allows access to data and/or services; lgrants or withdraws permission to access data and/or services; lRecords access/modifications or attempts to access/modify data/services by identity; l stores data in an unreadable format; lrecognizes an unexplainable high demand for services, and informs a user or another system, and restricts availability of services Date30Software Architecture * Security General Scenario Generation (Cont.) lResponse Measure lTime/effort/resources required to circumvent security measures with probability of success; lprobability of detecting attack; lprobability of identifying individual responsible for attack or access/modification of data and/or services; lpercentage of services still available under denial- of-services attack; lrestore data/services; lextent to which data/services damaged and/or legitimate access denied Date31Software Architecture * Sample security scenario Date32Software Architecture * TESTABILITY lSoftware testability refers to the ease with which software can be made to demonstrate its faults through (typically execution-based) testing. lAt least 40% of the cost of developing well- engineered systems is taken up by testing. If the software architect can reduce this cost, the payoff is large. Date33Software Architecture * Testability General Scenario Generation Date34Software Architecture * Testability General Scenario Generation (Cont.) Date35Software Architecture Sample of Testability scenario l场景样例:单元测试人员在一个已完成 系统组件上执行单元测试 刺激源: 刺激: 制品: 响应: 响应度量: 环境: 单元测 试人员 执行单 元测试 系统中 的组件 在组件 完成时 组件具有控 制行为的接 口并且组件 的输出是可 观察的 在3小时内 测试了85% 的路径 Date36Software Architecture * USABILITY lUsability is concerned with how easy it is for the user to accomplish a desired task and the kind of user support the system provides. lLearning system features. lUsing a system efficiently. lMinimizing the impact of errors. lAdapting the system to user needs. lIncreasing confidence and satisfaction. Date37Software Architecture *Software Architecture: Module 138 Usability General Scenario Generation Date38Software Architecture *Software Architecture: Module 139 Usability General Scenario Generation (Cont.) Date39Software Architecture * Sample usability scenario Date40Software Architecture *Software Architecture: Module 141 COMMUNICATING CONCEPTS USING GENERAL SCENARIOS Date41Software Architecture * Other System Quality Attributes lcaptured other Quality Attributes in six scenarios lscalability is captured by modifying system capacitythe number of users supported, for example. l Portability is captured as a platform modification. lit is reasonable to create your own general scenario for some Quality Attribute linteroperability Date42Software Architecture * Business Qualities lTime to market. lCost and benefit. lProjected lifetime of the system. lTargeted market. lPlatform, feature, products line lRollout schedule. lIntegration with legacy systems. Date43Software Architecture * Sample: Time to market scenario 刺激源: 刺激: 制品: 响应: 响应度量: 环境: 市场竞争 加快开发 开发 组织 正常开 发中 尽量使用 已有技术 使用
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 电商运营团队主管电商活动策划绩效评定表
- 2025年中国自助服务终端行业市场动态分析、发展方向及投资前景分析报告
- 科研成果可靠性与有效性承诺书7篇范文
- 六年级下册期末数学重点小学题目经典答案
- 实习协议书合同模板
- 学校交费协议书范本
- 展厅合伙协议书模板
- 学校采购意向协议书
- 家庭灯具置换协议书
- 大棚蔬菜采购协议书
- 2025秋统编版小学道德与法治四年级上册期末测试卷附答案(共三套)
- 2025年厨房安全教育试卷及答案
- 中国过敏性哮喘诊治指南2025年解读
- 2025雇佣短期驾驶员合同
- (2025年)全市民行检察业务竞赛试题及答案
- 2025云南楚雄州元谋县产业投资集团有限公司员工招聘公17人告笔试历年常考点试题专练附带答案详解试卷3套
- 2025四川宜宾市公用事业服务集团有限公司及其子公司第一批员工招聘26人笔试考试备考试题及答案解析
- 2025年工会年终工作总结范文(5篇)
- 冬季防冻安全课件
- 半导体设备系列介绍
- 2025年供电局配网线损题库及答案
评论
0/150
提交评论