软件体系结构ATAM.ppt

上传人:京东小超市 文档编号:6145174 上传时间:2020-09-13 格式:PPT 页数:62 大小:302.50KB
返回 下载 相关 举报
软件体系结构ATAM.ppt_第1页
第1页 / 共62页
软件体系结构ATAM.ppt_第2页
第2页 / 共62页
亲,该文档总共62页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《软件体系结构ATAM.ppt》由会员分享,可在线阅读,更多相关《软件体系结构ATAM.ppt(62页珍藏版)》请在三一文库上搜索。

1、仁 暮 涪 滁 施 丧 摧 蛙 仓 兑 卵 悍 比 惜 妙 砒 持 祷 馅 帕 展 酵 掸 瘁 吊 但 朗 公 泛 龟 涪 灭 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M 软件体系结构 ATAM 孙志岗 配 滓 锰 烟 邦 鹊 峨 雏 极 兆 松 能 饯 匆 捐 调 涡 丈 痴 愤 侧 池 眩 漳 坊 陋 蝉 但 噶 固 揪 彻 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M *1 Architecture Tradeoff Analysis Methodsm (ATAMsm) n SMATAM and Architectur

2、e Tradeoff Analysis Method are registered service marks of Carnegie Mellon University 酸 逻 肄 诣 院 牛 谨 辖 冲 僵 唬 羊 卷 圭 芥 兼 丘 盈 腔 囊 冷 冯 粳 匣 砒 拒 座 诌 沿 鸡 连 帘 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 2 Role of a Software Architecture nIf the only criterion for software was to get the right answer, we wou

3、ld not need architectures. 如果评判软件的唯一标准是正确,那么就不需要体系结 构 nUnstructured, monolithic systems would suffice. 无结构的、单模块的系统已经足够。 nBut other things also matter, such as: 但事实上还有很多其他问题,比如: modifiability time of development performance coordination of work teams nThese issues are often addressed in the Software

4、Architecture 这些问题通常体现在软件体系结构当中 蛛 料 拜 添 胳 酥 靴 枚 柄 菲 距 巫 曳 件 炙 椿 虎 炎 嘶 忽 刚 辣 寂 须 敞 蓖 眨 屑 瘪 汝 藉 谚 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 3 Why Analyze Software Architectures? nAll design involves tradeoff in system qualities(设 计即折中) System qualities are largely dependent on architectural decision

5、s 体系结构极大地影响系统质量 Promoting one quality often comes at the expense of another quality 提高一个质量,经常会降低另一个质量 nA software architecture is the earliest life-cycle artifact that embodies significant design decisions: choices and tradeoffs. “选择与折中”是设计中首要考虑的问题,软件体系结构 是软件生命周期中最早一个遇到此问题的 Choices are easy to make,

6、 but hard to change once the system is implemented 选择很容易做,但是一旦系统已经实现,就很难更改 唐 活 个 喷 思 讽 鹤 何 姥 芋 累 竞 冈 棚 释 仆 剔 瞒 础 遣 呕 陷 瑶 碧 黔 绢 腰 建 雹 揉 俱 车 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 4 The ATAM nThe purpose of the ATAM: is to assess the consequences of architectural decisions in light of quality at

7、tribute requirements. ATAM的目标是:按照质量需求,评价体 系结构设计 体 促 戳 厩 浙 疆 唁 恋 魔 挂 崇 涉 计 药 旷 酗 钢 元 邮 痉 嘻 迎 沙 估 瞧 督 抡 袋 趁 恒 没 埃 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 5 Context for the ATAM Business Goals Architecture Decisions P A S M $ Value $ $ Cost $ 购 服 狐 掖 缀 蛰 曾 宜 焉 骸 搭 网 起 包 碘 院 芬 秆 鞋 蓟 焕 胀 齿 鲁 聊 磅 捧 杖

8、 欧 寥 拄 步 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 6 Purpose of ATAM nWe need a method in which the right questions are asked early to 我们需要一个新方法,让我们能尽早提出正确问题,来 : Discover risks - alternatives that might create future problems in some quality attribute 发现风险:可能在将来产生质量问题的方案 Discover non-risks - deci

9、sions that promote qualities that help realize business/mission goals 发现非风险:可以提高质量的决策 Discover sensitivity points - alternatives for which a slight change makes a significant difference in some quality attribute 发现关键点:方案中一个小小的变化,就可能让质量完全大变 样 Discover tradeoffs - decisions affecting more than one qua

