ImageVerifierCode 换一换
格式:PPTX , 页数:54 ,大小:903.44KB ,
资源ID:9736677      下载积分:14 金币
快捷注册下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/9736677.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

开通VIP折扣优惠下载文档

            查看会员权益                  [ 下载后找不到文档?]

填表反馈(24小时):  下载求助     关注领币    退款申请

开具发票请登录PC端进行申请

   平台协调中心        【在线客服】        免费申请共赢上传

权利声明

1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

注意事项

本文(软件工程与体系结构.pptx)为本站上传会员【精***】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4009-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

软件工程与体系结构.pptx

1、Click to edit Master title style,2020/2/7,Chapter 6 Architectural design,#,Chapter 6 Architectural design,Chapter 6 Architectural Design,Lecture 1,1,Chapter 6 Architectural design,Topics covered,Architectural design decisions,Architectural views,Architectural patterns,Application architectures,2,Cha

2、pter 6 Architectural design,Software architecture,The design process for identifying the sub-systems making up a system and the framework for sub-system control and communication is,architectural design,.,The output of this design process is a description of the,software architecture.,3,Chapter 6 Ar

3、chitectural design,Architectural design,An early stage of the system design process.,Represents the link between specification and design processes.,Often carried out in parallel with some specification activities.,It involves identifying major system components and their communications.,4,Chapter 6

4、 Architectural design,The architecture of a packing robot control system,5,Chapter 6 Architectural design,Architectural abstraction,Architecture in the small,is concerned with the architecture of individual programs.At this level,we are concerned with the way that an individual program is decomposed

5、 into components.,Architecture in the large,is concerned with the architecture of complex enterprise systems that include other systems,programs,and program components.These enterprise systems are distributed over different computers,which may be owned and managed by different companies.,6,Chapter 6

6、 Architectural design,Advantages of explicit architecture,Stakeholder communication,Architecture may be used as a focus of discussion by system stakeholders.,System analysis,Means that analysis of whether the system can meet its non-functional requirements is possible.,Large-scale reuse,The architec

7、ture may be reusable across a range of systems,Product-line architectures may be developed.,7,Chapter 6 Architectural design,Architectural representations,Simple,informal block diagrams showing entities and relationships are the most frequently used method for documenting software architectures.,But

8、 these have been criticised because they lack semantics,do not show the types of relationships between entities nor the visible properties of entities in the architecture.,Depends on the use of architectural models.The requirements for model semantics depends on how the models are used.,8,Chapter 6

9、Architectural design,Box and line diagrams,Very abstract-they do not show the nature of component relationships nor the externally visible properties of the sub-systems.,However,useful for communication with stakeholders and for project planning.,9,Chapter 6 Architectural design,Use of architectural

10、 models,As a way of facilitating discussion about the system design,A high-level architectural view of a system is useful for communication with system stakeholders and project planning because it is not cluttered with detail.Stakeholders can relate to it and understand an abstract view of the syste

11、m.They can then discuss the system as a whole without being confused by detail.,As a way of documenting an architecture that has been designed,The aim here is to produce a complete system model that shows the different components in a system,their interfaces and their connections.,10,Chapter 6 Archi

12、tectural design,Architectural design decisions,Architectural design is a creative process so the process differs depending on the type of system being developed.,However,a number of common decisions span all design processes and these decisions affect the non-functional characteristics of the system

13、11,Chapter 6 Architectural design,Architectural design decisions,Is there a generic application architecture that can be used?,How will the system be distributed?,What architectural styles are appropriate?,What approach will be used to structure the system?,How will the system be decomposed into m

14、odules?,What control strategy should be used?,How will the architectural design be evaluated?,How should the architecture be documented?,12,Chapter 6 Architectural design,Architecture reuse,Systems in the same domain often have similar architectures that reflect domain concepts.,Application product

15、lines are built around a core architecture with variants that satisfy particular customer requirements.,The architecture of a system may be designed around one of more architectural patterns or styles.,These capture the essence of an architecture and can be instantiated in different ways.,Discussed

