书签 分享 收藏 举报 版权申诉 / 42
上传文档赚钱

类型软件体系结构5aATC案例分析课件.ppt

  • 上传人(卖家):晟晟文业
  • 文档编号:2711636
  • 上传时间:2022-05-20
  • 格式:PPT
  • 页数:42
  • 大小:422KB
  • 【下载声明】
    1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
    2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
    3. 本页资料《软件体系结构5aATC案例分析课件.ppt》由用户(晟晟文业)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
    4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
    5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
    配套讲稿:

    如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

    特殊限制:

    部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

    关 键  词:
    软件 体系结构 aATC 案例 分析 课件
    资源描述:

    1、1 案例分析:Air Traffic Control张平健华南理工大学软件学院2Air Traffic Control (ATC)l The problem is to control a very large number of aircraft from take-off to landing.l Problem features:Hard real time no tolerance for missing deadlinesUltra High availabilitySafety criticalHighly distributed3Flying from point A to po

    2、int B in the U.S. air traffic control system4En route centers in the United States5Flight Monitoringl Flight from Key West to DCKey west ground control (to taxi to runway)Key West Tower (take off till leaving airport airspaceZMA enroute zone centerZJX enroute zone centerZTL enroute zone centerZDC en

    3、route zone centerDC Tower (arrival airport)ground-control (to taxi again)l Advanced Automation System (AAS) ComponentsGround ControlAirport TowerEn Route Centers Initial Sector Suite System (ISSS)l This study will focus on ISSS only.6ISSS Influencesl ISSS was only one part of AASl Notes on Design of

    4、 ISSSMany components in commonlInterfaces to: radio systems, flight-plan DB, each otherCommon quality requirements for availability, reliability So ISSS was influenced by requirements for all of AASl HistoryISSS real system, designed, most of code developedNot deployed, scaled back to more economica

    5、l, more staged solution (budget cuts)Outside Audit the architecture and design were analyzed by an independent audit team that judged “satisfies requirements.”The system deployed borrowed heavily from ISSShttp:/ of the Air Traffic Control System8Requirements and Quality Attributesl ATC system is hig

    6、hly visible with enormous commercial, governmental and public interestl Great potential for loss of life and costly property.l Thus the two most important quality attributes were:l Ultrahigh availabilityEssential that “unavailability” limited to very short periodsAvailability requirement .99999: una

    7、vailable less than 5 minutes in a year;however short recover periods ( en route zone center - arrival airportAlso within zone: sector - sector - - sector before passing to the next center12ISSS Designl ISSS requires flexibility in number of control stations per sector (1 to 4)l At least two controll

    8、ers per sector:l 1. Radar controllerMonitors radarCommunicates with aircraftResponsible for maintaining separation of aircraftl 2. Data controllerRetrieves flight plans etc.Supplies radar controller with “intentions” of aircraft13ISSS Implementation Metricsl The system contains about 1 million lines

    9、 of Ada codel Designed to support up to 210 consoles per en route center. Each console was a workstation with IBM RS/6000 processorl Requirements to handle from 400 to 2440 aircraft simultaneouslyl There may be from 16 to 40 radar units to support a single facility l A center may have from 60 to 90

    10、control positions in each center14ISSS Functionality Summaryl Acquire radar targets reports from existing ATC system, the Host Computer System (henceforth “Host”)l Convert radar reports for display and broadcast to all consoles (consoles can switch areas that are displayed)l Handle conflict alerts (

    11、potential collisions)l Interface with Host for input and to retrieve flight plansl Provide extensive monitoring of the system itself to allow dynamic reconfigurationl Provide recording capability for later playbackl Provide nice GUIl Provide reduced backup capability in the event of the failure of t

    12、he Host, the primary network, the primary radar sensors15ISSS Architecturel Views1. Physical View2. Module decomposition view3. Process View4. Client-Server View5. Code View6. Layered View7. Fault Tolerance View16Physical View17Physical View Notesl HCS A Host computer System A (primary)Processes rad

    13、ar and flight-plan info.Output to consoles (radar) and flight-strip printers (flight-plans)l HCS B backup Hostl Common Consoles the workstationsl Local Communications Network Consoles HostsEach host has two LCN interface units called LIU-HLCN composed of 4 parallel token ring networks1. One supports

    14、 broadcast of radar info2. One for point-to-point between workstations3. One provides for recording data for later playback4. A spare18Physical View Notesl Backup Communication Network (BCN) is an Ethernet using TCP/IPl Both LCN and BCN have monitor and control consoles for maintenance personnel l E

    15、nhance Direct Access Radar Channel (EDARC) provides backup display of info in case of loss of Host. EDARC supplies raw data to the External System Interface (EIS) processorl Central processors mainframes that provided record and playback for early version of ISSSl Testing and training subsystem allo

    16、w training of new personnel and testing of new equipment without interfering19Module Decomposition Viewl Elements called Computer Software Configuration Items (CSCIs) as required by the government software development standard required by the customerl 5 CSCIs:1. Display Management2. Common Systems

    17、ServicesGeneral ATC utilities; ISSS is 1/3 of AAS3. Recording, analysis and playback4. National Airspace System ModificationModifying software on host5. IBM AIX operating system20Module Decomposition View: Tacticsl The CSCIs formed deliverable units software and documentationl Tactics:Semantic coher

    18、ence main one guiding the well-defined and non-overlapping decompositionAbstract common services Common System Services ModuleRecord/playback tactics - testability Generalizing module well designed interfaces21Process Viewl Concurrency resides in “applications”, roughly processes in Dijkstras cooper

    19、ating sequential processes Ada Main unit a process schedulable by OSl ISSS designed to work on more than one processorProcessors grouped into “processor groups”Critical to fault tolerance and thus availabilityOne primary, the rest backuplPAS primary address spacelSAS standby address spaceOperational

    20、 unit the collection of primary and its standbysFunction groups are the components not implemented in this fault tolerant fashion (replicated on several groups)22Process view23Primary Failure Switchover1. PAS fails2. A standby system SAS is promoted to PAS3. The new PAS sends messages notifying of t

    21、he failure and starts providing all services4. A new SAS is started up to replace to old failed PAS5. The new SAS sends message to notify the new PAS6. Adding an new operational unit is similar but more complexl state resynchronization and passive redundancy24Adding a new Operational Unit1. Identify

    22、 necessary input data and its location.2. Identify where (which Operation Unit / FG) to send output3. Fit operational units communication patterns into system wide acyclic graph such that it remains acyclic and deadlocks will not occur.4. Design messages to achieve this.5. Identify internal state da

    23、ta that must be used for check-pointing. (must be included in PAS - SASs)6. Define messages: message types, data7. Plan for switchover on failure; test for consistency8. Ensure processing steps complete within a heartbeat9. Plan data-sharing and synchronization with other Operational Units25C/S View

    24、26Client-Server Viewl Communication between PAS elements within operational units (client and server)The client sends a “service request message”The server acknowledges and responds with resultsl Within operational units PASs send updated state to SASsl Within FGs nothing extra just ACK and results2

    25、7Code Viewl Code view describes how functionality is mapped into code unitsl ISSS Code viewl Ada main programl Subprograms grouped into packages (separately compilable)l Ada program consists of one or more tasks (threads)l Applications (operational units and functional groups) decomposed into Ada pa

    26、ckages28Layered Viewl Shared memory (Tables and Message Storage)l AAS applicationl Shared Memory (Tables and Message Storage)l CAS AIX Kernel Extensionl AIX Kernel2930Fault Tolerance Viewl M&C consolel Global Availability Managerl Local/Group Availability Managerl ATC consolel Application Software O

    27、perational Unit (Thread Processing Model)l OS extensions Address Space Modelsl Networkl Operating Systeml Processorl I/O devices31component-and-connector view for fault tolerance 32Fault Tolerance Hierarchyl Each level of the hierarchyDetects errors in itself, peers, and all lower levelsHandles exce

    28、ptions from lower levelsDiagnoses, recovers, reports or raises exceptionsl Levels from Top to BottomSystem monitor and controlGlobal availability managerGroup availability managerLocal availability managerApplicationRuntime environmentOperating SystemPhysical level: processors, networks, devices33Fa

    29、ult Tolerance Hierarchyl Fault Detection at each level byBuilt-in testsEvent time-outsNetwork circuit testsGroup membership protocolsHuman reaction to alarmsl Fault recovery can be automatic or manualFor availability managers recovery is decision table drivenIn a PAS there are 4 types of recovery1.

    30、In a switchover the SAS takes over for the old PAS2. A warm restart uses checkpoint data saved to non-volatile memory3. Cold restart uses default start-up data4. A cutover is used to transition to new logic or data34Fault Tolerance Hierarchyl Fault tolerance of the hardware is done via redundancyl L

    31、CN, BCN, various bridgesl Backup radar and separate channel for itl Processor hardware replicated within processor groupl Tactics added here l component availability used for fault tolerancel “Ping/echo”l “Heartbeat”l “Exception” to transfer errors to the correct placel “spare” to perform recovery35

    32、Relating the Viewsl Additional insight is provided by examining relationships between viewsl Mapping one view to anotherl In ISSSl CSCIs are the elements in the module decomposition view (composed of applications)l Applications (processes) are the elements in the process view and in the client-serve

    33、r viewl Applications are implemented in Ada packages and programs elements of the Code viewl Applications are turned into threads at runtime elements of the concurrency viewl The special quality attribute view (fault-tolerance) uses elements from the process, layer and module views36“Configuration F

    34、iles” Tacticl ISSS makes extensive use of the modifiability tactic “configuration files” (called this adaptation data).l Site-specific data allows configuration of ISSS for each of the 22 en route centersl This configuration is fairly extensive and powerfulE.g., splitting an ATC console window into

    35、two“generalize the module” tactic l Negative sideIt takes powerful interpretation mechanism to support this level of adaptability at run-timeIt therefore is complex to maintain the mechanism if changes are required there.Different configurations substantially complicates testing.37“Abstract Common S

    36、ervices” Tacticl PAS and SAS really comes from the same sourceNo difference in the codeJust dynamic state boolean variable “primaryStatus”Code Template Structure for all operation units“Abstracting Common Services” tacticlCommon part is abstracted to template38Code Template affects other Tacticsl Ot

    37、her modifiability tactics addressed by code templatel “anticipation of expected changes”l “Semantic coherence”l “generalizing the module”l Making interfaces part of the template “maintain interface stability” and “adherence to defined protocols”39GoalHow AchievedTacticsHigh AvailabilityHardware redu

    38、ndancy (both processor and network); software redundancy (layered fault detection and recovery)Shadowing; state resynchronization; passive redundancy; limit exposure; ping/echo; heartbeat; exception; spareHigh PerformanceDistributed multiprocessors; front-end schedulability analysis, and network mod

    39、elingIntroduce concurrency40GoalHow AchievedTacticsModifiabilityTemplates and table-driven adaptation data; careful assignment of module responsibilities; strict use of specified interfacesAbstract common services; semantic coherence; maintain interface stability; anticipate expected changes; genera

    40、lize the module; component replacement; adherence to defined protocols; configuration files41GoalHow AchievedTacticsOpennessInterface wrapping and layeringAbstract common services; maintain interface stabilityAbility to Field SubsetsAppropriate separation of concernsAbstract common servicesInteroper

    41、abilityClient-server division of functionality and message-based communicationsAdherence to defined protocols; maintain interface stability42ISSS Summaryl Architectural solutions can be the key to achieving the needs of an application (especially quality attribute requirements)l High availability : fault tolerancel Longevity : high modifiability, interoperabilityl Audit of ISSS before abandoning

    展开阅读全文
    提示  163文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
    关于本文
    本文标题:软件体系结构5aATC案例分析课件.ppt
    链接地址:https://www.163wenku.com/p-2711636.html

    Copyright@ 2017-2037 Www.163WenKu.Com  网站版权所有  |  资源地图   
    IPC备案号:蜀ICP备2021032737号  | 川公网安备 51099002000191号


    侵权投诉QQ:3464097650  资料上传QQ:3464097650
       


    【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。

    163文库