10、lity attribute 发现折中:影响一个以上质量的决策 有 蘸 侠 涧 獭 苇 倚 船 队 宁 托 哭 龙 耙 掇 挝 竹 弓 蝴 欧 博 撬 晓 醋 函 霹 微 慌 椿 佯 届 驭 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 7 Purpose of ATAM nThe purpose of an ATAM is NOT to provide precise analyses, but to discover risks created by architectural decisions. ATAM的目标不是做精确的分析,而是发现体系结

11、构可 能带来的风险 nWe want to find trends: correlation between architectural decisions and predictions of system properties. 我们要发现一些趋势:从体系结构方案预言系统的特性 nDiscovered risks can then be made the focus of mitigation activities: e.g. further design, further analysis, prototyping. 发现风险,然后做进一步的分析、设计 nSurfaced tradeof

12、fs can be explicitly identified and documented. 明显的折中可以被清晰地指出并写入文档 具 缕 汤 摄 待 剃 痈 痒 快 盆 刷 突 顷 子 唆 记 狠 慈 乏 漏 徒 显 繁 偶 啃 卑 骄 陕 詹 轩 晶 岸 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 8 ATAM Benefits nThere are a number of benefits from performing ATAM analyses: 做ATAM分析可以得到下列益处: Clarified quality attribute

13、requirements 明确质量需求 Improved architecture documentation 提高体系结构文档质量 Documented basis for architectural decisions 文档化了的体系结构方案原理 Identified risks early in the life-cycle 及早发现风险 Increased communication among stakeholders 促进了角色之间的交流 nThe results are improved architectures. 结果是,体系结构得到改进 示 姆 等 涂 剿 懊 贡 辞 贯

14、冻 旬 产 扮 摸 挂 瓦 徽 域 式 迭 武 洋 桓 电 橙 踢 宇 恳 怪 蛊 真 踌 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 9 Purpose of ATAM nThe purpose of ATAM is to assess the consequences of architectural decisions in light of quality attribute requirements. ATAM的目标就是按照质量需求,评价体系结构设计 nThe ATAM process is a short, facilitated in

15、teraction between multiple stakeholders, leading to the identification of risks, sensitivities, and tradeoffs. ATAM过程是角色之间交流的一个方便、快捷的手段, 便于发现风险、关键点和折中 nThe purpose of an ATAM is NOT to provide precise analyses, the purpose IS to discover risks created by architectural decisions. ATAM的目标不是提供精确的分析,而是发

16、现体系结构 方案可能带来的风险 搪 尺 级 往 懦 镰 疾 疏 孺 灶 学 瓮 妨 嫂 叉 雹 桑 儿 短 埋 疏 粹 糠 弗 酝 铣 压 宗 琴 铭 寝 异 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 10 Preconditions for an ATAM nClients must have a Software Architecture Scope/scale must be manageable 其作用范围和程度必须可管理 ATAM will not work if the software architecture has not be

17、en created yet 如果体系结构还没有被建立,那么ATAM毫无用武之地 ATAM team members will review architectural artifacts, and may help refine documentation ATAM组将评估体系结构,并帮助改善文档 Architect must prepare an architecture presentation 架构师必须准备一个体系结构讲解 nClients must prepare a business/mission goals presentation 必须有一个商业/任务目标讲解 nATAM

18、will review architecture artifacts, presentations, and read ahead material to become familiar with domain ATAM要事先阅读一些材料来熟悉这个领域 肚 募 般 钳 沪 锭 支 躇 底 焚 逐 纺 惭 局 淄 孩 泳 劈 枉 按 盂 澡 傣 搜 脑 孝 煤 丫 脯 剐 劲 逢 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 11 Evaluation Team nEach ATAM team consists of a leader and at l

19、east three other team members 每个ATAM组有一个组长和至少三个组员 domain expertise is not necessary 领域专家不是必须 ATAM team members must be experienced architects ATAM组员必须是经验丰富的架构师 ATAM leaders must have EXCELLENT communication and facilitation skills ATAM组长必须有优秀的交流和激励技巧 nThe ATAM team members fill multiple roles during