16、later in this lecture.,13,Chapter 6 Architectural design,Architecture and system characteristics,Performance,Localise critical operations and minimise communications.Use large rather than fine-grain components.,Security,Use a layered architecture with critical assets in the inner layers.,Safety,Loca

17、lise safety-critical features in a small number of sub-systems.,Availability,Include redundant components and mechanisms for fault tolerance.,Maintainability,Use fine-grain,replaceable components.,14,Chapter 6 Architectural design,Architectural views,What views or perspectives are useful when design

18、ing and documenting a systems architecture?,What notations should be used for describing architectural models?,Each architectural model only shows one view or perspective of the system.,It might show how a system is decomposed into modules,how the run-time processes interact or the different ways in

19、 which system components are distributed across a network.For both design and documentation,you usually need to present multiple views of the software architecture.,15,Chapter 6 Architectural design,4+1 view model of software architecture,A logical view,which shows the key abstractions in the system

20、 as objects or object classes.,A process view,which shows how,at run-time,the system is composed of interacting processes.,A development view,which shows how the software is decomposed for development.,A physical view,which shows the system hardware and how software components are distributed across

21、 the processors in the system.,Related using use cases or scenarios(+1),16,Chapter 6 Architectural design,Architectural patterns,Patterns are a means of representing,sharing and reusing knowledge.,An architectural pattern is a stylized description of good design practice,which has been tried and tes

22、ted in different environments.,Patterns should include information about when they are and when the are not useful.,Patterns may be represented using tabular and graphical descriptions.,17,Chapter 6 Architectural design,The Model-View-Controller(MVC)pattern,Name,MVC(Model-View-Controller),Descriptio

23、n,Separates presentation and interaction from the system data.The system is structured into three logical components that interact with each other.The Model component manages the system data and associated operations on that data.The View component defines and manages how the data is presented to th

24、e user.The Controller component manages user interaction(e.g.,key presses,mouse clicks,etc.)and passes these interactions to the View and the Model.See Figure 6.3.,Example,Figure 6.4 shows the architecture of a web-based application system organized using the MVC pattern.,When used,Used when there a

25、re multiple ways to view and interact with data.Also used when the future requirements for interaction and presentation of data are unknown.,Advantages,Allows the data to change independently of its representation and vice versa.Supports presentation of the same data in different ways with changes m

26、ade in one representation shown in all of them.,Disadvantages,Can involve additional code and code complexity when the data model and interactions are simple.,18,Chapter 6 Architectural design,The organization of the Model-View-Controller,19,Chapter 6 Architectural design,Web application architectur

27、e using the MVC pattern,20,Chapter 6 Architectural design,Layered architecture,Used to model the interfacing of sub-systems.,Organises the system into a set of layers(or abstract machines)each of which provide a set of services.,Supports the incremental development of sub-systems in different layers

28、When a layer interface changes,only the adjacent layer is affected.,However,often artificial to structure systems in this way.,21,Chapter 6 Architectural design,The Layered architecture pattern,Name,Layered architecture,Description,Organizes the system into layers with related functionality associa

29、ted with each layer.A layer provides services to the layer above it so the lowest-level layers represent core services that are likely to be used throughout the system.See Figure 6.6.,Example,A layered model of a system for sharing copyright documents held in different libraries,as shown in Figure 6

30、7.,When used,Used when building new facilities on top of existing systems;when the development is spread across several teams with each team responsibility for a layer of functionality;when there is a requirement for multi-level security.,Advantages,Allows replacement of entire layers so long as th

31、e interface is maintained.Redundant facilities(e.g.,authentication)can be provided in each layer to increase the dependability of the system.,Disadvantages,In practice,providing a clean separation between layers is often difficult and a high-level layer may have to interact directly with lower-level

32、 layers rather than through the layer immediately below it.Performance can be a problem because of multiple levels of interpretation of a service request as it is processed at each layer.,22,Chapter 6 Architectural design,A generic layered architecture,23,Chapter 6 Architectural design,The architect

33、ure of the LIBSYS system,24,Chapter 6 Architectural design,Key points,A software architecture is a description of how a software system is organized.,Architectural design decisions include decisions on the type of application,the distribution of the system,the architectural styles to be used.,Archit

