Download presentation
Presentation is loading. Please wait.
Published byWinfred Bryan Modified over 9 years ago
1
Transformations for Rapid Prototyping of Time-Critical Applications Matthew McGettigan
2
Software Requirements Can integrate web services, components and legacy software inot a functioning system Must be operational before deadline and remain operational until expiration time Must satisfy user-specified timing constraints
3
What Is Rapid Prototyping? Goal is rapid development and information feedback Done at the expense of efficiency and completeness Allows for making changes early in the development cycle Expectation that the model will eventually be thrown away
4
Application Software Approach Objects are called Tele-Action Objects (TAO) Each TAO is enhanced by an index cell (IC) Objects may contain multimedia data IC system is an active index that enhances the overall intelligence of the software
5
Technologies Used IC cards IC system (active index) Relational Mining for appropriate web services Petri Net Time Management techniques
6
Rapid Prototyping Environment IC Card Management System Multimedia Knowledge Eclipse Environment IC Software Engineering Environment IC Card XML jcc XML jcx Code User/develope r Knowledge-Base Fig 1.1
7
IC Cards User/developer’s specification of an active object or agent Active objects interact with each other according to certain interaction patterns IC Card Management System provides a way to organize and manage IC cards
8
IC Cards Fig 2.1
9
Sample IC Card XML icc Schema <icCard icName="Patient Emergency Alert" icDescription="Patient alerts network/database of emergency" icIntPattern="myselfwith" icMyTask="Alert network/database of emergency" icTimeCriticalCondition="Tc+Talarm > Ts > Tc+Tnormal: Talarm=2*smallest system granularity, Tnormal=smallest system granularity" icId="3" icNumberCurrent="1" icNumberTotal="1"> <icOther icOtherName="Network/Database" icOtherMessage="Emergency Alert" icOtherTask="None" icOtherId="-1" />
10
Multimedia Knowledge Eclipse Environment (MKEE) Visual editor for the IC system Provides modeling of multimedia applications and knowledge owned by multimedial objects Generates XML icx specifications of the IC system and used as the front end for the ICX compiler
11
Index Cell Structure Fig 3.1
12
Sample IC System Fig 3.2
13
Sample XML icx Schema <indexCell id="ic1" maxLifeTime="inf" name="Sensor"> <transition id="trans0" source="state0" target="state0" type="internal"> ic2 <parameter dataType="double" dataValue="98.6" name="condition"/> <indexCell currentState="state1" id="ic2" maxLifeTime="inf" name="Sensor Emergency Alert"> <transition id="trans1" source="state1" target="state2" type="internal"> <message xsi:type="ic:OutputMessage" id="msg2" name="threashold reached"> ic3 <parameter dataType="time" dataValue="getCurrentTime()" name="Tc"/> <message xsi:type="ic:InputMessage" id="msg1" name="getPatientCondition"> condition< threshold <parameter dataType="double" dataValue="98.7" name="condition"/> <action body="alert Nurse" id="act1" name="emergency" target="external"/> <indexCell id="ic3" maxLifeTime="inf" name="Nurse"> <transition id="trans2" source="state3" target="state4" type="internal"> receive msg2 <parameter dataType="time" dataValue="getCurrentTime()" name="Tc"/> <action body="help patient" id="act2" name="dispatch" target="external"/>
14
Mapping Between IC Cards and MKEE IC System MKEE index cell is different from the index cell depicted by the IC card Both can be represented by XML Can use MTF to implement partial transformation between the two models
15
ICX Compiler Phases Lexical Analysis Syntax Analysis Semantic Analysis Optimization Code Generation
16
ICX Compiler MKEE tool outputs an XML icx file describing the IC system XML file is processed by the ICX compiler Compiler checks semantics of XML file and produces a set of Java classes if semantics are valid Each index cell is implemented as a separate Java class
17
IC Software Engineering Environment Fig 7.1
18
References Chang, S.K. et. al. Transformations for Rapid Prototyping of Time-Critical Applications. Leavenworth, B. 1992. Proxy: an interpreter for rapid prototyping. SIGPLAN Not. 27, 6 (Jun. 1992), 19-28. DOI= http://doi.acm.org/10.1145/130981.130984
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.