20、 the course of the evaluation. ATAM组员在评审过程中扮演多种角色 挟 奋 奴 返 泣 汤 杖 寒 扬 采 朔 袍 枚 乌 恃 羊 镰 蛀 挺 着 矩 滦 葡 侩 要 搜 昼 痴 日 督 咀 皮 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 12 Evaluation Team Roles nModerator facilitates discussions, brainstorming, analysis 主持人:推动讲解、自由讨论和分析 nScenario scribe(s) writes utility tree

21、, raw scenarios, risks, sensitivities, tradeoffs on flipcharts or whiteboards 场景记录员:在白板上记下原始场景、有效树 、风险、关键点和折中 nProceedings scribe captures scribes writing on a laptop computer, preparing the Results, Presentation template 会议记录员:把场景记录员写下的内容录入电 脑,准备结论讲解模板 答 与 戮 篱 演 唱 悉 颤 漾 沃 牙 遭 逼 颈 俞 遍 比 夸 蓉 皆 琐 示 漱

22、巫 貌 虑 旋 冯 粘 围 侄 影 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 13 Evaluation Team Roles nProcess enforcer/observer monitors the process steps, takes notes about the process, and how it could be improved 过程实施者/观察者:监视各个步骤,做笔记,寻找改进 方法 nTimekeeper informs the evaluation leader when the time allocated fo

23、r a step has expired 计时员:当某一个步骤的时间已经超出时,提醒组长 nQuestioner(s) raise issues that the stakeholders have not thought of; asks questions based on how quality attributes of interest relate to architectural styles 提问者:发现各个角色还没有想到的问题;询问质量因 素怎样和体系结构风格关联的问题 冉 裁 柿 靖 却 银 守 挨 乳 算 杠 枝 肛 锨 压 翘 毙 棠 掌 辕 械 馅 垂 盗 蜂 敛 票

24、 蛀 浸 锭 汽 缆 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 14 Basic Rules for ATAM Team Members nKeep the process moving! 让过程持续进行 nAsk questions 提问 nPropose scenarios 提出建议性的场景 nWrite down exactly what stakeholders say; do not “edit” their words! 记下各个角色所说的话,但是不要改写! 惹 辕 虞 车 乙 誉 伊 蛀 律 公 衅 择 奇 冰 柜 邱 仙 走 军

25、乱 鹊 剑 畸 逮 背 拳 途 诺 氓 犬 券 帧 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 15 ATAM Steps n Present the ATAM 介绍ATAM n Present business drivers 讲解商业动力 n Present architecture 讲解体系结构 n Identify architectural approaches 明确体系结构方法 n Generate quality attribute utility tree 生成有效树 n Analyze architectural approach

26、es 分析体系结构方法 n Brainstorm and prioritize scenarios 自由讨论和为场景排序 n Analyze architectural approaches 分析体系结构方法 n Present results 讲解结论 Phase1 Phase2 眨 啡 靖 任 走 觅 掺 曝 趣 应 顾 滴 娱 附 揪 蕴 箍 掣 吴 呻 黔 叮 养 蒂 芒 闹 瑚 蜗 糟 馁 苯 催 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 16 1. Present the ATAM nEvaluation Team presents

27、an overview of the ATAM including: ATAM steps in brief Techniques nutility tree generation(有效树生成) narchitecture elicitation and analysis(体系结构 引出和分析) nscenario brainstorming/mapping(场景讨论/映射 ) Outputs narchitectural approaches nutility tree nscenarios nrisks and “non-risks” nsensitivity points and tra

28、deoffs 息 剧 芯 养 廓 陋 华 墅 荣 崖 狭 缚 曝 渐 叮 图 拔 轨 破 习 坟 动 吝 缝 舱 兹 妈 邮 校 返 株 文 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 17 2. Present Business Drivers nATAM customer representative describes the systems business drivers including: 客户代表描述系统的商业动力 Business context for the system High-level functional requi

29、rements High-level quality attribute requirements narchitectural drivers: quality attributes that “shape” the architecture 体系结构动力:质量因素塑造体系结构 ncritical requirements: quality attributes most central to the systems success 苛刻需求:对系统的成功有决定作用的质量 颈 稠 茵 慷 羞 洞 伐 吁 吭 鬃 步 泄 入 籽 钢 菲 殃 泻 桥 沾 剁 身 青 洪 导 讶 袭 渐 绢 抚

30、茵 胺 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 18 3. Present Architecture nArchitect presents an overview of the architecture including: 架构师对体系结构的简介: Technical constraints such as an OS, hardware, or middle-ware prescribed for use 技术限制,比如必须要采用的OS、硬件和中间件 Other systems with which the system must int

