Advance Software Engineering (CEN-5011).ppt
《Advance Software Engineering (CEN-5011).ppt》由会员分享,可在线阅读,更多相关《Advance Software Engineering (CEN-5011).ppt(51页珍藏版)》请在麦多课文档分享上搜索。
1、Advance Software Engineering (CEN-5011),Instructor: Masoud Sadjadi http:/www.cs.fiu.edu/sadjadi/,System Design: Addressing Design Goals,2,Acknowledgements,Dr. Bernd BrueggeDr. Allen Dutoit,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Summary,3,Agend
2、a,System Design I (previous lecture) 0. Overview of System Design 1. Design Goals 2. Subsystem DecompositionSystem Design II 3. Concurrency 4. Hardware/Software Mapping 5. Persistent Data Management 6. Global Resource Handling and Access Control 7. Software Control 8. Boundary ConditionsSummary,Over
3、view:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Summary,4,Activity 3: Concurrency,Identify concurrent threads and address concurrency issues. Design goal: response time, performance.Threads A thread of control is a path through a set of state diagrams on w
4、hich a single object is active at a time. A thread remains within a state diagram until an object sends an event to another object and waits for another event. Thread splitting: Object does a nonblocking send of an event.,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Contr
5、ol,Boundary Cond.,Summary,5,Concurrency (continued),Two objects are inherently concurrent if they can receive events at the same time without interactingInherently concurrent objects should be assigned to different threads of controlObjects with mutual exclusive activity should be folded into a sing
6、le thread of control (Why?),Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Summary,6,Concurrency Questions,Which objects of the object model are independent?What kinds of threads of control are identifiable?Does the system provide access to multiple u
7、sers?Can a single request to the system be decomposed into multiple requests? Can these requests be handled in parallel?,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Summary,7,Implementing Concurrency,Concurrent systems can be implemented on any sys
8、tem that provides Physical Concurrency (hardware) orLogical Concurrency (software) Scheduling problem (Operating systems),Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Summary,8,Agenda,System Design I (previous lecture) 0. Overview of System Design 1
9、. Design Goals 2. Subsystem DecompositionSystem Design II 3. Concurrency 4. Hardware/Software Mapping 5. Persistent Data Management 6. Global Resource Handling and Access Control 7. Software Control 8. Boundary ConditionsSummary,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Softwar
10、e Control,Boundary Cond.,Summary,9,Activity 4: HW/SW Mapping,This activity addresses two questions: How shall we realize the subsystems: Hardware? Software? How is the object model mapped on the chosen hardware and software? Mapping Objects onto Reality: Processor, Memory, Input/Output. Mapping Asso
11、ciations onto Reality: Connectivity.Much of the difficulty of designing a system comes from meeting externally-imposed hardware and software constraints. Certain tasks have to be at specific locations.,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Su
12、mmary,10,Mapping the Objects,Processor issues: Is the computation rate too demanding for a single processor? Can we get a speedup by distributing tasks across several processors? How many processors are required to maintain steady state load? Memory issues: Is there enough memory to buffer bursts of
13、 requests? I/O issues: Do you need an extra piece of hardware to handle the data generation rate? Does the response time exceed the available communication bandwidth between subsystems or a task and a piece of hardware?,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control
14、,Boundary Cond.,Summary,11,Connectivity,Describe the physical connectivity of the hardware Often the physical layer in ISOs OSI Reference Model Which associations in the object model are mapped to physical connections? Which of the client-supplier relationships in the analysis/design model correspon
15、d to physical connections?Describe the logical connectivity (subsystem associations) Identify associations that do not directly map into physical connections: How should these associations be implemented?,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.
16、,Summary,12,Example of a Connectivity Drawing,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Summary,13,Logical vs. Physical Connectivity,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Summary,14,Layeri
17、ng,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Summary,15,HW/SW Mapping Questions,What is the connectivity among physical units? Tree, star, matrix, ring? What is the appropriate communication protocol among the subsystems? Function of required ban
18、dwidth, latency and desired reliability, desired quality of service (QOS) Is certain functionality already available in hardware? Do certain tasks require specific locations to control the hardware or to permit concurrent operation? Often true for embedded systems What is the desired response time?,
19、Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Summary,16,Connectivity in Distributed Systems,If the architecture is distributed, we need to describe the network architecture (communication subsystem) as well. Questions to ask What are the transmissio
20、n media? (Ethernet, Wireless) What is the Quality of Service (QOS)? What kind of communication protocols can be used? Should the interaction be asynchronous, synchronous or blocking? What are the available bandwidth requirements between the subsystems? Stock Price Change - Broker Icy Road Detector -
21、 ABS System,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Summary,17,Drawing HW/SW Mappings in UML,System design must model static and dynamic structures: Component Diagrams for static structures show the structure at design time or compilation time
22、Deployment Diagram for dynamic structures show the structure of the run-time systemNote the lifetime of components Some exist only at design time Others exist only until compile time Some exist at link or runtime,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Bounda
23、ry Cond.,Summary,18,Component Diagram,Component Diagram A graph of components connected by dependency relationships. Shows the dependencies among software components source code, linkable libraries, executables Dependencies are shown as dashed arrows from the client component to the supplier compone
24、nt. The kinds of dependencies are implementation language specific. A component diagram may also be used to show dependencies on a faade: Use dashed arrow to the corresponding UML interface.,Overview:,Concurrency,HW/SW Mapping,Data Manage.,Access Control,Software Control,Boundary Cond.,Summary,19,Co
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ADVANCESOFTWAREENGINEERINGCEN5011PPT