34、ectures may be documented from several different perspectives or viewssuch as a conceptual view,a logical view,a process view,and a development view.,Architectural patterns are a means of reusing knowledge about generic system architectures.They describe the architecture,explain when it may be used

35、and describe its advantages and disadvantages.,25,Chapter 6 Architectural design,Chapter 6 Architectural Design,Lecture 2,26,Chapter 6 Architectural design,Repository architecture,Sub-systems must exchange data.This may be done in two ways:,Shared data is held in a central database or repository and

36、 may be accessed by all sub-systems;,Each sub-system maintains its own database and passes data explicitly to other sub-systems.,When large amounts of data are to be shared,the repository model of sharing is most commonly used a this is an efficient data sharing mechanism.,27,Chapter 6 Architectural

37、 design,The Repository pattern,Name,Repository,Description,All data in a system is managed in a central repository that is accessible to all system components.Components do not interact directly,only through the repository.,Example,Figure 6.9 is an example of an IDE where the components use a reposi

38、tory of system design information.Each software tool generates information which is then available for use by other tools.,When used,You should use this pattern when you have a system in which large volumes of information are generated that has to be stored for a long time.You may also use it in dat

39、a-driven systems where the inclusion of data in the repository triggers an action or tool.,Advantages,Components can be independentthey do not need to know of the existence of other components.Changes made by one component can be propagated to all components.All data can be managed consistently(e.g.

40、backups done at the same time)as it is all in one place.,Disadvantages,The repository is a single point of failure so problems in the repository affect the whole system.May be inefficiencies in organizing all communication through the repository.Distributing the repository across several computers

41、may be difficult.,28,Chapter 6 Architectural design,A repository architecture for an IDE,29,Chapter 6 Architectural design,Client-server architecture,Distributed system model which shows how data and processing is distributed across a range of components.,Can be implemented on a single computer.,Set

42、 of stand-alone servers which provide specific services such as printing,data management,etc.,Set of clients which call on these services.,Network which allows clients to access servers.,30,Chapter 6 Architectural design,The Clientserver pattern,Name,Client-server,Description,In a clientserver archi

43、tecture,the functionality of the system is organized into services,with each service delivered from a separate server.Clients are users of these services and access servers to make use of them.,Example,Figure 6.11 is an example of a film and video/DVD library organized as a clientserver system.,When

44、 used,Used when data in a shared database has to be accessed from a range of locations.Because servers can be replicated,may also be used when the load on a system is variable.,Advantages,The principal advantage of this model is that servers can be distributed across a network.General functionality(

45、e.g.,a printing service)can be available to all clients and does not need to be implemented by all services.,Disadvantages,Each service is a single point of failure so susceptible to denial of service attacks or server failure.Performance may be unpredictable because it depends on the network as wel

46、l as the system.May be management problems if servers are owned by different organizations.,31,Chapter 6 Architectural design,A clientserver architecture for a film library,32,Chapter 6 Architectural design,Pipe and filter architecture,Functional transformations process their inputs to produce outpu

47、ts.,May be referred to as a pipe and filter model(as in UNIX shell).,Variants of this approach are very common.When transformations are sequential,this is a batch sequential model which is extensively used in data processing systems.,Not really suitable for interactive systems.,33,Chapter 6 Architec

48、tural design,The pipe and filter pattern,Name,Pipe and filter,Description,The processing of the data in a system is organized so that each processing component(filter)is discrete and carries out one type of data transformation.The data flows(as in a pipe)from one component to another for processing.

49、Example,Figure 6.13 is an example of a pipe and filter system used for processing invoices.,When used,Commonly used in data processing applications(both batch-and transaction-based)where inputs are processed in separate stages to generate related outputs.,Advantages,Easy to understand and supports

50、transformation reuse.Workflow style matches the structure of many business processes.Evolution by adding transformations is straightforward.Can be implemented as either a sequential or concurrent system.,Disadvantages,The format for data transfer has to be agreed upon between communicating transform

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服