版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、The SAE AADL Standard: An Architecture Analysis ; geo_db: requires data access real_time_geoDB; s_control_data: out data port state_control; flows speed_control: flow path speed_data - s_control_data properties arch:redundancy = 2 X; end GPS;,AADL Tutorial,36,System Implementation,system implementat
2、ion GPS.secure subcomponents decoder: system PGP_decoder.basic; encoder: system PGP_encoder.basic; receiver: system GPS_receiver.basic; connections c1: data port speed_data - decoder.in; c2: data port decoder.out - receiver.in; c3: data port receiver.out - encoder.in; c4: data port encoder.out - s_c
3、ontrol_data; flows speed_control: flow path speed_data - c1 - decoder.fs1 - c2 - receiver.fs1 - c3 - decoder.fs1 - c4 - s_control_data; modes none; properties arch:redundancy_scheme = Primary_Backup; end GPS;,AADL Tutorial,37,Application Components,System: hierarchical organization of components Pro
4、cess: protected virtual address space Thread group: organization of threads in processes Thread: a schedulable unit of concurrent execution Data: potentially sharable data Subprogram: Callable unit of sequential code,process,Thread,Subprogram,Thread group,System,AADL Tutorial,38,Thread,Is a schedula
5、ble unit dispatched based on time or arrival of events Executes on a processor under a specified scheduling protocol Executes within a protected address space Interacts with other threads through port connections, server subprogram calls, and shared data access,Thread,Remote service calls,AADL Tutor
6、ial,39,Thread Dispatch Protocols,Periodic thread represents periodic dispatch of threads with typically hard deadlines. Aperiodic thread represents event-triggered dispatch of threads with typically hard deadlines. Sporadic thread represents dispatching of threads with minimum dispatch separation an
7、d typically hard deadlines. Background thread represents threads that are dispatched once and execute until completion.,5ms,B,5ms,Additional protocols can be introduced,AADL Tutorial,40,Thread Execution Semantics,Nominal Period = 100 ms; Compute_Deadline = value(Period); Compute_Execution_Time = 20
8、ms; Initialize_Deadline = 10 ms; Initialize_Execution_Time = 1 ms; Compute_Entrypoint = “speed_control”; Initialize_Entrypoint = “speed_control_init”; Source_Text = “waypoint.java”; Source_Code_Size = 12 KB; Source_Data_Size = 5 KB;,File containing the application code,Dispatch execution properties,
9、Code function to be executed on dispatch,AADL Tutorial,42,Data Component,Data component type represents data type Used for typing ports Optional modeling of operations Data component implementation Substructure modeling Data component Sharable between threads through data access connections Access p
10、roperties Concurrency control protocol property,AADL Tutorial,43,Subprogram,Subprogram as component with parameter signature Subprogram as data type method Subprogram as server entrypoint of threads Subprogram call sequences within threads and subprograms Server subprogram call Modeled as binding pr
11、operty Modeled as component feature connection,Currently through annex subclause Supported in V1.1 of core language,AADL Tutorial,44,Execution Platform Components,Processor Provides thread scheduling and execution services Memory provides storage for data and source code Bus provides physical connec
12、tivity between execution platform components Device interface to external environment,Processor,Bus,Memory,AADL Tutorial,45,Execution Platform Abstractions,Example speed sensor as device Hardware with rotational pulses vs. abstracted device with rpm as output Port connections to application componen
13、ts Bus connections to processor Driver software bindable to processor,device speedsensor features speed: out data port RPM; Flows signal: flow source; end speedsensor; Device implementation speedsensor.basic properties Source_Text = “speedsensor_driver.java”; Period = 10ms; end speedsensor.basic;,Mo
14、deling of multi-layer systems is possible,AADL Tutorial,46,Perspectives on Devices,Hardware Engineer Device is part of physical system Application developer Device functionality is part of the application software Control Engineer Device represents the environment being controlled,Physical Hardware,
15、Processor,Device,Bus,Application System,Device (Driver),Execution Platform,Bus,Processor,Control System,Plant,Controlled Environment,Sensor,Actuator,AADL Tutorial,47,Execution Platform Bindings,Flight Mgr,Warnings Annunciations,MFD Pilot,MFD Copilot,data,Display Processor,Display Processor,High spee
16、d network,Mission Processor,1553 bus,Processor, memory, and connection bindings,Co-location constraints in support of redundant systems,AADL Tutorial,48,Outline: An Introduction C;A S;A: CD20Hz 0 pd S|A S|(C;A): CD20Hz 1 pd (S;C) | A S|A : CD10Hz 2 pd (S|C|A) (S|C|A):CD10Hz 3 pd,| indicates concurre
17、ncy for multi processing, separates 20 Hz timeframes,Implied C deadline,Amount of phase delay,AADL Tutorial,55,Data Stream Latency Analysis,Flow specifications in AADL Properties on flows: expected Backup: system sys; connections inPrimary: data port insignal - Primary.insignal; inBackup: data port
18、insignal - Backup.insignal; outPrimary: data port Primary.outsignal - outsignal; outBackup: data port Backup.outsignal - outsignal; modes Primarymode: initial mode; Backupmode: mode; Primarymode primaryfail - Backupmode; end PrimaryBackupPattern.impl; system implementation PassivePrimaryBackup.impl
19、extends PrimaryBackupPattern.impl subcomponents Primary: refined to system in modes ( Primarymode ); Backup: refined to system in modes ( Backupmode ); connections inPrimary: refined to data port in modes ( Primarymode ); inBackup: refined to data port in modes ( Backupmode ); outPrimary: refined to
20、 data port in modes ( Primarymode ); outBackup: refined to data port in modes ( Backupmode ); end PassivePrimaryBackup.impl;,Defines a dual redundant pattern,Defines who is active when,AADL Tutorial,64,Primary Backup Synchronization,WAM,WAM,Backup,20Hz,20Hz,Primary,Backup,init,Primaryfail,Primaryok,
21、20Hz,Init/restart,Observer,Primary,External and internal mode control Errors reported as events Supports reasoning about Primary/Backup logic,Mode,20Hz,AADL Tutorial,65,Modal Systems,Operational modes Alternate task and communication configurations Reflect system operation Alternate system configura
22、tions Reachability of mode combinations Reduced analysis space Less conservative analysis results Management of consistent configuration Inconsistency identification through analysis Inconsistency repair through selective reconfiguration,AADL Tutorial,66,Outline: An Introduction sem2 : DATA ACCESS s
23、emaphore; END t; THREAD IMPLEMENTATION t.t1 PROPERTIES Period = 13.96ms; cotre:Priority = 1; cotre:Phase = 0.0ms; Dispatch_Protocol = Periodic;,ANNEX cotre.behavior * STATES s0, s1, s2, s3, s4, s5, s6, s7, s8 : STATE; s0 : INITIAL STATE; TRANSITIONS s0 - - s1 PERIODIC_WAIT ; s1 - - s2 COMPUTATION(1.
24、9ms, 1.9ms) ; s2 - sem1.wait ! (-1.0ms) - s3; s3 - - s4 COMPUTATION(0.1ms, 0.1ms) ; s4 - sem2.wait ! (-1.0ms) - s5; s5 - - s6 COMPUTATION(2.5ms, 2.5ms) ; s6 - sem2.release ! - s7; s7 - - s8 COMPUTATION(1.5ms, 1.5ms) ; s8 - sem1.release !- s0; *); END t.t1;,COTRE thread properties,COTRE behavioral an
25、nex,Courtesy of,AADL Tutorial,71,System Safety Engineering,Capture the results of hazard analysis component failure modes PropertyHolder scxt = (PropertyHolder) conn.getSrcContext(); PropertyHolder dcxt = (PropertyHolder) conn.getDstContext(); if ( scxt = null | dcxt = null) return DONE; if (scxt in
26、stanceof PortGroup) scxt = conn.getContainingComponentImpl(); if (dcxt instanceof PortGroup) dcxt = conn.getContainingComponentImpl(); IntegerValue spv = scxt.getSimplePropertyValue(Security,SecurityLevel); IntegerValue dpv = dcxt.getSimplePropertyValue(Security,SecurityLevel); if (spv = null | dpv
27、= null) ErrorHandling.userError(conn,Security level specification missing); return DONE; if (spv.getValue() dpv.getValue() ErrorHandling.userError(conn,Security level violation); return DONE; ,AADL Tutorial,78,Security Level Example,property set security is SecurityLevel : aadlinteger applies to (th
28、read, thread group, process, system); end security; data signal end signal; thread peter features pe: in event port; pd: out data port signal; properties security:SecurityLevel = 2; end peter; thread implementation peter.default end peter.default;,thread pierre features pd: in data port signal; pe:
29、out event port; properties security:SecurityLevel = 1; end pierre; thread implementation pierre.default end pierre.default; process sys end sys; process implementation sys.impl subcomponents T1: thread peter.default; T2: thread pierre.default; connections data port T1.pd - T2.pd; event port T2.pe -
30、T1.pe; end sys.impl;,AADL Tutorial,79,OSATE Community Development, website OSATE Plug-in update site Bugzilla error reporting SEI-Hosted CVS Development Server Availability of Source Code (GPL) Plug-in contributions Syntax-sensitive text editor by York U. Graphical layout editor by USC
31、AADL to MetaH translator by SEI Error modeling support by Embry-Riddle,AADL Tutorial,80,Outline: An Introduction & Overview,Overview of SAE AADL Standard Model-Based Architecture-Driven System Engineering AADL-Based Development Environment Case Studies AADL Language Concepts Open Source AADL Tool Environment Summary,AADL Tutorial,81,Summary of AADL Capabilities,AADL abstractions separate application architecture concerns from runtime architecture concerns AADL incorporates a run-time architecture perspective through application system and execut
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026四年级数学下册 小数的大小比较
- 新海兰灰商品蛋鸡饲养管理手册
- 护理不良事件改进案例分析
- 快递安全员责任制度
- 意识形态目标责任制度
- 房地产销售责任制度
- 执业护士岗位责任制度
- 扶贫办岗位责任制度
- 技校工会责任制度
- 护士责任制管理制度
- 小学科学新教科版三年级下册全册教案(2026春新版)
- 2026年财政局遴选工作人员考试试题及答案解析
- 2026年三八妇女节:女性社会责任与时代担当
- 图书档案馆管理与服务指南
- 【新教材】2026年春季人教PEP版四年级下册英语全册教案(含教学计划)
- 2026年南通职业大学单招职业技能测试题库附答案详解(能力提升)
- 2026年九江职业大学单招职业技能考试题库含答案详解(突破训练)
- 第13课《短文两篇-不求甚解》课件(共30张)统编版语文九年级下册
- 中国农业银行官网登录//笔试历年典型考题及考点剖析附带答案详解
- 中国华电集团有限公司招聘笔试题库2026
- 教师自我反思能力培养的AI辅助模式创新与实践研究教学研究课题报告
评论
0/150
提交评论