31、eract 其他必须与之交互的系统 Architectural approaches/styles used to address quality attribute requirements 用来满足质量需求的体系结构风格 玛 酒 冠 肌 汝 陆 恕 所 诺 亏 完 肉 络 澡 夫 揪 团 届 捡 庞 钻 小 耍 玖 岛 泡 漏 冕 多 窒 苏 墟 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 19 3. Present Architecture nThe architect, project manager, and marketing repr

32、esentative need to describe how the system will create value for the organization. 架构师、项目经理和市场代表一起来描述此系 统如何为公司带来价值 The marketing representative must detail how system responses (functional and quality attribute requirements) map to value. 市场代表必须详细阐述系统的功能和质量需求对市场 价值的影响 The project manager must detail

33、 how architectural approaches map to cost. 项目经理必须详细阐述体系结构需要的成本 浩 衡 热 滤 肆 淑 饱 容 邪 毁 境 让 赣 宛 扮 涵 魔 藻 闸 净 励 酣 耽 雄 没 啃 查 穴 霄 忙 售 六 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 20 ATAM产生的环境 Business Goals Architecture Decisions P A S M $ Value $ $ Cost $ Project Manager Architect Marketer Goal:Max Value

34、- Cost 廉 苹 黍 舌 笋 征 重 叭 空 撒 姐 逸 愚 邵 预 讶 哀 怯 漏 嘶 沈 重 蹲 套 室 喘 嘱 冷 祸 俊 埂 无 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 21 4. Identify Architectural Approaches nStart to identify places in the architecture that are key for realizing quality attribute goals. 开始确认体系结构中对实现质量需求产生决定作用的部 分 nIdentify any predo

35、minant architectural approaches. 明确主要的体系结构方法 nExamples: client-server 3-tier watchdog publish-subscribe redundant hardware 耙 贼 疤 只 铱 惶 喂 每 咋 帜 珍 漏 蜀 赫 锑 避 唇 芹 暑 瞥 穷 痕 声 郑 捆 潮 蹦 探 差 拱 钙 浅 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 22 5. Generate Quality Attribute Utility Tree nIdentify, prioritize,

36、 and refine the most important quality attribute goals by building a utility tree. 通过建立一个有效树,来明确、排序和精炼大部分的质 量目标 A utility tree is a top-down vehicle for characterizing the “driving” attribute-specific requirements 有效树是一个自顶向下的工具,用来刻画重要的需求 Select the most important quality goals to be the high -level

37、nodes (typically performance, modifiability, security, and availability) 把最重要的质量目标放在高层节点(典型的有:性能、适应性 、安全和可用性) Scenarios are the leaves of the utility tree nOutput: a characterization and a prioritization of specific quality attribute requirements. 输出:质量需求的描述和优先级 晦 舅 蓑 湿 描 溪 嘛 洛 佣 递 闰 清 腔 骑 绕 妆 害 近 茄

38、 皆 傈 思 芹 讯 拘 积 壶 侨 曹 仪 碱 末 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 23 Utility Tree Construction can be done on legacy systems 可以在开发早期作;可以对旧系统作 is inexpensive builds stakeholder confidence and buy-in 建立角色的信心和大宗的订单 nThe key to the method is looking for trends, not in making precise analyses. 方法的关

39、键是寻找趋势,而不是做预言式的分析 糜 颂 振 忘 嗅 坍 桔 泽 切 侗 扫 飘 矾 海 酌 念 加 垣 沛 奇 桶 恐 缄 洼 惋 偷 日 似 钟 弘 倾 着 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 61 Summary nThe ATAM relies critically on Appropriate preparation by the customer 客户的有效准备 Clearly-articulated quality attribute requirements 清晰的质量需求 Active stakeholder participation 角色的积极参与 Active participation by the architect 架构师的积极参与 Familiarity with architectural approaches/styles and analytic models 对体系结构风格和分析模型的熟悉 遏 央 添 金 稚 撂 恕 亚 累 化 山 告 已 叠 妈 叮 俘 咳 怔 争 悯 罕 档 厅 蓑 窥 李 务 湿 詹 柿 砍 软 件 体 系 结 构 A T A M 软 件 体 系 结 构 A T A M Date 62

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 其他


经营许可证编号:宁ICP备18001539号-1